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/2402.03620v1
http://arxiv.org/pdf/2402.03620v1
Self-Discover: Large Language Models Self-Compose Reasoning Structures
2024-02-06T01:13:53
2024-02-06T01:13:53
Pei Zhou, Jay Pujara, Xiang Ren, Xinyun Chen, Heng-Tze Cheng, Quoc V. Le, Ed H. Chi, Denny Zhou, Swaroop Mishra, Huaixiu Steven Zheng
cs.AI
cs.AI, cs.CL
We introduce SELF-DISCOVER, a general framework for LLMs to self-discover the task-intrinsic reasoning structures to tackle complex reasoning problems that are challenging for typical prompting methods. Core to the framework is a self-discovery process where LLMs select multiple atomic reasoning modules such as critical thinking and step-by-step thinking, and compose them into an explicit reasoning structure for LLMs to follow during decoding. SELF-DISCOVER substantially improves GPT-4 and PaLM 2's performance on challenging reasoning benchmarks such as BigBench-Hard, grounded agent reasoning, and MATH, by as much as 32% compared to Chain of Thought (CoT). Furthermore, SELF-DISCOVER outperforms inference-intensive methods such as CoT-Self-Consistency by more than 20%, while requiring 10-40x fewer inference compute. Finally, we show that the self-discovered reasoning structures are universally applicable across model families: from PaLM 2-L to GPT-4, and from GPT-4 to Llama2, and share commonalities with human reasoning patterns.
[ -0.2515711486339569, -0.7112934589385986, 1.0288468599319458, 0.16889867186546326, 0.2612172067165375, 0.024996446445584297, -0.02254154160618782, -0.5053995847702026, 0.09249899536371231, 0.48016321659088135, -0.6483194828033447, -0.4602765142917633, -0.28092554211616516, 0.10100440680980682, -0.1798313707113266, 0.4817943274974823, -0.13123291730880737, -0.16368630528450012, -0.00654700119048357, 0.13120853900909424, -0.21169382333755493, -0.7227522730827332, -0.38162192702293396, -0.48133450746536255, 0.45052269101142883, 0.5525956153869629, 0.3699841797351837, 0.7590641975402832, 0.12892477214336395, 0.3348172605037689, -0.011958122253417969, 0.18246592581272125, -0.23721903562545776, 0.5519486665725708, -0.7281757593154907, -0.5661727786064148, -0.541422963142395, -0.22010833024978638, 0.44373819231987, 0.5355079770088196, -0.07865741848945618, 0.10984507948160172, -0.15735289454460144, 0.9420409798622131, -0.4513479173183441, 0.2888469099998474, -0.6055847406387329, 0.09045931696891785, -0.2472604662179947, -0.16833460330963135, -0.4198090136051178, 0.101982481777668, 0.19558921456336975, -0.41751864552497864, 0.5260835289955139, 0.17814630270004272, 0.17832393944263458, 0.1839962601661682, -0.6342801451683044, -0.4097411036491394, -0.6854392886161804, 0.6164531111717224, -0.46790093183517456, 0.3214503228664398, 0.39614900946617126, 0.40979069471359253, -0.3394186198711395, -0.5240318179130554, -0.46242547035217285, -0.3329436779022217, 0.12930980324745178, -0.010699806734919548, -0.005869049113243818, 0.17511853575706482, 0.32574087381362915, 0.5081105828285217, -0.7422879338264465, 0.11841167509555817, -0.18718338012695312, -0.47925475239753723, 0.7071551084518433, 0.19704565405845642, 0.2025366872549057, -0.14739613234996796, -0.3104780316352844, 0.1612766832113266, -1.2585173845291138, -0.30169644951820374, 0.1710672378540039, 0.12255845963954926, 0.12541013956069946, 0.5111256837844849, -0.45203647017478943, 0.45680859684944153, 0.14029759168624878, -0.05960190296173096, 0.20577649772167206, -0.38166266679763794, -0.14194148778915405, 0.0873313620686531, 0.6846567988395691, -0.13987982273101807, 0.18662770092487335, 0.06396270543336868, -0.3711206614971161, -0.1591801941394806, -0.036170028150081635, -0.6784206032752991, -0.6787872314453125, 0.18572811782360077, -0.46398141980171204, 0.12230949848890305, -0.20102298259735107, -0.16105374693870544, -0.3970750570297241, -0.3846220374107361, 0.545219361782074, -0.294737845659256, -0.5019961595535278, 0.24862831830978394, -0.13833947479724884, 0.26297619938850403, 0.6918195486068726, -1.2190855741500854, 0.22490942478179932, 0.574173092842102, 0.6525594592094421, -0.08134882152080536, -0.3317486047744751, -0.20205891132354736, 0.4384039044380188, -0.5111768245697021, 1.150929570198059, -0.3137608766555786, -0.34053292870521545, -0.2361644208431244, -0.15352998673915863, 0.13830316066741943, -0.6331356763839722, 0.48660534620285034, -0.30525070428848267, 0.028418274596333504, -0.7822365164756775, -0.834416925907135, -0.1777370721101761, 0.5015034675598145, -0.6017913818359375, 1.1022645235061646, 0.17052699625492096, -0.5683218836784363, -0.09241029620170593, -0.7774049639701843, -0.46011030673980713, 0.2023833692073822, -0.3200647830963135, -0.1300419718027115, 0.10580918192863464, 0.3403748869895935, 0.641607940196991, -0.5058106780052185, 0.147917240858078, -0.40533745288848877, -0.1872473657131195, 0.050615258514881134, -0.3618895709514618, 0.46865832805633545, 0.3534916639328003, -0.7864734530448914, 0.21587786078453064, -0.514443039894104, 0.06513461470603943, 0.3990934193134308, -0.15161055326461792, -0.04369252547621727, 0.09917187690734863, -0.5994884967803955, 0.19876673817634583, 0.40595242381095886, -0.4315926134586334, 0.6134798526763916, -0.40166041254997253, 0.7488909363746643, 0.870924711227417, -0.014134754426777363, 0.5135625600814819, -0.17032209038734436, 0.4211367964744568, 0.21210475265979767, 0.06594130396842957, -0.4743191599845886, -0.21324773132801056, -0.8820340633392334, -0.029784496873617172, -0.027608538046479225, 0.3290286660194397, -0.4142666161060333, 0.39222413301467896, 0.043190840631723404, -0.4894619286060333, -0.3185810148715973, 0.3177536129951477, 0.4260485768318176, 0.482700377702713, 0.4474422335624695, 0.06879132986068726, -0.3177110552787781, -1.077252745628357, -0.25538480281829834, -0.1976684182882309, 0.17042626440525055, 0.267844557762146, 0.6191450357437134, -0.5846569538116455, 0.6575540900230408, -0.5346013903617859, -0.1503412276506424, -0.40687769651412964, 0.041823919862508774, 0.07675912231206894, 0.4756244719028473, 0.23114965856075287, -0.5456594228744507, -0.465198814868927, -0.12126404792070389, -0.8654094338417053, 0.016097109764814377, 0.018967926502227783, -0.07110635936260223, 0.2959364652633667, 0.6217961311340332, -0.6660614609718323, 0.19714698195457458, 0.1844005584716797, -0.30201786756515503, 0.7995027303695679, -0.26902031898498535, -0.11324251443147659, -0.6890785098075867, -0.15372446179389954, -0.3189036548137665, -0.26934292912483215, -0.3341951072216034, 0.07172136753797531, 0.14551204442977905, 0.3226056396961212, -0.09630535542964935, 0.7904567718505859, -1.0561890602111816, -0.3793434798717499, -0.39122700691223145, 0.12081422656774521, -0.05099577456712723, 0.4239248037338257, 0.009294419549405575, 0.918117880821228, 0.8997172713279724, -0.7096747756004333, 0.24083024263381958, 0.10162399709224701, -0.401572585105896, 0.31408601999282837, -0.6576929688453674, 0.35616204142570496, -0.12389752268791199, 0.5019746422767639, -0.8684629201889038, -0.25373539328575134, 0.15326105058193207, -0.32123538851737976, 0.11649781465530396, -0.06725572794675827, -0.5705021619796753, -0.5337560772895813, -0.2147371619939804, 0.45099398493766785, 0.132854625582695, -0.862033486366272, 0.8568406701087952, 0.39704009890556335, -0.10478899627923965, -0.5662347674369812, -0.40679287910461426, -0.030419982969760895, 0.044293563812971115, -0.527611494064331, 0.2693668305873871, -0.4561706483364105, -0.024843407794833183, -0.22788365185260773, -0.46500536799430847, 0.1286185085773468, 0.2563597559928894, 0.45025914907455444, -0.07340690493583679, -0.2813006639480591, 0.47535011172294617, 0.12246136367321014, -0.12427391856908798, 0.24702022969722748, -0.5597650408744812, 0.5814887881278992, -0.5678468346595764, -0.5939518213272095, -0.30983760952949524, 0.3968918025493622, 0.3938673138618469, -0.31118252873420715, 0.18033181130886078, 0.3978725075721741, -0.3015057146549225, -0.529726505279541, -0.8511486053466797, -0.26808878779411316, -0.5097444653511047, 0.02954551950097084, -0.9484096169471741, -1.2878546714782715, 0.5623899102210999, -0.24393166601657867, -0.17967380583286285, 0.8116220235824585, 0.8329412937164307, -0.08726859092712402, 1.250057578086853, 0.426273375749588, -0.23903323709964752, 0.12940852344036102, -0.2762707471847534, 0.13926804065704346, -0.9057719707489014, -0.33466359972953796, -0.3098286986351013, -0.04347408190369606, -0.38503021001815796, -0.4755970537662506, 0.4401489496231079, 0.15135636925697327, -0.5435968637466431, 0.2451448142528534, -0.6689162850379944, 0.7293892502784729, 0.7860161066055298, 0.0668754130601883, 0.46295586228370667, -0.26190176606178284, -0.4657124876976013, 0.39876678586006165, -0.6968626379966736, -0.42487800121307373, 1.2363488674163818, 0.4009692072868347, 0.8585628867149353, 0.3230920135974884, 1.1131666898727417, 0.3308241367340088, 0.3680802285671234, -0.6611825823783875, 0.6094670295715332, 0.38456985354423523, -1.0010454654693604, -0.43768563866615295, -0.5284767746925354, -1.040720820426941, 0.22362007200717926, 0.11227516829967499, -0.7031699419021606, -0.23022377490997314, 0.4077586233615875, -0.3466874957084656, 0.18112972378730774, -0.6492787003517151, 0.7608448266983032, -0.45954567193984985, -0.23111259937286377, -0.5835652351379395, -0.7118057608604431, 0.48533669114112854, 0.15988212823867798, 0.08058033138513565, -0.2871447801589966, 0.16957159340381622, 0.495322048664093, -0.2271631509065628, 0.857529878616333, -0.09658724069595337, -0.42375773191452026, 0.7350972890853882, 0.5801949501037598, 0.5101592540740967, 0.08881010860204697, 0.013072139583528042, -0.14525745809078217, 0.026972796767950058, -0.29101502895355225, -0.8463213443756104, 0.8666913509368896, -0.7657930254936218, -1.045502781867981, -0.5861926078796387, -0.4215506911277771, -0.11502817273139954, 0.38074368238449097, 0.20937417447566986, 0.410424143075943, -0.14876335859298706, -0.0043683238327503204, 0.8507598638534546, 0.24429915845394135, 0.2387259155511856, 0.810630202293396, -0.24716641008853912, -0.20786726474761963, 0.6719231605529785, 0.10520486533641815, 0.21833562850952148, 0.6302796602249146, 0.4209710359573364, -0.6589951515197754, -0.5330936312675476, -0.356639564037323, 0.4069206416606903, -0.9650193452835083, -0.31290721893310547, -0.6935819387435913, -0.23360981047153473, -0.4508696496486664, 0.013386912643909454, -0.5303119421005249, -0.550064742565155, -0.1315649151802063, -0.42631909251213074, -0.011028137989342213, 1.0738098621368408, -0.4124119281768799, 0.12111463397741318, -0.6647293567657471, 0.3566233217716217, 0.5506412386894226, 0.24308788776397705, 0.21552737057209015, -0.26152095198631287, -0.044477786868810654, -0.08912868052721024, -0.4833615720272064, -0.7916445732116699, 0.16028448939323425, -0.06580059975385666, 0.7669930458068848, 0.44406405091285706, 0.03553212434053421, 0.4886631667613983, -0.48047980666160583, 0.6135726571083069, 0.13521966338157654, -1.3061496019363403, 0.7249809503555298, -0.4757023751735687, 0.2905847728252411, 0.2505473792552948, 0.404471755027771, -0.20099671185016632, 0.020494256168603897, -0.8590324521064758, -0.55268394947052, 0.251323938369751, 0.08178986608982086, -0.2053450047969818, -0.1771223396062851, 0.5601016879081726, 0.015583938919007778, 0.050832636654376984, -0.9123085737228394, -0.19648277759552002, -0.09818150848150253, -0.07105810195207596, -0.030452368780970573, -0.491136372089386, -0.24527622759342194, -0.3104654550552368, 0.5496653318405151, -0.5187112092971802, 0.3675484359264374, 0.7373563647270203, -0.21251854300498962, -0.12516385316848755, 0.36276334524154663, 0.4586802124977112, 0.6625365018844604, 0.014196671545505524, 0.6315668821334839, 0.12041617929935455, 0.145573228597641, 0.28232675790786743, -0.23308436572551727, 0.13480204343795776, -0.4472360610961914, 0.510286808013916, 0.5317997336387634, 0.2718527317047119, -0.7067970633506775, 0.3414662480354309, 0.14917296171188354, -0.2637186646461487, -0.5765558481216431, 0.4302234351634979, 0.26094678044319153, 0.5603750944137573, 0.33226338028907776, -0.2801380157470703, 0.4631733298301697, -0.9168846011161804, 0.11598047614097595, 0.557090163230896, -0.03879917785525322, -0.4036225974559784, 0.5304103493690491, 0.16772590577602386, -0.08292300999164581, 0.5665041208267212, -0.45090776681900024, -0.9313790798187256, 0.4173847734928131, 0.8658109307289124, 0.7819865942001343, -0.4653744399547577, 0.23533564805984497, 0.3711884915828705, 0.2614537179470062, -0.5071364045143127, 0.414976567029953, -0.6536146402359009, -0.9761016368865967, -0.39265093207359314, -0.2463027685880661, -0.5937327742576599, -0.06983093917369843, -0.4074699878692627, -0.17158077657222748, -0.6495689153671265, 0.07765421271324158, 0.052155617624521255, 0.20144619047641754, -0.49609681963920593, 0.1521671712398529, 0.21139682829380035, 0.8221856355667114, -0.4686564803123474, 0.8378818035125732, 0.33001190423965454, -0.11005796492099762, -1.0848925113677979, -0.33968883752822876, 0.2693265676498413, -0.9313467144966125, 0.7109375, 0.4565282464027405, -0.3966054320335388, 0.1321231722831726, -0.7733283042907715, -1.1663347482681274, 1.265480875968933, 0.24690809845924377, -0.7348729372024536, -0.09775976836681366, -0.25466880202293396, 0.40093377232551575, -0.46456271409988403, 0.4018794298171997, 0.5662326216697693, 0.47759079933166504, 0.3039257228374481, -0.941863477230072, 0.24234411120414734, -0.07265909761190414, -0.3806459605693817, 0.34987130761146545, -0.6608105897903442, 0.9770583510398865, -0.6093499660491943, -0.26480334997177124, 0.028838220983743668, 0.8071754574775696, 0.5306124687194824, 0.2551339268684387, 0.39279454946517944, 0.47395560145378113, 1.0438710451126099, 0.10784085094928741, 0.8517383337020874, -0.2512759268283844, 0.34661558270454407, 1.156893253326416, -0.4601503014564514, 0.7367368340492249, -0.08998340368270874, -0.14993208646774292, 0.8206395506858826, 0.5634579658508301, 0.037004537880420685, 0.09949135780334473, 0.3067459464073181, -0.21389225125312805, -0.6959923505783081, 0.34305182099342346, -0.4590147137641907, 0.3755660653114319, 0.6435682773590088, -0.17123475670814514, -0.18153239786624908, -0.32264742255210876, 0.037749312818050385, -0.02834697812795639, -0.4460699260234833, 0.6495947241783142, 0.22960682213306427, -0.8873095512390137, 0.5635126233100891, 0.04131060466170311, 0.272376149892807, -0.491624653339386, -0.005075383000075817, -0.17218397557735443, 0.26399022340774536, -0.2290806621313095, -0.9832345843315125, 0.08434461057186127, -0.5223493576049805, -0.2744036018848419, -0.2533136010169983, 0.9376358985900879, -0.33349621295928955, -0.20298604667186737, 0.4914104640483856, 0.873780369758606, 0.18595948815345764, -0.5514687299728394, -0.7355976700782776, -0.18527492880821228, 0.06241226941347122, -0.33056575059890747, 0.3502514362335205, 0.6447731256484985, -0.10547473281621933, 1.2104021310806274, 0.6754498481750488, -0.2377490997314453, -0.0706910565495491, 0.1225183755159378, 0.9394384026527405, -1.1862339973449707, -0.46357637643814087, -0.8841122984886169, 0.0856596902012825, 0.011443127878010273, -0.0793672651052475, 0.8973167538642883, 0.6964325904846191, 0.5980762839317322, -0.06393207609653473, 0.9008225798606873, 0.24059055745601654, 0.6886597275733948, -0.669222354888916, 0.3177083134651184, -0.27432945370674133, 0.2664066553115845, -0.07928328216075897, -0.8925355076789856, -0.11217043548822403, 0.7535598278045654, -0.3013644814491272, -0.030846459791064262, 0.783295750617981, 0.7722465395927429, 0.11267448961734772, 0.11062487959861755, 0.22022230923175812, 0.43346062302589417, 0.5915669202804565, 0.7978556156158447, 1.0224782228469849, -0.08624248951673508, 0.16521427035331726, 0.03672241419553757, -0.2532525658607483, -0.07632376253604889, -0.7743057012557983, -1.1639176607131958, -0.7131028175354004, -0.16974025964736938, -0.2105829268693924, -0.15756767988204956, 1.0115493535995483, 0.7764403223991394, -0.6946951150894165, -0.3194480240345001, -0.37346145510673523, 0.5021824240684509, -0.05841542035341263, -0.19971956312656403, 0.3562721014022827, -0.41116946935653687, -0.3776257038116455, 0.9704442024230957, 0.5270063877105713, 0.17762158811092377, -0.5840911269187927, -0.13511167466640472, 0.028839875012636185, -0.002112270100042224, 0.7781500220298767, 0.5873888731002808, -0.8792930841445923, -0.3099479675292969, 0.04121928662061691, 0.06336159259080887, 0.05791488289833069, 1.0604424476623535, -0.8757004141807556, 0.3272753655910492, 0.30727240443229675, 0.40235236287117004, 0.7938650250434875, -0.028172990307211876, 0.6117769479751587, -0.2544562518596649, -0.1497879922389984, 0.3699926435947418, 0.6013275384902954, 0.2493075728416443, -0.3819909989833832, 0.6914522051811218, 0.23844760656356812, -0.8676016330718994, -0.5834356546401978, 0.7778897285461426, -1.034352421760559, -0.48802828788757324, 1.1133159399032593, -0.03855019435286522, -0.17480303347110748, -0.13630272448062897, -0.23923806846141815, -0.20089294016361237, -0.26961541175842285, 0.7362086772918701, 0.51212078332901, -0.5245290398597717, -0.34018775820732117, -0.15155217051506042, 0.6339527368545532, 0.4208199679851532, -0.8870823979377747, 0.17212213575839996, 0.5793634057044983, 0.628912627696991, 0.2416238784790039, 0.9957779049873352, -0.05304114520549774, 0.1286540925502777, -0.16802027821540833, 0.0021219681948423386, -0.06354211270809174, -0.7668827176094055, 0.00934521108865738, 0.1978275179862976, 0.21542014181613922, 0.38535478711128235 ]
http://arxiv.org/abs/2402.03618v1
http://arxiv.org/pdf/2402.03618v1
Comparing Abstraction in Humans and Large Language Models Using Multimodal Serial Reproduction
2024-02-06T01:07:56
2024-02-06T01:07:56
Sreejan Kumar, Raja Marjieh, Byron Zhang, Declan Campbell, Michael Y. Hu, Umang Bhatt, Brenden Lake, Thomas L. Griffiths
cs.AI
cs.AI, cs.CL, q-bio.NC
Humans extract useful abstractions of the world from noisy sensory data. Serial reproduction allows us to study how people construe the world through a paradigm similar to the game of telephone, where one person observes a stimulus and reproduces it for the next to form a chain of reproductions. Past serial reproduction experiments typically employ a single sensory modality, but humans often communicate abstractions of the world to each other through language. To investigate the effect language on the formation of abstractions, we implement a novel multimodal serial reproduction framework by asking people who receive a visual stimulus to reproduce it in a linguistic format, and vice versa. We ran unimodal and multimodal chains with both humans and GPT-4 and find that adding language as a modality has a larger effect on human reproductions than GPT-4's. This suggests human visual and linguistic representations are more dissociable than those of GPT-4.
[ -0.44317004084587097, -0.6095250248908997, 0.5701568126678467, 0.5043150186538696, -0.3166990280151367, 0.30587542057037354, -0.20811139047145844, -0.8852255344390869, -0.018564272671937943, 0.053143177181482315, -0.07074257731437683, -0.07105977833271027, -0.40823471546173096, 0.23000724613666534, -0.3760264217853546, 0.6241171360015869, 0.27793973684310913, 0.18736359477043152, -0.4369381368160248, 0.045399267226457596, -0.128212109208107, -0.8940197825431824, -0.6893469095230103, -0.4942421317100525, 0.605151355266571, -0.13955087959766388, 0.7019370794296265, 0.6592738628387451, 0.34961557388305664, 0.5010070204734802, -0.0359640046954155, 0.06107203662395477, -0.2598220109939575, 0.05923554673790932, -0.09279203414916992, -0.3720461428165436, -0.3184618651866913, 0.0771334171295166, 0.6774162650108337, 0.8615652918815613, 0.011453153565526009, -0.11738093197345734, 0.11527001112699509, 0.4730827510356903, -0.4063808023929596, 0.35305702686309814, -0.13596680760383606, 0.10310535877943039, -0.27155351638793945, -0.31289297342300415, -0.3556049168109894, -0.15380719304084778, 0.07983513921499252, -0.5083854794502258, 0.05968617647886276, -0.1141933724284172, 0.5059410929679871, -0.0037826241459697485, -0.6111806631088257, -0.26069462299346924, -1.0721242427825928, 0.5285391211509705, -0.6642962694168091, 0.7692765593528748, 0.3810593783855438, -0.29164227843284607, -0.1248486191034317, -0.6901306509971619, -0.8414517641067505, -0.5962533354759216, -0.29132959246635437, 0.19781586527824402, -0.10195808112621307, 0.2665748596191406, 0.5205916166305542, 0.12402525544166565, -0.47830575704574585, -0.2555716931819916, -0.7510102391242981, -0.22298838198184967, 0.3622036576271057, -0.011133497580885887, 0.5331583619117737, -0.19882196187973022, -0.49662289023399353, 0.0349946953356266, -0.2444484531879425, -0.09696277976036072, 0.6697801351547241, -0.044503286480903625, 0.012229247950017452, 0.16489320993423462, 0.010507294908165932, 0.7438640594482422, 0.05698511376976967, -0.22782188653945923, 0.5539035201072693, -0.5071767568588257, 0.07662121951580048, -0.2771089971065521, 0.9253571629524231, 0.6018105149269104, 0.12646807730197906, -0.38404738903045654, -0.20449897646903992, 0.47447916865348816, 0.19070489704608917, -0.8036597371101379, -0.06123415380716324, -0.08658546954393387, -0.6241264939308167, -0.23414768278598785, 0.06497158855199814, -0.689122200012207, -0.3866441547870636, -0.4354526698589325, 0.43907973170280457, -0.32967662811279297, -0.47226354479789734, 0.22628282010555267, -0.44057732820510864, 0.047846533358097076, 0.12176310271024704, -1.1535166501998901, 0.6868315935134888, 0.5563586950302124, 0.9417383670806885, -0.14739061892032623, -0.6690617799758911, -0.08896654099225998, -0.10174699127674103, -0.5053278207778931, 0.8343914747238159, -0.43232250213623047, -0.3419056534767151, -0.5373309850692749, -0.1982959657907486, 0.18278004229068756, -0.8431104421615601, 0.2260037213563919, -0.5418095588684082, 0.30988770723342896, -0.2752215564250946, -0.2619210481643677, -0.16919200122356415, 0.07489840686321259, -0.7990756630897522, 0.5802301168441772, 0.18966534733772278, -0.5156792402267456, 0.46624481678009033, -0.7028162479400635, -0.36765143275260925, 0.09426284581422806, -0.4430975914001465, -0.2556891441345215, 0.15273135900497437, -0.16477155685424805, 0.2636182904243469, -0.24144108593463898, 0.00967385247349739, -0.17512932419776917, -0.29986372590065, 0.5268681049346924, -0.4797878563404083, 0.5159701704978943, 0.21576102077960968, -0.42230895161628723, -0.005839288700371981, -0.5488185286521912, -0.10755627602338791, 0.018948739394545555, -0.5482150316238403, -0.4622422754764557, 0.2389727234840393, 0.0835806131362915, 0.6097243428230286, 0.041019778698682785, -0.5611898899078369, 0.13311654329299927, -0.24538984894752502, 0.7399876713752747, 0.47892871499061584, 0.2413090616464615, 0.5683864951133728, -0.5072226524353027, 0.3451428711414337, 0.6813239455223083, 0.201104074716568, -0.2283642441034317, -0.62998366355896, -0.38609009981155396, -0.23381544649600983, 0.10488799959421158, 0.2226942926645279, -0.5323081016540527, -0.18655091524124146, -0.264392226934433, -0.19786013662815094, -0.18293645977973938, 0.3206416964530945, 0.5285321474075317, 0.041374001652002335, 0.03056100383400917, -0.7288398742675781, -0.511206328868866, -1.0035675764083862, 0.08131710439920425, -0.23682595789432526, -0.03653246536850929, 0.2647268772125244, 0.39958077669143677, -0.2697902023792267, 0.8581157326698303, -0.27043911814689636, -0.14879263937473297, 0.01116272620856762, 0.5070928931236267, -0.22230297327041626, 0.4229625463485718, 0.7522441148757935, -0.8262853026390076, -0.16369089484214783, 0.13102833926677704, -1.0231879949569702, 0.2809169590473175, -0.12301305681467056, 0.043762173503637314, 0.25499412417411804, 0.36296555399894714, -0.6399732232093811, 0.46844035387039185, 0.5460208654403687, -0.47158071398735046, 0.539771318435669, -0.3880155384540558, 0.4887130856513977, -0.9743346571922302, -0.13600268959999084, -0.193699449300766, -0.2945082485675812, -0.6100383400917053, -0.0700555294752121, 0.010865364223718643, -0.09167464822530746, -0.39762094616889954, 0.27094462513923645, -0.8165601491928101, -0.5417235493659973, -0.1468130201101303, 0.07380039989948273, -0.11024610698223114, 0.6192147135734558, 0.07646796107292175, 0.7773259282112122, 0.41554325819015503, -0.5792202353477478, 0.45405977964401245, 0.0877784863114357, -0.5010353326797485, 0.2684462070465088, -0.6955464482307434, 0.29909437894821167, -0.29625317454338074, 0.21562154591083527, -1.0204683542251587, -0.32691559195518494, 0.1881219446659088, -0.3832876980304718, -0.07835391163825989, 0.1469532698392868, -0.4101659059524536, -0.34583568572998047, -0.3260265588760376, 0.844377875328064, 0.6359872221946716, -0.26415061950683594, 0.4925547242164612, 0.19217464327812195, -0.2525898814201355, -0.42467573285102844, -0.7474364042282104, 0.14221462607383728, -0.1801896095275879, -0.579993486404419, 0.07870232313871384, -0.1514718383550644, -0.5511268973350525, -0.09730213135480881, 0.007165113463997841, -0.20272548496723175, 0.01831556297838688, 0.345786988735199, 0.18091638386249542, -0.04370198771357536, 0.2265201210975647, -0.10820766538381577, 0.01835104636847973, 0.23448117077350616, -0.11741498112678528, 0.6691508889198303, -0.21368630230426788, -0.42268064618110657, -0.5611647367477417, 0.6373147964477539, 0.9207969903945923, -0.21856610476970673, 0.4496409296989441, 0.2312670797109604, -0.25842076539993286, 0.19914491474628448, -0.39550843834877014, -0.36156517267227173, -0.47739824652671814, 0.5993742346763611, -0.4824163019657135, -0.41316622495651245, 0.5671973824501038, -0.14993155002593994, -0.09104526787996292, -0.16572925448417664, 0.6399485468864441, 0.05267053097486496, 1.044363260269165, 0.317825049161911, 0.08394976705312729, 0.5334176421165466, -0.3559624254703522, 0.04101113975048065, -0.7074139714241028, -0.18230439722537994, -0.13234609365463257, -0.5322032570838928, -0.2829797863960266, -0.5823068022727966, 0.1441042572259903, 0.34157177805900574, -0.43792757391929626, 0.03787125647068024, -0.39092761278152466, 0.5679931044578552, 0.4366995692253113, 0.3604917824268341, 0.7770294547080994, 0.12447113543748856, -0.04137296974658966, -0.18664011359214783, -0.31056350469589233, -0.6537074446678162, 0.9695442914962769, 0.07268919050693512, 0.6880065202713013, 0.42960265278816223, 0.6674810647964478, 0.24495412409305573, 0.3956444561481476, -0.7682256102561951, 0.43890517950057983, -0.12782686948776245, -0.4992915689945221, -0.10655435919761658, -0.43802517652511597, -1.1214768886566162, 0.279233455657959, -0.09573166817426682, -0.7671037912368774, 0.544683575630188, 0.1931181699037552, -0.26793116331100464, 0.18684443831443787, -0.788832426071167, 0.7315266728401184, -0.3930630385875702, -0.3896137475967407, -0.09969336539506912, -0.5613001585006714, 0.4410534203052521, -0.17355290055274963, 0.5745590329170227, 0.1681477278470993, -0.4517609775066376, 0.639595091342926, -0.18345597386360168, 0.8794794082641602, -0.040699541568756104, -0.3249448239803314, 0.15254944562911987, 0.1578378975391388, -0.00978446938097477, -0.07434730976819992, 0.1816561073064804, 0.2052818387746811, -0.14136198163032532, -0.2474488914012909, -0.8238123655319214, 0.6260117888450623, -1.1679325103759766, -0.45919010043144226, -0.3966001272201538, -0.6332153081893921, -0.05686837062239647, 0.21930958330631256, 0.3425116240978241, 0.8467031717300415, -0.18384139239788055, -0.09131273627281189, 0.1282218098640442, -0.04110107943415642, 0.8006101250648499, 0.26674893498420715, -0.6978954672813416, -0.3410584032535553, 0.9335347414016724, 0.037949271500110626, 0.8122950792312622, 0.11718969792127609, 0.19995781779289246, -0.2862775921821594, -0.35867029428482056, -0.40252363681793213, 0.3131618797779083, -0.5254076719284058, 0.059094540774822235, -0.6928727626800537, -0.022728988900780678, -0.10590909421443939, 0.2290067970752716, -0.28106051683425903, -0.1969950795173645, -0.025096412748098373, 0.030248533934354782, 0.2934926152229309, 1.2077760696411133, -0.4612942934036255, 0.04055532440543175, -0.743855357170105, 0.4632880985736847, 0.7122825384140015, 0.40411993861198425, 0.19288405776023865, -0.3157564401626587, -0.04765363782644272, 0.3621830940246582, -0.3664342164993286, -0.9062162637710571, 0.2318069040775299, 0.3452453315258026, 0.2494584619998932, 0.4923977851867676, -0.37641778588294983, 0.9827535152435303, -0.6125924587249756, 0.8450603485107422, 0.43896424770355225, -1.0343201160430908, -0.07551368325948715, -0.6135384440422058, 0.23462221026420593, 0.01266922615468502, 0.40456727147102356, -0.7416165471076965, -0.29826071858406067, -0.5089294910430908, -0.7463906407356262, 0.6592325568199158, 0.08908693492412567, 0.35884907841682434, -0.348823606967926, 0.2443634420633316, 0.0362740121781826, 0.292904794216156, -0.9078950881958008, -0.39893466234207153, -0.18870480358600616, 0.2702489197254181, -0.21785829961299896, -0.30519339442253113, -0.0777396410703659, -0.2912442088127136, -0.08099294453859329, 0.2400878518819809, 0.614447832107544, 0.1347779631614685, 0.005641281604766846, -0.20246396958827972, 0.32199209928512573, 0.7811133861541748, 0.8603330254554749, -0.057559993118047714, 0.3749297261238098, -0.27893659472465515, -0.6480188965797424, 0.563966691493988, -0.2913752794265747, -0.10242035984992981, 0.0335499607026577, 0.5085973143577576, 0.7051553726196289, 0.33070608973503113, -0.6600769758224487, 0.6685644388198853, -0.19542182981967926, -0.590660810470581, -0.23649978637695312, -0.24675194919109344, 0.4959481954574585, 0.3251131772994995, 0.3818860650062561, 0.482206791639328, 0.28419652581214905, -0.9152206182479858, 0.21303947269916534, 0.22226418554782867, -0.006429965607821941, -0.5803937911987305, 0.709064245223999, 0.21607519686222076, -0.5131626725196838, 0.7218868732452393, -0.5211564898490906, -0.4514843225479126, 0.298420250415802, 0.8555643558502197, 0.5485588312149048, -0.2521318197250366, 0.2257823348045349, 0.2665713429450989, 0.09406138956546783, -0.33290085196495056, 0.39168819785118103, -0.10117821395397186, -0.9727926254272461, -0.7777901887893677, -0.4736865758895874, -0.06018110737204552, 0.14677946269512177, -0.7001181244850159, -0.2647416591644287, -0.37765008211135864, -0.24474170804023743, 0.2335628867149353, -0.5537221431732178, -0.4756857752799988, -0.2598187029361725, 0.30301567912101746, 0.14561158418655396, -1.014583706855774, 0.5031601786613464, 0.9513916373252869, -0.6751134395599365, -0.7782703638076782, -0.050775621086359024, -0.15401791036128998, -0.22779688239097595, 1.260609745979309, 0.05919254571199417, -0.2729348838329315, 0.19979694485664368, -0.3440069854259491, -0.7817983627319336, 0.8863139748573303, 0.6300525069236755, -0.5083642601966858, -0.0038706958293914795, 0.1327890008687973, 0.6749790906906128, 0.015565709210932255, 0.34302520751953125, 0.6341940760612488, 0.41839727759361267, 0.07620739936828613, -1.1950631141662598, -0.023385802283883095, -0.3016698658466339, 0.285704106092453, 0.39807647466659546, -0.5012540817260742, 1.160627841949463, -0.3054056763648987, -0.5575131773948669, 0.1858421266078949, 0.3779766857624054, 0.05374535173177719, -0.008236655965447426, 0.6011372804641724, 0.5001705288887024, 0.5682413578033447, 0.004866237752139568, 0.9764105081558228, -0.17944183945655823, 0.2968822121620178, 0.9610861539840698, -0.15549015998840332, 0.8577243089675903, 0.5181834697723389, -0.45709675550460815, 0.689347505569458, 0.24714024364948273, 0.4323781728744507, 0.29834896326065063, 0.3491830825805664, -0.5801541805267334, -0.1545475423336029, 0.11245524883270264, -0.29571759700775146, 0.7359905242919922, 0.19063237309455872, -0.22672007977962494, -0.19014893472194672, 0.5202494859695435, -0.0857824832201004, 0.20672200620174408, -0.12627603113651276, 0.9704415798187256, 0.014660228975117207, -0.4188520014286041, 0.7103469371795654, -0.3258223235607147, 0.8479634523391724, -0.36761343479156494, -0.10973233729600906, -0.3355139493942261, 0.31447193026542664, -0.35536906123161316, -0.3862490952014923, 0.25706860423088074, -0.22047322988510132, -0.34104588627815247, -0.21452262997627258, 0.26994794607162476, -0.575410783290863, -0.25122368335723877, 0.4921964406967163, 0.7205619215965271, 0.46359503269195557, -0.051503319293260574, -0.6194382309913635, 0.23040972650051117, -0.05233333259820938, -0.1556338220834732, 0.36254194378852844, 0.4635002315044403, -0.12843281030654907, 0.6754880547523499, 0.7508987188339233, 0.14702476561069489, 0.2800717055797577, 0.17995744943618774, 0.7718172669410706, -0.8595139384269714, -0.32608529925346375, -1.045883297920227, 0.42689016461372375, -0.09196066856384277, -0.22514468431472778, 0.6321284770965576, 0.7914047837257385, 0.7099571824073792, -0.35244324803352356, 0.7468500733375549, -0.20544171333312988, 0.14564107358455658, -0.07549315690994263, 0.5214834809303284, -0.4357766807079315, 0.08875498175621033, -0.5960621237754822, -0.9476344585418701, -0.20415474474430084, 0.6856598258018494, -0.11065617203712463, 0.22189299762248993, 0.9752490520477295, 0.8206226825714111, -0.17045587301254272, -0.10249902307987213, 0.5505409836769104, 0.41181281208992004, 0.2327796071767807, 0.31668293476104736, 1.2936087846755981, -0.16293857991695404, 0.41873425245285034, -0.3109586834907532, -0.39986956119537354, 0.32486045360565186, -0.7513819336891174, -0.6655491590499878, -0.8721320033073425, -0.07513591647148132, -0.06383638083934784, -0.11201202124357224, 0.9786602854728699, 0.6423302292823792, -0.29801374673843384, -0.6053234934806824, -0.062226034700870514, -0.2839953303337097, -0.4475472867488861, -0.25651368498802185, 0.11636439710855484, -0.2635546028614044, -0.998409628868103, 0.1450403332710266, 0.47147834300994873, 0.2632337808609009, -0.46814122796058655, 0.05213767662644386, -0.158945694565773, -0.28562262654304504, 0.9709358811378479, 0.16659051179885864, -0.7435389161109924, -0.21032819151878357, -0.07078877836465836, -0.04566061869263649, 0.15172703564167023, 0.9778782725334167, -0.8912336826324463, 0.6183252334594727, 0.40319716930389404, 0.3218010663986206, 0.33842504024505615, 0.07525131106376648, 0.8385922312736511, -0.6485264301300049, 0.5061464905738831, 0.18730732798576355, 0.31568655371665955, 0.3796622157096863, -0.13356973230838776, 0.22876521944999695, 0.49405351281166077, -0.6282915472984314, -0.4714869260787964, 0.3186526894569397, -1.1114840507507324, -0.2851002514362335, 1.0582196712493896, 0.039656903594732285, -0.08035020530223846, -0.548305094242096, -0.47513505816459656, 0.07526380568742752, -0.5186895728111267, 0.6640803813934326, 0.6828054785728455, -0.2852131426334381, -0.1412411779165268, -0.541166365146637, 0.5020879507064819, -0.00017349206609651446, -0.7618502378463745, 0.06857277452945709, 0.7118971347808838, 0.37889543175697327, 0.4624767303466797, 0.8690314888954163, -0.2714909315109253, 0.35946324467658997, 0.2689847946166992, 0.20369555056095123, -0.15163396298885345, 0.1898665577173233, -0.1444711536169052, 0.025463402271270752, 0.20065681636333466, -0.25709423422813416 ]
http://arxiv.org/abs/2402.03616v1
http://arxiv.org/pdf/2402.03616v1
Leveraging Large Language Models for Hybrid Workplace Decision Support
2024-02-06T01:05:14
2024-02-06T01:05:14
Yujin Kim, Chin-Chia Hsu
cs.CL
cs.CL, cs.AI, cs.HC, cs.IR
Large Language Models (LLMs) hold the potential to perform a variety of text processing tasks and provide textual explanations for proposed actions or decisions. In the era of hybrid work, LLMs can provide intelligent decision support for workers who are designing their hybrid work plans. In particular, they can offer suggestions and explanations to workers balancing numerous decision factors, thereby enhancing their work experience. In this paper, we present a decision support model for workspaces in hybrid work environments, leveraging the reasoning skill of LLMs. We first examine LLM's capability of making suitable workspace suggestions. We find that its reasoning extends beyond the guidelines in the prompt and the LLM can manage the trade-off among the available resources in the workspaces. We conduct an extensive user study to understand workers' decision process for workspace choices and evaluate the effectiveness of the system. We observe that a worker's decision could be influenced by the LLM's suggestions and explanations. The participants in our study find the system to be convenient, regardless of whether reasons are provided or not. Our results show that employees can benefit from the LLM-empowered system for their workspace selection in hybrid workplace.
[ -0.2835110127925873, -0.5720826983451843, 1.0533056259155273, 0.357753723859787, -0.2812938690185547, 0.09807297587394714, -0.4293389618396759, -0.6960009932518005, 0.19076883792877197, 0.6634675860404968, -0.6018582582473755, -0.34183934330940247, -0.1583782434463501, 0.3184926211833954, -0.1622723489999771, 0.627288281917572, -0.31651565432548523, 0.0662330836057663, -0.5803626775741577, -0.06202716752886772, -0.9106751084327698, -0.4331100583076477, -0.5792654156684875, -0.7060286998748779, 0.5883781313896179, 0.460498183965683, 0.9684162139892578, 0.17117321491241455, 0.022736066952347755, 0.36579811573028564, -0.22635309398174286, 0.3315195143222809, -0.18005312979221344, 0.041652530431747437, -0.4707719087600708, -0.5795868635177612, -0.46533477306365967, -0.3482905328273773, 0.4179253876209259, 0.8009542226791382, -0.29951128363609314, -0.13343137502670288, -0.012134673073887825, 0.39074015617370605, -0.259766548871994, -0.014764565043151379, -0.3910605311393738, 0.3614404797554016, -0.15498089790344238, 0.07837497442960739, -0.5631112456321716, -0.0883135050535202, -0.06881589442491531, -0.44528132677078247, -0.2800230383872986, 0.3093363642692566, 0.1677265763282776, 0.1849556267261505, -0.4448573887348175, 0.16948871314525604, -1.066366195678711, 0.6912027597427368, -0.712302029132843, 0.49176928400993347, 0.24963825941085815, 0.18131865561008453, -0.2457403689622879, -0.3185766935348511, -0.7658771276473999, -0.29306647181510925, -0.3099859654903412, 0.10042382031679153, -0.029000980779528618, 0.31579750776290894, 0.3286076486110687, 0.4407494366168976, -0.49494364857673645, 0.657375693321228, -0.24572288990020752, -0.11330325156450272, 0.506818950176239, 0.31142252683639526, 0.3922177255153656, 0.04397256672382355, -0.38321542739868164, 0.19856734573841095, -0.42033326625823975, -0.2569705843925476, -0.000936828029807657, 0.040190380066633224, 0.1075698509812355, 0.8855032920837402, -0.21247181296348572, 0.9715524315834045, -0.2882654070854187, -0.35854464769363403, 0.05349888652563095, -0.26879701018333435, -0.34022513031959534, -0.31738772988319397, 0.7621334791183472, 0.09925645589828491, -0.039539411664009094, -0.4871964156627655, -0.29434865713119507, 0.25252261757850647, 0.17700593173503876, -0.2462538629770279, 0.21143768727779388, 0.28341829776763916, -0.7211511135101318, -0.057509370148181915, -0.28669029474258423, -0.44448819756507874, -0.7826907634735107, -0.7568922638893127, 0.17465701699256897, -0.2559387683868408, -0.5975050926208496, 0.29315829277038574, -0.37693703174591064, -0.10440967977046967, 0.8447638154029846, -0.5292593240737915, 0.23259854316711426, 0.3378773331642151, 0.8554832339286804, -0.5220901966094971, -0.36351248621940613, -0.27219340205192566, 0.2693101167678833, -0.2083425670862198, 0.6788933873176575, -0.6990014910697937, -0.5949403643608093, 0.14977875351905823, -0.2834196984767914, -0.23610755801200867, -0.7981242537498474, 0.5506478548049927, -0.49637115001678467, 0.31244194507598877, -0.21628108620643616, -0.3950720727443695, -0.20313332974910736, 0.1722065508365631, -0.7716387510299683, 0.9932489395141602, 0.005861423444002867, -0.7746208906173706, 0.48304426670074463, -1.0558425188064575, -0.5087870955467224, 0.5625572800636292, -0.37483060359954834, -0.13090477883815765, 0.08412396162748337, -0.16729485988616943, 0.5520399808883667, 0.032074443995952606, 0.29822707176208496, -0.48619988560676575, -0.09568849205970764, 0.2946954369544983, 0.06777908653020859, 0.7185640931129456, 0.21780963242053986, -0.16337443888187408, 0.40424755215644836, -0.3639209568500519, -0.1934576779603958, 0.07938914000988007, -0.6958109140396118, -0.3082249164581299, 0.2603951692581177, 0.051289357244968414, 0.40255483984947205, 0.44354987144470215, -0.5193850994110107, 0.1691371500492096, 0.15350349247455597, 0.14403431117534637, 0.7167138457298279, -0.4076736271381378, 0.4757901728153229, -0.5113958120346069, 0.7361490726470947, -0.16578319668769836, 0.029347533360123634, 0.3720000088214874, -0.5456928610801697, -0.44869810342788696, -0.4730003774166107, -0.1009945198893547, 0.7170507311820984, -1.1494468450546265, 0.4937630295753479, 0.08218526095151901, -0.30848395824432373, -0.03252595290541649, 0.2948770225048065, 0.1909528374671936, 0.2745608985424042, 0.12415285408496857, 0.26547765731811523, -0.6932173371315002, -0.9667792916297913, -0.3750348687171936, -0.030904218554496765, -0.0021260676439851522, 0.4016197621822357, 0.5015443563461304, -0.5311261415481567, 1.1860467195510864, -0.3382461369037628, -0.05925457552075386, -0.7710230350494385, -0.20042940974235535, 0.39876508712768555, 0.14982357621192932, 0.3262574374675751, -1.0522183179855347, -0.41704121232032776, 0.13180238008499146, -0.7200467586517334, -0.2355506420135498, -0.4308260977268219, -0.41882583498954773, 0.05768517404794693, 0.5603393912315369, -0.9452673196792603, 0.35505804419517517, 0.5992379188537598, -0.4130416214466095, 0.9593213200569153, -0.30390504002571106, -0.4413260519504547, -1.1804537773132324, 0.09184037894010544, 0.216545969247818, -0.6451523303985596, -0.4060877561569214, -0.24029462039470673, -0.16835854947566986, -0.1537621170282364, -0.11451686173677444, 0.5480145215988159, -0.31083962321281433, -0.32225650548934937, -0.4317859411239624, 0.061774399131536484, -0.03804619982838631, 0.4086529016494751, 0.6810658574104309, 0.647985577583313, 0.34400948882102966, -0.6006351709365845, 0.49216097593307495, 0.47004181146621704, -0.4835048317909241, 0.5483839511871338, -0.522335946559906, 0.13654081523418427, 0.0978340283036232, 0.915747344493866, -0.842041015625, -0.0766262635588646, -0.11853017657995224, 0.053946029394865036, -0.2112649530172348, 0.09847351908683777, -1.1525486707687378, -0.7081840634346008, 0.00634719617664814, -0.009717782028019428, 0.09682668745517731, -0.8509383797645569, 1.0821948051452637, 0.4888443648815155, -0.30904126167297363, -0.11865395307540894, -0.6826884746551514, 0.21367639303207397, -0.3041641414165497, -0.7909196019172668, 0.6669062972068787, -0.13929811120033264, -0.6328492164611816, -0.12042610347270966, -0.032929811626672745, -0.03711205720901489, 0.06643834710121155, 0.46827059984207153, 0.8022281527519226, 0.2397252470254898, 0.005657213274389505, -0.21364839375019073, -0.09822624921798706, 0.13076399266719818, -0.3972824513912201, 0.2982037663459778, -0.057596608996391296, -0.26030999422073364, -0.10971489548683167, 0.5484228730201721, 0.9314706921577454, -0.13120153546333313, 1.065240740776062, 0.5384164452552795, -0.6612111926078796, -0.5252636671066284, -0.7144705653190613, -0.04353967308998108, -0.5094807744026184, 0.24415908753871918, 0.049081262201070786, -0.9741559624671936, 0.5158374905586243, -0.4069063663482666, 0.3913741111755371, 0.05627976730465889, 1.0805567502975464, -0.10816282033920288, 1.163740873336792, 0.6952171325683594, 0.057502761483192444, 0.7094730734825134, 0.07594361156225204, 0.3780016303062439, -0.7814946174621582, -0.5843011140823364, -0.31712543964385986, -0.31135445833206177, -0.1388857215642929, -0.5102819204330444, 0.5420969128608704, -0.3242161273956299, 0.2149793654680252, 0.35716864466667175, -0.16921620070934296, 0.43060627579689026, 0.5317018032073975, 0.26119861006736755, 0.27239397168159485, -0.28727245330810547, -0.6500775218009949, 0.04322805628180504, -0.7289988994598389, -0.532153308391571, 0.10852846503257751, 0.4393734931945801, 0.7108563184738159, 0.1889694482088089, 0.37658068537712097, 0.4726828336715698, 0.07328898459672928, -0.6067655682563782, 0.7441553473472595, -0.025115782395005226, -0.6633657217025757, -0.31713804602622986, -0.4690897762775421, -0.5957202315330505, 0.7094615697860718, -0.5498839020729065, -0.9839293360710144, -0.09253386408090591, -0.03113410994410515, -0.49034616351127625, 0.5620443224906921, -0.8661089539527893, 0.65032958984375, -0.4698773920536041, -0.5010902881622314, -0.6229694485664368, -0.06553483009338379, 0.32810845971107483, -0.10600113123655319, 0.4692418873310089, 0.07426785677671432, 0.1261165738105774, 0.8671320676803589, -0.5868948698043823, 1.2332696914672852, -0.09374802559614182, -0.16730020940303802, 0.025119367986917496, 0.30977970361709595, 0.5700811743736267, -0.03486642241477966, -0.536619246006012, -0.1351645588874817, -0.1335870623588562, -0.018105462193489075, -0.3686342239379883, 0.6922881007194519, -0.48252803087234497, -0.5318548679351807, -0.10870981961488724, -0.7573621273040771, -0.7365636229515076, 0.3515043556690216, 0.15135075151920319, 0.15392687916755676, 0.1781734973192215, 0.2231907695531845, 0.4791841506958008, -0.43666505813598633, 0.42880743741989136, 0.5624046325683594, -0.49013012647628784, -0.03870764747262001, 0.3769674599170685, 0.1638190895318985, -0.02762667089700699, 0.3148312568664551, 0.4320964813232422, -0.7726311087608337, -0.5478693842887878, -0.3146466910839081, 0.22883374989032745, -0.788331151008606, -0.11122515052556992, -0.4129214882850647, 0.15790194272994995, 0.1538173258304596, -0.5033395290374756, -0.057852353900671005, -0.16385392844676971, -0.10549803823232651, -0.5031108260154724, 0.27695292234420776, 0.8307950496673584, -0.0016426099464297295, -0.043670475482940674, -0.7504677176475525, 0.2454209178686142, 0.4330810308456421, 0.5632261037826538, 0.08560223877429962, -0.1826775074005127, -0.5856978297233582, -0.2673373818397522, -0.05495847389101982, -0.9028741121292114, 0.28595834970474243, -0.3014615476131439, 1.010119080543518, 0.1389276087284088, 0.11415411531925201, 0.13719382882118225, -0.33323270082473755, 0.7074759006500244, 0.34036943316459656, -0.7585899233818054, 0.4374595284461975, -0.6570209264755249, 0.1790877729654312, 0.48465320467948914, 0.10813497751951218, -0.5695076584815979, -0.17569273710250854, -0.44337648153305054, -0.6041378378868103, 0.732384204864502, 0.1263183206319809, -0.06253693997859955, 0.31114745140075684, 0.030910801142454147, 0.3164229691028595, 0.12636594474315643, -1.1057219505310059, 0.024162907153367996, 0.2697886526584625, 0.15234288573265076, 0.23165559768676758, -0.03572366014122963, -0.311945378780365, -0.28466036915779114, 0.39548468589782715, -0.21161265671253204, 0.14858336746692657, -0.20128284394741058, 0.043280839920043945, -0.4202077388763428, 0.27945366501808167, 0.23101793229579926, 0.9180100560188293, 0.19559648633003235, -0.010272859595716, 0.7841329574584961, 0.3210345208644867, -0.2658390402793884, 0.015904603525996208, 0.22143039107322693, 0.11796373873949051, 0.2151758223772049, 0.9926699995994568, 0.029800958931446075, -0.8254990577697754, 0.44698190689086914, -0.018422283232212067, -0.3588496148586273, -0.31391292810440063, 0.3856809437274933, 0.3979490399360657, 0.48254430294036865, 0.21494421362876892, 0.10626605153083801, -0.02543448656797409, -0.43786904215812683, -0.24175713956356049, 0.5636926293373108, 0.16672207415103912, 0.03284316882491112, 0.42682507634162903, 0.3315475583076477, -0.45276516675949097, 0.40883612632751465, 0.03296493738889694, -0.6952313780784607, 0.3870062530040741, 0.8217374682426453, 0.6705784797668457, 0.30117183923721313, 0.4073534309864044, -0.0499521866440773, -0.08655668050050735, -0.09951930493116379, 0.31472551822662354, -0.09725102037191391, -0.859440267086029, -0.7536787986755371, -0.4492926597595215, -0.8980901837348938, 0.13686978816986084, -0.21492084860801697, 0.07531231641769409, -0.6357123851776123, -0.18226031959056854, 0.053331974893808365, -0.21663442254066467, -0.7407318949699402, 0.229667529463768, 0.8321517109870911, 1.1893882751464844, -0.747326135635376, 0.6716404557228088, 1.1524990797042847, 0.05904768407344818, -0.7601655125617981, -0.23470476269721985, 0.036753974854946136, -0.7713055610656738, 0.4791813790798187, -0.10969844460487366, -0.344421923160553, -0.5940582752227783, -0.45333132147789, -0.5006399154663086, 1.120993733406067, 0.3865828514099121, -0.8097564578056335, 0.021123113110661507, 0.04576161503791809, 0.6717700362205505, -0.3089134395122528, 0.17067188024520874, 0.33451420068740845, 0.7923054099082947, -0.03192059323191643, -1.166883945465088, 0.2091563642024994, -0.15805955231189728, 0.2170422226190567, -0.001117223291657865, -0.6272808313369751, 0.5974296927452087, -0.2127951979637146, 0.10232730954885483, -0.2908211052417755, 0.39602696895599365, 0.5554403066635132, 0.09525560587644577, 0.9995552897453308, 0.4102884531021118, 0.954914927482605, 0.2142389416694641, 1.1383684873580933, -0.0989018976688385, -0.07429734617471695, 0.8287411332130432, -0.4804050326347351, 0.8813946843147278, 0.42753303050994873, -0.2123076170682907, 1.0694236755371094, 0.5741299986839294, 0.2494543343782425, 0.2825470566749573, -0.11426433175802231, -0.4386754035949707, -0.6410959959030151, -0.4309060573577881, -0.11052846163511276, 0.20937396585941315, 0.44210296869277954, -0.17400456964969635, -0.1389455497264862, 0.0847918838262558, -0.05205501988530159, 0.025455191731452942, -0.16088104248046875, 0.8824139833450317, 0.27108272910118103, -0.8301189541816711, 0.2501542270183563, 0.30681881308555603, 0.6012331247329712, -0.5549448132514954, 0.06369255483150482, 0.16733108460903168, 0.23052766919136047, -0.8058044910430908, -1.1056978702545166, 0.34244757890701294, 0.058518923819065094, -0.292279452085495, -0.6694316864013672, 0.9326879978179932, -0.3219996988773346, -0.24116331338882446, 0.5452478528022766, 0.6650505661964417, -0.47529786825180054, -0.12337563931941986, -0.6842663884162903, 0.016915205866098404, 0.03059682436287403, 0.11633971333503723, 0.3464684784412384, 0.37352022528648376, -0.21653489768505096, 0.53984135389328, 0.8547975420951843, 0.1358756572008133, -0.2441847324371338, 0.16322678327560425, 0.9672691822052002, -0.34342387318611145, -0.9515599608421326, -0.8227528929710388, 0.4778558909893036, -0.27796709537506104, -0.15749390423297882, 0.5511967539787292, 0.3674546480178833, 0.500376284122467, -0.16209715604782104, 1.2532726526260376, -0.12844231724739075, 0.5307867527008057, -0.7279064059257507, 0.19217443466186523, -0.48861128091812134, 0.3119337260723114, -0.2690306007862091, -0.8599560260772705, -0.11256790906190872, 0.6570451259613037, -0.9373994469642639, -0.04747454449534416, 0.5211727023124695, 0.6221827268600464, -0.13181860744953156, 0.3102951645851135, 0.21929337084293365, 0.05026031658053398, 0.39443230628967285, 0.45795586705207825, 1.154984951019287, 0.6330512762069702, 0.45529070496559143, -0.10004564374685287, -0.28625351190567017, -0.471507728099823, -1.1038132905960083, -0.8558551669120789, -0.38619574904441833, -0.23943394422531128, -0.36439889669418335, -0.4359056055545807, 1.0842194557189941, 1.050652027130127, -0.38983970880508423, -0.31312376260757446, -0.11391376703977585, 0.2780134975910187, -0.13463422656059265, -0.24214591085910797, -0.13056588172912598, 0.03022954612970352, -0.18147391080856323, 0.6447033882141113, 0.31738609075546265, -0.16166456043720245, -0.3709455728530884, -0.4352010488510132, -0.055140089243650436, 0.04028266295790672, 0.7005192637443542, 0.2242116630077362, -0.6044175028800964, 0.07111115753650665, -0.15639032423496246, -0.15822969377040863, -0.14365744590759277, 0.9236486554145813, -0.5740830302238464, 0.35223230719566345, 0.672934353351593, 0.6793692708015442, 0.40652361512184143, -0.26744288206100464, 0.9077683091163635, -0.5613808035850525, -0.0006193867884576321, 0.3727248013019562, 0.9683356285095215, 0.5111041069030762, -0.4973340332508087, 0.37059083580970764, 0.12043164670467377, -0.38819798827171326, -0.4088406562805176, 0.12189149111509323, -0.8150232434272766, -0.5595700144767761, 1.5297082662582397, 0.25431910157203674, -0.06462831050157547, -0.30889925360679626, -0.6659265160560608, -0.07711277902126312, -0.3186326324939728, 0.7529454231262207, 0.7649381160736084, -0.47456133365631104, -0.18864047527313232, -0.4599158763885498, 0.3031749725341797, 0.6803269982337952, -1.0874347686767578, 0.11628424376249313, 0.6538928747177124, 0.13170191645622253, 0.17419084906578064, 0.8574812412261963, 0.20355486869812012, 0.3755950331687927, -0.254822701215744, -0.38534414768218994, -0.03730139508843422, -0.20278894901275635, 0.0652444139122963, -0.14922180771827698, 0.3421255350112915, -0.13711363077163696 ]
http://arxiv.org/abs/2402.03610v1
http://arxiv.org/pdf/2402.03610v1
RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agents
2024-02-06T00:53:27
2024-02-06T00:53:27
Tomoyuki Kagaya, Thong Jing Yuan, Yuxuan Lou, Jayashree Karlekar, Sugiri Pranata, Akira Kinose, Koki Oguri, Felix Wick, Yang You
cs.LG
cs.LG, cs.AI, cs.CL
Owing to recent advancements, Large Language Models (LLMs) can now be deployed as agents for increasingly complex decision-making applications in areas including robotics, gaming, and API integration. However, reflecting past experiences in current decision-making processes, an innate human behavior, continues to pose significant challenges. Addressing this, we propose Retrieval-Augmented Planning (RAP) framework, designed to dynamically leverage past experiences corresponding to the current situation and context, thereby enhancing agents' planning capabilities. RAP distinguishes itself by being versatile: it excels in both text-only and multimodal environments, making it suitable for a wide range of tasks. Empirical evaluations demonstrate RAP's effectiveness, where it achieves SOTA performance in textual scenarios and notably enhances multimodal LLM agents' performance for embodied tasks. These results highlight RAP's potential in advancing the functionality and applicability of LLM agents in complex, real-world applications.
[ -0.3739464282989502, -0.8086612224578857, 0.8184298872947693, 0.5064413547515869, 0.23294302821159363, 0.4078332781791687, -0.08834336698055267, -0.37181782722473145, 0.5617074966430664, 0.41665858030319214, -0.6192062497138977, -0.44399043917655945, -0.38380539417266846, -0.1575450748205185, -0.3290020525455475, 0.6399760246276855, -0.2975451350212097, -0.2049873024225235, -0.19514568150043488, -0.012573899701237679, -0.590915322303772, -0.7143564820289612, -0.7031939029693604, -0.2776573896408081, 0.6528995037078857, 0.474710613489151, 0.715894341468811, 0.27303487062454224, 0.37309831380844116, 0.24899327754974365, 0.021249298006296158, 0.46423614025115967, -0.5640530586242676, 0.5048588514328003, -0.3747223913669586, -0.2320145070552826, -0.6856420040130615, -0.12919442355632782, 0.7867862582206726, 0.3692620098590851, -0.0815463438630104, -0.20591889321804047, -0.5315828919410706, 0.4259470999240875, -0.9944226741790771, 0.017546357586979866, -0.5338955521583557, 0.27503180503845215, 0.22951412200927734, -0.7135442495346069, -0.5777015089988708, 0.08784031867980957, 0.2507442235946655, -0.7562047839164734, -0.3408209979534149, 0.11858490854501724, 0.35444602370262146, 0.2689817249774933, -0.42998555302619934, -0.433236688375473, -1.0989793539047241, 0.7343490123748779, -0.2015700489282608, 0.5879956483840942, 0.36449670791625977, 0.3865506052970886, -0.4606141746044159, -1.0587272644042969, -0.6193469762802124, -0.24371570348739624, 0.13302083313465118, 0.27199193835258484, -0.13066431879997253, -0.07124266773462296, 0.30241698026657104, -0.11901704967021942, -0.21605731546878815, -0.19073347747325897, -0.14812275767326355, -0.19409632682800293, 0.3750264644622803, 0.17838487029075623, 0.5970067977905273, -0.003956797067075968, -0.9233313798904419, -0.11689714342355728, -0.7719056606292725, 0.11636947840452194, -0.033479928970336914, 0.48041078448295593, 0.10103143751621246, 0.6611963510513306, -0.07549232989549637, 0.5023735165596008, -0.4146583080291748, -0.39810508489608765, 0.18962055444717407, -0.42937958240509033, 0.028714168816804886, 0.09813949465751648, 0.4064086377620697, 0.3185877501964569, 0.005154126789420843, -0.333347886800766, -0.3530139923095703, -0.07683189958333969, 0.49455150961875916, -0.5720882415771484, 0.055081527680158615, -0.12888771295547485, -0.19010914862155914, 0.22503915429115295, -0.22848185896873474, -0.724605917930603, -0.28682613372802734, -0.21949078142642975, 0.5839509963989258, -0.7959682941436768, -0.2950664758682251, 0.15943820774555206, -0.36288920044898987, 0.10784762352705002, 0.40756359696388245, -0.5863836407661438, 0.36727455258369446, 0.4263034462928772, 0.8701006174087524, -0.22665178775787354, -0.700730562210083, -0.8772929310798645, 0.6120471954345703, -0.3814419209957123, 0.923861563205719, -0.8952268958091736, -0.65705406665802, -0.007296726573258638, -0.30061861872673035, 0.021143432706594467, -0.41351816058158875, 0.6740766167640686, -0.8003759980201721, -0.37986108660697937, -0.32178395986557007, -0.08685393631458282, -0.004218294285237789, 0.6182331442832947, -0.6809244155883789, 0.9882920384407043, 0.06344716250896454, -0.36681079864501953, 0.5394148826599121, -0.6988025903701782, -0.44734033942222595, -0.09345986694097519, -0.26859399676322937, -0.038702093064785004, -0.23688821494579315, 0.12753431499004364, 0.25652074813842773, 0.17918865382671356, 0.09035556763410568, 0.034138359129428864, -0.5725273489952087, 0.21125146746635437, -0.20015496015548706, 0.269136905670166, 0.3318796157836914, 0.09319377690553665, 0.3523422181606293, -0.510707676410675, 0.0051814960315823555, -0.013958590105175972, -0.5567097067832947, -0.4791407883167267, 0.27027377486228943, -0.07849621027708054, 0.5058768391609192, 0.22229644656181335, -0.3583241403102875, 0.5161909461021423, -0.19838039577007294, 0.25750434398651123, 0.48068588972091675, -0.12793207168579102, 0.7645522356033325, -0.5270224809646606, 0.6985824108123779, -0.04049723222851753, -0.05976896360516548, -0.35142916440963745, -0.2251754254102707, -0.3344116806983948, -0.383064866065979, -0.05243392288684845, 0.44592323899269104, -1.2176756858825684, -0.27246853709220886, -0.32977133989334106, -0.22104793787002563, 0.19162262976169586, -0.13185399770736694, 0.204635351896286, 0.3531056344509125, 0.3954488933086395, -0.08949019759893417, -0.8707560896873474, -0.6076620221138, -0.1269369125366211, -0.21189254522323608, 0.3044549822807312, 0.611143171787262, 0.4519287943840027, -0.6394385099411011, 1.2395304441452026, -0.3171840012073517, -0.4508362412452698, -0.6136022210121155, 0.2578815221786499, -0.1404995620250702, 0.2574485242366791, 0.6516475677490234, -1.1237317323684692, -0.13571768999099731, -0.3143330514431, -0.49424856901168823, 0.037927161902189255, -0.4236345887184143, -0.37634745240211487, 0.015427347272634506, 0.5733711123466492, -0.7963897585868835, 0.4979301393032074, 0.4099366366863251, -0.40966978669166565, 0.7718213200569153, -0.5021817684173584, 0.08192979544401169, -0.9500536322593689, -0.0058551509864628315, -0.31923550367355347, -0.33011752367019653, -0.5905587077140808, 0.17827565968036652, 0.041385386139154434, 0.029494136571884155, -0.646370530128479, 0.882249653339386, -0.5519286394119263, -0.5377234816551208, -0.2328409105539322, 0.4598546028137207, -0.08516082912683487, 0.4688962697982788, 0.23145121335983276, 1.2663968801498413, 0.230751633644104, -0.8761842846870422, 0.14288261532783508, 0.5377909541130066, -0.18330469727516174, 0.40088802576065063, -0.15416620671749115, 0.08502884209156036, -0.1368400603532791, 0.48978427052497864, -0.6931859850883484, -0.10954537242650986, 0.11746212840080261, -0.412648469209671, 0.3941260576248169, -0.10958781093358994, -0.51029372215271, -0.06326805800199509, -0.3258821666240692, 0.6640411615371704, 0.015490098856389523, -0.41766050457954407, 1.3374770879745483, 0.5878968834877014, -0.24475184082984924, -0.7577345371246338, -0.573563814163208, 0.3290337026119232, 0.10956837236881256, -0.21445505321025848, 0.7467972636222839, -0.22918923199176788, -0.34017235040664673, -0.031474120914936066, -0.13357989490032196, -0.04106224700808525, -0.14575770497322083, 0.3361113369464874, 0.29655325412750244, 0.052035555243492126, 0.16146361827850342, -0.032902542501688004, -0.18625681102275848, -0.11848769336938858, 0.05818263068795204, 0.9107198715209961, -0.0236139427870512, -0.26084014773368835, 0.10935614258050919, 0.36555641889572144, 0.5646757483482361, -0.3470996022224426, 0.5514244437217712, 0.3136061131954193, -0.2646360695362091, -0.21158820390701294, -0.36655503511428833, 0.1341935098171234, -0.4251873195171356, 0.4590863585472107, -0.6531410217285156, -0.7718541026115417, 0.47069382667541504, -0.586817741394043, -0.0611540824174881, -0.09034775197505951, 0.5051988959312439, -0.18034787476062775, 0.9475916624069214, 0.5627479553222656, 0.13898082077503204, 0.7204400300979614, -0.4966624081134796, 0.1119755208492279, -1.1078050136566162, -0.3584437668323517, -0.10943745076656342, -0.6528027057647705, -0.27921849489212036, -0.6558417081832886, 0.46328234672546387, -0.059648338705301285, -0.3034364879131317, 0.08023277670145035, -0.00610888609662652, 0.4862348139286041, 0.5927246809005737, -0.0031053400598466396, 0.37766551971435547, -0.1926300972700119, -0.3713330626487732, 0.057236142456531525, -0.49149489402770996, -0.6489678621292114, 0.8917500376701355, 0.09817788004875183, 0.7490792274475098, 0.17958161234855652, 0.5557356476783752, 0.3027627170085907, 0.06316899508237839, -0.9653562903404236, 0.7677453756332397, 0.06918825209140778, -0.5105304718017578, -0.31862208247184753, -0.3662307858467102, -1.0292503833770752, 0.16921848058700562, -0.4300757646560669, -0.8149518370628357, 0.2384791374206543, -0.0589311346411705, -0.5467075109481812, 0.5003450512886047, -0.5557072162628174, 0.5416343808174133, -0.4479086101055145, -0.37409573793411255, -0.32490816712379456, -0.5373314619064331, 0.10552845895290375, 0.0698513463139534, 0.10592878609895706, -0.1043330654501915, -0.45333680510520935, 0.5454158782958984, 0.05845090374350548, 0.38301360607147217, -0.24501393735408783, 0.181277334690094, 0.28549379110336304, 0.47180095314979553, 0.6303505301475525, -0.07438111305236816, -0.1285087764263153, -0.28854623436927795, 0.15009213984012604, -0.1037299856543541, -0.6767024993896484, 0.8117384910583496, -0.7682783603668213, -0.3480146527290344, -0.4936974048614502, -1.087550163269043, -0.4422021806240082, 0.4190148413181305, -0.21456508338451385, 0.5934322476387024, -0.3728238642215729, 0.21727676689624786, 0.4005352854728699, -0.5708382725715637, 0.536597490310669, 0.6388952732086182, -0.7190059423446655, -0.1206396073102951, 0.7190590500831604, 0.23099082708358765, 0.1349540650844574, 0.5837581753730774, -0.0917946994304657, -0.36846598982810974, -0.6903508305549622, -0.10449576377868652, 0.023356689140200615, -0.5734623670578003, -0.16115139424800873, -0.9052267074584961, -0.2127363234758377, -0.17433322966098785, -0.20943504571914673, -0.44748544692993164, -0.46711990237236023, -0.001258576987311244, -0.2707696557044983, 0.22423842549324036, 0.5460551381111145, -0.21734488010406494, 0.25734516978263855, -0.5108667612075806, 0.6950596570968628, 0.24931316077709198, 0.3479568660259247, -0.1780991554260254, -0.053047917783260345, -0.013607229106128216, 0.24054262042045593, -0.3410094380378723, -0.6918346881866455, 0.7008851766586304, 0.18997791409492493, 0.6623415350914001, -0.030736787244677544, 0.2879253327846527, 0.8237457871437073, -0.5437312722206116, 0.49247437715530396, -0.2213171422481537, -0.47199973464012146, 0.7292737364768982, -0.269852876663208, 0.23506610095500946, 0.5522331595420837, 0.33013439178466797, -0.43696367740631104, -0.008433428592979908, -0.3056546449661255, -1.1062694787979126, 0.8904572129249573, 0.09684984385967255, 0.30359509587287903, -0.10328689217567444, 0.43591243028640747, 0.027164489030838013, 0.10873726010322571, -0.43496692180633545, -0.13783490657806396, -0.007691380102187395, 0.27090930938720703, 0.034579548984766006, -0.663384735584259, -0.0821426510810852, -0.15323525667190552, 0.36007818579673767, -0.08814471960067749, 0.6385734677314758, 0.24489490687847137, -0.3503625988960266, 0.015912706032395363, 0.2932383716106415, 0.883249819278717, 0.9932828545570374, -0.44886505603790283, 0.3901813328266144, 0.2104140967130661, -0.4864417016506195, 0.1092299073934555, -0.06187842786312103, -0.17918945848941803, -0.32175934314727783, 0.18933041393756866, 0.4813660979270935, 0.6644380688667297, -1.2214338779449463, 0.3870224356651306, -0.20831389725208282, 0.05187808349728584, -0.6838085651397705, 0.12760761380195618, -0.09361062943935394, 0.5297709107398987, 0.6538505554199219, 0.2799411118030548, 0.1980089247226715, -1.0088727474212646, 0.4578684866428375, 0.32520729303359985, -0.36621806025505066, -0.08785156905651093, 0.4003526568412781, -0.1285547912120819, -0.5753081440925598, 0.5111060738563538, -0.3158661425113678, -0.5444388389587402, 0.2601330280303955, 1.004623532295227, 0.5181636810302734, -0.054293226450681686, 0.23175282776355743, 0.19116589426994324, -0.08777870982885361, -0.05460596829652786, 0.5949850678443909, -0.12445603311061859, -1.0643311738967896, -0.4613868296146393, -0.4988904297351837, -0.44226154685020447, -0.438068687915802, -0.3502501845359802, 0.09099603444337845, -0.6341370344161987, -0.480440616607666, -0.6282006502151489, -0.010610421188175678, -0.5068866014480591, 0.14127816259860992, -0.025128547102212906, 1.0996266603469849, -0.23482351005077362, 0.8124852776527405, 0.9612689018249512, -0.49584633111953735, -0.7106865644454956, 0.004305063746869564, -0.04241744056344032, -0.9686832427978516, 1.0629934072494507, -0.06668125838041306, -0.7258586287498474, 0.031020725145936012, -0.4574809968471527, -0.9273353219032288, 1.3941009044647217, 0.4243963956832886, -0.2220454066991806, -0.42886075377464294, -0.23077796399593353, 0.43235456943511963, -0.43724387884140015, 0.41117891669273376, 0.5912824273109436, 0.379298597574234, 0.7459600567817688, -0.8444424867630005, -0.2671811878681183, -0.2881666123867035, -0.041833169758319855, 0.2512708604335785, -0.545213520526886, 0.8848626017570496, -0.3259267508983612, -0.4411780834197998, 0.08422373980283737, 0.6202830076217651, 0.7618788480758667, 0.48018988966941833, 0.4299061596393585, 0.3914933204650879, 0.5666866898536682, -0.06523530185222626, 1.120177984237671, -0.2575760781764984, -0.1806187629699707, 1.347324013710022, -0.5404092669487, 1.2164713144302368, 0.515289843082428, 0.12170220166444778, 0.6133037209510803, 0.22547504305839539, 0.6618284583091736, 0.7515327334403992, -0.36991187930107117, -0.24380354583263397, -0.30269932746887207, -0.4538446366786957, -0.22688643634319305, 0.7312979102134705, 0.49560168385505676, -0.11353614926338196, -0.2027042657136917, 0.07344243675470352, 0.01242087222635746, 0.22220216691493988, -0.36221498250961304, 0.6614982485771179, -0.02423950843513012, -0.5477126240730286, 0.06025009602308273, -0.1785019487142563, 0.6231040358543396, -0.6938217878341675, -0.28411364555358887, -0.06145058944821358, 0.1681974083185196, 0.010254595428705215, -0.9815759062767029, 0.41837653517723083, -0.19780083000659943, -0.13900770246982574, -0.7650147676467896, 0.8505733609199524, -0.19548402726650238, -0.12457495927810669, 0.6349184513092041, 0.7118120789527893, -0.06078103557229042, -0.1061372458934784, -0.39713093638420105, 0.2642595171928406, -0.5410146713256836, -0.048033710569143295, 0.3681473135948181, 0.4752756953239441, -0.07827742397785187, 1.2529406547546387, 0.6068177223205566, 0.34848734736442566, -0.042815200984478, 0.06865771859884262, 1.0002014636993408, -0.8916304707527161, -0.5247901678085327, -0.698957622051239, 0.34583863615989685, 0.07364743947982788, -0.017571859061717987, 0.530937135219574, 0.8116188049316406, 0.79945969581604, 0.17192620038986206, 0.46167898178100586, -0.04244930297136307, 0.5951256155967712, -0.6221140623092651, 0.5340709090232849, -0.5466679334640503, 0.40859004855155945, -0.3813197910785675, -0.8283385634422302, -0.3247765600681305, 0.7766410708427429, -0.604644238948822, 0.24233593046665192, 0.45284274220466614, 0.6153714656829834, 0.03541306033730507, -0.26904594898223877, 0.46280407905578613, 0.09438852220773697, 0.5001223683357239, 0.6910104751586914, 1.357068419456482, -0.03090357966721058, 0.5761759877204895, 0.11162366718053818, -0.09615454822778702, -0.19752459228038788, -0.8396011590957642, -0.5703400373458862, -0.6436196565628052, 0.2813490927219391, 0.14482511579990387, 0.03074181079864502, 1.3144347667694092, 0.5937000513076782, -0.3434373140335083, -0.24052467942237854, 0.34193068742752075, 0.13982366025447845, -0.14087419211864471, -0.17279179394245148, 0.08567395061254501, -0.308093398809433, -0.5372118353843689, 0.8916342854499817, 0.6790035367012024, 0.07800084352493286, -0.13953714072704315, -0.46522581577301025, -0.7489711046218872, -0.007003734353929758, 1.0384775400161743, 0.35912904143333435, -0.629999041557312, -0.3499096632003784, 0.20568574965000153, -0.14395233988761902, 0.10714884847402573, 1.0491859912872314, -1.296172857284546, 0.7370961308479309, 0.35313600301742554, 0.5260953903198242, 0.6761317849159241, -0.02187998779118061, 0.8308631777763367, -0.8469342589378357, 0.3257291615009308, 0.5187278389930725, 0.4314557611942291, -0.04013105481863022, -0.06297262758016586, 0.5745369791984558, -0.19373217225074768, -0.4453226625919342, -0.6644290685653687, 0.22571393847465515, -1.1431000232696533, -0.2813716530799866, 1.143671989440918, 0.06178490072488785, 0.020140618085861206, -0.15829183161258698, -0.7573502063751221, 0.20657867193222046, -0.46811816096305847, 0.6265897154808044, 0.47896313667297363, -0.3454407751560211, -0.42078152298927307, -0.556532621383667, 0.4193730652332306, -0.01763894408941269, -0.6020342111587524, -0.21972139179706573, 0.7033671736717224, -0.2128182351589203, 0.3732861280441284, 1.1265746355056763, 0.07214120030403137, 0.3609924912452698, -0.07531005144119263, -0.007243293337523937, -0.3390750288963318, -0.8615712523460388, 0.3776426911354065, 0.24698330461978912, 0.22739970684051514, 0.09005250036716461 ]
http://arxiv.org/abs/2402.03607v1
http://arxiv.org/pdf/2402.03607v1
Improving Contextual Congruence Across Modalities for Effective Multimodal Marketing using Knowledge-infused Learning
2024-02-06T00:51:27
2024-02-06T00:51:27
Trilok Padhi, Ugur Kursuncu, Yaman Kumar, Valerie L. Shalin, Lane Peterson Fronczek
cs.AI
cs.AI, cs.CL, cs.CV, cs.CY, cs.HC, I.2.7; I.2.10; I.2.4; I.2.1
The prevalence of smart devices with the ability to capture moments in multiple modalities has enabled users to experience multimodal information online. However, large Language (LLMs) and Vision models (LVMs) are still limited in capturing holistic meaning with cross-modal semantic relationships. Without explicit, common sense knowledge (e.g., as a knowledge graph), Visual Language Models (VLMs) only learn implicit representations by capturing high-level patterns in vast corpora, missing essential contextual cross-modal cues. In this work, we design a framework to couple explicit commonsense knowledge in the form of knowledge graphs with large VLMs to improve the performance of a downstream task, predicting the effectiveness of multi-modal marketing campaigns. While the marketing application provides a compelling metric for assessing our methods, our approach enables the early detection of likely persuasive multi-modal campaigns and the assessment and augmentation of marketing theory.
[ -0.24144472181797028, -0.6859884262084961, 0.38836756348609924, 0.16126170754432678, -0.3861062824726105, -0.005601552315056324, -0.4662829339504242, -0.5221995115280151, 0.11878500878810883, 0.24991266429424286, -0.47541359066963196, -0.568494975566864, -0.3561524450778961, -0.16253766417503357, 0.20124614238739014, 0.7045327425003052, 0.08828869462013245, 0.23826590180397034, -0.4775988459587097, -0.2685185372829437, -0.6057777404785156, -0.2954948842525482, -0.3080705404281616, -0.16217996180057526, 0.7575819492340088, 0.44930246472358704, 0.321198970079422, 0.22653599083423615, 0.2112739086151123, 0.33869650959968567, 0.16440656781196594, 0.6526791453361511, -0.6436437368392944, 0.3233168423175812, -0.16026705503463745, -0.18251505494117737, -0.37314480543136597, -0.005614783614873886, 0.4264829754829407, 0.5938209295272827, 0.10529546439647675, 0.12153861671686172, 0.07628246396780014, 0.3192172646522522, -0.7986608147621155, 0.5937703847885132, -0.7042661309242249, -0.17451730370521545, -0.012096760794520378, -0.4861586093902588, -0.4895728826522827, 0.07545237988233566, 0.3963741660118103, -0.9066857099533081, -0.06883992999792099, 0.21157096326351166, 0.6616488099098206, 0.1297072321176529, -0.8514324426651001, -0.26870882511138916, -0.5494565963745117, 0.8898122906684875, -0.416669636964798, 0.8103586435317993, 0.3040233254432678, 0.27367037534713745, 0.08880016207695007, -0.7032497525215149, -0.49980461597442627, -0.22682219743728638, -0.17837543785572052, 0.26362940669059753, -0.013383294455707073, 0.05970459803938866, 0.18411216139793396, 0.12666203081607819, -0.28339457511901855, -0.1582229733467102, -0.4149453341960907, -0.35657474398612976, 0.39707043766975403, 0.12325616180896759, 0.214027538895607, -0.4314189851284027, -0.9184426665306091, 0.12085994333028793, -0.23139463365077972, 0.3168559670448303, 0.023360971361398697, 0.3467070162296295, -0.2958664000034332, 0.6582459211349487, -0.3971898555755615, 0.8460279107093811, 0.18864871561527252, -0.4091743528842926, 0.3296372890472412, -0.8752524852752686, -0.3556564748287201, -0.12253983318805695, 0.5109905004501343, 0.5698762536048889, 0.03560233861207962, -0.022910844534635544, -0.22577862441539764, -0.05295456200838089, 0.031534478068351746, -0.8136783838272095, -0.12346139550209045, -0.019979247823357582, -0.33289894461631775, -0.052996959537267685, -0.04488563910126686, -0.6256353259086609, -0.3889283835887909, -0.6825235486030579, 0.5908458828926086, -0.5365696549415588, -0.3830288350582123, 0.00545878428965807, -0.36419785022735596, 0.16297297179698944, 0.38882747292518616, -0.632449746131897, -0.2835383415222168, 0.5458531975746155, 0.6074592471122742, 0.06456457823514938, -0.14271292090415955, -0.44025692343711853, 0.6418947577476501, 0.03742938116192818, 0.6370202302932739, -0.7623676061630249, -0.1485847532749176, -0.039904795587062836, 0.01822093315422535, -0.45004013180732727, -0.31094616651535034, 0.16110844910144806, -0.8310331702232361, 0.31325748562812805, -0.5270829796791077, -0.5168700218200684, -0.6333075165748596, 0.6639000177383423, -0.7087630033493042, 0.7270622849464417, 0.055299412459135056, -0.5405028462409973, 0.8397398591041565, -0.6693606972694397, -0.5557297468185425, 0.1391657441854477, -0.1216808632016182, -0.36182084679603577, 0.15755949914455414, 0.2328750193119049, 0.7352175712585449, 0.1385105699300766, 0.18127231299877167, -0.4224724769592285, 0.0038959290832281113, 0.2628667950630188, -0.6576403379440308, 0.5092471837997437, 0.2735915780067444, -0.3406110107898712, 0.3585069477558136, -0.7445419430732727, -0.2110612988471985, -0.10389254987239838, -0.46614792943000793, -0.5751823782920837, -0.24259892106056213, 0.24309101700782776, 0.34349220991134644, 0.3411085307598114, -0.21328379213809967, 0.05919323489069939, 0.02631106786429882, 0.2307494580745697, 0.8077613115310669, 0.06722655147314072, 0.4752834439277649, -0.23762090504169464, 0.26680436730384827, 0.2786250114440918, 0.27762195467948914, -0.39164018630981445, -0.5935664176940918, -0.5725162029266357, -0.5789094567298889, -0.07755496352910995, 0.1308475136756897, -1.0207220315933228, 0.07941213995218277, -0.4848727881908417, -0.3604470193386078, 0.050866495817899704, 0.5566060543060303, 0.1839735358953476, 0.5610905289649963, 0.25809022784233093, -0.4682547152042389, -0.3984268307685852, -0.6030688881874084, -0.3153832256793976, 0.051209188997745514, 0.2523120045661926, 0.496185302734375, 0.37738826870918274, -0.2170739769935608, 0.9021942019462585, -0.31001362204551697, -0.4365176558494568, -0.34684768319129944, 0.1288817971944809, -0.24399001896381378, 0.1541619449853897, 0.22647379338741302, -1.2138627767562866, -0.3576337695121765, 0.241787388920784, -0.6857887506484985, 0.19583362340927124, 0.02506800927221775, 0.19203926622867584, 0.19276075065135956, 0.37835562229156494, -0.4527668356895447, 0.1845511645078659, 0.5794552564620972, -0.6345264911651611, 0.3938142955303192, -0.123365119099617, 0.4807571470737457, -0.9947195649147034, 0.01575782336294651, 0.45909279584884644, -0.24978381395339966, -0.521641194820404, -0.32310354709625244, 0.06046811491250992, -0.14939013123512268, -0.7354771494865417, 0.49665966629981995, -0.4214412569999695, -0.14606401324272156, 0.04936300590634346, 0.1634490042924881, 0.4579259753227234, 0.744972288608551, -0.027996165677905083, 0.7227430939674377, 0.2890706956386566, -0.6921728849411011, 0.27304375171661377, -0.007422801107168198, -0.5786824822425842, 0.9377807378768921, -0.31967806816101074, -0.39143189787864685, -0.2763887643814087, 0.20008765161037445, -1.2411493062973022, -0.5742599368095398, 0.24009262025356293, -0.2494152933359146, 0.08997403830289841, -0.04939788579940796, -0.3391578793525696, -0.06888848543167114, -0.10585180670022964, 0.7613550424575806, 0.13192805647850037, -0.5103750228881836, 0.9803359508514404, 0.1377410590648651, 0.10543079674243927, -0.43521156907081604, -0.39741286635398865, -0.13509801030158997, -0.3479311764240265, -0.9268571734428406, 0.042884062975645065, 0.1500438004732132, -0.17307186126708984, -0.08430717140436172, 0.0647750273346901, -0.007306459825485945, -0.022694850340485573, 0.1894904524087906, 0.21777166426181793, -0.20849250257015228, 0.44687893986701965, -0.23875874280929565, -0.058536842465400696, -0.041049033403396606, -0.46471211314201355, 0.4773329198360443, -0.16487234830856323, -0.6413016319274902, -0.5619598627090454, 0.14577189087867737, 1.0348364114761353, -0.5103625655174255, 0.5573491454124451, 1.0837416648864746, -0.13255783915519714, -0.07993552833795547, -0.6366773843765259, -0.2617778480052948, -0.46714547276496887, 0.3868831396102905, -0.34408438205718994, -0.7548903226852417, 0.3950854539871216, -0.281200647354126, -0.23731690645217896, 0.1451404094696045, 0.5967354774475098, 0.018524641171097755, 1.2492783069610596, 0.544912576675415, 0.3568898141384125, 0.8277878761291504, -0.3713319003582001, 0.335681676864624, -0.6168606281280518, -0.8653654456138611, 0.2169998735189438, -0.3487996459007263, -0.19106236100196838, -0.7512971758842468, 0.5717880129814148, 0.04304395988583565, -0.12810225784778595, 0.09332148730754852, -0.1321220099925995, 0.34690800309181213, 0.7206004858016968, 0.4619726836681366, 0.6344888806343079, 0.2994820475578308, 0.03603050857782364, -0.10201099514961243, -0.8139776587486267, -0.18994030356407166, 1.0074087381362915, 0.24304640293121338, 0.6780543923377991, 0.18306177854537964, 0.07403790205717087, 0.19379635155200958, 0.3411392271518707, -0.862223207950592, 0.42894497513771057, 0.05646316334605217, -0.661105215549469, -0.05860922485589981, -0.4525931477546692, -0.7271314859390259, 0.40032443404197693, -0.5049431324005127, -0.35226309299468994, 0.4083341360092163, 0.20460760593414307, -0.25005725026130676, 0.2860998809337616, -0.9234827160835266, 1.0810112953186035, -0.6574859023094177, -0.762374758720398, -0.35083261132240295, -0.38010725378990173, 0.5275648236274719, 0.09587538987398148, 0.4010869860649109, -0.13958871364593506, -0.09617574512958527, 0.6251887679100037, -0.24195924401283264, 1.1361199617385864, -0.10910043865442276, -0.20820562541484833, 0.1879146695137024, -0.2358023226261139, 0.4250747263431549, -0.12121549993753433, 0.28470200300216675, -0.10675092041492462, -0.34355270862579346, -0.6638269424438477, -0.6239432692527771, 0.661491870880127, -0.40872451663017273, -0.230298712849617, 0.00709577277302742, -0.7894701957702637, -0.36500832438468933, 0.3022582232952118, -0.05280720070004463, 0.8638453483581543, -0.09455528110265732, 0.34900087118148804, 0.7365905046463013, 0.09354092180728912, 0.3694698214530945, 0.24828702211380005, -0.011230546981096268, -0.7027349472045898, 1.1884902715682983, 0.0010311517398804426, 0.6438707113265991, 0.18569618463516235, 0.2531420886516571, -0.6772143244743347, -0.3409477472305298, -0.30471327900886536, 0.03350275382399559, -0.9462001919746399, -0.07349396497011185, -0.6127697825431824, 0.4356047511100769, -0.5875915288925171, -0.10552413761615753, -0.0883982926607132, -0.12360981851816177, -0.22341476380825043, 0.01810319907963276, 0.30842751264572144, 0.588200569152832, -0.14682498574256897, 0.2852579951286316, -0.5931438207626343, 0.2585136294364929, 0.835571825504303, 0.20368361473083496, 0.15885049104690552, -0.13567350804805756, -0.38603490591049194, 0.2736700177192688, -0.2442288100719452, -0.6208383440971375, 0.27085617184638977, 0.024515070021152496, 0.7007938027381897, 0.8083341717720032, -0.10363951325416565, 0.7724529504776001, 0.08463932573795319, 0.6589512228965759, 0.6931512951850891, -0.7863524556159973, 0.35547909140586853, -0.6390323042869568, 0.1646718531847, 0.5356975793838501, 0.5435983538627625, -0.3697333037853241, 0.06691068410873413, -0.47148576378822327, -0.7990990877151489, 0.19218021631240845, -0.23554180562496185, 0.09624320268630981, 0.011327490210533142, -0.3496011197566986, 0.10727613419294357, 0.5114245414733887, -0.9212737083435059, -0.014288334175944328, -0.45253556966781616, -0.3734942376613617, -0.07782204449176788, -0.08234606683254242, -0.36499544978141785, -0.3791331946849823, 0.4573768973350525, -0.3903679847717285, -0.2904401421546936, 0.12403308600187302, -0.37646588683128357, 0.15804129838943481, 0.220376655459404, 0.808077871799469, 0.9362872242927551, -0.07460048049688339, 0.3718494176864624, -0.07796256244182587, -0.24375933408737183, -0.14735719561576843, 0.07552731037139893, 0.07104038447141647, -0.20311971008777618, 0.28596341609954834, 0.7257746458053589, 0.7099180817604065, -0.8246016502380371, 0.7733246088027954, 0.2388114184141159, -0.002866662573069334, -0.07641325891017914, -0.22839272022247314, -0.050016164779663086, 0.5041471719741821, 0.3651055693626404, 0.20401331782341003, 0.013096080161631107, -0.7995744943618774, 0.30363979935646057, 0.7064180970191956, -0.7075598239898682, -0.23700959980487823, 0.5939857363700867, 0.5921412110328674, 0.035389311611652374, 0.10423703491687775, 0.03847181051969528, -0.6797818541526794, 0.2860695719718933, 0.3973553776741028, 0.47256189584732056, 0.07683254778385162, 0.1925208419561386, 0.13773591816425323, 0.1805858463048935, 0.07357049733400345, -0.031077083200216293, -0.39885395765304565, -0.6092817783355713, -0.5743078589439392, -0.3670462965965271, -0.13884709775447845, -0.06467746198177338, -0.3628431558609009, 0.39173272252082825, -0.25399866700172424, -0.24438580870628357, -0.009105130098760128, -0.023108525201678276, -0.8407975435256958, 0.20924516022205353, 0.30913296341896057, 0.6401864290237427, -0.8732786774635315, 0.48727354407310486, 0.6520973443984985, -0.6673997640609741, -0.7556664943695068, -0.3439718782901764, -0.093776173889637, -0.9015342593193054, 0.881144106388092, 0.29394692182540894, -0.1830245852470398, -0.01272104773670435, -0.4816339910030365, -0.6931908130645752, 1.296155333518982, 0.04215603694319725, -0.40679019689559937, 0.15907350182533264, 0.13720183074474335, 0.02766135148704052, -0.5041179060935974, 0.1384739726781845, 0.10247176140546799, 0.7996286153793335, 0.34088507294654846, -0.7124642133712769, 0.0020739955361932516, -0.0045912740752100945, -0.18949298560619354, 0.057589512318372726, -0.43092915415763855, 0.6206626892089844, -0.26511186361312866, -0.34103384613990784, -0.3638008236885071, 0.6820427775382996, 0.2433823049068451, 0.9431479573249817, 0.6497220993041992, 0.6523255109786987, 0.7520880103111267, 0.17523884773254395, 0.8617828488349915, -0.2974843680858612, 0.2284899652004242, 0.7341622710227966, -0.07273383438587189, 0.7806225419044495, 0.6107901930809021, 0.4414781332015991, 0.7309902310371399, 0.41966545581817627, 0.12177784740924835, 0.5738916993141174, -0.09302061051130295, -0.5418679118156433, -0.8095055818557739, -0.4976465106010437, -0.33226895332336426, 0.49538183212280273, 0.46079280972480774, -0.3698161840438843, -0.3931783139705658, 0.4450805187225342, -0.11049363762140274, 0.14462028443813324, -0.42404621839523315, 0.7597981691360474, -0.1182960495352745, -0.5278173685073853, 0.4746088683605194, -0.37348508834838867, 0.8201418519020081, -0.5647268295288086, -0.08656962960958481, 0.06968425959348679, 0.20814545452594757, -0.2113603800535202, -0.5461639761924744, -0.1248532086610794, -0.5885072946548462, -0.2524524927139282, -0.262645423412323, 0.8955195546150208, -0.7492320537567139, -0.42202022671699524, 0.1584356129169464, 0.7345220446586609, -0.3124222457408905, -0.03241346403956413, -0.6076304912567139, 0.1863558143377304, -0.200694277882576, -0.12466089427471161, 0.03293634206056595, 0.544653594493866, 0.1099151074886322, 0.6119527220726013, 1.0041080713272095, -0.2574414908885956, 0.1953446865081787, 0.05027947574853897, 0.8622864484786987, -0.45341411232948303, -0.37930482625961304, -0.6439264416694641, 0.7028018832206726, -0.4073020815849304, -0.21386198699474335, 1.127941608428955, 0.6012430191040039, 0.98233962059021, -0.03421200439333916, 0.715486466884613, 0.1283116191625595, -0.12359802424907684, -0.48183751106262207, 0.481999933719635, -0.9305720329284668, 0.2289862185716629, -0.13776154816150665, -0.8090912699699402, -0.1693984419107437, 0.1779354065656662, -0.5001715421676636, -0.04326905682682991, 0.4193043112754822, 0.708200216293335, -0.37682971358299255, -0.016004612669348717, 0.4796679615974426, 0.052468135952949524, 0.21215404570102692, 0.5914686918258667, 1.0859475135803223, -0.2615482807159424, 0.6448351144790649, -0.267304390668869, -0.31147193908691406, -0.3842768669128418, -0.8517970442771912, -0.9115056395530701, -0.6868526339530945, -0.24024872481822968, -0.4245653450489044, -0.0575033463537693, 0.8998054265975952, 0.8882576823234558, -0.3207021951675415, -0.10843217372894287, 0.2317809909582138, 0.33701828122138977, -0.4114570915699005, -0.2540111839771271, 0.19265663623809814, -0.434101939201355, -0.688489556312561, 0.3825172483921051, 0.39569875597953796, 0.07312536984682083, -0.4388405978679657, -0.05642605200409889, -0.23088940978050232, -0.016713669523596764, 1.057640790939331, 0.11651623249053955, -0.6672595143318176, -0.27848494052886963, 0.2248341292142868, -0.13435213267803192, -0.08124082535505295, 1.1615245342254639, -0.7552231550216675, 0.5806999206542969, 0.6890792846679688, 0.39780908823013306, 0.2904343903064728, 0.11658494174480438, 0.5503178834915161, -0.5836001038551331, 0.11371584981679916, 0.11724603176116943, 0.32290560007095337, 0.44371092319488525, 0.0274161659181118, 0.06862523406744003, 0.704609215259552, -0.13929197192192078, -0.47217580676078796, 0.4965660870075226, -1.3948196172714233, -0.5250287652015686, 1.3042103052139282, 0.19602446258068085, -0.35694971680641174, -0.6182379722595215, -0.08131275326013565, -0.05647783353924751, -0.34839287400245667, 0.499345600605011, 0.2169876992702484, 0.22256679832935333, 0.09623178839683533, -0.3101009428501129, 0.37683477997779846, 0.399026095867157, -0.5758060216903687, -0.04232276603579521, 0.8124343752861023, 0.353311687707901, 0.28593045473098755, 0.5654789805412292, 0.21777771413326263, 0.1653316617012024, -0.06764519959688187, -0.25386983156204224, -0.5414797067642212, -0.39952802658081055, 0.07729117572307587, 0.5293150544166565, -0.2611999809741974, -0.15917904675006866 ]
http://arxiv.org/abs/2402.05969v2
http://arxiv.org/pdf/2402.05969v2
Breaking Symmetry When Training Transformers
2024-02-06T00:32:28
2024-06-16T22:18:36
Chunsheng Zuo, Michael Guerzhoy
cs.LG
cs.LG, cs.CL
As we show in this paper, the prediction for output token $n+1$ of Transformer architectures without one of the mechanisms of positional encodings and causal attention is invariant to permutations of input tokens $1, 2, ..., n-1$. Usually, both mechanisms are employed and the symmetry with respect to the input tokens is broken. Recently, it has been shown that one can train Transformers without positional encodings. This must be enabled by the causal attention mechanism. In this paper, we elaborate on the argument that the causal connection mechanism must be responsible for the fact that Transformers are able to model input sequences where the order is important. Vertical "slices" of Transformers are all encouraged to represent the same location $k$ in the input sequence. We hypothesize that residual connections contribute to this phenomenon, and demonstrate evidence for this.
[ -0.36382320523262024, -0.16709579527378082, 0.6493488550186157, 0.1548517644405365, -0.29973021149635315, -0.22428938746452332, 0.49326634407043457, -0.24269139766693115, 0.22297607362270355, 0.3476928174495697, -0.9924446940422058, 0.007819144055247307, -0.8817868232727051, 0.18495264649391174, -0.8022864460945129, 0.9488077163696289, -0.05885619297623634, 0.443034291267395, -0.2760486602783203, -0.3154909908771515, -0.8860011696815491, -0.5561274290084839, -0.6706756949424744, -0.5209822058677673, 0.9420480728149414, 0.1407383382320404, 0.7416843771934509, 0.9878487586975098, 0.5919755697250366, 0.3888171911239624, 0.10186493396759033, -0.3997688889503479, -0.6976587772369385, 0.252858430147171, -0.22004260122776031, -0.9478930234909058, -0.11009039729833603, 0.0676070898771286, 0.7484697103500366, 0.755687415599823, 0.0013738902052864432, 0.1789526343345642, 0.1313197761774063, 0.48491623997688293, -0.42076927423477173, 0.0669974759221077, -0.6410009860992432, 0.3624855875968933, -0.07025784999132156, -0.30699387192726135, -0.4947478175163269, -0.10374901443719864, -0.17914767563343048, -0.4954400956630707, 0.5051741003990173, -0.30482807755470276, 1.2433120012283325, 0.5658129453659058, -0.36467334628105164, 0.45538145303726196, -1.0761104822158813, 0.4691852927207947, -0.25111642479896545, 0.7715834379196167, 0.37111881375312805, 0.5473141670227051, -0.029452510178089142, -0.681536853313446, -0.41307997703552246, 0.2886950373649597, -0.33932366967201233, 0.45796382427215576, 0.023769278079271317, -0.01601097732782364, 0.6255006194114685, 0.17326951026916504, -0.2740039825439453, 0.17447759211063385, -0.6042965054512024, 0.1849069893360138, 0.13675886392593384, 0.37738871574401855, 0.2131803184747696, -0.07396138459444046, -0.572056770324707, -0.2310347855091095, -0.6360393166542053, 0.18522831797599792, 0.40380439162254333, -0.07917050272226334, -0.36278465390205383, 0.5523213744163513, 0.21759966015815735, 0.6132513880729675, 0.6621200442314148, -0.015100632794201374, 0.055562250316143036, -0.14539214968681335, -0.2642226815223694, 0.2736912965774536, 0.76173335313797, 0.0545496866106987, 0.095607690513134, -0.4166214168071747, -0.02140963077545166, 0.24638065695762634, 0.6909626126289368, -0.44591453671455383, 0.060052499175071716, 0.020556675270199776, -0.48055028915405273, -0.43365907669067383, 0.5901619791984558, -0.5909519791603088, -0.10325691103935242, -0.5640024542808533, 0.38569849729537964, -0.3415570855140686, 0.020425787195563316, -0.02511070854961872, -0.37173086404800415, 0.5252438187599182, -0.03506040200591087, -1.3327100276947021, 0.21075966954231262, 0.8000631332397461, 0.5267359614372253, 0.05178944393992424, -0.7322039604187012, -0.47350767254829407, 0.2680152356624603, -0.16839289665222168, 0.7917150855064392, -0.3819415867328644, -0.06760182231664658, 0.05649242177605629, 0.33099138736724854, -0.24239304661750793, -0.41382089257240295, 0.3948880136013031, -0.6382468938827515, 0.3712998628616333, -0.44401538372039795, -0.30064353346824646, 0.06845889985561371, -0.11232684552669525, -0.7819881439208984, 0.45336511731147766, 0.13120079040527344, -0.7939624190330505, 0.6840837001800537, -0.19983308017253876, -0.5889200568199158, -0.28618761897087097, -0.3972036838531494, -0.5440733432769775, 0.29814720153808594, 0.1460365206003189, 0.02540481835603714, -0.11935387551784515, 0.3606726825237274, -0.7132925987243652, -0.6074571013450623, 0.37694495916366577, -0.7100402116775513, 1.0671825408935547, -0.09285872429609299, -0.5272413492202759, 0.1467171311378479, -0.7268849015235901, -0.6433378458023071, 0.39511188864707947, -0.021220441907644272, 0.0464230477809906, 0.2134224772453308, -0.2991165816783905, 0.5179898738861084, -0.09475059062242508, -0.5655859708786011, 0.0955360159277916, -0.5797178745269775, 0.315994530916214, 1.1137045621871948, -0.02052759751677513, 0.6979196667671204, -0.12968023121356964, 0.3933945596218109, 0.38352251052856445, 0.418623149394989, -0.12496108561754227, -0.30213242769241333, -1.0364758968353271, -0.1389678716659546, 0.19642174243927002, 0.29877999424934387, -0.5365905165672302, 0.4706958532333374, -0.21709062159061432, -0.3630830943584442, -0.18498162925243378, -0.2540779411792755, 0.16211318969726562, 0.6530452966690063, 0.2153186947107315, -0.1717936247587204, -0.6836597323417664, -0.8133729100227356, -0.44679689407348633, -0.2523373067378998, -0.1408710926771164, -0.030133573338389397, 0.23678527772426605, 0.027442634105682373, 0.9735110402107239, -0.438372403383255, -0.21560607850551605, -0.16370868682861328, -0.0010204012505710125, 0.5941002368927002, 0.50436931848526, 0.5490069389343262, -0.5914497375488281, -0.19406433403491974, -0.23055289685726166, -1.0451221466064453, 0.21318934857845306, -0.25913766026496887, -0.34775814414024353, -0.057501066476106644, 0.6731646656990051, -0.8869870901107788, 0.5848736763000488, 0.38097089529037476, -0.3322694003582001, 0.27560558915138245, 0.3254943788051605, -0.22404108941555023, -1.014472484588623, -0.013340719975531101, 0.046913228929042816, 0.07510077208280563, -0.6659208536148071, -0.22286835312843323, -0.004564702045172453, -0.4462428390979767, -0.4413248598575592, 0.31699422001838684, -0.163230761885643, -0.1703067123889923, -0.08347364515066147, -0.27476537227630615, -0.10027115792036057, 0.7447985410690308, -0.14304521679878235, 0.17259396612644196, 0.5080851316452026, -0.40591657161712646, 0.20484714210033417, 0.49284636974334717, 0.16006308794021606, 0.4916476309299469, -0.9102318286895752, -0.13339826464653015, -0.2430141121149063, 0.23500728607177734, -1.0488324165344238, -0.15725520253181458, 0.4881048798561096, -0.443837970495224, 0.47985678911209106, -0.10680021345615387, -0.3477526605129242, -0.3104526996612549, -0.04317395016551018, 0.704014778137207, 0.5771517753601074, -0.9214043021202087, 0.609237015247345, -0.009953908622264862, 0.5735227465629578, -0.8088530898094177, -0.55821293592453, -0.3959692418575287, -0.2773769795894623, -0.6111751198768616, 0.10491090267896652, 0.5746251940727234, 0.040540486574172974, 0.05837225541472435, -0.7200106382369995, 0.014671009965240955, 0.22483591735363007, 0.4924273192882538, 0.2916654050350189, -0.27741146087646484, -0.12861722707748413, 0.2565467953681946, -0.4938017725944519, 0.46268942952156067, -0.2505984306335449, 0.6822639107704163, 0.46684330701828003, -0.6773529052734375, -0.7608726024627686, 0.22854939103126526, 1.0538511276245117, -0.2578108012676239, 0.9654582142829895, 0.6779056191444397, -0.38716739416122437, 0.0998288244009018, -0.36847132444381714, -0.548896849155426, -0.5855759382247925, 0.22539348900318146, -0.38079676032066345, -0.5958436131477356, 0.5579140782356262, 0.1727084070444107, -0.11506647616624832, 0.5486716628074646, 0.17708107829093933, -0.3385738730430603, 1.3008216619491577, 0.6838458180427551, -0.1723751276731491, 0.8446924686431885, -0.06842296570539474, 0.531394362449646, -0.5474978089332581, -0.14702945947647095, -0.6317432522773743, -0.6547417044639587, -0.5894198417663574, 0.23098117113113403, 0.21712307631969452, 0.18798556923866272, -0.6376110911369324, 0.40550947189331055, -0.4063393473625183, 0.5381945371627808, 0.5727984309196472, 0.17069390416145325, -0.008474772796034813, 0.38397207856178284, -0.07139376550912857, -0.099056176841259, -0.92659592628479, 0.083409383893013, 0.7309243083000183, 0.44083163142204285, 0.799731969833374, -0.14853712916374207, 0.7579579949378967, -0.3617981970310211, 0.2490912526845932, -0.7056736350059509, 0.38616225123405457, -0.13480950891971588, -0.41257476806640625, -0.2189246118068695, -0.2929530143737793, -1.2107089757919312, 0.10164511948823929, 0.03488416224718094, -0.7604952454566956, 0.6134595274925232, 0.10372498631477356, 0.18251994252204895, 0.30930402874946594, -0.4855245053768158, 1.0564390420913696, -0.14921221137046814, -0.2390526682138443, 0.03127427026629448, -0.8666101098060608, 0.512572705745697, 0.21571128070354462, -0.3817342519760132, 0.3729073703289032, 0.6509601473808289, 0.6150959730148315, -0.6357424855232239, 0.903664231300354, -0.18240024149417877, 0.05504370480775833, -0.06611200422048569, 0.01453175488859415, 0.4829299747943878, 0.15444612503051758, 0.45725178718566895, 0.5380110740661621, -0.39395609498023987, -0.41931629180908203, -0.8077865839004517, 0.31079190969467163, -1.1751328706741333, -0.878048300743103, -0.49467864632606506, -0.45086029171943665, -0.25001657009124756, 0.16596457362174988, 0.8522903323173523, 0.5471910834312439, 0.19649291038513184, 0.125025674700737, 0.4467717707157135, 0.09621775895357132, 0.4439854323863983, -0.07949276268482208, -0.04083196446299553, -0.29517117142677307, 0.7167485356330872, 0.14534668624401093, 0.38500186800956726, 0.3611578941345215, 0.010382410138845444, -0.148612841963768, 0.006229587364941835, -0.22177213430404663, 0.49953824281692505, -0.6849043369293213, -0.16690531373023987, -0.5070730447769165, -0.39945483207702637, -0.25594136118888855, -0.21817997097969055, -0.3551380932331085, -0.40008217096328735, -0.4274192750453949, -0.2977786064147949, -0.18455253541469574, 0.6784951090812683, 0.0998682975769043, 0.215293750166893, -0.8734431862831116, 0.5548484921455383, 0.513958215713501, 0.5210393071174622, 0.23635528981685638, -0.6435931324958801, -0.3829406797885895, -0.03817001357674599, -0.495259165763855, -0.8401715159416199, 0.15548670291900635, -0.31881117820739746, 0.578041136264801, 0.9327784180641174, -0.3716413676738739, 0.8807703852653503, -0.9765408635139465, 0.5794445276260376, 0.6365277767181396, -0.9451093673706055, 0.2755972146987915, -0.4869544208049774, 0.448208749294281, 0.27014726400375366, 0.3399381637573242, -0.5794034004211426, -0.7468587160110474, -0.6511218547821045, -0.6530697345733643, 1.16912841796875, 0.03910103440284729, 0.04945046454668045, -0.09596168994903564, 0.2731608748435974, 0.24491430819034576, -0.107823945581913, -0.6675757169723511, -0.6016395688056946, -0.6988146901130676, -0.2586635947227478, -0.03230834752321243, -0.2550652027130127, -0.4201849400997162, -0.42915183305740356, 0.2667568027973175, 0.3245197832584381, 0.8194932341575623, 0.008713353425264359, 0.04505585879087448, -0.3502073884010315, -0.3529250919818878, 0.7399367690086365, 0.7553342580795288, 0.13180601596832275, 0.12882530689239502, -0.18160566687583923, -0.49071377515792847, 0.5602448582649231, -0.18396268784999847, -0.22698082029819489, 0.1394544392824173, 0.2501154839992523, 1.0021768808364868, 0.335463285446167, 0.10752837359905243, 0.2430892437696457, -0.3584742546081543, -0.34120675921440125, -0.1746608316898346, 0.08341044932603836, 0.006386368535459042, 0.2667112946510315, 0.2955380380153656, 0.5977075695991516, -0.12466001510620117, -0.22948960959911346, 0.3385492265224457, 0.3018997311592102, -0.7832174301147461, -0.5408663153648376, 1.0129050016403198, -0.10985490679740906, -0.5151851773262024, 0.8554319143295288, 0.3459528684616089, -0.4361235201358795, 0.7801946997642517, 0.8978888392448425, 1.2577834129333496, -0.33838242292404175, 0.08801711350679398, 0.4482247531414032, 0.45701396465301514, -0.17826338112354279, -0.2390400767326355, 0.11161427944898605, -0.8325846791267395, -0.41276082396507263, -0.41976937651634216, -0.067690409719944, -0.08397037535905838, -0.9445598125457764, 0.6406680941581726, -0.5287874937057495, -0.03529147431254387, -0.21148668229579926, -1.1196515560150146, -0.710692286491394, -0.01775890402495861, 0.21139906346797943, 0.44900137186050415, -1.0762383937835693, 0.6516156196594238, 0.5612919330596924, -0.4656989276409149, -0.9215897917747498, 0.1871165931224823, -0.16020046174526215, -0.6984738707542419, 0.9743133783340454, 0.26392173767089844, -0.049580175429582596, -0.270633727312088, -0.5765718221664429, -1.2603267431259155, 1.0307867527008057, 0.7933240532875061, -0.33509236574172974, -0.08558717370033264, 0.5006064176559448, 0.3983548581600189, 0.06828688830137253, -0.01809941604733467, 0.30798327922821045, 0.2949248254299164, -0.09160898625850677, -0.4721696674823761, 0.01001389604061842, -0.16170255839824677, -0.02747492864727974, 0.5797243714332581, -0.7916708588600159, 0.9857714772224426, 0.26458942890167236, -0.5557234287261963, -0.09861022979021072, 0.5996718406677246, 0.21594391763210297, 0.029919682070612907, 0.3515283763408661, 0.8828188180923462, 0.1464361995458603, -0.2995854616165161, 1.0367170572280884, -0.2582467794418335, 0.5805644392967224, 1.0198272466659546, -0.18600422143936157, 0.2597699463367462, 0.7834010720252991, -0.20358480513095856, 0.5570352077484131, 0.4026716947555542, -0.36974528431892395, 0.6542128920555115, -0.24550418555736542, 0.24084465205669403, -0.1821131855249405, 0.21075358986854553, -0.40474337339401245, 0.5492681264877319, 0.0396675206720829, -0.5616682767868042, -0.36645716428756714, -0.07689012587070465, -0.08745625615119934, -0.26423513889312744, -0.18111808598041534, 0.6025518178939819, 0.08277687430381775, -0.6162306070327759, 0.6808858513832092, -0.19020581245422363, 0.06149325147271156, -0.5656974911689758, -0.14460940659046173, -0.4571046233177185, 0.2622928321361542, -0.28061312437057495, -0.2883620858192444, 0.3613494038581848, -0.3671380877494812, -0.4511708915233612, -0.3183809816837311, 0.6302977800369263, -0.07784879952669144, -0.5793096423149109, 0.3045637607574463, 0.05037284642457962, -0.34866777062416077, 0.3328140676021576, -0.4232889413833618, -0.16727082431316376, -0.11020328104496002, -0.32397863268852234, 0.6010256409645081, 0.5417384505271912, 0.1555444896221161, 0.3575626015663147, 0.5343389511108398, -0.34029048681259155, 0.3850322961807251, 0.12719078361988068, 0.7974203824996948, -0.6531065106391907, -0.47414910793304443, -1.0935378074645996, 0.7453473806381226, 0.11952749639749527, -0.30177661776542664, 0.6857641935348511, 0.20251229405403137, 1.0085768699645996, -0.3318819999694824, 0.37837278842926025, 0.43671131134033203, -0.21736964583396912, -0.41431891918182373, 0.7030996680259705, -0.31094270944595337, 0.06863253563642502, -0.23124992847442627, -1.3753407001495361, -0.41009819507598877, 0.5179721713066101, -0.26921597123146057, -0.12848831713199615, 1.270050287246704, 0.23268942534923553, -0.40128472447395325, 0.16807204484939575, 0.357616126537323, 0.22387558221817017, 0.2999011278152466, 0.31105273962020874, 0.8657097220420837, -0.7057148218154907, 0.43890663981437683, -0.28412190079689026, 0.1575535535812378, 0.07726586610078812, -0.3795299530029297, -0.8307085037231445, -0.41524097323417664, -0.018164856359362602, -0.5000854730606079, -0.22788985073566437, 0.2515503168106079, 0.4249642491340637, -0.6267752051353455, -0.35207706689834595, -0.6067153215408325, 0.4115269184112549, -0.6056639552116394, -0.21960745751857758, 0.27831414341926575, -0.6097060441970825, -0.5690889358520508, 0.028034798800945282, 0.57277512550354, -0.1550811231136322, -0.24549594521522522, 0.23069553077220917, -0.07226212322711945, -0.18444928526878357, 0.43840470910072327, 0.3361845016479492, -0.6719276309013367, -0.5434278249740601, 0.2376275658607483, -0.04267179220914841, 0.47145190834999084, 0.8905723094940186, -0.7996231317520142, 0.11063111573457718, 0.4783650040626526, 0.705299437046051, 0.530614972114563, 0.07092032581567764, 0.787138819694519, -0.6304810047149658, 0.37415534257888794, -0.01352174486964941, 0.6814604997634888, -0.15087570250034332, -0.4125046133995056, 0.26952388882637024, 0.540540874004364, -0.43285679817199707, -0.8331422209739685, 0.5083513855934143, -0.9057751297950745, -0.005180760752409697, 0.8775267601013184, -0.018968598917126656, -0.4591915011405945, 0.0010282028233632445, 0.060932572931051254, 0.5624182820320129, -0.08582131564617157, 0.9255897998809814, 0.5647920370101929, -0.07661615312099457, -0.13001582026481628, -0.10587523877620697, 0.0921836867928505, 0.7091187834739685, -0.2604437470436096, -0.2264757752418518, 0.18281766772270203, 0.13614848256111145, 0.32637083530426025, -0.14882385730743408, -0.40642794966697693, 0.5076497197151184, 0.2104584276676178, -0.052661411464214325, 0.14493311941623688, -0.4781430661678314, -0.6977167725563049, 0.29862654209136963, -0.07660827040672302, -0.42094114422798157 ]
http://arxiv.org/abs/2402.03597v1
http://arxiv.org/pdf/2402.03597v1
Identifying Reasons for Contraceptive Switching from Real-World Data Using Large Language Models
2024-02-06T00:14:53
2024-02-06T00:14:53
Brenda Y. Miao, Christopher YK Williams, Ebenezer Chinedu-Eneh, Travis Zack, Emily Alsentzer, Atul J. Butte, Irene Y. Chen
cs.CL
cs.CL, cs.IR, cs.LG
Prescription contraceptives play a critical role in supporting women's reproductive health. With nearly 50 million women in the United States using contraceptives, understanding the factors that drive contraceptives selection and switching is of significant interest. However, many factors related to medication switching are often only captured in unstructured clinical notes and can be difficult to extract. Here, we evaluate the zero-shot abilities of a recently developed large language model, GPT-4 (via HIPAA-compliant Microsoft Azure API), to identify reasons for switching between classes of contraceptives from the UCSF Information Commons clinical notes dataset. We demonstrate that GPT-4 can accurately extract reasons for contraceptive switching, outperforming baseline BERT-based models with microF1 scores of 0.849 and 0.881 for contraceptive start and stop extraction, respectively. Human evaluation of GPT-4-extracted reasons for switching showed 91.4% accuracy, with minimal hallucinations. Using extracted reasons, we identified patient preference, adverse events, and insurance as key reasons for switching using unsupervised topic modeling approaches. Notably, we also showed using our approach that "weight gain/mood change" and "insurance coverage" are disproportionately found as reasons for contraceptive switching in specific demographic populations. Our code and supplemental data are available at https://github.com/BMiao10/contraceptive-switching.
[ -0.1270952671766281, -0.7327818274497986, 0.8551616072654724, 0.21679645776748657, -0.18267042934894562, -0.4083794951438904, 0.045486196875572205, -0.49114492535591125, -0.2595088481903076, 0.6283031702041626, -0.6315368413925171, -0.5069010257720947, -0.5327029824256897, -0.10493411123752594, -0.5681938529014587, 1.2120989561080933, -0.17766264081001282, 0.15356823801994324, -0.05862707644701004, 0.30494678020477295, -0.5576943755149841, -0.5227139592170715, -0.24989740550518036, -0.5330756306648254, 0.8998051881790161, 0.49122923612594604, 0.503186047077179, 0.2644909918308258, 0.5039406418800354, 0.03777305781841278, 0.08250182121992111, -0.2998073399066925, -0.20007456839084625, -0.0689549446105957, -0.14770451188087463, -0.6937378644943237, -0.5146026611328125, 0.17791269719600677, 0.23819419741630554, 0.6982524991035461, -0.3362274169921875, 0.4324027895927429, -0.08461577445268631, 0.559283435344696, -0.6696420311927795, 0.1992923617362976, -0.6297981142997742, 0.15329432487487793, -0.6035850644111633, 0.06584877520799637, -0.3979759216308594, 0.05512489378452301, 0.4722661077976227, -0.34937819838523865, 0.3869648873806, -0.3824212849140167, 1.0894207954406738, 0.0057691484689712524, -0.8127077221870422, -0.15620897710323334, -1.0135217905044556, 0.6515251994132996, -0.659666895866394, 0.7773228287696838, 0.3916842043399811, -0.0006432427326217294, -0.11332865059375763, -0.43652451038360596, -0.518664538860321, -0.24743056297302246, 0.11338341236114502, 0.11623864620923996, -0.4454265236854553, -0.0703040137887001, 0.4136551022529602, -0.036016013473272324, -0.5392211079597473, 0.03460900858044624, -0.5005065202713013, -0.15093328058719635, 0.38009172677993774, 0.0712209939956665, 0.4759313762187958, 0.027191834524273872, -0.14696495234966278, -0.0672081932425499, -0.7807140350341797, 0.10062415152788162, 0.4274175763130188, 0.3409915864467621, -0.33491796255111694, 0.699906051158905, 0.3628242015838623, 0.5582007765769958, 0.05467977374792099, 0.16900557279586792, 0.08832987397909164, -0.11085913330316544, -0.27987152338027954, -0.007599431090056896, 0.5750882029533386, 0.31270748376846313, -0.14423280954360962, -0.12446644902229309, 0.25099098682403564, -0.07797340303659439, 0.3588436245918274, -0.8729057312011719, -0.23840898275375366, 0.371652752161026, -0.7430097460746765, -0.06918856501579285, -0.09691286087036133, -0.8572384715080261, -0.19849316775798798, -0.47343575954437256, 0.16684529185295105, -0.5386271476745605, -0.16506467759609222, 0.16641727089881897, -0.2463981956243515, 0.3337308466434479, 0.44497206807136536, -1.007702112197876, 0.3481318950653076, 0.7277217507362366, 1.0007811784744263, -0.5667904019355774, -0.1564294546842575, -0.20693296194076538, -0.12293445318937302, -0.3791528642177582, 0.8564918041229248, -0.1410611867904663, -0.4132791757583618, 0.22888199985027313, -0.0008991907234303653, -0.36706727743148804, -0.58195960521698, 0.5084283947944641, -0.2552240788936615, 0.6416573524475098, -0.6597131490707397, -0.574984610080719, -0.07205478101968765, 0.21514984965324402, -0.6583148241043091, 0.3648708760738373, -0.034233689308166504, -0.5686951875686646, 0.559829831123352, -0.4803606867790222, -0.46878430247306824, 0.04834982380270958, -0.12631553411483765, -0.613361120223999, 0.13130372762680054, -0.19602295756340027, 0.16785430908203125, -0.3787842392921448, 0.29292070865631104, -0.28798428177833557, -0.1437482386827469, 0.5893306136131287, -0.6542263031005859, 0.7531828284263611, 0.08537574857473373, -0.11043709516525269, 0.09813983738422394, -0.5013909339904785, -0.419283390045166, 0.11322218924760818, -0.2551156282424927, -0.4492626488208771, 0.015385104343295097, 0.39380085468292236, 0.273713082075119, 0.10687977820634842, -0.7086681723594666, 0.30378955602645874, 0.052804261445999146, 0.3210146129131317, 0.543351411819458, 0.4068485200405121, 0.16917753219604492, -0.2417982816696167, 0.6384198069572449, 0.06907084584236145, 0.4062459170818329, 0.1644047200679779, -0.9585555791854858, -0.21809275448322296, -0.16801267862319946, 0.4459308087825775, 0.46318796277046204, -0.41389861702919006, -0.08339492976665497, 0.029957540333271027, -0.1395682990550995, -0.21712535619735718, 0.10144953429698944, 0.27310898900032043, 0.6534332036972046, 0.4638434052467346, 0.02696666494011879, -0.18189646303653717, -0.7158584594726562, -0.3418249785900116, -0.30548885464668274, 0.0461592823266983, 0.13474801182746887, 0.5525948405265808, -0.31420382857322693, 1.0643771886825562, -0.8479956388473511, -0.08855139464139938, -0.4102020263671875, 0.22638854384422302, 0.40932539105415344, 0.31808215379714966, 0.3472597301006317, -0.7700813412666321, -0.21689382195472717, -0.1591103971004486, -0.25351545214653015, -0.35886886715888977, -0.6424742341041565, -0.4102586507797241, -0.14293602108955383, 0.3800050914287567, -0.7719481587409973, 0.5232656598091125, 0.3658316433429718, -0.340609610080719, 0.8231096267700195, -0.39846405386924744, -0.2515961527824402, -0.789291501045227, 0.22825683653354645, 0.19139863550662994, 0.20606057345867157, -0.7613591551780701, -0.16854740679264069, 0.37362560629844666, -0.08301883935928345, -0.5681830048561096, 0.472709059715271, -0.2871323823928833, 0.11685781180858612, 0.1613290160894394, -0.3531249165534973, -0.25228098034858704, 0.134254589676857, -0.1787407249212265, 0.3627236485481262, -0.10675796121358871, -0.5280680656433105, 0.15517252683639526, 0.5596258044242859, 0.06360393762588501, 0.43842288851737976, -0.47364428639411926, -0.1553419977426529, 0.12267313152551651, 0.19039681553840637, -0.9805751442909241, -0.19730454683303833, 0.3546915352344513, -0.1388561874628067, 0.2918443977832794, -0.6149854063987732, -0.05643684044480324, -0.40910863876342773, 0.004925225395709276, -0.014825704507529736, 0.3467589318752289, -0.3147256076335907, 0.4232082664966583, 0.23626796901226044, -0.2980162501335144, -0.29564687609672546, -0.8031328320503235, 0.3939741551876068, -0.16458185017108917, 0.10812447965145111, 0.5099312663078308, 0.13132865726947784, -0.1729058027267456, 0.13052701950073242, -0.2731023132801056, -0.055941130965948105, -0.3960517942905426, 0.3085661828517914, 0.7114762663841248, 0.22262856364250183, 0.44304218888282776, 0.33127355575561523, -0.25347259640693665, 0.31968989968299866, -0.42120158672332764, 0.5548725724220276, 0.30600255727767944, -0.23435498774051666, -0.32845842838287354, 0.49901121854782104, 0.4466172456741333, -0.2188996821641922, 0.505483865737915, 0.24287089705467224, -0.3543820381164551, -0.20237748324871063, -0.4103493392467499, -0.03834119066596031, -0.30076301097869873, 0.24016238749027252, 0.013279871083796024, -0.3647952079772949, 0.6137389540672302, 0.07384887337684631, 0.07771072536706924, 0.3609217703342438, 0.630806565284729, 0.0006017019040882587, 0.7133898735046387, 0.32268425822257996, 0.16669276356697083, 0.7620573043823242, -0.13209164142608643, 0.22822733223438263, -0.5601523518562317, -0.25913602113723755, -0.20522141456604004, -0.18801911175251007, -0.4540272057056427, -0.33854636549949646, 0.2849900722503662, -0.2920343279838562, -0.21300382912158966, 0.23325476050376892, -0.3687306344509125, 0.035643674433231354, 0.06653192639350891, 0.24834027886390686, 0.23191338777542114, -0.016836123540997505, -0.16793988645076752, -0.11030086874961853, -0.38603734970092773, -0.0658889040350914, 1.3748559951782227, 0.30262601375579834, 0.7959520220756531, 0.2878054082393646, 0.4554656445980072, 0.3573039472103119, 0.44935768842697144, -0.5732744336128235, 0.6455124616622925, -0.6865331530570984, -0.7522431015968323, -0.15814101696014404, -0.7575158476829529, -1.1709864139556885, 0.3958010971546173, -0.37164416909217834, -0.5896371006965637, 0.32521718740463257, 0.19136708974838257, -0.4335479140281677, 0.20070935785770416, -0.9336881041526794, 1.1203923225402832, -0.5792148113250732, -0.49763023853302, 0.08538342267274857, -0.4663494825363159, 0.4281446039676666, -0.025799626484513283, -0.11688066273927689, -0.35876038670539856, 0.09724830836057663, 0.39955082535743713, -0.48720118403434753, 0.8069008588790894, -0.18842865526676178, -0.32746097445487976, -0.09436408430337906, -0.05856332927942276, -0.10836638510227203, -0.040703848004341125, 0.2579233944416046, 0.5976884365081787, 0.04551367461681366, 0.019137198105454445, -0.4602089524269104, 0.7450827956199646, -0.6462472081184387, -0.38897672295570374, -0.5894590616226196, -0.4905087351799011, -0.2520284950733185, 0.2980867922306061, 0.33601438999176025, 0.3096911907196045, -0.16960346698760986, -0.20267897844314575, 0.37514135241508484, -0.4422800838947296, 0.3427852690219879, 0.8025472164154053, -0.4167560935020447, -0.08210224658250809, 0.46247655153274536, 0.6730448603630066, 0.2671796977519989, 0.5035174489021301, 0.5584681034088135, -0.631942868232727, -0.3053341507911682, -0.5473152995109558, 0.3628750145435333, -0.20019443333148956, 0.09943103045225143, -0.6667590737342834, -0.05210400000214577, -0.5139062404632568, 0.18914319574832916, -0.2327742874622345, -0.13374802470207214, -0.4386667311191559, -0.2058929204940796, 0.2987866699695587, 0.404824435710907, 0.19393372535705566, -0.0011354415910318494, -0.9002037644386292, 0.34785160422325134, 0.5111455321311951, 0.3351966142654419, -0.12765811383724213, -0.2581982910633087, 0.17184975743293762, -0.3612816333770752, -0.3253071904182434, -1.5345395803451538, 0.37341657280921936, -0.10626646131277084, 0.5543487668037415, 0.5674024224281311, 0.04055316373705864, 0.8492261171340942, -0.37375926971435547, 0.579443097114563, 0.13462543487548828, -0.9251773953437805, 0.313973993062973, -0.6952037215232849, 0.5868951082229614, 0.4221900701522827, 0.3754139840602875, -0.8209124803543091, 0.16932819783687592, -0.4289495050907135, -0.9110550284385681, 0.5311378836631775, 0.3715674579143524, -0.12735046446323395, 0.02080676332116127, 0.5983091592788696, 0.0905076190829277, 0.30479592084884644, -0.6764642596244812, -0.16103844344615936, 0.022669080644845963, -0.009761654771864414, 0.16296055912971497, 0.017443832010030746, -0.1076301783323288, -0.1206742525100708, 0.3584420382976532, -0.07585525512695312, 0.3269377648830414, 0.2439454346895218, 0.0700734332203865, -0.08209428191184998, 0.680824339389801, 0.680829644203186, 0.7305752635002136, -0.481932133436203, 0.18567456305027008, 0.03133907541632652, -0.8477137684822083, 0.1094122976064682, 0.7523151636123657, -0.7140457630157471, 0.06749750673770905, 0.526678740978241, 0.727254331111908, 0.3648310899734497, -0.5929659605026245, 0.46269309520721436, 0.02650076523423195, -0.2199430614709854, -0.34815090894699097, -0.07453170418739319, 0.005467700771987438, -0.20023992657661438, 0.20343303680419922, -0.005443065892904997, 0.20653827488422394, -0.7935878038406372, -0.0017380911158397794, 0.3228132724761963, -0.4346923828125, -0.3166855573654175, 0.6014426946640015, 0.07173822820186615, -0.11911388486623764, 0.5698851943016052, -0.07438506931066513, -0.24782954156398773, 0.6027774214744568, 0.865515410900116, 0.7690079212188721, -0.406667560338974, 0.5556696057319641, 0.19718359410762787, 0.15613077580928802, -0.1676279455423355, 0.12616023421287537, 0.3509771525859833, -0.7385746240615845, -0.11163163930177689, -0.05504937097430229, -0.6544697880744934, 0.16525427997112274, -0.937976062297821, 0.3337261378765106, -0.3353557884693146, -0.4330978989601135, 0.09049282968044281, -0.3486456871032715, -0.7271349430084229, 0.021019387990236282, 0.481384813785553, 0.7075992822647095, -0.9775159358978271, 0.6144406795501709, 0.7608930468559265, -0.5748152732849121, -0.6092879176139832, 0.28866398334503174, 0.24547100067138672, -0.41740721464157104, 0.1402653455734253, -0.05289769172668457, 0.1746797412633896, -0.49667349457740784, -0.44724324345588684, -0.5222262144088745, 0.9547114968299866, 0.39536941051483154, -0.9116920232772827, -0.28529632091522217, 0.4260996878147125, 0.5021620988845825, -0.3442199230194092, 0.3673805296421051, 0.6472368240356445, 0.23449207842350006, 0.14938677847385406, -0.6042291522026062, -0.06891530007123947, -0.0579802505671978, -0.07193608582019806, 0.587266206741333, -0.3538452982902527, 1.3798692226409912, -0.3676318824291229, 0.012285735458135605, -0.20858962833881378, -0.19303245842456818, 0.2788752615451813, 0.5506564378738403, 0.5950809717178345, 0.49026378989219666, 0.6197813749313354, 0.04138194024562836, 0.8714334964752197, -0.017222676426172256, 0.45123979449272156, 1.165724515914917, -0.8170562386512756, 1.233710527420044, 0.45287588238716125, -0.32519444823265076, 0.7005257606506348, 0.20778435468673706, -0.10416770726442337, 0.22532813251018524, -0.11571153998374939, -0.17156797647476196, -0.32463064789772034, 0.38794559240341187, -0.4423081576824188, 0.5972991585731506, 0.3599992096424103, -0.35817965865135193, -0.4696009159088135, 0.10150232166051865, 0.33386918902397156, -0.5681777000427246, -0.06752374768257141, 0.5958291888237, 0.0457300990819931, -0.724420964717865, 0.11559905856847763, -0.14203965663909912, 0.021628189831972122, -1.1076066493988037, -0.3859270513057709, -0.171615868806839, 0.40882283449172974, -0.24961264431476593, -0.6570287346839905, -0.03511748090386391, 0.2815247178077698, -0.13859011232852936, -0.5753355026245117, 0.7749731540679932, -0.42761677503585815, -0.493387907743454, 0.2792360782623291, 0.5646408796310425, -0.049925073981285095, -0.05717794597148895, -0.9082739353179932, -0.2474903166294098, 0.10232965648174286, -0.048145513981580734, 0.5827218294143677, 0.4104462265968323, -0.42270299792289734, 0.34823670983314514, 1.3310332298278809, 0.3837176561355591, -0.3037453293800354, 0.27970224618911743, 0.6601355075836182, -0.835101306438446, -0.6120728254318237, -0.9592260718345642, 0.44549670815467834, -0.17261768877506256, -0.722406268119812, 0.9750751852989197, 0.5787018537521362, 0.22653929889202118, -0.2970542013645172, 0.6341750621795654, 0.19577163457870483, 0.7070639729499817, -0.4759357273578644, 1.0636532306671143, -0.27781787514686584, 0.4178706705570221, -0.28459641337394714, -0.6738619208335876, -0.49423426389694214, 0.34305933117866516, -0.6381247043609619, -0.1779167354106903, 0.5968897938728333, 0.2584773898124695, -0.06041417643427849, 0.030762678012251854, 0.21419981122016907, 0.507502555847168, 0.8370678424835205, 0.2521832287311554, 0.5885941982269287, -0.22768379747867584, 0.6621480584144592, 0.23498237133026123, -0.32243043184280396, -0.21649298071861267, -1.070252537727356, -0.5119946002960205, -0.31471747159957886, -0.45915696024894714, -0.39473071694374084, 0.056627992540597916, 0.7829219698905945, 0.5521435737609863, -0.6819438934326172, -0.17396987974643707, -0.23323528468608856, 0.10403512418270111, -0.41177892684936523, -0.18079525232315063, 0.0453110970556736, -0.11364029347896576, -0.047665782272815704, -0.05576053634285927, 0.2422959804534912, -0.05165359377861023, -0.1387016475200653, 0.5786775350570679, -0.4113902151584625, 0.13472318649291992, 0.3792824447154999, 0.644742488861084, -0.6396944522857666, 0.13028398156166077, 0.12497209757566452, -0.19951483607292175, -0.3656086027622223, 1.0587025880813599, -0.4819381535053253, 0.5079058408737183, 0.5199779868125916, 0.2294495552778244, 0.597331702709198, -0.002345616463571787, 0.622065007686615, -0.12221118062734604, -0.09901577234268188, -0.09165356308221817, 0.4498577415943146, 0.1576509326696396, -0.3984754681587219, 0.18504194915294647, 0.3952658474445343, -0.6797530651092529, -0.5455365777015686, 0.06007823720574379, -1.0111706256866455, -0.2285481095314026, 1.3419450521469116, -0.2469736933708191, -0.1285378783941269, -0.464896023273468, -0.3390071392059326, 0.02154633402824402, -0.49705860018730164, 0.9224825501441956, 0.8580068349838257, -0.5484845638275146, -0.46112895011901855, -0.9618489742279053, 0.3604735732078552, 0.29275140166282654, -1.1906572580337524, 0.12383539974689484, 0.4555075466632843, 0.48389893770217896, 0.14134445786476135, 0.7545487880706787, -0.32153478264808655, 0.21073445677757263, -0.22004547715187073, 0.17637187242507935, 0.2896064817905426, -0.13668619096279144, -0.2745867669582367, 0.03631873056292534, -0.4064939320087433, -0.4035279154777527 ]
http://arxiv.org/abs/2402.05132v2
http://arxiv.org/pdf/2402.05132v2
TexShape: Information Theoretic Sentence Embedding for Language Models
2024-02-05T22:48:28
2024-05-11T20:03:26
Kaan Kale, Homa Esfahanizadeh, Noel Elias, Oguzhan Baser, Muriel Medard, Sriram Vishwanath
cs.CL
cs.CL, cs.IT, math.IT
With the exponential growth in data volume and the emergence of data-intensive applications, particularly in the field of machine learning, concerns related to resource utilization, privacy, and fairness have become paramount. This paper focuses on the textual domain of data and addresses challenges regarding encoding sentences to their optimized representations through the lens of information-theory. In particular, we use empirical estimates of mutual information, using the Donsker-Varadhan definition of Kullback-Leibler divergence. Our approach leverages this estimation to train an information-theoretic sentence embedding, called TexShape, for (task-based) data compression or for filtering out sensitive information, enhancing privacy and fairness. In this study, we employ a benchmark language model for initial text representation, complemented by neural networks for information-theoretic compression and mutual information estimations. Our experiments demonstrate significant advancements in preserving maximal targeted information and minimal sensitive information over adverse compression ratios, in terms of predictive accuracy of downstream models that are trained using the compressed data.
[ -0.18786810338497162, -0.8297628164291382, 0.6448435187339783, 0.10692516714334488, -0.051741987466812134, -0.08358784765005112, -0.24807852506637573, -0.3000277876853943, -0.1366608738899231, 0.3896559774875641, -0.2905845046043396, -0.4879074692726135, -0.9525373578071594, -0.15566325187683105, -0.48083800077438354, 0.7836220860481262, 0.003963543102145195, -0.030521737411618233, -0.2527501583099365, -0.1659337729215622, -0.422150582075119, -0.7533705830574036, -0.2631864547729492, -0.03787624463438988, 0.4297485053539276, 0.15799519419670105, 0.7045733332633972, 0.7948644757270813, 0.19807754456996918, 0.23670682311058044, 0.1274033486843109, 0.004220529925078154, -0.39460083842277527, 0.38903680443763733, 0.08819055557250977, -0.5536530017852783, 0.061122868210077286, 0.03646286204457283, 0.6170936822891235, 0.8373289108276367, -0.4262441396713257, -0.18147271871566772, 0.16730205714702606, 0.4736887514591217, -0.8831414580345154, 0.4084100127220154, -0.4363022744655609, 0.4805624485015869, 0.016616247594356537, -0.2555304765701294, -0.5814013481140137, -0.7116615176200867, 0.0382610484957695, -0.42678096890449524, 0.02757977321743965, 0.31514599919319153, 0.799322783946991, 0.3018890917301178, -0.47197121381759644, -0.06982320547103882, -0.5620645880699158, 1.0085172653198242, -0.4133985638618469, 0.6153407096862793, 0.8036198019981384, 0.16153523325920105, -0.019072508439421654, -0.639575183391571, -0.5142456293106079, -0.10712061822414398, -0.17144683003425598, -0.03986865282058716, -0.6246162056922913, 0.24302002787590027, 0.30209097266197205, 0.13039657473564148, -0.4044785499572754, 0.08890905976295471, -0.05888533219695091, -0.24012163281440735, 0.5777018666267395, 0.1682872623205185, 0.11019236594438553, -0.03814477473497391, -0.28104910254478455, -0.3842550218105316, -0.3553226590156555, 0.009749120101332664, 0.4783462882041931, 0.25686147809028625, -0.16050627827644348, 0.4956754744052887, -0.12437186390161514, 0.5324012041091919, -0.1790471374988556, 0.39976081252098083, 0.1707034707069397, -0.34591206908226013, -0.4405139088630676, 0.01418102253228426, 0.886650025844574, 0.07667332142591476, 0.21532593667507172, -0.3335614502429962, -0.07360051572322845, 0.16518186032772064, 0.2878682613372803, -0.9656996726989746, 0.14705008268356323, 0.27821922302246094, -0.5499635934829712, -0.5622293949127197, 0.3175049424171448, -0.6652129292488098, -0.36326220631599426, -0.2425680011510849, 0.193123921751976, -0.5060075521469116, -0.11006905138492584, 0.3745003342628479, -0.15907014906406403, -0.0830005630850792, -0.02543174847960472, -0.9045554399490356, 0.6348761916160583, 0.6181927919387817, 0.7330780625343323, 0.3216716945171356, -0.10149095952510834, -0.6582865715026855, 0.16452962160110474, -0.14370782673358917, 0.477893590927124, -0.8059625029563904, -0.1707388311624527, 0.27221375703811646, -0.20041753351688385, 0.05650249868631363, -0.09935412555932999, 0.8868453502655029, -0.3150237500667572, 0.39803996682167053, -0.05414750427007675, -0.9718085527420044, -0.2494497150182724, -0.03582081198692322, -0.6893911361694336, 0.796868622303009, 0.19851960241794586, -1.017789602279663, 0.2249208688735962, -0.5839923620223999, -0.15627272427082062, -0.04210416600108147, -0.3977241814136505, -0.40525898337364197, 0.2609185576438904, 0.056038353592157364, 0.8169699907302856, -0.4249110817909241, 0.4132382273674011, -0.38519519567489624, -0.27991360425949097, 0.3836643099784851, -0.3501858413219452, 0.6287767887115479, 0.2704613208770752, 0.04236428439617157, -0.3761995732784271, -0.3743690252304077, 0.3366883397102356, 0.12328048050403595, -0.19808141887187958, -0.6055644750595093, -0.06537064164876938, 0.4809374511241913, -0.2081284075975418, 0.06032288447022438, -0.7586102485656738, 0.12527717649936676, -0.1347450464963913, 0.44579172134399414, 0.8994253873825073, -0.3328125774860382, 0.4791749119758606, -0.3543701767921448, 0.4418959617614746, 0.18054835498332977, 0.19321002066135406, -0.13276545703411102, -0.2656102180480957, -0.35663360357284546, 0.17368264496326447, 0.6367030739784241, 0.4305851459503174, -0.3797993063926697, 0.447137713432312, -0.40459808707237244, -0.1798681765794754, -0.3485719859600067, -0.21280725300312042, 0.24434305727481842, 0.2808433175086975, 0.22474358975887299, -0.14139144122600555, -0.5736827850341797, -0.9698709845542908, -0.3994705379009247, -0.04400712624192238, 0.07308052480220795, 0.4123781621456146, 0.1106579527258873, -0.21931852400302887, 1.0318933725357056, -0.600164532661438, -0.1050107553601265, -0.14874789118766785, 0.22601500153541565, 0.1203405112028122, 0.4371492862701416, 0.6326069235801697, -1.0511659383773804, -0.5169144868850708, -0.14712215960025787, -0.7660869359970093, -0.2051485925912857, 0.2817618250846863, -0.08019370585680008, -0.015003830194473267, 0.21384096145629883, -0.5080158114433289, 0.4764454960823059, 0.7764739990234375, -0.7064430117607117, 0.10982057452201843, -0.2526847720146179, 0.18437901139259338, -1.2852790355682373, -0.07287150621414185, 0.0926566943526268, -0.6071481704711914, -0.6815916895866394, -0.12649434804916382, 0.1977061927318573, -0.0556836761534214, -0.007768027018755674, 0.43433627486228943, -0.3467242419719696, 0.19853579998016357, -0.2720853388309479, -0.025549165904521942, 0.023530391976237297, 0.46076908707618713, -0.0734616369009018, 0.5134614706039429, 0.46184125542640686, -0.6370126008987427, 0.02012215182185173, 0.40006765723228455, -0.3298163115978241, 0.46987390518188477, -0.48493391275405884, 0.22072839736938477, -0.44694632291793823, 0.23275090754032135, -0.09126977622509003, -0.16705697774887085, 0.07079233974218369, -0.4068524241447449, 0.2633456289768219, -0.11364500224590302, -0.6102737784385681, 0.1016981452703476, -0.5165756344795227, 0.4911080002784729, 0.729131817817688, -0.29551103711128235, 0.5357971787452698, 0.6084609627723694, -0.12866978347301483, -1.0274302959442139, -0.9963581562042236, 0.04528957977890968, -0.16952896118164062, -0.5261139273643494, 0.6554124355316162, 0.017200976610183716, -0.30061236023902893, 0.32627174258232117, -0.06548762321472168, -0.5527253746986389, -0.03252827748656273, 0.4108505845069885, -0.04733993858098984, -0.040109336376190186, 0.47052302956581116, 0.30790749192237854, -0.16724619269371033, -0.07512951642274857, -0.46353718638420105, 0.5913205742835999, 0.04050018638372421, 0.042405422776937485, -0.30504485964775085, 0.747455894947052, -0.11186683923006058, 0.21904458105564117, 0.8555177450180054, 0.4191240668296814, -0.4710371792316437, -0.4228653907775879, -0.40298932790756226, -0.1935214251279831, -0.41764453053474426, 0.380998432636261, -0.0816730260848999, -1.0763510465621948, 0.07744389772415161, -0.0246057640761137, -0.1573408544063568, 0.15892471373081207, -0.00866855401545763, -0.14834944903850555, 0.7625892758369446, 1.219735026359558, -0.14120829105377197, 0.6029365062713623, -0.2449423223733902, 0.12053702026605606, -0.43845170736312866, -0.10274439305067062, -0.7023431658744812, -0.07664772123098373, -0.5724384188652039, -0.364082396030426, 0.17508959770202637, 0.10871805250644684, -0.3186092674732208, 0.3827987015247345, -0.20770278573036194, 0.5915616750717163, 0.6419817209243774, 0.24666765332221985, 0.12680058181285858, 0.2070336937904358, -0.11248384416103363, -0.14257502555847168, -0.8656812906265259, -0.48332589864730835, 1.1586668491363525, 0.21766427159309387, 0.8239720463752747, 0.12950974702835083, 0.5964051485061646, 0.7338106036186218, -0.3459119200706482, -0.5892233848571777, 0.2949149012565613, -0.40635937452316284, -0.04852181300520897, 0.019814839586615562, -0.6689271330833435, -1.0797733068466187, -0.12192784249782562, -0.40179070830345154, -0.8180033564567566, 0.32959601283073425, -0.05013901740312576, -0.04254639148712158, 0.1967945694923401, -0.6630745530128479, 0.7021369934082031, 0.12500138580799103, -0.4673823118209839, -0.4191421866416931, -0.43518999218940735, -0.00559509452432394, -0.16589602828025818, 0.15516629815101624, -0.07272142916917801, -0.263938307762146, 0.7378444075584412, -0.5864161252975464, 0.6575078964233398, -0.24591676890850067, 0.24071083962917328, -0.10588141530752182, 0.014079886488616467, 0.48214972019195557, -0.008421194739639759, -0.1387469321489334, 0.25916221737861633, 0.1606527417898178, -0.5366899967193604, -0.842523455619812, 0.39207008481025696, -0.6323214173316956, -0.30899158120155334, -0.47006505727767944, -0.6343476176261902, -0.32050955295562744, -0.05070655420422554, 0.09256467968225479, 0.4946975111961365, -0.2748776078224182, 0.46282508969306946, 0.6345520615577698, -0.29964321851730347, 0.7060751914978027, 0.2516683042049408, 0.04768875986337662, -0.24539430439472198, 0.4042253792285919, -0.08172494173049927, -0.023914430290460587, 0.7294822931289673, 0.34359362721443176, -0.3484656512737274, -0.33903768658638, 0.07652290910482407, -0.045623764395713806, -0.7826146483421326, -0.37860795855522156, -0.8874676823616028, -0.3380211889743805, -0.14392299950122833, 0.011503142304718494, -0.11181864887475967, -0.6043422222137451, 0.16671112179756165, -0.0702977254986763, 0.5797327160835266, 0.8776898384094238, -0.2010677605867386, 0.26642099022865295, -0.8393685221672058, -0.08084327727556229, -0.09256474673748016, 0.3924151062965393, -0.16305148601531982, -0.1179739385843277, -0.5020759105682373, 0.1517842710018158, -0.049980465322732925, -0.8021062612533569, 0.24102337658405304, 0.20063477754592896, 0.4943450093269348, 0.05920398235321045, 0.2449818104505539, 0.22088362276554108, -0.3617938458919525, 0.5513577461242676, 0.07812261581420898, -0.9906159043312073, 0.586021363735199, -0.11448142677545547, 0.1198803260922432, 0.43530282378196716, 0.4295284152030945, -0.7556713223457336, -0.3208538293838501, -0.570629894733429, -0.5019031763076782, 0.757831871509552, 0.486917644739151, 0.5912321209907532, 0.2134828269481659, 0.2790957987308502, 0.45632436871528625, 0.42152920365333557, -0.8428592681884766, -0.13571056723594666, -0.041840746998786926, -0.7358203530311584, 0.2619946002960205, -0.4250473976135254, 0.05159103870391846, 0.1088627353310585, 0.40345147252082825, -0.00319307972677052, 0.6099110245704651, 0.0605165958404541, -0.22729629278182983, 0.4249739944934845, 0.47366002202033997, 0.13194765150547028, 0.23283813893795013, -0.12117674946784973, 0.12338906526565552, -0.19299229979515076, -0.8413780927658081, 0.3527858257293701, 0.34644508361816406, -0.31909605860710144, 0.07171140611171722, 0.3900037407875061, 0.8628464341163635, 0.012688686139881611, -0.5480983257293701, 0.8847849369049072, -0.3553414046764374, 0.013194018974900246, -0.13632351160049438, 0.11144984513521194, -0.39101168513298035, 0.30109092593193054, 0.3444105088710785, 0.09498358517885208, 0.19367508590221405, -0.33374735713005066, 0.3027406930923462, 0.3028002381324768, -0.47414010763168335, -0.08201112598180771, 0.7260528206825256, -0.0034436776768416166, -0.10481103509664536, 0.3951205313205719, 0.17798113822937012, -0.3615982234477997, 0.5295379161834717, 0.16197100281715393, 1.1046723127365112, -0.28920379281044006, 0.2998468577861786, 0.27402186393737793, 0.13622622191905975, -0.06486603617668152, 0.26040422916412354, -0.46851643919944763, -0.803248405456543, -0.26733148097991943, -0.534518837928772, -0.3329954147338867, -0.21303589642047882, -0.4835483729839325, 0.2721136808395386, -0.4537118971347809, -0.26832935214042664, -0.11482078582048416, -0.10982850193977356, -0.790310800075531, 0.08383149653673172, -0.05709884315729141, 0.7140843868255615, -0.6007400155067444, 0.9446911215782166, 0.13593682646751404, -0.5208141207695007, -0.7379933595657349, 0.24289539456367493, -0.3314637243747711, -0.5221109986305237, 0.7458298802375793, 0.29764971137046814, -0.0026842819061130285, -0.1250298172235489, -0.5708903074264526, -0.6485975980758667, 1.1009258031845093, 0.827339231967926, -0.6512529850006104, 0.005856303032487631, 0.34753572940826416, 0.16080307960510254, -0.41970154643058777, 0.37952280044555664, 0.13740374147891998, 0.35097262263298035, -0.4996704161167145, -0.7327995300292969, 0.2018568366765976, -0.3633965253829956, 0.1708221137523651, 0.11961725354194641, -0.4347209930419922, 0.822279155254364, 0.1033770814538002, -0.36558789014816284, -0.22221750020980835, 0.2435796707868576, -0.1644405573606491, -0.0007906947284936905, 0.4739483594894409, 0.4392736852169037, 0.9043853878974915, -0.14784175157546997, 1.4240256547927856, -0.36698633432388306, 0.29143792390823364, 0.9717796444892883, 0.10684370994567871, 0.8049132227897644, 0.2975148856639862, -0.24258387088775635, 0.6726725101470947, 0.48782187700271606, 0.0738745853304863, 0.646376371383667, 0.0905546247959137, -0.42073190212249756, 0.14406846463680267, -0.507408082485199, -0.41956841945648193, 0.47479692101478577, 0.0346614345908165, -0.7311275601387024, -0.04263601824641228, 0.15064944326877594, 0.21185316145420074, 0.2386542707681656, -0.046058014035224915, 0.6233436465263367, 0.11491808295249939, -0.207444429397583, 0.32403308153152466, 0.32087308168411255, 0.7243053317070007, -0.6763401031494141, -0.032499972730875015, -0.33087798953056335, 0.0038894186727702618, -0.12135986983776093, -0.7511076927185059, 0.2782900929450989, 0.12705948948860168, -0.2285085916519165, -0.4013775587081909, 0.676821768283844, -0.5913822054862976, -0.29646584391593933, 0.4233362674713135, 0.3927978575229645, -0.0401582196354866, -0.065843865275383, -0.5268495678901672, 0.1168045923113823, -0.20275869965553284, -0.1331699639558792, 0.13259683549404144, 0.3812991678714752, 0.18982625007629395, 0.5621588826179504, 0.2124129831790924, 0.022232577204704285, -0.11166805773973465, 0.174874946475029, 0.7135971784591675, -0.8834763169288635, -0.8374931812286377, -0.9686335325241089, 0.33382904529571533, -0.48115962743759155, 0.13196851313114166, 0.4677959978580475, 0.5748337507247925, 0.6218928694725037, 0.11044395714998245, 1.198287010192871, -0.16514840722084045, 0.17578314244747162, -0.9057868719100952, 0.8503576517105103, -0.2966402471065521, 0.08069773018360138, -0.18390919268131256, -1.0770975351333618, -0.09760333597660065, 0.5894257426261902, 0.07543186843395233, 0.16371916234493256, 0.9783856272697449, 0.5618110299110413, -0.4153626561164856, 0.3465098738670349, 0.2916196882724762, 0.28038349747657776, -0.004267258569598198, 0.9396713972091675, 0.58395916223526, -0.664646565914154, 0.4702531695365906, -0.45828041434288025, -0.06282167136669159, 0.019000817090272903, -0.9926298260688782, -0.6752557754516602, -0.9663887023925781, -0.26783323287963867, -0.2344360500574112, 0.039666999131441116, 0.8530492186546326, 0.9389788508415222, -0.5245329141616821, -0.2379540055990219, -0.4984527826309204, -0.014280290342867374, 0.09828129410743713, -0.20027047395706177, 0.4322032630443573, -0.2051069438457489, -0.7824310660362244, 0.27023109793663025, 0.3048732876777649, 0.3002535402774811, -0.17982134222984314, -0.15543605387210846, -0.008313294500112534, 0.27287450432777405, 0.526874840259552, -0.12694557011127472, -0.3576134145259857, -0.3412656784057617, -0.2473440319299698, -0.21863779425621033, 0.05918125435709953, 0.886309802532196, -0.8858831524848938, 0.43217021226882935, 0.3334653079509735, 0.9098265171051025, 0.5844241976737976, -0.11653222888708115, 0.9625945687294006, -0.9781262278556824, 0.4865962564945221, 0.340657114982605, 0.4656931161880493, 0.44516026973724365, -0.4647767245769501, 0.7876631021499634, 0.020433293655514717, -0.32432931661605835, -0.9426175951957703, 0.2562621533870697, -0.7807541489601135, -0.2539293169975281, 0.8687921166419983, -0.23977439105510712, -0.2147357165813446, -0.03069339506328106, -0.05800286680459976, 0.2697918117046356, -0.4913056194782257, 0.6628142595291138, 0.8881279230117798, 0.12942297756671906, -0.43518272042274475, -0.5407028794288635, 0.6462160348892212, 0.4178984761238098, -0.9494216442108154, 0.21811532974243164, 0.5444405674934387, -0.08574564009904861, -0.2162512242794037, 0.5725952386856079, 0.1604185253381729, 0.07631009817123413, 0.35041746497154236, -0.1512446403503418, -0.22633393108844757, 0.0920010656118393, -0.3639318346977234, 0.3712866008281708, -0.30300265550613403, -0.17826834321022034 ]
http://arxiv.org/abs/2402.05131v3
http://arxiv.org/pdf/2402.05131v3
Financial Report Chunking for Effective Retrieval Augmented Generation
2024-02-05T22:35:42
2024-03-16T09:08:26
Antonio Jimeno Yepes, Yao You, Jan Milczek, Sebastian Laverde, Renyu Li
cs.CL
cs.CL
Chunking information is a key step in Retrieval Augmented Generation (RAG). Current research primarily centers on paragraph-level chunking. This approach treats all texts as equal and neglects the information contained in the structure of documents. We propose an expanded approach to chunk documents by moving beyond mere paragraph-level chunking to chunk primary by structural element components of documents. Dissecting documents into these constituent elements creates a new way to chunk documents that yields the best chunk size without tuning. We introduce a novel framework that evaluates how chunking based on element types annotated by document understanding models contributes to the overall context and accuracy of the information retrieved. We also demonstrate how this approach impacts RAG assisted Question & Answer task performance. Our research includes a comprehensive analysis of various element types, their role in effective information retrieval, and the impact they have on the quality of RAG outputs. Findings support that element type based chunking largely improve RAG results on financial reporting. Through this research, we are also able to answer how to uncover highly accurate RAG.
[ -0.2274423986673355, -0.7977693676948547, 0.30375418066978455, 0.37504106760025024, -0.3879840075969696, 0.6471184492111206, 0.2610776722431183, -0.8558779358863831, 0.49781230092048645, 0.523569643497467, 0.00792799610644579, 0.052724990993738174, -0.6643959879875183, -0.025859329849481583, -0.7172985672950745, 1.1733115911483765, 0.15804429352283478, -0.04482920467853546, -0.3649068772792816, 0.12585075199604034, -0.3602066934108734, -0.10858548432588577, -0.960015594959259, -0.3983405828475952, 0.5025150179862976, 0.4905306398868561, 0.5693332552909851, 0.9591820240020752, 0.7973375916481018, 0.3366788327693939, -0.1989804208278656, 0.3855537176132202, -0.34263086318969727, 0.06959321349859238, -0.1973133087158203, -0.42831069231033325, -0.6545495390892029, 0.07632161676883698, 0.5833856463432312, 0.5620090365409851, -0.13268738985061646, 0.37292614579200745, 0.023200811818242073, 0.9875378012657166, -0.8334032893180847, 0.10343974083662033, -0.551848292350769, -0.09721655398607254, -0.41594022512435913, -0.6658711433410645, -0.5770615339279175, -0.2922005355358124, 0.28454291820526123, -0.7132293581962585, 0.4546389877796173, 0.49788448214530945, 0.8501432538032532, 0.12722091376781464, -0.5408182740211487, -0.7857797145843506, -0.7037637233734131, 0.49500763416290283, -0.4547857344150543, 0.16986094415187836, 0.7177993059158325, 0.030587121844291687, 0.2279215306043625, -0.7275576591491699, -0.1796775460243225, 0.03828192502260208, -0.23968495428562164, 0.15547512471675873, -0.007164376322180033, -0.00799525622278452, 0.01640787161886692, 0.9705766439437866, -0.37890565395355225, -0.19345258176326752, -0.4960234761238098, -0.18197587132453918, 0.6094668507575989, 0.05438941344618797, 0.16161461174488068, -0.3290710747241974, -0.5490756034851074, -0.4139469861984253, -0.42610469460487366, -0.07863666862249374, 0.5057147741317749, 0.35507020354270935, 0.09621334820985794, 0.7517910599708557, 0.1667492538690567, 0.6438208222389221, 0.548006534576416, -0.46317043900489807, 0.02998320199549198, -0.5323577523231506, -0.1597461700439453, 0.3369464874267578, -0.09871797263622284, 0.2715595066547394, -0.21579430997371674, -0.17428694665431976, -0.3160129189491272, -0.5160337090492249, 0.6300350427627563, -0.6186825037002563, -0.043596938252449036, 0.287955641746521, -0.5560060739517212, -0.43700888752937317, 0.42486515641212463, -0.7794824242591858, -0.6291857361793518, -0.29130271077156067, 0.3503672182559967, -0.7162523865699768, -0.21000884473323822, -0.1660575568675995, -0.7309244275093079, 0.4461565613746643, 0.36355888843536377, -1.001442313194275, 0.4382046163082123, 1.003932237625122, 0.621726930141449, -0.012362215667963028, 0.03600296750664711, -0.9838785529136658, 0.38632825016975403, -0.3989052474498749, 1.1293052434921265, -0.585157573223114, -0.5537706017494202, -0.18574965000152588, -0.4936820864677429, 0.06344545632600784, -0.9135408997535706, 0.2618796229362488, -0.7396254539489746, 0.053912341594696045, -0.3670654892921448, -0.7306167483329773, -0.25233128666877747, 0.18035751581192017, -0.7669358253479004, 1.041225790977478, 0.6079889535903931, -0.9652776718139648, 0.6988661885261536, -0.3986096680164337, -0.6894620656967163, 0.18795911967754364, -0.04491621255874634, -0.19937580823898315, 0.31062784790992737, 0.13359469175338745, 0.03464469313621521, -0.350612610578537, -0.10863465070724487, 0.07347571849822998, -0.17406079173088074, 0.3256826102733612, -0.14755424857139587, 0.07785715907812119, 0.2973783016204834, -0.12814950942993164, 0.06651684641838074, -0.9644283056259155, -0.06875590980052948, 0.13684497773647308, -0.4736984968185425, -0.8909072279930115, -0.014553818851709366, 0.22710217535495758, -0.23980669677257538, 0.46536552906036377, -0.5056208372116089, -0.05515170469880104, -0.47833794355392456, -0.05698244273662567, 0.8357068300247192, 0.1778378188610077, 0.715659499168396, -0.6070908904075623, 0.4360910654067993, 0.1164976954460144, -0.14761239290237427, -0.37762901186943054, 0.02764369361102581, -0.6324938535690308, -0.4061850607395172, 0.7687592506408691, 0.4659293293952942, -0.7646384239196777, 0.1797519475221634, 0.060146257281303406, -0.3995295464992523, -0.5111057162284851, -0.10721205174922943, 0.4141794443130493, 0.6897299289703369, 0.33420559763908386, -0.4248080849647522, -0.6668990254402161, -0.8609482049942017, -0.34699374437332153, -0.17214752733707428, -0.12254569679498672, 0.10160715132951736, 0.29999664425849915, 0.3136979937553406, 0.8693808913230896, -0.7744736671447754, 0.026103276759386063, -0.4017317295074463, 0.6687747836112976, -0.10767605155706406, 0.5325846076011658, 0.45961055159568787, -1.1911876201629639, -0.42853012681007385, 0.023766379803419113, -0.13814933598041534, 0.22024105489253998, -0.42382538318634033, -0.026771800592541695, 0.17903593182563782, 0.18441151082515717, -0.20165786147117615, 0.5825915336608887, 0.08027362823486328, -0.787340521812439, 0.3366379141807556, -0.2696433365345001, 0.11804531514644623, -1.0115857124328613, 0.11872860044240952, 0.08428363502025604, -0.5070628523826599, -0.5035656094551086, 0.10193496942520142, 0.20130762457847595, 0.18569789826869965, 0.05028730630874634, 0.5741175413131714, -0.48166027665138245, -0.5984141230583191, -0.6241047382354736, 0.07651542872190475, 0.36063486337661743, 0.011535216122865677, -0.2863352298736572, 0.8352568745613098, -0.06059664860367775, -0.5011224150657654, -0.091614730656147, 0.2807711660861969, -0.3740297853946686, 0.882716178894043, -0.5058133602142334, 0.011326654814183712, -0.41457054018974304, 0.12659336626529694, -0.922973096370697, -0.20698480308055878, -0.029657429084181786, -0.4714764356613159, 0.8897539973258972, 0.14877575635910034, -0.3738469183444977, -0.05360913649201393, -0.5180209279060364, 0.30518364906311035, 0.19457757472991943, -0.3635290563106537, 0.8622644543647766, 0.46807393431663513, -0.5040158629417419, -0.6597343683242798, -0.4871368110179901, -0.09245987981557846, -0.24248120188713074, -0.6624187231063843, 0.6654226183891296, -0.08330070972442627, -0.4784908890724182, 0.2141627073287964, -0.8022564053535461, -0.34104615449905396, 0.07584917545318604, -0.048780739307403564, 0.5963180065155029, -0.15756863355636597, -0.1386476457118988, -0.0645342767238617, -0.15595431625843048, -0.29214736819267273, 0.06879784166812897, 0.5501838326454163, 0.07262811064720154, -0.10975106060504913, 0.1557232290506363, 0.5454186201095581, 0.3593248426914215, -0.5889147520065308, 0.690135657787323, 0.6008478999137878, -0.09907699376344681, -0.16714699566364288, -0.8074570894241333, 0.08665559440851212, -0.509533703327179, 0.1515212506055832, -0.2336074411869049, -0.9616162180900574, 0.635195255279541, 0.10465957969427109, 0.23810464143753052, 0.7968441843986511, 0.14836695790290833, -0.14890217781066895, 0.5443893671035767, 0.8632367253303528, -0.016341954469680786, 0.48193660378456116, -0.1523141860961914, 0.10334799438714981, -1.0154885053634644, -0.35000357031822205, -0.6763131618499756, -0.23221004009246826, -0.09375062584877014, -0.6575055122375488, 0.3455078601837158, 0.25266629457473755, 0.013465920463204384, 0.08821456879377365, -0.49378156661987305, 0.5154604315757751, 0.41114580631256104, -0.11143005639314651, 0.42382287979125977, -0.017363661900162697, 0.052556250244379044, 0.23986317217350006, -0.4136059880256653, -0.08897630870342255, 0.8821870684623718, 0.35310307145118713, 0.6607107520103455, -0.2303253710269928, 0.7412484884262085, 0.4886524975299835, 0.27039191126823425, -0.6942026019096375, 0.2036476582288742, -0.18131065368652344, -0.7103126049041748, -0.40160638093948364, -0.7344750165939331, -0.8041594624519348, 0.30805468559265137, -0.03276987373828888, -0.4379866123199463, 0.20694346725940704, -0.10302639752626419, -0.42679837346076965, 0.22999301552772522, -0.5322309732437134, 0.309082955121994, -0.07698880136013031, 0.03227580711245537, -0.2277923971414566, -0.4529876410961151, 0.37994295358657837, -0.28632625937461853, 0.4587491750717163, 0.09107494354248047, -0.19465532898902893, 0.7462072372436523, -0.3601602613925934, 0.5663752555847168, 0.0036636011209338903, -0.18130402266979218, 0.5933270454406738, 0.07004334032535553, 0.5334354639053345, 0.017546167597174644, -0.0994834452867508, -0.44800645112991333, 0.1537187248468399, -0.4897025227546692, -0.6565452814102173, 0.25195685029029846, -0.3138180673122406, -0.3488568663597107, -0.6399146318435669, -0.9541647434234619, 0.0292957853525877, 0.11286668479442596, 0.027674894779920578, 0.6499642133712769, 0.004377597942948341, 0.28514647483825684, 0.6451724171638489, -0.010910404846072197, 0.3690601587295532, 0.6282025575637817, -0.21082870662212372, -0.5725605487823486, 1.1563057899475098, 0.29728397727012634, 0.12862111628055573, 0.6271257400512695, 0.130860835313797, -0.34139254689216614, -0.6222299933433533, -0.19830702245235443, 0.28511667251586914, -0.5369166135787964, -0.3887709677219391, -0.39730873703956604, -0.2835620641708374, -0.5556548833847046, -0.3240046799182892, -0.472189724445343, -0.6197870373725891, -0.2405206263065338, -0.4236678183078766, 0.2097810059785843, 0.9487313628196716, -0.23023255169391632, 0.06481841206550598, -1.0876977443695068, 0.45489123463630676, 0.25142621994018555, 0.38099515438079834, 0.308115690946579, -0.2999328672885895, -0.49539077281951904, -0.2941638231277466, -0.39502447843551636, -0.588599443435669, 0.21371428668498993, -0.060675762593746185, 0.3960479497909546, 0.4680923521518707, 0.11915679275989532, 1.0254631042480469, -0.3179715573787689, 0.6735817790031433, 0.14923542737960815, -0.9268895983695984, 0.24738246202468872, -0.27259182929992676, 0.16027991473674774, 0.7464638948440552, 0.2026900053024292, -0.49409377574920654, -0.44294920563697815, -0.7450857162475586, -1.3574745655059814, 0.6320170164108276, 0.15064823627471924, -0.3277333974838257, -0.1525842845439911, 0.4441389739513397, 0.1936391294002533, 0.2196505218744278, -0.1657247543334961, -0.22685322165489197, 0.055601924657821655, 0.05702124536037445, 0.0623602494597435, -0.5174574851989746, -0.03700992465019226, -0.08808744698762894, 0.5853867530822754, 0.062204621732234955, -0.07100830227136612, 0.4975112974643707, 0.14174054563045502, -0.30585306882858276, 0.1400929093360901, 0.4809637665748596, 0.9971639513969421, -0.41190388798713684, -0.006081955041736364, -0.10228664427995682, -0.6072149872779846, -0.09367036074399948, 0.23571059107780457, -0.14680542051792145, 0.05057059973478317, 0.40944749116897583, 0.4075358211994171, 0.4437541365623474, -0.5941640734672546, 0.17781472206115723, 0.04462737962603569, -0.17642240226268768, -0.38962382078170776, -0.1872669756412506, 0.025785520672798157, 0.2858981788158417, 0.8891322612762451, 0.002046706387773156, 0.30597150325775146, -0.7330679893493652, 0.4454280436038971, 0.2501069903373718, -0.14852792024612427, -0.0351034440100193, 0.5453317761421204, 0.1010875329375267, -0.010992640629410744, 0.6126965880393982, -0.18629536032676697, -0.13368283212184906, 0.8260076642036438, 0.6851902604103088, 0.7591651082038879, -0.25739017128944397, 0.4525577425956726, 0.11830148100852966, 0.31840795278549194, -0.20140084624290466, 0.28676676750183105, -0.13484196364879608, -0.38224324584007263, -0.7895686030387878, -0.8923069834709167, -0.6089404225349426, -0.15947560966014862, -0.9717692732810974, -0.3160632848739624, -0.41367778182029724, 0.028348367661237717, 0.11153478920459747, 0.04320661723613739, -0.1702364981174469, 0.37855809926986694, 0.1549915075302124, 1.2062089443206787, -0.28590694069862366, 0.333322674036026, 0.6544659733772278, -0.4968632757663727, -0.9059587717056274, -0.05350813269615173, -0.0295486468821764, -0.5976199507713318, 0.5380984544754028, -0.09827621281147003, 0.056697286665439606, -0.2694680094718933, -0.23076516389846802, -1.2381168603897095, 1.086915135383606, -0.1512874811887741, 0.023167071864008904, -0.4218788743019104, 0.14027632772922516, 0.1262616515159607, -0.34535154700279236, 0.09246324002742767, 0.5892238020896912, 0.6573626399040222, 0.6742162704467773, -0.788068950176239, -0.034386202692985535, -0.2375059425830841, 0.03519461676478386, 0.5399797558784485, -0.639913022518158, 0.9563930034637451, 0.17230536043643951, -0.11453454941511154, 0.013880632817745209, 0.9084100127220154, 0.2355882078409195, 0.7916640639305115, 0.607760488986969, 0.6710700392723083, 0.9418560862541199, 0.13970914483070374, 1.276859998703003, -0.2194703221321106, -0.003964041359722614, 1.3637336492538452, -0.35026460886001587, 0.7942970991134644, 0.3948787748813629, -0.08460541814565659, 0.4332364499568939, 0.43241629004478455, 0.01825256086885929, 0.3538646697998047, 0.21742357313632965, -0.06603085994720459, 0.1475912630558014, -0.23873357474803925, -0.3337581157684326, 0.5383585095405579, 0.35116830468177795, -0.333126425743103, -0.24584929645061493, -0.2094351202249527, 0.005983554292470217, 0.038841988891363144, -0.5502709150314331, 0.9330659508705139, 0.1107058972120285, -0.5352274179458618, -0.02385859563946724, 0.20672425627708435, 0.5550832152366638, -0.7984749674797058, -0.09758493304252625, -0.16643090546131134, -0.2347235530614853, -0.31355196237564087, -0.4591156840324402, 0.8171963095664978, 0.2233845740556717, -0.4491584002971649, -0.3224506974220276, 1.06073796749115, -0.2537955343723297, -0.4766639769077301, -0.17240236699581146, 0.37815266847610474, -0.10092465579509735, -0.17013150453567505, -0.18480747938156128, -0.16759642958641052, -0.007839368656277657, -0.35898807644844055, 0.7545923590660095, 0.45860540866851807, 0.3204934298992157, 0.36837393045425415, 0.6945101022720337, -0.006568076554685831, -0.14219661056995392, -0.3364320993423462, 1.0350263118743896, -0.8652733564376831, -0.6826853156089783, -0.5481785535812378, 0.7704288959503174, -0.3620874881744385, -0.20384660363197327, 0.8753675222396851, 1.1221431493759155, 0.6955869793891907, 0.18709507584571838, 0.5413281321525574, -0.16002823412418365, 0.8369118571281433, -0.4270518124103546, 0.6567714214324951, -0.6672477126121521, 0.1676006317138672, -0.446620911359787, -0.9232235550880432, 0.03452926501631737, 0.3000020682811737, -0.20755968987941742, -0.31281718611717224, 0.7849828004837036, 0.11596547812223434, 0.016200514510273933, 0.28035712242126465, 0.0852898582816124, 0.1430397480726242, 0.1960967630147934, -0.29304054379463196, 0.5025929808616638, -0.2069147676229477, 0.659669816493988, -0.29152441024780273, -0.15533491969108582, -0.1368659883737564, -0.6149424314498901, -0.46367940306663513, -0.564120352268219, -0.3011029362678528, -0.3377317190170288, -0.31871503591537476, 0.5068968534469604, 0.3196847140789032, -0.4315437972545624, -0.2708262503147125, 0.2268284410238266, 0.258382111787796, -0.11193114519119263, -0.33530980348587036, 0.34965643286705017, -0.6029503345489502, -0.45708611607551575, 0.6139770746231079, 0.6385148763656616, 0.0881766602396965, 0.026117220520973206, 0.4165714681148529, -0.23519466817378998, 0.5072191953659058, 0.713412880897522, 0.2183753401041031, -0.15706133842468262, -0.2901425063610077, -0.08918476104736328, 0.027201663702726364, 0.20132175087928772, 0.9917518496513367, -0.34801870584487915, 0.16160954535007477, 0.5385277271270752, 0.9141238927841187, 0.7753665447235107, 0.5839773416519165, 0.5162780284881592, -0.8131404519081116, 0.1024264544248581, 0.38882699608802795, 0.046328358352184296, 0.20224575698375702, -0.5747404098510742, 0.7061914205551147, -0.11219371110200882, -0.623288631439209, -0.6484236121177673, -0.005159430205821991, -1.0989693403244019, -0.5527097582817078, 0.7151463031768799, 0.043201446533203125, -0.5584255456924438, -0.06291366368532181, -0.23445507884025574, 0.18251650035381317, -0.6260289549827576, 0.7083593010902405, 0.7585545182228088, -0.13625064492225647, 0.04382525756955147, -0.2866690158843994, 0.31805163621902466, 0.36663487553596497, -0.6710268259048462, -0.012588071636855602, 0.5914759039878845, 0.12265836447477341, 0.5185444355010986, 0.8761367797851562, -0.3119179904460907, 0.15458868443965912, 0.30902430415153503, -0.268868088722229, -0.07319954037666321, -0.31408706307411194, -0.014308827929198742, 0.52093106508255, -0.020149946212768555, 0.033389605581760406 ]
http://arxiv.org/abs/2402.03563v2
http://arxiv.org/pdf/2402.03563v2
Distinguishing the Knowable from the Unknowable with Language Models
2024-02-05T22:22:49
2024-02-27T07:37:08
Gustaf Ahdritz, Tian Qin, Nikhil Vyas, Boaz Barak, Benjamin L. Edelman
cs.LG
cs.LG, cs.AI, cs.CL
We study the feasibility of identifying epistemic uncertainty (reflecting a lack of knowledge), as opposed to aleatoric uncertainty (reflecting entropy in the underlying distribution), in the outputs of large language models (LLMs) over free-form text. In the absence of ground-truth probabilities, we explore a setting where, in order to (approximately) disentangle a given LLM's uncertainty, a significantly larger model stands in as a proxy for the ground truth. We show that small linear probes trained on the embeddings of frozen, pretrained models accurately predict when larger models will be more confident at the token level and that probes trained on one text domain generalize to others. Going further, we propose a fully unsupervised method that achieves non-trivial accuracy on the same task. Taken together, we interpret these results as evidence that LLMs naturally contain internal representations of different types of uncertainty that could potentially be leveraged to devise more informative indicators of model confidence in diverse practical settings.
[ -0.009072396904230118, -0.5865316390991211, 1.1370583772659302, -0.1234406977891922, -0.019857479259371758, 0.13735292851924896, -0.49925515055656433, -0.3034075200557709, 0.11456797271966934, 0.1460440307855606, -0.18724583089351654, -0.45409631729125977, -0.972621500492096, -0.27501922845840454, -0.638434648513794, 0.46762019395828247, -0.1364555060863495, -0.04386743903160095, -0.4393590986728668, -0.01717555895447731, 0.04708418622612953, -0.5168421268463135, -0.2682463824748993, -0.571491003036499, 0.34926339983940125, 0.08822187036275864, 0.7263898253440857, 0.6703969836235046, 0.17075733840465546, 0.21526025235652924, -0.22286558151245117, 0.006902248132973909, -0.20777538418769836, 0.12528029084205627, -0.2517487704753876, -0.8537942171096802, 0.10604449361562729, 0.1601799726486206, 0.737709641456604, 0.9192366003990173, -0.0787709578871727, 0.03385670483112335, 0.10250582545995712, 0.4606235921382904, -0.8348900079727173, 0.2565549910068512, -0.8404117822647095, 0.03603384643793106, -0.21834735572338104, 0.001959466841071844, -0.5389514565467834, -0.07541246712207794, 0.12968428432941437, -0.5872237682342529, 0.0624922513961792, 0.05764157697558403, 1.0264472961425781, 0.4321663975715637, -0.4913151264190674, -0.42178547382354736, -1.1115883588790894, 0.8202093243598938, -0.7180574536323547, 0.7001092433929443, 0.6967851519584656, 0.13287709653377533, -0.0492696687579155, -0.47687748074531555, -0.6692119836807251, -0.046450983732938766, 0.035992007702589035, 0.05660875514149666, -0.34535709023475647, -0.009493269957602024, -0.05565952509641647, 0.3590565025806427, -0.14124234020709991, 0.250394344329834, -0.014683528803288937, -0.3177785873413086, 0.2162420004606247, -0.22268520295619965, 0.2907046973705292, 0.24783311784267426, -0.10165084898471832, 0.06630507856607437, -0.8065403699874878, 0.12294168025255203, 0.2752282917499542, 0.25745081901550293, -0.15919572114944458, 0.80459064245224, -0.0928177610039711, 0.5782113075256348, -0.0028707494493573904, -0.17942139506340027, -0.0016059699701145291, 0.3076896667480469, -0.27753740549087524, -0.13549691438674927, 0.6485396027565002, -0.08426441252231598, 0.20927506685256958, -0.395027220249176, -0.29453951120376587, -0.09042317420244217, -0.10787487030029297, -0.3598201274871826, -0.29792287945747375, 0.3085351884365082, -0.15282423794269562, -0.2175387293100357, 0.2515401542186737, -0.34036073088645935, -0.6649180054664612, -0.18666808307170868, 0.593018651008606, -0.3137117922306061, -0.4972284734249115, 0.0719224289059639, -0.1539672464132309, 0.1142270565032959, 0.4765188694000244, -0.7827426791191101, 0.312487930059433, 0.6395755410194397, 0.8301277756690979, 0.13426540791988373, -0.22300592064857483, -0.18151690065860748, 0.25895488262176514, -0.8260409235954285, 0.6188021302223206, -0.6189956665039062, 0.050819773226976395, -0.012137405574321747, -0.09639497846364975, 0.03455301746726036, -0.3285161256790161, 0.19741900265216827, -0.5717825293540955, 0.1630764901638031, -0.10217392444610596, -0.8968344926834106, -0.2284628003835678, 0.2542690336704254, -0.7509009838104248, 0.8420286774635315, 0.07710443437099457, -0.9492684006690979, 0.33176955580711365, 0.0047897277399897575, 0.0733758807182312, -0.18387196958065033, -0.42953401803970337, -0.1424855887889862, 0.6250052452087402, 0.021924136206507683, 0.5716333389282227, -0.4852742850780487, 0.2911891043186188, -0.4532034695148468, -0.11858797818422318, 0.7034420967102051, -0.7388208508491516, 0.4840993583202362, -0.0021338362712413073, -0.21621055901050568, -0.20116600394248962, -0.7811092734336853, 0.17160382866859436, 0.13315923511981964, -0.5188787579536438, -0.6922781467437744, 0.10899832099676132, -0.44396016001701355, -0.03343413770198822, 0.3214793801307678, -0.6023283004760742, -0.09326262027025223, -0.46946901082992554, 0.265481173992157, 0.6965579390525818, -0.26055845618247986, 0.6628319025039673, -0.13963989913463593, 0.24622194468975067, 0.2586132287979126, -0.26627427339553833, 0.17194902896881104, -0.6461711525917053, -0.9707251787185669, -0.3067578077316284, 0.6059271097183228, 0.5166010856628418, -0.5884605646133423, 0.31299707293510437, -0.1321553736925125, -0.666704535484314, -0.583041787147522, 0.20068535208702087, 0.3854285776615143, 0.26891016960144043, 0.0034309697803109884, 0.009867007844150066, -0.33524268865585327, -0.6843338012695312, -0.4562648832798004, -0.44638463854789734, -0.30190157890319824, 0.03732046112418175, 0.47691282629966736, -0.1335950493812561, 0.9584188461303711, -0.44608360528945923, 0.1164356917142868, -0.051480911672115326, 0.3038836419582367, 0.2019389271736145, 0.24277788400650024, 0.18452763557434082, -0.6616904735565186, -0.2804342806339264, 0.2132428139448166, -0.8938065767288208, 0.154430091381073, -0.04316907003521919, 0.24740388989448547, 0.12770338356494904, 0.5443832278251648, -0.7030528783798218, 0.5657745599746704, 0.5803955793380737, -0.2714890241622925, 0.2794262170791626, -0.5159722566604614, -0.15204709768295288, -0.8776319026947021, -0.10749312490224838, -0.0010690329363569617, -0.13709665834903717, -0.7756534814834595, -0.06201065704226494, 0.30162402987480164, 0.2809138000011444, -0.1285705715417862, 0.6858706474304199, -0.6687500476837158, 0.019084660336375237, -0.04512607306241989, 0.009516214951872826, -0.03850392624735832, 0.16851408779621124, 0.2718004882335663, 0.4841315448284149, 0.684613823890686, -0.6423763632774353, -0.0020221618469804525, -0.20717425644397736, -0.6611745953559875, 0.08585959672927856, -0.5460243821144104, 0.03770819306373596, -0.3738596737384796, -0.09727615863084793, -1.182900309562683, -0.4955028295516968, 0.019538013264536858, -0.7217980027198792, 0.3446972668170929, -0.2651561498641968, -0.32552775740623474, -0.12073971331119537, 0.09639246016740799, 0.29825907945632935, 0.5194107890129089, -0.39279666543006897, 0.4716520607471466, 0.43290987610816956, -0.11236398667097092, -0.6182828545570374, -0.8899075984954834, -0.1073651984333992, -0.2707953453063965, -0.24150018393993378, 0.026161838322877884, 0.13468913733959198, -0.8056013584136963, -0.016405753791332245, -0.1903027445077896, -0.6472078561782837, 0.4156458377838135, 0.4542890787124634, 0.05643843859434128, -0.2492336928844452, 0.5251380801200867, 0.03550983592867851, 0.04503731429576874, 0.028996208682656288, -0.5104570388793945, 0.295247346162796, -0.1682645082473755, -0.738336443901062, -0.20562142133712769, 0.1573314070701599, 0.636319637298584, 0.016823217272758484, 1.0146898031234741, 0.2290612906217575, -0.9279772639274597, -0.2925388216972351, -0.48632675409317017, 0.009910515509545803, -0.4060576260089874, 0.13528938591480255, -0.2652856707572937, -0.8958680629730225, 0.7016389966011047, 0.0006042149034328759, -0.2731882333755493, 0.5536884069442749, 0.4422847032546997, -0.07252413779497147, 0.8207467794418335, 0.8689618706703186, 0.09052253514528275, 0.10204492509365082, 0.12985795736312866, 0.35950589179992676, -0.40469276905059814, -0.2720179557800293, -0.6811087727546692, 0.15036821365356445, -0.4853028953075409, -0.7613188624382019, 0.24582643806934357, 0.42962363362312317, -0.3928763270378113, -0.11945662647485733, -0.15569183230400085, 0.6956884264945984, 0.6476129293441772, 0.10288991779088974, 0.36922526359558105, -0.11503007262945175, -0.3096637427806854, -0.10997964441776276, -0.5434843301773071, -0.7184839844703674, 1.1902391910552979, 0.7050636410713196, 0.7951571941375732, 0.2863132059574127, 0.5681653022766113, 0.012218931689858437, 0.27379345893859863, -0.7352969646453857, 0.06999223679304123, 0.11642836034297943, -0.7489280104637146, -0.5641821026802063, -0.5212103128433228, -0.7406114935874939, 0.16443605720996857, -0.3423592150211334, -0.9773412942886353, 0.274406373500824, 0.0780453234910965, -0.42048147320747375, 0.7354944348335266, -0.5940961837768555, 0.4251304864883423, -0.13835853338241577, -0.036548372358083725, 0.2982828915119171, -0.5266537666320801, 0.3888305723667145, -0.4044223427772522, 0.46288684010505676, -0.08242835104465485, -0.15824849903583527, 0.6275264024734497, -0.3624752163887024, 1.0566476583480835, -0.05609516426920891, -0.4087175130844116, 0.38584259152412415, 0.34040120244026184, 0.4897507131099701, -0.0542760007083416, -0.06463830173015594, 0.2472093403339386, -0.04426828399300575, -0.26149672269821167, -0.6019608378410339, 0.3311332166194916, -0.8296029567718506, -0.4852403700351715, -0.35210779309272766, -0.38051605224609375, -0.4281271994113922, 0.24753756821155548, 0.5379924178123474, 0.20280969142913818, -0.23936820030212402, 0.20296351611614227, 1.0645554065704346, -0.295427143573761, 0.24125778675079346, 0.5816650986671448, -0.18822261691093445, -0.08029128611087799, 0.7121347784996033, 0.251163125038147, 0.3729100227355957, 0.760083019733429, 0.3718854486942291, -0.4353826642036438, -0.6949793100357056, -0.0554802231490612, 0.1417284607887268, -0.8597061038017273, -0.10776109993457794, -0.4328267574310303, -0.3199232220649719, -0.3947848081588745, 0.01121353730559349, -0.6373677849769592, -0.5813947319984436, -0.4943573772907257, -0.36485233902931213, 0.260187029838562, 1.124872088432312, -0.3014814257621765, 0.44707733392715454, -0.6231133937835693, -0.13725429773330688, 0.46485644578933716, 0.44136831164360046, -0.016846926882863045, -0.7262486815452576, -0.23117288947105408, 0.34239399433135986, 0.06783830374479294, -0.948760986328125, 0.4219723641872406, 0.23325768113136292, 0.7259243726730347, 0.7431578636169434, 0.20474377274513245, 0.2625923752784729, -0.3224222958087921, 0.6714484691619873, 0.29673805832862854, -1.1915349960327148, 0.4016597867012024, -0.3605975806713104, -0.013903099112212658, 0.32108932733535767, 0.6500142812728882, -0.3434115946292877, -0.7002303600311279, -0.7048072218894958, -0.7170274257659912, 0.25459927320480347, 0.02667684480547905, 0.01342769619077444, -0.1292741596698761, 0.3682282269001007, 0.0945449247956276, 0.28718096017837524, -0.7713844180107117, -0.15468065440654755, -0.01161274779587984, -0.2689964175224304, -0.2319735586643219, -0.3591248691082001, -0.259853720664978, -0.015541739761829376, 0.44271397590637207, -0.12100382894277573, 0.516366183757782, 0.1843622475862503, -0.21642464399337769, -0.107951819896698, 0.45194950699806213, 0.5723523497581482, 0.693541407585144, -0.26023069024086, 0.7894726395606995, 0.10513667017221451, -0.24275337159633636, 0.2841669023036957, -0.31275516748428345, -0.06324733048677444, 0.08234935998916626, 0.8018681406974792, 0.6269305944442749, 0.08105596154928207, -0.6008599996566772, 0.7030938863754272, -0.019952600821852684, -0.11384345591068268, -0.513182520866394, -0.2590254545211792, 0.3696218430995941, 0.3076390326023102, 0.4208362102508545, 0.02077452652156353, -0.22458423674106598, -0.6009458899497986, 0.1550997495651245, 0.3317805826663971, -0.6282146573066711, -0.5221226811408997, 0.5153605341911316, -0.20550575852394104, -0.13749347627162933, 0.4284753203392029, -0.2708524763584137, -0.4234095513820648, 0.462240606546402, 0.5611109733581543, 0.6532802581787109, -0.3073806166648865, 0.28756794333457947, 0.10524677485227585, 0.5001578330993652, -0.499675452709198, 0.07129637897014618, 0.4036737084388733, -1.2040116786956787, -0.34577232599258423, -0.6582943201065063, -0.43082302808761597, 0.1924714297056198, -0.8273106217384338, -0.23121722042560577, -0.6608487367630005, 0.024623166769742966, -0.08729440718889236, -0.390791654586792, -0.6915217638015747, 0.3393179774284363, 0.20862318575382233, 0.7842491865158081, -1.1586451530456543, 0.8488805890083313, 0.6487305760383606, -0.19494283199310303, -0.9823312759399414, 0.24831241369247437, 0.232463538646698, -0.9346432685852051, 0.5640196800231934, -0.0012245136313140392, -0.0776156336069107, -0.24963805079460144, -0.6440726518630981, -1.0338165760040283, 0.9220919013023376, 0.574639081954956, -0.42830100655555725, -0.05699741467833519, 0.2128080278635025, 0.5251740217208862, -0.35621166229248047, 0.2742644250392914, 0.460791677236557, 0.38871580362319946, 0.034046683460474014, -0.9106866717338562, 0.05220622569322586, 0.031833842396736145, -0.1799694299697876, 0.22262920439243317, -0.3263041079044342, 1.2279503345489502, -0.3050290048122406, -0.49563899636268616, -0.010538714937865734, 0.6372726559638977, -0.04021342843770981, 0.2423805594444275, 0.4214727580547333, 0.5836751461029053, 1.3779089450836182, -0.255720317363739, 0.8876913189888, -0.22105231881141663, 0.4430297613143921, 1.1785744428634644, -0.07507898658514023, 1.0031572580337524, 0.6137621402740479, -0.12952566146850586, 0.3074667453765869, 0.6020147204399109, 0.5379825234413147, 0.6024144887924194, 0.2541021406650543, -0.2891588509082794, -0.6941501498222351, -0.09348103404045105, -0.1851508766412735, 0.4864950478076935, 0.7206929922103882, -0.37735486030578613, -0.18860699236392975, -0.10477688908576965, 0.13484807312488556, 0.1730164736509323, -0.30301883816719055, 0.6778239607810974, 0.16086426377296448, -0.43260401487350464, 0.4876317083835602, 0.006215487141162157, 0.5305311679840088, -0.4768064618110657, 0.19067823886871338, -0.009768161922693253, 0.3341846764087677, 0.026811951771378517, -1.0182477235794067, 0.2633386552333832, -0.17409305274486542, -0.1799960732460022, 0.013268095441162586, 0.8141747117042542, -0.4824325144290924, -0.5743461847305298, 0.29788029193878174, 0.9828545451164246, 0.3202299475669861, -0.3358849883079529, -0.2344970852136612, 0.00045509065967053175, 0.10521350800991058, -0.30763253569602966, 0.28624364733695984, 0.950926661491394, 0.0583619698882103, 0.8967304825782776, 0.2310762107372284, 0.269020676612854, 0.12399660795927048, -0.3144132196903229, 0.5762645602226257, -0.5908131003379822, -0.09145037829875946, -0.7839756608009338, 0.3857889175415039, 0.07948912680149078, -0.32973068952560425, 0.7361022233963013, 0.1799759566783905, 0.913070797920227, -0.15740202367305756, 1.0902247428894043, 0.10260546952486038, 0.6391097903251648, -0.71319979429245, 0.7258968949317932, -0.5436473488807678, 0.3516058623790741, -0.12455127388238907, -0.427691787481308, -0.3911675214767456, 0.8482788801193237, -0.2565617561340332, -0.187725231051445, 0.6500763893127441, 0.6020905375480652, -0.06263931840658188, -0.16983243823051453, 0.7005963921546936, 0.2570911645889282, 0.03578273206949234, 0.5510191917419434, 1.0758775472640991, -0.22274023294448853, 0.2614290416240692, -0.14157070219516754, -0.3490488827228546, 0.05289800092577934, -0.8915846347808838, -1.0003056526184082, -0.8653926253318787, -0.14677584171295166, -0.34261682629585266, -0.14943793416023254, 0.7388375401496887, 0.5422990918159485, -0.7177630066871643, 0.02155849151313305, -0.027067039161920547, 0.30974245071411133, 0.0007552504539489746, -0.10575495660305023, 0.19160988926887512, -0.08752432465553284, -0.48795390129089355, 0.44994503259658813, 0.07786136865615845, 0.5908054113388062, -0.19590288400650024, -0.13908228278160095, -0.007841956801712513, 0.5787222385406494, 0.2715833783149719, 0.2371223270893097, -0.809518039226532, -0.6450664401054382, -0.1660834550857544, -0.04694958031177521, -0.19097688794136047, 0.5527893900871277, -0.3722321689128876, 0.30923599004745483, 0.3181588351726532, 0.6079676747322083, 0.18318165838718414, -0.3082190155982971, 0.6882777214050293, -1.0063765048980713, 0.14047083258628845, 0.08842777460813522, 0.5222567915916443, 0.35759615898132324, -0.3633241355419159, 0.3984328806400299, 0.040189679712057114, -0.3341386914253235, -0.9776034355163574, 0.3884950280189514, -0.5663673281669617, -0.5466328263282776, 1.1972784996032715, -0.5352381467819214, -0.19636298716068268, -0.24308468401432037, 0.42450442910194397, 0.2790469527244568, -0.06244472786784172, 0.7009174227714539, 1.182483196258545, 0.34022027254104614, -0.09518095850944519, -0.6107704639434814, 0.43497133255004883, 0.1866488754749298, -0.6829790472984314, 0.32113274931907654, 0.3266720771789551, 0.4576588273048401, 0.4616391360759735, 0.5451810359954834, 0.01880839467048645, -0.21202421188354492, 0.3104805052280426, 0.004128239583224058, 0.14052577316761017, -0.5714685916900635, -0.3033654987812042, 0.27653348445892334, 0.5266954302787781, 0.09357750415802002 ]
http://arxiv.org/abs/2402.03561v2
http://arxiv.org/pdf/2402.03561v2
VLN-Video: Utilizing Driving Videos for Outdoor Vision-and-Language Navigation
2024-02-05T22:20:19
2024-02-07T18:02:51
Jialu Li, Aishwarya Padmakumar, Gaurav Sukhatme, Mohit Bansal
cs.CV
cs.CV, cs.AI, cs.CL
Outdoor Vision-and-Language Navigation (VLN) requires an agent to navigate through realistic 3D outdoor environments based on natural language instructions. The performance of existing VLN methods is limited by insufficient diversity in navigation environments and limited training data. To address these issues, we propose VLN-Video, which utilizes the diverse outdoor environments present in driving videos in multiple cities in the U.S. augmented with automatically generated navigation instructions and actions to improve outdoor VLN performance. VLN-Video combines the best of intuitive classical approaches and modern deep learning techniques, using template infilling to generate grounded navigation instructions, combined with an image rotation similarity-based navigation action predictor to obtain VLN style data from driving videos for pretraining deep learning VLN models. We pre-train the model on the Touchdown dataset and our video-augmented dataset created from driving videos with three proxy tasks: Masked Language Modeling, Instruction and Trajectory Matching, and Next Action Prediction, so as to learn temporally-aware and visually-aligned instruction representations. The learned instruction representation is adapted to the state-of-the-art navigator when fine-tuning on the Touchdown dataset. Empirical results demonstrate that VLN-Video significantly outperforms previous state-of-the-art models by 2.1% in task completion rate, achieving a new state-of-the-art on the Touchdown dataset.
[ -0.34119367599487305, -0.5380858182907104, 0.6162235736846924, 0.10696510225534439, -0.4097254276275635, 0.04588767886161804, -0.1989683210849762, -0.49896788597106934, 0.01299180556088686, 0.45698973536491394, -0.6993176937103271, -0.6090813279151917, -0.24879589676856995, -0.2808193564414978, -0.20798611640930176, 0.5464586019515991, 0.021793024614453316, 0.22402317821979523, -0.19191399216651917, -0.19635595381259918, -0.42228302359580994, -0.36088061332702637, -0.4173632562160492, -0.24156369268894196, 0.22514192759990692, 0.2233150452375412, 0.8141396045684814, 0.5914096236228943, 0.4797626733779907, 0.3336246609687805, 0.25126805901527405, 0.4176807999610901, -0.45242008566856384, -0.22495447099208832, -0.208846315741539, 0.08686509728431702, -0.08993944525718689, -0.4116154611110687, 0.5974244475364685, 0.24519816040992737, 0.020895633846521378, -0.12435733526945114, -0.19629089534282684, 0.7518268823623657, -0.8995952606201172, 0.3813208341598511, -0.23986035585403442, 0.08305933326482773, -0.12962229549884796, -0.31814539432525635, -0.025209719315171242, -0.307190477848053, 0.36496466398239136, -0.8973862528800964, 0.2068966031074524, 0.0866428092122078, 0.7357990741729736, 0.4111383855342865, -0.6355544924736023, 0.020277537405490875, -0.9961034059524536, 0.4290708899497986, -0.547407329082489, 0.9614328145980835, 0.4303814768791199, 0.5746890306472778, 0.1344909816980362, -0.360743910074234, -0.6237728595733643, -0.30689433217048645, 0.1420646458864212, 0.3692007064819336, 0.2569515109062195, 0.25718939304351807, 0.07755732536315918, 0.32784250378608704, -0.750630795955658, 0.2700130343437195, -0.5407736897468567, 0.03494015336036682, 0.6933435201644897, 0.3474678099155426, 0.0035904478281736374, 0.07867134362459183, -0.47282674908638, -0.4746249318122864, -0.7671524882316589, 0.6414207220077515, 0.04675496742129326, 0.3927701711654663, -0.2353089451789856, 0.524314284324646, -0.6378988027572632, 0.8513206839561462, -0.28113144636154175, -0.23033380508422852, 0.3866161108016968, -0.4461510181427002, -0.5283143520355225, 0.17038913071155548, 0.6563929319381714, 0.8921212553977966, 0.14597421884536743, -0.033199768513441086, -0.35844895243644714, -0.2984665632247925, 0.4295295774936676, -0.48765888810157776, -0.4296756982803345, -0.22811314463615417, -0.0224147979170084, -0.022214127704501152, 0.20564405620098114, -0.6933688521385193, -0.5318452715873718, -0.7262272834777832, 0.5848495364189148, -0.46897515654563904, -0.3685001730918884, 0.25998613238334656, -0.18933363258838654, 0.5994402766227722, 0.492416650056839, -0.7494286894798279, 0.11631409823894501, 0.4063417613506317, 0.732632040977478, 0.021759137511253357, -0.3669607937335968, -0.7691138982772827, 0.3493432104587555, -0.293333500623703, 0.35730794072151184, -0.3191971480846405, -0.35760995745658875, 0.35838407278060913, 0.1361774206161499, 0.0767846405506134, -0.31014999747276306, -0.09526672214269638, -0.5571226477622986, -0.011346815153956413, -0.22605381906032562, -0.15197840332984924, -0.677643895149231, 0.47331827878952026, -0.6794920563697815, 1.1634336709976196, 0.08477339148521423, 0.03970350697636604, 0.5860002636909485, -0.6232826709747314, -0.7667154669761658, 0.330171138048172, -0.1651296466588974, -0.350801020860672, 0.13831722736358643, 0.4055333733558655, 0.2009296864271164, -0.05436430126428604, 0.007515710312873125, 0.22742818295955658, -0.5001853108406067, -0.1292952001094818, -0.49317455291748047, 0.46654102206230164, -0.29990559816360474, -0.8289344310760498, -0.02201915718615055, -0.5902949571609497, -0.04825519397854805, -0.0724320188164711, -0.3492019772529602, -0.27953553199768066, 0.10672392696142197, -0.10698866844177246, 0.04523788020014763, 0.12196235358715057, -0.467913419008255, -0.022430362179875374, -0.6105908751487732, -0.2150869220495224, 0.816034734249115, -0.1569020003080368, 0.597464382648468, 0.07635615020990372, 0.4846935570240021, -0.008416770026087761, 0.3141615688800812, -0.11583646386861801, -0.7139187455177307, -0.8233450651168823, 0.21361909806728363, -0.4881661534309387, 0.615242600440979, -1.1167694330215454, -0.14961518347263336, -0.6052542924880981, -0.5197811722755432, -0.510585606098175, 0.26371732354164124, 0.7631523013114929, 0.4727974832057953, 0.7488352656364441, -0.26574042439460754, -0.5016025304794312, -0.3719913363456726, 0.21752779185771942, -0.23370018601417542, 0.19635212421417236, 0.5979627966880798, 0.4049969017505646, -0.31880804896354675, 0.9783610105514526, -0.3450450599193573, -0.49249836802482605, -0.12931108474731445, -0.09549472481012344, -0.07165341824293137, 0.22780197858810425, 0.5334581732749939, -1.0500668287277222, -0.5227486491203308, 0.39783918857574463, -0.8864132761955261, 0.3557400405406952, -0.07083871960639954, 0.12933693826198578, 0.1116424947977066, 0.6186864972114563, -0.32029470801353455, 0.8021904230117798, 0.4716973900794983, -0.037264395505189896, 0.45654281973838806, -0.39126574993133545, 0.3069921135902405, -0.4208114743232727, -0.5572260022163391, 0.15105070173740387, -0.3758052885532379, -0.6105313301086426, 0.1777818351984024, -0.26698002219200134, 0.003102492541074753, -0.8821483254432678, 0.4374070167541504, -0.4580691456794739, -0.24890434741973877, -0.26994338631629944, 0.07977857440710068, -0.051096923649311066, 0.5052860975265503, 0.4436309337615967, 0.7611693143844604, 0.9054503440856934, -1.0932637453079224, 0.7822520732879639, 0.20495474338531494, -0.4981582760810852, 0.1982472836971283, -0.2658497989177704, -0.0665210485458374, -0.650669276714325, -0.055104877799749374, -0.7619366645812988, -0.301979660987854, 0.058089446276426315, -0.07757631689310074, -0.07176850736141205, -0.3698141872882843, -0.3104007840156555, -0.11946818977594376, 0.03242023289203644, 0.3165231943130493, 0.6678895950317383, -0.7588598728179932, 0.8380624651908875, 0.03413066640496254, 0.45157918334007263, -0.27225738763809204, -0.6737599968910217, 0.10156483948230743, -0.19666920602321625, -0.5374888777732849, 0.5581572651863098, 0.06671678274869919, -0.13417088985443115, -0.14676138758659363, 0.048144422471523285, -0.0949166864156723, -0.08469263464212418, 0.6691832542419434, 0.2162650227546692, -0.39830994606018066, -0.02859744429588318, -0.3330689072608948, 0.014466225169599056, 0.09935946762561798, -0.24631312489509583, 0.3495158553123474, -0.17885230481624603, -0.3529466390609741, -0.4396473169326782, 0.2315712720155716, 0.35750725865364075, -0.3066929280757904, 0.6161090731620789, 0.7004956603050232, -0.11577604711055756, 0.13200922310352325, -0.35384663939476013, -0.2270308881998062, -0.6342611908912659, 0.3802507519721985, -0.3771485984325409, -0.6591386795043945, -0.2989242374897003, -0.0789206326007843, 0.17884154617786407, -0.0027134339325129986, 0.25471484661102295, -0.6299412250518799, 0.6930647492408752, 0.6891595721244812, 0.1605367213487625, 0.7732893824577332, -0.5123842358589172, 0.2674494981765747, -0.46749675273895264, -0.6789284348487854, 0.21624168753623962, -0.2079533189535141, -0.4812825620174408, -0.713880181312561, 0.6529725193977356, -0.25563278794288635, -0.527955949306488, 0.4738255441188812, -0.15662813186645508, 0.5931919813156128, 0.8532956838607788, 0.25053170323371887, 0.15101003646850586, 0.09404301643371582, 0.05759112164378166, -0.31038710474967957, -0.5951128602027893, -0.19197838008403778, 0.8197342157363892, 0.113255575299263, 0.5760914087295532, 0.4920317530632019, 0.5369590520858765, 0.2936236560344696, 0.09139227867126465, -0.5573612451553345, 0.8532207012176514, -0.1946672648191452, -0.36489078402519226, -0.2623082399368286, -0.3158920705318451, -0.6625732779502869, -0.038868606090545654, -0.2364547699689865, -0.600895881652832, -0.21970456838607788, 0.3492331802845001, -0.44931483268737793, 0.21924440562725067, -0.524834156036377, 0.9089279174804688, -0.8524667620658875, -0.4729599952697754, -0.06569264829158783, -0.7824777960777283, 0.2456124871969223, 0.41464006900787354, 0.2306136041879654, 0.12001609802246094, 0.16718460619449615, 0.27230432629585266, -0.31836065649986267, 0.8618274927139282, -0.548812985420227, 0.0785927027463913, 0.24546734988689423, 0.04861920699477196, 0.4346517026424408, 0.05850541591644287, 0.39153239130973816, -0.11617190390825272, -0.5706723928451538, -0.024110160768032074, -0.7450849413871765, 0.49397948384284973, -0.7023910284042358, -0.5901238918304443, -0.3300027549266815, -0.015398257412016392, -0.14739680290222168, 0.003952152095735073, 0.2922179698944092, 0.6168927550315857, -0.17284627258777618, 0.20378750562667847, 0.5862473845481873, -0.27433979511260986, 0.7983396053314209, 0.5673509836196899, -0.40632978081703186, -0.4232025742530823, 1.4196221828460693, -0.03317475691437721, 0.2186288982629776, 0.6210518479347229, 0.001122274436056614, -0.5489203929901123, -0.6653971076011658, -0.630445122718811, -0.21853001415729523, -0.6392397284507751, 0.006918754428625107, -0.3086487948894501, -0.41943034529685974, -0.33967819809913635, -0.4223337769508362, -0.6298143267631531, 0.14697369933128357, -0.2933681011199951, -0.4639880359172821, 0.4715571701526642, 0.7405537366867065, -0.04565076157450676, 0.7235404849052429, -0.6243575811386108, 0.45093509554862976, 0.666782557964325, 0.0692421942949295, -0.32059651613235474, -0.26166245341300964, -0.48486027121543884, 0.20659804344177246, -0.16501541435718536, -0.6681973934173584, 0.3646508753299713, 0.43060973286628723, 0.4855427145957947, 0.3339473605155945, -0.11729372292757034, 1.097166895866394, -0.5295844078063965, 1.0072849988937378, 0.2743939161300659, -0.5756950378417969, 0.6549935340881348, -0.20139342546463013, 0.5601330399513245, 0.7125603556632996, 0.4043620824813843, -0.10046987235546112, -0.11485648900270462, -0.2558566629886627, -1.0561432838439941, 0.2535187900066376, 0.3157085180282593, 0.13201239705085754, 0.42498281598091125, -0.03950027748942375, -0.21983464062213898, 0.15852823853492737, -0.9225377440452576, -0.14623866975307465, -0.7961313128471375, 0.011278335005044937, -0.5344491004943848, 0.19337895512580872, 0.07467389106750488, -0.4964652955532074, 0.6679118871688843, -0.30712950229644775, -0.007504256442189217, 0.3336164653301239, -0.3859226405620575, 0.3584130108356476, -0.1553984135389328, 0.7024447917938232, 0.20820678770542145, -0.27795732021331787, 0.1980283111333847, 0.24347999691963196, -0.47965261340141296, 0.3210473656654358, -0.008215106092393398, -0.3769482970237732, 0.21569183468818665, 0.23393724858760834, 1.0573383569717407, 0.28405556082725525, -0.9509775638580322, 0.7009046077728271, 0.28713899850845337, 0.011465945281088352, -0.7556397318840027, 0.2739589810371399, -0.34728389978408813, 0.43193501234054565, 0.22901944816112518, -0.06436317414045334, 0.33904969692230225, -0.5090722441673279, 0.06939490884542465, 0.3887459337711334, -0.8369776606559753, -0.2599216103553772, 0.7457702159881592, 0.39605405926704407, -0.502073347568512, 0.7165420055389404, -0.49912771582603455, -0.5132567882537842, 0.4465314745903015, 0.20643950998783112, 0.8305736184120178, -0.09552889317274094, 0.4362567067146301, 0.5676814913749695, 0.49781009554862976, -0.1819770336151123, 0.32759901881217957, -0.15604129433631897, -0.5035586357116699, -0.40683481097221375, -0.49960774183273315, -0.2627001702785492, 0.1646440178155899, -0.48467615246772766, 0.17092576622962952, -0.5230307579040527, -0.09456942230463028, -0.5972403287887573, -0.4112887382507324, -0.9929401874542236, 0.8293628692626953, 0.4327974319458008, 0.6158098578453064, -0.6618658304214478, 0.6568539142608643, 0.6425737738609314, -0.27506551146507263, -0.4633992612361908, -0.09950648248195648, 0.2705232501029968, -0.5667486786842346, 0.7641880512237549, 0.5914393067359924, -0.5515883564949036, -0.13052992522716522, -0.2811869978904724, -0.7877662181854248, 1.2093887329101562, 0.14322857558727264, -0.5616007447242737, -0.24944305419921875, 0.4641639292240143, 0.2577051818370819, -0.3317953944206238, 0.14535804092884064, 0.4280828833580017, 0.36180469393730164, 0.1144583523273468, -0.8308351039886475, -0.33907657861709595, -0.1868620365858078, 0.04238075762987137, 0.023514967411756516, -0.6455436944961548, 0.3397465944290161, -0.18335705995559692, 0.08915530890226364, -0.13872364163398743, 0.8382207155227661, 0.30455490946769714, 0.5172991752624512, 0.6469972729682922, 0.5787926912307739, 0.3260091245174408, -0.12692143023014069, 0.7896019220352173, 0.13903243839740753, -0.16879840195178986, 1.5193281173706055, -0.2792826294898987, 0.7492249608039856, 0.4965384006500244, 0.2413739264011383, 0.6810846328735352, 0.26470592617988586, 0.014283956028521061, 1.147649884223938, -0.11477763205766678, -0.5796968340873718, -0.49081817269325256, -0.21409837901592255, -0.2072065770626068, 0.8237904906272888, 0.11764992773532867, -0.2670125663280487, -0.11030242592096329, 0.4741400182247162, -0.3908196985721588, 0.0883074626326561, -0.48424673080444336, 0.892071545124054, -0.2769384980201721, -0.6261802315711975, 0.21516761183738708, -0.06919614970684052, 0.44241979718208313, -0.6572886109352112, -0.25819671154022217, -0.15091978013515472, 0.09672733396291733, -0.05638076737523079, -0.9240724444389343, 0.06669197976589203, 0.061287153512239456, 0.20657148957252502, -0.5370963215827942, 0.16368459165096283, -0.34039661288261414, -0.42517104744911194, 0.3003298044204712, 0.14608563482761383, 0.11441553384065628, -0.14435729384422302, -0.2078535407781601, 0.023169012740254402, 0.22238613665103912, -0.0363985113799572, 0.09012487530708313, 0.1739671379327774, 0.11685322970151901, 0.8548077344894409, 0.5608683824539185, -0.19637034833431244, 0.5104479789733887, 0.08078108727931976, 0.951082170009613, -0.9068018794059753, -0.4799190163612366, -0.8889119625091553, 1.0615366697311401, -0.2695161998271942, -0.4940112233161926, 0.8280907273292542, 0.9421091675758362, 1.0041687488555908, -0.18856239318847656, 0.6955674886703491, 0.11081136018037796, -0.22136475145816803, -1.1076641082763672, 0.1118677407503128, -0.6663102507591248, -0.08245102316141129, -0.12953363358974457, -0.7670921087265015, 0.08961634337902069, 0.6621772050857544, -0.2077120691537857, 0.04612259939312935, 0.359449177980423, 1.0263177156448364, -0.5127159953117371, -0.14475008845329285, 0.3685978949069977, -0.21407799422740936, 0.5240124464035034, 0.7620283961296082, 0.8414707183837891, -0.6431682705879211, 0.6303899884223938, -0.49337148666381836, -0.0016411987598985434, -0.43032073974609375, -0.9517003297805786, -0.8840312957763672, -0.6256240606307983, -0.5311585664749146, -0.14423395693302155, 0.26693782210350037, 0.7374529838562012, 1.0560601949691772, -0.1788606196641922, -0.3123317062854767, -0.4479404091835022, -0.1808168590068817, -0.44514700770378113, -0.25406667590141296, -0.15321244299411774, 0.06681372225284576, -0.5074651837348938, 1.210424542427063, 0.5004981756210327, 0.5418063998222351, -0.46423497796058655, -0.47667673230171204, 0.0006329218740575016, -0.22033558785915375, 0.5967353582382202, 0.45975378155708313, -0.6874107122421265, -0.27468445897102356, 0.16941311955451965, -0.018085870891809464, 0.2400578260421753, 0.7503093481063843, -1.0477689504623413, 0.7601519823074341, 0.18551410734653473, 0.48556187748908997, 1.0408759117126465, 0.03667275607585907, 0.7377103567123413, -0.777525782585144, 0.2608242332935333, 0.17578141391277313, 0.20747405290603638, 0.6376670598983765, 0.008417138829827309, 0.5387252569198608, 0.13342435657978058, -0.20484791696071625, -0.5210595726966858, 0.3927168548107147, -0.9565664529800415, 0.031244322657585144, 1.2295939922332764, -0.007812860421836376, -0.2983846962451935, -0.09810034930706024, -0.24958962202072144, -0.03737283870577812, -0.24173489212989807, 0.5296844244003296, 0.14869244396686554, 0.17266346514225006, -0.6999605298042297, -0.8927059769630432, 0.6590673327445984, 0.14968061447143555, -0.6360557675361633, -0.2188786268234253, 0.5677480697631836, -0.0675714984536171, 0.0716920718550682, 0.47900375723838806, 0.4866762161254883, 0.6414129137992859, -0.11255435645580292, -0.2901242673397064, -0.34373417496681213, -0.6792905926704407, -0.19453446567058563, 0.1415865570306778, -0.32996076345443726, -0.4370908737182617 ]
http://arxiv.org/abs/2402.03519v1
http://arxiv.org/pdf/2402.03519v1
Resolving Transcription Ambiguity in Spanish: A Hybrid Acoustic-Lexical System for Punctuation Restoration
2024-02-05T21:05:35
2024-02-05T21:05:35
Xiliang Zhu, Chia-Tien Chang, Shayna Gardiner, David Rossouw, Jonas Robertson
cs.CL
cs.CL, cs.AI
Punctuation restoration is a crucial step after Automatic Speech Recognition (ASR) systems to enhance transcript readability and facilitate subsequent NLP tasks. Nevertheless, conventional lexical-based approaches are inadequate for solving the punctuation restoration task in Spanish, where ambiguity can be often found between unpunctuated declaratives and questions. In this study, we propose a novel hybrid acoustic-lexical punctuation restoration system for Spanish transcription, which consolidates acoustic and lexical signals through a modular process. Our experiment results show that the proposed system can effectively improve F1 score of question marks and overall punctuation restoration on both public and internal Spanish conversational datasets. Additionally, benchmark comparison against LLMs (Large Language Model) indicates the superiority of our approach in accuracy, reliability and latency. Furthermore, we demonstrate that the Word Error Rate (WER) of the ASR module also benefits from our proposed system.
[ -0.17108529806137085, -0.7696368098258972, 0.439845472574234, 0.6317866444587708, -0.487081915140152, 0.7377874255180359, -0.3672800064086914, -0.5962310433387756, 0.6828404068946838, 0.2902538478374481, -0.4342785179615021, -0.36912691593170166, -0.38863304257392883, 0.6867024898529053, -0.46928122639656067, 0.6130475401878357, 0.14428241550922394, 0.3128316402435303, -0.10284072905778885, -0.049490127712488174, -0.4239983856678009, -0.347677618265152, -0.627694308757782, -0.341010719537735, 0.3541029095649719, 0.020838772878050804, 0.7881482839584351, 0.5135912299156189, 0.6438312530517578, 0.3543343245983124, -0.47515302896499634, 0.4183966815471649, -0.08791431039571762, -0.15951040387153625, -0.24703270196914673, -0.28761205077171326, -0.3001045286655426, -0.5927274227142334, 0.7537198066711426, 1.0197900533676147, -0.3015376329421997, -0.31671538949012756, 0.13613997399806976, 0.4497475028038025, -0.42563748359680176, 0.0023834772873669863, -0.4433617889881134, 0.08987262099981308, -0.0724361464381218, -0.4124264717102051, -0.1458839625120163, -0.7115115523338318, -0.08475881814956665, -0.5028266906738281, -0.061781689524650574, -0.05847049131989479, 0.3968100845813751, 0.547721266746521, -0.3187958002090454, -0.0758361890912056, -1.0025869607925415, 0.49521660804748535, -0.6135187149047852, 0.47846177220344543, 0.19754590094089508, -0.03239234909415245, -0.2439279407262802, -0.5217969417572021, -0.552635133266449, 0.17377206683158875, -0.18803781270980835, 0.3738640546798706, -0.16055218875408173, 0.2664441764354706, -0.12961696088314056, 0.8523398041725159, -0.4009592533111572, 0.15166057646274567, -0.43229278922080994, -0.6951798796653748, 0.1322726607322693, 0.009499313309788704, 0.27975964546203613, -0.14863668382167816, -0.531349778175354, -0.024003418162465096, -0.6974754929542542, 0.19696401059627533, 0.6658142805099487, 0.44603464007377625, 0.18773610889911652, 0.3110595941543579, -0.13103780150413513, 0.7027305364608765, -0.30063942074775696, -0.3324536979198456, 0.4578897953033447, -0.3845216929912567, -0.12079209834337234, 0.4161984324455261, 0.8845319747924805, 0.07149962335824966, 0.0198652446269989, -0.3348298966884613, -0.2753419280052185, 0.18914006650447845, -0.09141545742750168, -0.095360167324543, 0.18224512040615082, 0.18857479095458984, 0.18245753645896912, -0.08531353622674942, 0.5649104714393616, -0.40012574195861816, -0.31325656175613403, -0.3151649236679077, 0.586652934551239, -0.3633521497249603, -0.31240352988243103, 0.8690890073776245, -0.14495179057121277, 0.13403508067131042, 0.4392179548740387, -0.4697916805744171, 0.5580334067344666, 0.6181182861328125, 0.8065822124481201, -0.14555011689662933, 0.0015967692015692592, -0.19619561731815338, 0.08448964357376099, -0.14259915053844452, 0.8026013374328613, -0.34347569942474365, -0.8762131333351135, 0.025065144523978233, -0.05755574256181717, -0.5352995991706848, -0.9991100430488586, 0.8156057000160217, -0.40481486916542053, 0.5441185235977173, -0.3025995194911957, -0.3485395014286041, -0.21017685532569885, 0.11593581736087799, -0.8036194443702698, 1.2508031129837036, -0.24604929983615875, -0.5761627554893494, -0.18286359310150146, -0.3948740065097809, -0.6534338593482971, 0.04181627929210663, -0.0656660869717598, -0.4232712984085083, -0.16206006705760956, 0.23576074838638306, -0.15417997539043427, -0.22095456719398499, 0.3332684338092804, -0.004269761964678764, -0.5629034042358398, 0.28147977590560913, -0.22718945145606995, 0.82989102602005, -0.18674276769161224, -0.32221609354019165, -0.11289262026548386, -0.6657877564430237, -0.046207983046770096, -0.3409627079963684, -0.7321600914001465, -0.3214515447616577, -0.3053905665874481, -0.0194388534873724, 0.2463577836751938, 0.5432640314102173, -0.9416069984436035, -0.18703486025333405, -0.679233193397522, 0.3535076379776001, 0.4832688868045807, 0.26285412907600403, 0.24777941405773163, -0.6424638628959656, 0.6416200995445251, -0.16536931693553925, 0.048715606331825256, -0.18358640372753143, -0.5811005234718323, -0.8079674243927002, -0.4635285437107086, 0.4030233323574066, 0.9858644604682922, -0.6461762189865112, 0.8758999109268188, -0.2730759382247925, -0.14128129184246063, -0.6411851644515991, -0.15553860366344452, 0.8079535961151123, 0.7921605110168457, 0.5626444816589355, -0.36538252234458923, -0.9520951509475708, -0.7905236482620239, -0.11811105161905289, -0.2960539758205414, -0.1362273246049881, 0.2685847282409668, 0.2439456284046173, 0.13604611158370972, 1.09396493434906, -0.06636977195739746, -0.448912113904953, 0.05779426917433739, 0.0796283707022667, 0.3653448820114136, 0.5360076427459717, -0.1283680945634842, -0.6577369570732117, -0.23346708714962006, 0.18307612836360931, -0.3082405626773834, -0.5090149641036987, 0.08941171318292618, 0.10473743081092834, -0.1215486228466034, 0.7062276601791382, -0.23643316328525543, 0.263203501701355, 0.42524453997612, -0.36251676082611084, 0.6979883313179016, -0.18491700291633606, 0.3823910653591156, -0.8840135931968689, 0.27659502625465393, -0.4484083652496338, -0.5511346459388733, -0.5652264952659607, -0.17551428079605103, 0.1367024928331375, 0.04836291819810867, -0.666607677936554, 0.23433753848075867, -0.27534887194633484, -0.07812713086605072, -0.04998995363712311, -0.055793825536966324, 0.259257972240448, 0.3288940191268921, 0.10046429932117462, 1.0544533729553223, 0.28034311532974243, -0.3669041693210602, 0.07195483148097992, 0.6117924451828003, -0.09512603282928467, 0.46263906359672546, -0.7644002437591553, 0.2742916941642761, 0.007123521529138088, 0.3087890148162842, -0.9327760934829712, 0.15268531441688538, 0.14350663125514984, -0.27123451232910156, -0.0029863305389881134, 0.14721669256687164, -0.7477311491966248, -0.48344865441322327, -0.32421451807022095, 0.4477207064628601, 0.29982247948646545, -0.44738736748695374, 0.4570963978767395, 0.16460223495960236, -0.4518750011920929, -0.3983387053012848, -0.5234377384185791, 0.14527533948421478, 0.035963211208581924, -0.7509332299232483, 0.5776073336601257, -0.08501149713993073, -0.26351720094680786, -0.2430354654788971, -0.44210684299468994, 0.06867208331823349, -0.08222697675228119, 0.01851283386349678, 0.22590559720993042, -0.3538518249988556, 0.15017861127853394, 0.27404624223709106, 0.11365781724452972, -0.0792497768998146, -0.32622796297073364, 0.7724628448486328, -0.14307813346385956, -0.44735509157180786, -0.6443381905555725, 0.3641241490840912, 0.5955789685249329, -0.4403552711009979, 0.4070983827114105, 0.1493101418018341, -0.41104161739349365, 0.06843342632055283, -0.9453535676002502, -0.11972834169864655, -0.46728453040122986, -0.06293195486068726, -0.3065543472766876, -0.7938947677612305, 0.9747575521469116, -0.15900392830371857, -0.43503469228744507, 0.3626217246055603, 0.5715756416320801, -0.18428948521614075, 0.41119781136512756, 0.4838652014732361, -0.061691030859947205, 0.5553406476974487, -0.07830033451318741, 0.11244244873523712, -0.6847677230834961, -0.6815401315689087, -0.6405324935913086, -0.09886614978313446, 0.15520285069942474, -0.46990758180618286, 0.5373913645744324, -0.13628661632537842, 0.3186165690422058, 0.4632680118083954, -0.22787906229496002, 0.6159594655036926, 0.6431246399879456, 0.5151795148849487, 0.959792971611023, -0.15230828523635864, -0.4271439015865326, 0.006179227493703365, -0.4078015983104706, -0.5332496166229248, 0.4956628978252411, 0.01375792920589447, 0.302355021238327, 0.103480264544487, 0.7674869298934937, 0.3081156015396118, -0.3860708773136139, -0.5984155535697937, 0.3976725935935974, -0.1703992336988449, -0.3604203462600708, -0.31537574529647827, -0.3104330897331238, -0.7193106412887573, 0.5183363556861877, -0.31293192505836487, -0.5740100741386414, 0.4739502966403961, 0.06461867690086365, -0.9503249526023865, 0.2513716518878937, -0.5945927500724792, 0.5251925587654114, 0.14434123039245605, -0.2194634974002838, -0.0481594055891037, -0.7171865105628967, 0.05374517664313316, -0.2590448260307312, 0.35167577862739563, 0.06612002849578857, -0.250573992729187, 0.8058550357818604, -0.8130735158920288, 0.6820575594902039, 0.007411505561321974, -0.18528735637664795, 0.06438631564378738, 0.0484674796462059, 0.492443710565567, -0.15752634406089783, -0.14929234981536865, -0.003676914842799306, -0.06708107888698578, 0.03578753396868706, -0.6466765999794006, 0.3185340166091919, -0.5141416192054749, -0.4193475842475891, -0.11215846985578537, -0.6503660082817078, -0.4487582743167877, 0.07486756145954132, 0.1756114363670349, 0.3721945285797119, -0.3933772146701813, 0.0727686658501625, 0.819179892539978, -0.11167995631694794, 0.5868085622787476, 0.6632347106933594, 0.013755305670201778, -0.6875054836273193, 0.6968207955360413, -0.3258872330188751, 0.20263105630874634, 0.4454800486564636, 0.06449436396360397, -0.3917413055896759, -0.585938572883606, -0.33479899168014526, 0.4971071183681488, -0.3730027675628662, -0.31895145773887634, -0.7174739837646484, 0.028468623757362366, -0.30793526768684387, -0.1795007437467575, -0.3579811453819275, -0.7822736501693726, -0.6564615964889526, -0.07064212113618851, 0.3150479197502136, 0.39657077193260193, 0.03588429093360901, 0.4573635756969452, -0.6890838742256165, 0.13051101565361023, 0.06690361350774765, 0.10432248562574387, -0.47874701023101807, -0.9160082340240479, 0.03287935256958008, -0.13485635817050934, 0.020624104887247086, -0.8387170433998108, 0.3123582601547241, 0.4300953149795532, 0.19147880375385284, 0.40140098333358765, -0.04936527833342552, 0.9483355283737183, -0.7085180282592773, 0.3239895701408386, 0.32082200050354004, -1.0550094842910767, 0.41000065207481384, -0.5536771416664124, 0.32223424315452576, 0.794730544090271, -0.07925242185592651, -0.8810559511184692, -0.9061365127563477, -0.5333746075630188, -0.9730823636054993, 0.4887765049934387, 0.285983681678772, -0.23647722601890564, 0.03293882682919502, 0.18983517587184906, 0.1911875307559967, 0.3322960138320923, -0.4679943025112152, 0.03567710146307945, -0.002569114789366722, -0.3042766749858856, 0.05150356516242027, -0.02173890359699726, -0.2953556478023529, -0.4091220796108246, 0.730731189250946, 0.2106926143169403, 0.07662934809923172, 0.39621543884277344, -0.47562041878700256, -0.10068334639072418, 0.3735071122646332, 0.6315246224403381, 0.3565467298030853, -0.05453013628721237, 0.10219038277864456, 0.16771067678928375, -0.5407470464706421, 0.22346927225589752, 0.424679696559906, -0.14816510677337646, 0.17961539328098297, 0.2839799225330353, 0.4120142459869385, 0.777470588684082, -0.5944628715515137, 0.6693581938743591, 0.2749263644218445, -0.0708887055516243, -0.42291519045829773, -0.22668671607971191, 0.12627267837524414, 0.23402056097984314, 0.46089041233062744, 0.40929391980171204, 0.3640308082103729, -0.4487035572528839, 0.16860300302505493, 0.27414557337760925, -0.19307462871074677, -0.29019075632095337, 0.6273193359375, 0.41950881481170654, -0.5698732733726501, 0.14282910525798798, -0.010635128244757652, -0.7257910370826721, 0.6168327331542969, 0.6848883628845215, 0.4811406433582306, -0.38356176018714905, 0.19041623175144196, 0.1867893934249878, 0.2565092146396637, -0.4054221510887146, 0.6631768941879272, -0.133505180478096, -0.6287376284599304, -0.3649699091911316, -0.7076218724250793, -0.6301816701889038, -0.34438151121139526, -0.8129984140396118, 0.08915666490793228, -0.48081618547439575, -0.01946982927620411, -0.24537873268127441, -0.2566078305244446, -0.2888355851173401, 0.07063975185155869, 0.19518890976905823, 0.8961784839630127, -1.0059419870376587, 0.7948400378227234, 0.5652185082435608, -0.3600938618183136, -0.628050684928894, -0.41024962067604065, -0.06556396931409836, -0.8112704753875732, 0.08509418368339539, -0.14698606729507446, -0.6588636040687561, 0.053384967148303986, 0.13224519789218903, -0.9693707823753357, 0.947517454624176, 0.7104961276054382, -0.7666031718254089, -0.03862696886062622, 0.5002569556236267, 0.7893971800804138, 0.15472827851772308, 0.010176609270274639, 0.771433413028717, 0.6034259796142578, 0.11635575443506241, -1.5840445756912231, 0.01989305391907692, -0.2600981593132019, -0.09921564906835556, 0.42794302105903625, -0.428457647562027, 0.5398868918418884, 0.04035722836852074, -0.457156240940094, 0.3373381495475769, 0.4743252396583557, -0.1913982629776001, -0.09144303947687149, 0.5613163113594055, 0.6429337859153748, 1.027138352394104, -0.3825642764568329, 0.7568332552909851, -0.18908105790615082, 0.2618599236011505, 0.9837546944618225, -0.00469953054562211, 0.7728906273841858, 0.9883368015289307, -0.36358290910720825, 0.673973798751831, 0.4733000099658966, 0.21089918911457062, 0.37940046191215515, 0.007766479626297951, -0.6307540535926819, -0.22028495371341705, -0.29224008321762085, -0.39196139574050903, 0.437274307012558, 0.316029816865921, -0.26279279589653015, -0.045438073575496674, 0.08591002970933914, 0.03710435703396797, 0.46601176261901855, -0.27104780077934265, 0.887079656124115, -0.03525222837924957, -0.5638797879219055, 0.33092638850212097, -0.12761643528938293, 0.6857568025588989, -0.4947045147418976, 0.2862362563610077, -0.38546279072761536, 0.09726285934448242, -0.41885799169540405, -0.19154538214206696, 0.4177605211734772, -0.3899799585342407, -0.17905572056770325, -0.3580354154109955, 0.3049010634422302, -0.7051954865455627, -0.4514220058917999, 0.19809645414352417, 0.6576247215270996, 0.09045404195785522, -0.17530551552772522, -0.4001480042934418, 0.21904797852039337, -0.028034484013915062, 0.23209437727928162, -0.3145102262496948, 0.09756709635257721, 0.14792005717754364, 0.3352981507778168, 0.6601892709732056, 0.2853550612926483, 0.41109055280685425, 0.46272262930870056, 0.824189305305481, -0.606070876121521, -0.7728118896484375, -0.7279219627380371, 0.5761119723320007, -0.00425297487527132, -0.28853291273117065, 0.5919577479362488, 0.7882804870605469, 0.5848847031593323, -0.09777934849262238, 0.48199859261512756, 0.21359820663928986, 0.827053964138031, -0.6262290477752686, 0.26720237731933594, -0.17569203674793243, 0.5181779861450195, -0.4908077120780945, -0.80433189868927, -0.8956511616706848, 0.4574146866798401, -0.23617279529571533, -0.3407231867313385, 1.097895860671997, 1.0951253175735474, -0.15515314042568207, 0.21944479644298553, 0.4487435817718506, 0.057564180344343185, -0.08862423151731491, 0.31377968192100525, 0.882309079170227, -0.3922766447067261, 0.8462083339691162, -0.27670401334762573, -0.22211939096450806, -0.07719680666923523, -0.42577123641967773, -0.28247857093811035, -0.5029857754707336, -0.31134048104286194, -0.1471194475889206, 0.42396053671836853, 0.9608904123306274, 0.22744761407375336, -0.8588769435882568, -0.34972190856933594, -0.10940916836261749, 0.05200548470020294, -0.20001254975795746, -0.17994371056556702, 0.3826516568660736, -0.1759169101715088, -0.761860728263855, 0.8865624070167542, 0.5245851874351501, 0.07951048761606216, -0.15206462144851685, 0.038573961704969406, -0.15647143125534058, -0.06571050733327866, 0.21481680870056152, 0.679855465888977, -0.8170531392097473, -0.3596343696117401, 0.29483580589294434, 0.0548931360244751, 0.4301299750804901, 1.1212211847305298, -1.0515861511230469, 0.5735961198806763, 0.27956271171569824, 0.5610420107841492, 0.29934534430503845, -0.024595821276307106, 0.7435007691383362, -0.8080096244812012, 0.31852972507476807, 0.5186963677406311, 0.8464481234550476, 0.5961269736289978, -0.32370874285697937, 0.28430140018463135, 0.568691074848175, -0.20159445703029633, -0.7063906192779541, 0.22642655670642853, -1.1475979089736938, 0.06800501048564911, 1.0725970268249512, 0.02674705721437931, 0.009186121635138988, -0.4619283378124237, -0.5094639658927917, 0.23850524425506592, -0.5612624287605286, 0.817829966545105, 0.5250812768936157, 0.08389876037836075, 0.1963135004043579, 0.22662410140037537, 0.3439416289329529, 0.6220958828926086, -0.5744738578796387, -0.2161656767129898, 0.5073003768920898, 0.2126792073249817, 0.3939478099346161, 0.594342827796936, -0.4548923075199127, 0.5524747967720032, -0.3230051100254059, 0.2618609368801117, -0.024275999516248703, -0.2986457645893097, -0.7269493341445923, 0.12110692262649536, -0.1333494335412979, -0.3283238708972931 ]
http://arxiv.org/abs/2402.03509v1
http://arxiv.org/pdf/2402.03509v1
Evaluating the Factuality of Zero-shot Summarizers Across Varied Domains
2024-02-05T20:51:11
2024-02-05T20:51:11
Sanjana Ramprasad, Kundan Krishna, Zachary C Lipton, Byron C Wallace
cs.CL
cs.CL, cs.AI, cs.LG
Recent work has shown that large language models (LLMs) are capable of generating summaries zero-shot (i.e., without explicit supervision) that, under human assessment, are often comparable or even preferred to manually composed reference summaries. However, this prior work has focussed almost exclusively on evaluating news article summarization. How do zero-shot summarizers perform in other (potentially more specialized) domains? In this work we evaluate zero-shot generated summaries across specialized domains including biomedical articles, and legal bills (in addition to standard news benchmarks for reference). We focus especially on the factuality of outputs. We acquire annotations from domain experts to identify inconsistencies in summaries and systematically categorize these errors. We analyze whether the prevalence of a given domain in the pretraining corpus affects extractiveness and faithfulness of generated summaries of articles in this domain. We release all collected annotations to facilitate additional research toward measuring and realizing factually accurate summarization, beyond news articles. The dataset can be downloaded from https://github.com/sanjanaramprasad/zero_shot_faceval_domains
[ -0.04733092337846756, -0.8309326767921448, 0.7560135126113892, 0.15150415897369385, -0.33121979236602783, 0.14768698811531067, -0.17521429061889648, -0.5313557386398315, 0.3317548930644989, 0.3402005732059479, -0.24597099423408508, -0.6929293870925903, -0.7952409386634827, 0.4005798101425171, -0.36876991391181946, 1.454028606414795, -0.04320210963487625, -0.21677987277507782, -0.6113206744194031, -0.38237157464027405, -0.30466601252555847, -0.5306452512741089, 0.06911920011043549, -0.28539368510246277, 0.656022846698761, 0.27396225929260254, 0.4073870778083801, 0.44603487849235535, 0.6095973253250122, 0.17493751645088196, -0.0016555704642087221, 0.12744203209877014, -0.6457525491714478, -0.002769020851701498, -0.26831620931625366, -0.21164920926094055, -0.5582678318023682, 0.20663107931613922, 0.6026533842086792, 0.6946773529052734, 0.08332138508558273, 0.4287319481372833, -0.20963309705257416, 0.5517994165420532, -0.8751933574676514, 0.006587716285139322, -0.667573869228363, 0.12041632831096649, -0.20827420055866241, -0.3938254117965698, -0.3517094850540161, -0.5043290257453918, 0.2508986294269562, -0.33634641766548157, 0.49570178985595703, -0.19229237735271454, 1.123718500137329, 0.17071712017059326, -0.653409481048584, -0.19189788401126862, -0.7810961008071899, 0.6640098094940186, -0.7907214164733887, 0.11134174466133118, 0.011871160939335823, 0.2399989515542984, 0.22736209630966187, -0.5706908702850342, -0.42740917205810547, -0.188301220536232, -0.13986870646476746, 0.46832796931266785, -0.3146438002586365, -0.15600138902664185, 0.22189004719257355, 0.3685257136821747, -0.700486421585083, -0.1552375704050064, -0.4707784950733185, -0.16341723501682281, 0.7679920792579651, 0.11904727667570114, 0.3869466781616211, -0.028263062238693237, -0.09584509581327438, 0.4779408574104309, -0.9305110573768616, -0.2762335240840912, 0.38658010959625244, 0.18634790182113647, -0.22494494915008545, 0.8257441520690918, -0.5226348042488098, 0.6863119602203369, 0.03394961729645729, -0.27289775013923645, 0.23831439018249512, -0.5589988231658936, -0.23678340017795563, 0.18399962782859802, 0.600537896156311, 0.5789291262626648, 0.25019314885139465, -0.32827162742614746, 0.00411806209012866, -0.13481184840202332, 0.4989730417728424, -0.8546687960624695, -0.05383650213479996, 0.40410253405570984, -0.15710628032684326, -0.4085315763950348, -0.013469378463923931, -0.26334819197654724, -0.18201665580272675, -0.24579088389873505, 0.5630570650100708, -0.23455475270748138, -0.18764536082744598, 0.1306687593460083, -0.2904280126094818, 0.09810150414705276, 0.4791916310787201, -0.5912585258483887, 0.14890196919441223, 0.5420427918434143, 0.827298104763031, -0.4002467095851898, -0.2109278291463852, -0.3350783586502075, 0.1446315199136734, -0.3283407986164093, 1.093454360961914, -0.028280675411224365, -0.23629166185855865, 0.07654313743114471, -0.22315427660942078, -0.24122704565525055, -0.5549066662788391, 0.4372257590293884, -0.6202526688575745, -0.010060752741992474, -0.3274538815021515, -0.7637456059455872, -0.1087845116853714, 0.4058140814304352, -0.4088767468929291, 0.3623253405094147, 0.0865958109498024, -0.8305338621139526, 0.5305501818656921, -0.44927507638931274, -0.7244938015937805, 0.026143593713641167, -0.24940058588981628, -0.5123223066329956, 0.2608407735824585, -0.034323401749134064, 0.5114773511886597, 0.1659560203552246, 0.42387160658836365, -0.16912508010864258, -0.3284669518470764, 0.36302581429481506, -0.372604638338089, 0.7431673407554626, -0.08373856544494629, -0.19938071072101593, -0.010239209979772568, -0.7321362495422363, -0.3640115559101105, 0.20321273803710938, -0.21638739109039307, -0.3362499475479126, -0.19257047772407532, -0.15708918869495392, 0.053187914192676544, 0.07628557831048965, -0.7201549410820007, 0.07130223512649536, -0.32770997285842896, -0.0560583621263504, 0.1391468644142151, 0.5345008969306946, 0.14214348793029785, -0.4444220960140228, 0.3139636218547821, 0.13358913362026215, -0.14994600415229797, -0.4894098937511444, -0.375762403011322, -0.5083602666854858, -0.4602207839488983, 0.5537970662117004, 0.4597824513912201, -0.640630841255188, 0.32246148586273193, -0.45182645320892334, -0.5264844298362732, -0.26208215951919556, -0.09698919206857681, 0.5326008200645447, 0.8039049506187439, 0.2586919069290161, -0.42513370513916016, -0.3953193724155426, -0.8542218804359436, -0.5616874098777771, -0.03358793258666992, 0.05861324444413185, 0.1725112944841385, 0.7932440638542175, -0.09465282410383224, 1.1246545314788818, -0.5366820096969604, -0.09736297279596329, -0.2351674735546112, 0.5695970058441162, 0.16066403687000275, 0.17091290652751923, 0.7530927062034607, -0.3598187565803528, -0.419028639793396, -0.07255037873983383, -1.1623708009719849, -0.32729002833366394, -0.36716631054878235, 0.13177475333213806, 0.2569872736930847, 0.011936097405850887, -0.9648337364196777, 0.6704383492469788, 0.17542526125907898, -0.1241445541381836, 1.0311204195022583, -0.1056036576628685, 0.23807477951049805, -0.6163123250007629, 0.3514215052127838, 0.0868246853351593, -0.4757947027683258, -0.644345223903656, 0.06582006812095642, -0.0497092641890049, 0.00878225453197956, -0.5908967852592468, 0.42654770612716675, -0.4405023455619812, -0.3128091096878052, -0.31114858388900757, 0.40451446175575256, 0.22429248690605164, 0.2945307791233063, 0.11036744713783264, 0.77159184217453, 0.32755720615386963, -0.6183984279632568, 0.1431531459093094, 0.29548704624176025, -0.2853792607784271, 0.6043854355812073, -0.9150057435035706, -0.14344820380210876, -0.2396267056465149, 0.3711341321468353, -0.6789661645889282, -0.4108956754207611, 0.1503453254699707, -0.600487232208252, 0.2226419895887375, -0.00973964761942625, -0.35570046305656433, -0.0024091913364827633, -0.5420359373092651, 0.17375724017620087, 0.33293479681015015, -0.06417535245418549, 0.24612204730510712, 0.43690991401672363, -0.24702541530132294, -0.7603453397750854, -0.54349684715271, 0.3555874526500702, 0.14340677857398987, -0.2038322538137436, 0.20264321565628052, -0.024331487715244293, -0.4606296420097351, 0.30907371640205383, -0.37908315658569336, -0.10279345512390137, 0.1103062704205513, 0.21604250371456146, 0.33569058775901794, -0.31824401021003723, -0.16718529164791107, 0.2814517319202423, 0.08366619050502777, 0.09527291357517242, 0.014281640760600567, -0.017263727262616158, 0.08633123338222504, -0.4415779411792755, -0.3634600043296814, 0.2419208139181137, 0.4939360022544861, -0.15978801250457764, 0.6572178602218628, 0.35900431871414185, -0.29304060339927673, -0.029770147055387497, -0.6016150712966919, 0.04547961428761482, -0.28986284136772156, 0.2750934362411499, -0.0830933004617691, -0.7882903218269348, 0.4955176115036011, 0.16933013498783112, 0.3687935471534729, 0.6925704479217529, 0.7396095395088196, -0.09410832822322845, 0.3744527995586395, 0.5474003553390503, 0.23475691676139832, -0.12365156412124634, -0.19301152229309082, 0.2458750307559967, -0.612914502620697, -0.06154472380876541, -0.3086748719215393, 0.14385472238063812, -0.2750221788883209, -0.1944044977426529, 0.4818945825099945, -0.11093530058860779, 0.15669211745262146, 0.3736973702907562, -0.06531806290149689, 0.7042621970176697, 0.29389292001724243, -0.08470801264047623, 0.4753457307815552, 0.13364148139953613, 0.021447235718369484, 0.10823312401771545, -0.6331609487533569, -0.7338629961013794, 1.178528904914856, 0.21502113342285156, 0.2515997886657715, 0.04239318519830704, 0.7098661661148071, 0.5965042114257812, 0.6780411005020142, -0.9558901190757751, 0.28945088386535645, -0.0852142870426178, -0.732410192489624, -0.018055306747555733, -0.41073957085609436, -0.7082418203353882, 0.26346221566200256, -0.32647958397865295, -0.42412954568862915, 0.21912600100040436, 0.004860592540353537, -0.7870320677757263, 0.12258681654930115, -0.36392542719841003, 0.711944043636322, 0.006060573738068342, -0.2291060984134674, -0.18622079491615295, -0.7107646465301514, 0.6998465657234192, -0.3854808807373047, 0.08616781234741211, -0.337348610162735, 0.02986794523894787, 0.5119827389717102, -0.25670909881591797, 0.8949111104011536, 0.03322707116603851, -0.2057458907365799, 0.4207752048969269, 0.042652834206819534, -0.27184027433395386, 0.14657849073410034, 0.09129535406827927, 0.7089799046516418, 0.06547977775335312, -0.48707643151283264, -0.33835092186927795, 0.39500582218170166, -0.7663974761962891, -0.5763752460479736, -0.6778972744941711, -0.5430461764335632, -0.3989943861961365, 0.35890504717826843, 0.3372993767261505, 0.6528258919715881, -0.5034691691398621, 0.1822499781847, 0.6186148524284363, -0.34785202145576477, 0.2275814265012741, 1.0405707359313965, -0.01062774658203125, -0.32160672545433044, 0.876842200756073, 0.5296482443809509, 0.01671852543950081, 0.3790288269519806, -0.1610262542963028, -0.0672912523150444, -0.6471843719482422, -0.6500898599624634, 0.4216378331184387, -0.5957338809967041, -0.42469024658203125, -0.8485636711120605, -0.4296458065509796, -0.6353422403335571, -0.07129083573818207, -0.23934808373451233, -0.6341769695281982, -0.1571504771709442, -0.4009058475494385, 0.0022154049947857857, 0.7327105402946472, -0.11670968681573868, 0.20808014273643494, -1.1486432552337646, 0.41777220368385315, 0.21617905795574188, 0.09095774590969086, -0.2930815517902374, -0.6666405200958252, -0.4707198739051819, -0.09521549940109253, -0.285114586353302, -0.7777184844017029, 0.19867749512195587, 0.14350777864456177, 0.5449191331863403, 0.24443751573562622, 0.09300587326288223, 0.48757535219192505, -0.7702105641365051, 1.0068106651306152, 0.23355939984321594, -0.9207135438919067, 0.4131997227668762, -0.46373510360717773, 0.33292290568351746, 0.6904534101486206, 0.471149206161499, -0.3209517300128937, -0.5735987424850464, -0.5755770802497864, -0.8439873456954956, 0.4733162522315979, 0.4545000195503235, 0.2571849524974823, -0.09187006950378418, 0.6017525792121887, 0.3433953523635864, 0.4282398521900177, -0.31056731939315796, -0.38288113474845886, -0.11535544693470001, -0.07363913953304291, 0.029235146939754486, -0.44885656237602234, -0.30487316846847534, 0.06760414689779282, 0.7061055898666382, 0.031473491340875626, 0.16793422400951385, 0.4349828362464905, -0.487130343914032, -0.22295670211315155, 0.15425263345241547, 1.0257651805877686, 1.0344233512878418, -0.3128986060619354, 0.2515577971935272, 0.01451906282454729, -0.5379442572593689, 0.05585097521543503, -0.054284319281578064, -0.528342604637146, 0.587874710559845, 0.8826398253440857, 0.6873921155929565, 0.17084312438964844, -0.7687857747077942, 0.850482165813446, -0.13003751635551453, -0.3316513001918793, -0.09679917991161346, -0.00547436997294426, -0.24206753075122833, -0.01502513512969017, 0.41805729269981384, 0.28969287872314453, 0.32361850142478943, -0.47076037526130676, 0.40157341957092285, 0.30207207798957825, -0.10981229692697525, -0.8094542622566223, 0.6978811621665955, 0.2704242169857025, 0.15495677292346954, 0.1526862531900406, -0.163168266415596, -0.1956646889448166, 0.6444429159164429, 0.46317633986473083, 0.9950430393218994, 0.14913985133171082, 0.41002291440963745, 0.35618022084236145, 0.33154916763305664, 0.14673945307731628, -0.06339201331138611, -0.0009534714627079666, -0.8286144733428955, -0.8629370331764221, -0.5502090454101562, -0.7278707027435303, -0.0059127770364284515, -0.5707995295524597, -0.03690081089735031, -0.20259059965610504, -0.27320265769958496, 0.29767054319381714, -0.08350954204797745, -0.2902234196662903, 0.36315420269966125, 0.24009251594543457, 0.7690454721450806, -1.1023526191711426, 0.543727457523346, 0.7609860301017761, -0.6887254118919373, -0.31861603260040283, 0.298458069562912, 0.06001468375325203, -0.6513791680335999, 0.59803706407547, 0.02717910148203373, -0.2737334668636322, -0.26454803347587585, -0.653063952922821, -0.5209352374076843, 0.9454168677330017, 0.6411756277084351, -0.35743510723114014, 0.2016734480857849, 0.37673747539520264, 0.6159479022026062, -0.28291746973991394, 0.24157945811748505, 0.4664037525653839, 0.19575510919094086, 0.02201877348124981, -0.9328261017799377, -0.18589036166667938, -0.1573268622159958, -0.3162524700164795, -0.2970556318759918, -0.5412604212760925, 0.6143375635147095, -0.2276180535554886, -0.2284488081932068, -0.2709689736366272, 0.7010272741317749, 0.32125893235206604, 0.6648513674736023, -0.05368555337190628, 0.5178439617156982, 0.44848307967185974, 0.12019345164299011, 1.1151463985443115, -0.4110488295555115, 0.4122728407382965, 1.21278715133667, -0.662794828414917, 0.5535048842430115, 0.2643704116344452, -0.053690988570451736, 0.4110505282878876, 0.3193778395652771, 0.00792766734957695, 0.3941856026649475, -0.15376067161560059, -0.39360952377319336, -0.010968555696308613, -0.3273935317993164, -0.15694023668766022, 0.387862890958786, 0.07492971420288086, -0.09913553297519684, -0.5664774179458618, -0.24084410071372986, 0.25161656737327576, 0.013847057707607746, -0.17334991693496704, 0.8126427531242371, 0.1811825931072235, -0.4881473481655121, 0.41841214895248413, 0.15724585950374603, 0.3565984070301056, -0.46746182441711426, -0.03979834169149399, -0.3780783712863922, -0.12900246679782867, -0.4081657826900482, -0.637031078338623, 0.7463394999504089, 0.56710284948349, -0.15239255130290985, -0.05389415845274925, 0.9751918315887451, -0.33131155371665955, -0.25730425119400024, -0.1774733066558838, 0.9535049796104431, 0.3351869583129883, -0.049894191324710846, -0.4075767993927002, 0.045607663691043854, -0.2918691635131836, -0.2724810838699341, 0.3280927538871765, 0.44015106558799744, 0.13594986498355865, 0.14363844692707062, 0.4784126281738281, 0.32207053899765015, -0.10538593679666519, 0.02256767451763153, 0.6068019866943359, -0.4717799723148346, -0.01489370595663786, -1.019131064414978, 0.5108402371406555, -0.20782232284545898, -0.368306964635849, 1.1117963790893555, 0.7636703252792358, 0.6667996644973755, -0.36854279041290283, 0.8969065546989441, 0.024221619591116905, 0.46609824895858765, -0.32497790455818176, 0.8366076946258545, -0.3851144313812256, 0.02155441790819168, -0.05104327201843262, -0.8596062064170837, -0.7303516268730164, 0.2993467152118683, -0.3935558795928955, -0.19222117960453033, 0.5697384476661682, 0.342593252658844, -0.10083653777837753, -0.21675704419612885, 0.5243879556655884, 0.2386818677186966, 0.04754600301384926, -0.04373571649193764, 0.6533950567245483, -0.37964165210723877, 0.15786507725715637, -0.19645456969738007, -0.09436221420764923, -0.37250953912734985, -1.1000356674194336, -0.8423421382904053, -0.054493628442287445, -0.7382804155349731, -0.10625013709068298, 0.25512170791625977, 0.7092105746269226, 0.5272889137268066, -0.9594552516937256, -0.09459728747606277, 0.25242334604263306, 0.13765747845172882, -0.11643677949905396, -0.23869895935058594, 0.37523505091667175, -0.3595127761363983, -0.5154232978820801, 0.23337480425834656, 0.6783674955368042, -0.10455824434757233, -0.16670463979244232, 0.33933064341545105, -0.018222259357571602, 0.5133330821990967, 0.8952509164810181, 0.3116382360458374, -0.48973584175109863, -0.33091670274734497, -0.04737508296966553, -0.3216515779495239, 0.10965811461210251, 0.6924818754196167, -0.6240789890289307, 0.19197599589824677, 0.3562864363193512, 0.7306655645370483, 0.30592218041419983, 0.21326865255832672, 0.3664608299732208, -1.025178074836731, -0.1798110455274582, 0.06810778379440308, 0.27361196279525757, 0.37823328375816345, -0.33527594804763794, 0.5517735481262207, 0.6567740440368652, -0.4921489655971527, -0.8113733530044556, -0.0466381274163723, -0.9753729701042175, -0.20399250090122223, 1.1754881143569946, -0.4971635043621063, -0.39385613799095154, -0.19926345348358154, 0.02889653667807579, 0.4072573781013489, -0.12323762476444244, 0.8820032477378845, 0.5462732911109924, -0.23427988588809967, 0.15535522997379303, -0.6916458606719971, 0.30744099617004395, 0.10845484584569931, -0.9107692837715149, 0.08347102254629135, 0.7440619468688965, 0.5959080457687378, 0.3062364161014557, 0.8482259511947632, -0.21597592532634735, 0.3476521372795105, -0.12775291502475739, 0.15818960964679718, -0.10164637863636017, -0.25453418493270874, -0.4291530251502991, 0.22229142487049103, -0.2599358558654785, 0.0583929717540741 ]
http://arxiv.org/abs/2402.03507v1
http://arxiv.org/pdf/2402.03507v1
Neural networks for abstraction and reasoning: Towards broad generalization in machines
2024-02-05T20:48:57
2024-02-05T20:48:57
Mikel Bober-Irizar, Soumya Banerjee
cs.AI
cs.AI, cs.CL, cs.LG
For half a century, artificial intelligence research has attempted to reproduce the human qualities of abstraction and reasoning - creating computer systems that can learn new concepts from a minimal set of examples, in settings where humans find this easy. While specific neural networks are able to solve an impressive range of problems, broad generalisation to situations outside their training data has proved elusive.In this work, we look at several novel approaches for solving the Abstraction & Reasoning Corpus (ARC), a dataset of abstract visual reasoning tasks introduced to test algorithms on broad generalization. Despite three international competitions with $100,000 in prizes, the best algorithms still fail to solve a majority of ARC tasks and rely on complex hand-crafted rules, without using machine learning at all. We revisit whether recent advances in neural networks allow progress on this task. First, we adapt the DreamCoder neurosymbolic reasoning solver to ARC. DreamCoder automatically writes programs in a bespoke domain-specific language to perform reasoning, using a neural network to mimic human intuition. We present the Perceptual Abstraction and Reasoning Language (PeARL) language, which allows DreamCoder to solve ARC tasks, and propose a new recognition model that allows us to significantly improve on the previous best implementation.We also propose a new encoding and augmentation scheme that allows large language models (LLMs) to solve ARC tasks, and find that the largest models can solve some ARC tasks. LLMs are able to solve a different group of problems to state-of-the-art solvers, and provide an interesting way to complement other approaches. We perform an ensemble analysis, combining models to achieve better results than any system alone. Finally, we publish the arckit Python library to make future research on ARC easier.
[ -0.2763972580432892, -0.6625387668609619, 0.6172573566436768, 0.1940932720899582, 0.17047399282455444, 0.23259446024894714, -0.3360818326473236, -0.6091008186340332, 0.18397705256938934, 0.43479397892951965, -0.32736578583717346, -0.4677306115627289, -0.6197695732116699, 0.08471734076738358, -0.6238786578178406, 0.3062126040458679, -0.26614996790885925, -0.02428743988275528, -0.29649439454078674, -0.15177427232265472, -0.26709434390068054, -0.6505936980247498, -0.7830222845077515, -0.5499086380004883, 0.38368985056877136, 0.23835666477680206, 0.5228528380393982, 0.4017738401889801, 0.6218761205673218, 0.3436741232872009, -0.14454346895217896, 0.2852870225906372, 0.00632953317835927, 0.05115485191345215, -0.23206230998039246, -0.6515464186668396, -0.2960270643234253, -0.5880540013313293, 0.23559381067752838, 1.1625511646270752, 0.2102600485086441, -0.06536994874477386, -0.11273960024118423, 0.8448869585990906, -0.8514872789382935, 0.35608184337615967, -0.4566957950592041, 0.36316007375717163, 0.15923431515693665, 0.258300244808197, -0.37142911553382874, -0.2187182605266571, 0.08136463910341263, -0.6488288640975952, 0.07683787494897842, -0.00008889060700312257, 0.6748329401016235, 0.2144150286912918, -0.07592178881168365, -0.24691727757453918, -1.0821127891540527, 0.8314223885536194, -0.3663055896759033, 0.05696070194244385, 0.186722531914711, 0.2760731875896454, -0.026281973347067833, -0.9280145168304443, -0.4186897575855255, -0.07669481635093689, 0.16361302137374878, -0.07338321208953857, -0.7488789558410645, 0.3320840299129486, 0.213308185338974, 0.2336135357618332, -0.4854968786239624, 0.08375532925128937, -0.28747573494911194, -0.26714372634887695, 0.8082556128501892, 0.3387773334980011, 0.5142483115196228, 0.2589006721973419, 0.12533210217952728, 0.12130662053823471, -0.5045154690742493, 0.12089706212282181, 0.198715940117836, -0.02214532531797886, 0.15231317281723022, 0.47257718443870544, -0.47345349192619324, 0.7156760692596436, -0.16328290104866028, 0.5166406631469727, 0.1579229235649109, -0.14664293825626373, -0.20269791781902313, -0.02388846129179001, 0.7025800943374634, 0.07112937420606613, 0.78936368227005, -0.37268075346946716, -0.2996246814727783, 0.5092617869377136, 0.06146137788891792, -0.30803051590919495, -0.45014089345932007, 0.38377946615219116, -0.6395967602729797, -0.12418163567781448, -0.30254697799682617, -0.24703636765480042, -0.2901008725166321, -0.8579537272453308, 0.3176892399787903, -0.48955923318862915, -0.48828762769699097, 0.45594653487205505, -0.24503692984580994, 0.17237518727779388, 0.4198816418647766, -0.91563481092453, 0.407230019569397, 0.72508704662323, 0.6672788262367249, -0.2750285565853119, -0.31133776903152466, 0.23076578974723816, -0.08072035014629364, -0.7112820148468018, 0.7313935160636902, -0.6656737923622131, 0.07764710485935211, -0.20059330761432648, -0.46542081236839294, -0.0932503342628479, -0.6939173340797424, 0.2852114737033844, -0.3992132544517517, -0.21425527334213257, 0.05028850585222244, -0.49370965361595154, -0.3531554639339447, 0.2906239926815033, -0.5802369117736816, 0.36338716745376587, -0.20341995358467102, -0.5039283037185669, -0.17447873950004578, -0.9491033554077148, -0.5130073428153992, -0.2459288239479065, -0.18940263986587524, -0.06592828035354614, 0.2640526592731476, 0.3832608759403229, 0.40184128284454346, -0.14482098817825317, 0.28124260902404785, -0.16941070556640625, -0.5686509013175964, 0.12617792189121246, -0.3399771749973297, 0.7607222199440002, 0.3621228039264679, -0.33698225021362305, 0.2528011202812195, -0.46084073185920715, 0.20785373449325562, 0.23370704054832458, 0.04649829491972923, -0.15962472558021545, -0.04845070838928223, -0.2744331657886505, -0.09766203165054321, 0.14278516173362732, -0.3922673463821411, 0.13167722523212433, -0.4330815076828003, 0.7983617186546326, 0.6078138947486877, -0.19714577496051788, 0.5930679440498352, -0.08886422216892242, 0.2213107794523239, 0.16237105429172516, 0.061375394463539124, -0.1698191910982132, -0.6621181964874268, -1.0228159427642822, 0.16253899037837982, 0.3938952386379242, 0.5125325918197632, -0.6181811690330505, 0.3967733085155487, -0.16356751322746277, -0.10299495607614517, -0.30708906054496765, -0.14865346252918243, 0.17882274091243744, 0.2788639962673187, 0.4064662456512451, -0.19144076108932495, -0.8310217261314392, -1.0022238492965698, -0.29856711626052856, -0.14684054255485535, -0.17155231535434723, 0.3454362154006958, 0.5195983052253723, -0.24139834940433502, 1.081633448600769, -0.3538447916507721, -0.04608885571360588, -0.4374285638332367, 0.15755772590637207, 0.34801778197288513, 0.49536827206611633, 0.044989701360464096, -0.9446918964385986, -0.016702238470315933, 0.2510296106338501, -1.3442184925079346, 0.28980737924575806, -0.07015331834554672, 0.07543089240789413, -0.08662068843841553, 0.5190130472183228, -0.4993954300880432, 0.585758626461029, 0.2988486588001251, -0.10426919162273407, 0.764519214630127, -0.11539319157600403, -0.18191760778427124, -0.47106534242630005, 0.06772452592849731, 0.027393817901611328, 0.03843529522418976, -0.6772662401199341, 0.09451824426651001, -0.1912558227777481, -0.23533691465854645, -0.3159770667552948, 0.5015523433685303, -0.4492128789424896, -0.13586242496967316, -0.43431854248046875, -0.18595637381076813, -0.049890708178281784, 0.7422026991844177, 0.32978081703186035, 0.3630543351173401, 1.0597095489501953, -0.7594555616378784, 0.7638662457466125, 0.09083276987075806, -0.1628560721874237, 0.14296463131904602, -0.7831826210021973, 0.19040238857269287, -0.46822863817214966, 0.2452826201915741, -0.7805435061454773, -0.1447317749261856, 0.30316418409347534, -0.4421238899230957, 0.008186682127416134, -0.09717841446399689, -0.016910512000322342, -0.5682869553565979, 0.18240006268024445, 0.6492180824279785, 0.5649339556694031, -0.3813228905200958, 1.0128021240234375, 0.10804980993270874, -0.021068954840302467, -0.8126285076141357, -0.9391775131225586, 0.5268422365188599, 0.09746196866035461, -0.7231000065803528, 0.24836260080337524, 0.09658819437026978, -0.6611887216567993, 0.1480918526649475, -0.17760500311851501, -0.4027106463909149, 0.0937284305691719, 0.07356711477041245, 0.04755297675728798, -0.5016986727714539, 0.08691521733999252, 0.19365781545639038, -0.18374009430408478, 0.2541542649269104, -0.700663685798645, 0.5077772736549377, -0.6309312582015991, -0.5716871023178101, -0.5620347857475281, 0.3717736601829529, 0.23476295173168182, -0.3526057004928589, 0.32023680210113525, 0.24024024605751038, -0.5037092566490173, -0.331758588552475, -0.43931588530540466, -0.25960156321525574, -0.4011741578578949, 0.45918095111846924, -0.6642332673072815, -0.530288815498352, 0.43879806995391846, -0.46898168325424194, -0.07524491101503372, 0.3761483132839203, 0.49287933111190796, -0.26717522740364075, 0.9674658179283142, 0.5135163068771362, -0.0708598867058754, 0.2194390594959259, -0.869030773639679, 0.10163741558790207, -0.732438862323761, -0.3396146297454834, -0.18768461048603058, -0.9962827563285828, 0.14463253319263458, -0.2153182476758957, 0.010833349078893661, 0.33938169479370117, -0.33838531374931335, 0.24345137178897858, -0.8074094653129578, 0.9035394191741943, 0.5854429602622986, 0.2065306305885315, 0.4760337173938751, -0.039183344691991806, -0.2793167531490326, 0.49897465109825134, -0.6942963004112244, -0.3829647898674011, 1.3021223545074463, 0.10289620608091354, 0.6529213786125183, -0.30724841356277466, 0.622586727142334, 0.31383052468299866, 0.13559959828853607, -0.6461002826690674, 0.6864655017852783, -0.16372150182724, -0.4149804711341858, -0.27005207538604736, -0.36154845356941223, -1.1322753429412842, 0.25824928283691406, 0.025391260161995888, -0.8823570013046265, 0.4245666563510895, 0.028570333495736122, -0.22214722633361816, 0.6644193530082703, -0.8780867457389832, 0.6438244581222534, -0.24333789944648743, -0.11950088292360306, -0.2545411288738251, -0.7326831221580505, 0.45719003677368164, 0.33540230989456177, 0.03876165300607681, -0.17333491146564484, -0.05869774520397186, 0.41367825865745544, -0.16122221946716309, 0.923707902431488, -0.10803645104169846, 0.34731292724609375, 0.505150556564331, 0.05667145550251007, 0.20565453171730042, -0.22088639438152313, -0.15749071538448334, 0.39550235867500305, -0.45001664757728577, -0.4913504421710968, -0.6671533584594727, 0.4991660714149475, -0.7487308382987976, -0.5385029911994934, -0.19384843111038208, -0.7129772901535034, -0.1756054311990738, 0.13862495124340057, 0.2884458303451538, 0.40942102670669556, -0.12302732467651367, -0.11788901686668396, 0.8989623188972473, 0.14452411234378815, 0.6950482726097107, -0.2497597336769104, -0.24600142240524292, -0.04375810548663139, 0.9918813705444336, -0.2602642774581909, 0.027802832424640656, 0.3127728998661041, 0.13561886548995972, -0.1668016016483307, -0.854829728603363, -0.5185332298278809, 0.04221322014927864, -0.7804458737373352, -0.05397701635956764, -0.5564633011817932, -0.5761541724205017, -0.004223502241075039, -0.13965186476707458, -0.23675793409347534, -0.8253167271614075, -0.21096038818359375, 0.10126019269227982, 0.007279707118868828, 0.8160001635551453, -0.07182157784700394, -0.12617966532707214, -0.31301257014274597, 0.448462575674057, 0.3258819580078125, 0.18457014858722687, 0.3636264503002167, -0.08113548159599304, -0.014891164377331734, 0.18011486530303955, -0.24042250216007233, -0.3321860134601593, 0.059739675372838974, 0.026813331991434097, 0.6012210845947266, 0.33695918321609497, -0.2191902995109558, 0.32253608107566833, -0.41816088557243347, 0.6757272481918335, 0.3765198290348053, -0.8851388692855835, 0.5969041585922241, 0.019624246284365654, 0.14782975614070892, 0.2138521522283554, 0.4276946485042572, -0.49905288219451904, -0.2587289810180664, -0.546319305896759, -0.6561304330825806, 0.36734095215797424, 0.43115442991256714, 0.1794380396604538, 0.30346328020095825, 0.5117226839065552, -0.10172330588102341, -0.008618789725005627, -0.43922752141952515, -0.3349159061908722, -0.3118569254875183, -0.45693227648735046, 0.21855518221855164, 0.44499364495277405, -0.05976305529475212, -0.4459347724914551, 0.26606130599975586, -0.25527122616767883, 0.42533180117607117, 0.2639125883579254, -0.17589887976646423, 0.24783022701740265, 0.23320382833480835, 0.3375367820262909, 0.7193632125854492, 0.31164270639419556, 0.07112681865692139, 0.18167081475257874, -0.24040712416172028, 0.3020312190055847, -0.12578965723514557, -0.23959678411483765, -0.03496227040886879, 0.4618092179298401, 0.8089325428009033, -0.2291262000799179, -0.8146094679832458, 0.4044325351715088, -0.11276400089263916, -0.5270178914070129, -0.3983858525753021, 0.34771472215652466, 0.2712863087654114, 0.31799212098121643, 0.3643737733364105, 0.8177899718284607, 0.2718380391597748, -0.35571539402008057, -0.08375753462314606, 0.4815572500228882, -0.30176258087158203, -0.2677749991416931, 0.6955235004425049, 0.19949716329574585, -0.4337629973888397, 0.8148460984230042, 0.023051684722304344, -0.35714492201805115, 1.0822259187698364, 0.408810019493103, 0.9246672987937927, 0.15575526654720306, -0.007245086599141359, 0.16434352099895477, 0.1802077740430832, -0.2619284987449646, 0.3218192756175995, -0.057645440101623535, -1.0993939638137817, -0.6360679268836975, -0.43934643268585205, -0.5867738127708435, -0.03990897908806801, -0.1499883234500885, -0.07229531556367874, -0.6928941607475281, -0.02272149920463562, 0.06624551117420197, -0.486346036195755, -0.6283257007598877, 0.2376977503299713, 0.630237340927124, 0.9126730561256409, -0.6080911159515381, 0.6197814345359802, 0.7311050295829773, -0.5168656706809998, -0.8403734564781189, -0.34667113423347473, -0.28817862272262573, -0.8160272240638733, 0.7390291690826416, 0.1180458664894104, -0.048439912497997284, -0.052612025290727615, -0.7729412317276001, -0.7297720909118652, 0.8175468444824219, 0.6174631714820862, -0.5820929408073425, -0.5071468353271484, 0.1884623020887375, 0.5061907172203064, -0.4588809907436371, 0.39398249983787537, 0.7817710638046265, 0.4858621656894684, 0.21879462897777557, -0.7728155851364136, -0.32648080587387085, -0.47458019852638245, 0.09005770087242126, 0.02972337231040001, -0.36930960416793823, 0.8597530722618103, -0.4577632546424866, 0.12265145033597946, 0.4231293201446533, 0.8199974298477173, 0.14771214127540588, 0.4369928240776062, 0.26487210392951965, 0.7453108429908752, 0.8550816774368286, -0.3892759382724762, 1.1602494716644287, 0.046817321330308914, 0.03215000778436661, 0.7279012799263, -0.08383399248123169, 0.6204426288604736, 0.30208101868629456, -0.2335263043642044, 0.9202242493629456, 0.3184686005115509, 0.05908665060997009, 0.07796546816825867, 0.6486610174179077, -0.3943600654602051, -0.4676361083984375, 0.12280263006687164, -0.21426089107990265, 0.40655407309532166, 0.5566439032554626, -0.3699319064617157, -0.06801173090934753, 0.4774801433086395, -0.48447152972221375, 0.12194503843784332, -0.9219143390655518, 0.750389814376831, 0.3490869104862213, -0.48109403252601624, 0.6066629886627197, -0.19309382140636444, 0.7489737272262573, -0.5553608536720276, -0.03239811584353447, -0.23421306908130646, 0.5103606581687927, -0.554292619228363, -0.7787377834320068, 0.5049898028373718, -0.21023163199424744, -0.14357778429985046, -0.06854557245969772, 0.9356333613395691, -0.07892822474241257, -0.6278376579284668, 0.0421023815870285, 0.6227355003356934, 0.31558334827423096, -0.3044872581958771, -0.6670327186584473, 0.025529326871037483, -0.15784041583538055, 0.000600869650952518, 0.12464821338653564, 0.38395124673843384, -0.21964256465435028, 1.068724274635315, 0.5647290945053101, 0.22584745287895203, 0.07178696990013123, 0.12806017696857452, 0.9008532762527466, -0.738618016242981, -0.316333144903183, -0.7576701045036316, 0.3435565233230591, -0.09678487479686737, -0.18958429992198944, 0.2836012542247772, 0.48556607961654663, 0.7140771150588989, -0.07795581966638565, 0.9857264161109924, 0.04931727796792984, 0.07963883876800537, -0.44774019718170166, 0.5581446290016174, -0.3451424241065979, 0.20443791151046753, -0.1910782903432846, -0.7976255416870117, -0.8467110395431519, 0.663998544216156, -0.4576202929019928, -0.05806313827633858, 0.6570560336112976, 0.548565685749054, -0.3007948696613312, 0.5151808857917786, 0.2250543236732483, 0.052673712372779846, 0.10452732443809509, 1.0910799503326416, 1.2194933891296387, -0.2615779936313629, 0.7745690941810608, -0.18345311284065247, -0.08404280245304108, 0.0889052301645279, -0.5569652915000916, -0.6922463774681091, -0.35843318700790405, -0.2788686156272888, -0.14099843800067902, 0.35363927483558655, 0.7144138216972351, 0.843823254108429, -0.9663953185081482, -0.4014660716056824, -0.692017674446106, 0.40862685441970825, -0.6452834010124207, -0.17776426672935486, 0.3894451856613159, -0.575311005115509, -0.6577372550964355, 0.46496036648750305, 0.32487303018569946, -0.20813727378845215, -0.14654317498207092, -0.1945992261171341, 0.11601883918046951, -0.1030530333518982, 0.4861947000026703, 0.5972582101821899, -0.8379998207092285, -0.057510435581207275, 0.09106187522411346, 0.11272955685853958, 0.30274736881256104, 0.9191678166389465, -1.0900933742523193, 0.28254395723342896, 0.4116671681404114, 0.9410446286201477, 0.6279541850090027, -0.2278364598751068, 0.48689979314804077, -0.4543580710887909, 0.12737569212913513, 0.8504579663276672, 0.6249431371688843, 0.1050320714712143, -0.13831692934036255, 0.5025733709335327, 0.29311293363571167, -0.26290011405944824, -0.3304949998855591, 0.39089542627334595, -0.6847368478775024, -0.6187489628791809, 0.880433976650238, -0.011214504018425941, -0.4540722966194153, -0.43243208527565, -0.1694108545780182, -0.13546870648860931, -0.24388961493968964, 0.535618782043457, 0.5596538782119751, -0.8892236351966858, -0.3039715886116028, 0.052893344312906265, 0.15284158289432526, 0.5802132487297058, -0.8286662101745605, -0.12220045924186707, 0.25551918148994446, 0.16051016747951508, 0.4795348644256592, 0.48702195286750793, 0.02140820026397705, 0.5345567464828491, 0.06859799474477768, 0.14792415499687195, -0.4142879843711853, -0.5708510279655457, -0.4705466330051422, 0.43128159642219543, -0.051943376660346985, -0.22582045197486877 ]
http://arxiv.org/abs/2402.03501v1
http://arxiv.org/pdf/2402.03501v1
An Inpainting-Infused Pipeline for Attire and Background Replacement
2024-02-05T20:34:32
2024-02-05T20:34:32
Felipe Rodrigues Perche-Mahlow, André Felipe-Zanella, William Alberto Cruz-Castañeda, Marcellus Amadeus
cs.CV
cs.CV, cs.AI, cs.CL
In recent years, groundbreaking advancements in Generative Artificial Intelligence (GenAI) have triggered a transformative paradigm shift, significantly influencing various domains. In this work, we specifically explore an integrated approach, leveraging advanced techniques in GenAI and computer vision emphasizing image manipulation. The methodology unfolds through several stages, including depth estimation, the creation of inpaint masks based on depth information, the generation and replacement of backgrounds utilizing Stable Diffusion in conjunction with Latent Consistency Models (LCMs), and the subsequent replacement of clothes and application of aesthetic changes through an inpainting pipeline. Experiments conducted in this study underscore the methodology's efficacy, highlighting its potential to produce visually captivating content. The convergence of these advanced techniques allows users to input photographs of individuals and manipulate them to modify clothing and background based on specific prompts without manually input inpainting masks, effectively placing the subjects within the vast landscape of creative imagination.
[ -0.32881900668144226, -0.48572230339050293, 0.5850116014480591, 0.059157293289899826, -0.40146464109420776, 0.7344338297843933, 0.0011728712124750018, -0.6979852318763733, 0.28524187207221985, 0.6378232836723328, -0.8903403878211975, -0.3459201455116272, -0.494706392288208, -0.16881881654262543, -0.46827611327171326, 0.5917201638221741, -0.13229522109031677, -0.3049886226654053, -0.2535141110420227, -0.15237030386924744, -0.7719952464103699, -0.1887780874967575, -0.370579332113266, -0.4369139075279236, 0.18699423968791962, 0.5201454758644104, 0.7651748657226562, 0.23185783624649048, 0.44212108850479126, 0.29934388399124146, 0.11455287784337997, 0.4993686079978943, -0.40703293681144714, 0.34483033418655396, -0.3200163245201111, -0.38497722148895264, 0.036524079740047455, 0.22836890816688538, 0.2906718850135803, 0.44553685188293457, 0.05866442248225212, 0.07638894021511078, 0.4464802145957947, 0.9035089612007141, -0.9899075627326965, -0.2577846944332123, -0.39639464020729065, 0.28105831146240234, -0.4912012815475464, -0.5463405251502991, 0.0725923404097557, 0.24140089750289917, -0.24287772178649902, -0.7817902565002441, 0.3532986044883728, -0.31359025835990906, 0.5810962319374084, 0.5663373470306396, 0.07040926814079285, -0.11362433433532715, -1.0682121515274048, 0.4335736036300659, -0.4817235767841339, 0.44118455052375793, 0.3402308225631714, 0.3895566761493683, 0.1534891277551651, -0.9700934886932373, -0.5376472473144531, 0.2578568458557129, -0.28662896156311035, 0.45585864782333374, 0.17200793325901031, -0.12283115088939667, 0.3486645221710205, 0.6339160203933716, -0.48387399315834045, 0.0009334423230029643, -0.24421003460884094, 0.170149564743042, 0.6231321096420288, 0.20288245379924774, 0.856222927570343, 0.054153554141521454, -0.4273471236228943, -0.10896942019462585, -0.4915141761302948, -0.11412730813026428, 0.38126087188720703, -0.21557001769542694, -0.039818789809942245, 0.5560188293457031, -0.45295462012290955, 0.8000539541244507, 0.1726730465888977, -0.26102522015571594, -0.015464488416910172, -0.2960584759712219, -0.6189133524894714, -0.10492239892482758, 0.36383575201034546, 0.6730203628540039, -0.18714219331741333, -0.4578178822994232, -0.10651306062936783, 0.11070606857538223, 0.35607844591140747, -0.6234816908836365, -0.3060697615146637, 0.34941914677619934, -0.4001478850841522, -0.3320337235927582, 0.4193461537361145, -0.8737075328826904, -0.6116489768028259, -0.7771045565605164, 0.35257479548454285, -0.33340778946876526, -0.06882105767726898, -0.17444473505020142, -0.6727200746536255, 0.590817928314209, 0.6761412620544434, -0.7761034369468689, -0.22195614874362946, 0.5991710424423218, 1.0016893148422241, -0.10339248925447464, 0.10633544623851776, -0.1443321704864502, 0.47781386971473694, -0.7056976556777954, 0.5031259655952454, -0.6666485667228699, -0.3426336646080017, -0.09168815612792969, 0.0011159373680129647, 0.3611922264099121, -0.606533408164978, 0.14902529120445251, -0.6776788830757141, 0.15570379793643951, 0.07139571011066437, -0.2528194189071655, -0.09557026624679565, 0.09607835114002228, -0.7082561254501343, 0.6468816995620728, 0.27936309576034546, -0.4553590714931488, 0.3914077877998352, -0.791007936000824, -0.34180331230163574, 0.5961017608642578, 0.000047235811507562175, -0.5708301067352295, -0.0801469013094902, 0.35914453864097595, 0.11132892966270447, 0.2026687115430832, -0.04046877101063728, -0.08951493352651596, -0.8806220293045044, 0.17842726409435272, -0.029476314783096313, 0.9048149585723877, 0.23247091472148895, -0.3447408676147461, 0.12640932202339172, -0.6217984557151794, -0.3611343204975128, -0.16768640279769897, 0.06098470464348793, -0.2105199545621872, -0.3350728154182434, 0.26903507113456726, 0.11616095155477524, 0.43151265382766724, -0.6137081980705261, 0.11032616347074509, -0.2556688189506531, 0.45101794600486755, 0.8318967819213867, 0.18852946162223816, 1.0632416009902954, -0.5791228413581848, 0.5697017908096313, -0.40417221188545227, 0.32462865114212036, -0.43245717883110046, -0.700808048248291, -0.7079867720603943, -0.4901060461997986, -0.19470703601837158, 0.6503168344497681, -1.1619513034820557, 0.09564492106437683, 0.21065619587898254, -0.5991142392158508, -0.1870567947626114, 0.06646658480167389, 0.0819249227643013, 0.4707486033439636, 0.3541052043437958, -0.4801444709300995, -0.7181708216667175, -0.4845049977302551, -0.2981690466403961, 0.22291097044944763, -0.5936093926429749, -0.018990781158208847, 0.14588001370429993, -0.5224563479423523, 0.9056158661842346, -0.2108580619096756, -0.4527705907821655, 0.22999703884124756, 0.13189782202243805, 0.40768247842788696, 1.0703365802764893, 0.44948485493659973, -0.8549457788467407, -0.6127225756645203, 0.11484581977128983, -1.0308698415756226, 0.04617847502231598, -0.43548548221588135, -0.36115384101867676, -0.04285123199224472, 0.7311114072799683, -0.22566582262516022, 0.9028056859970093, 0.30561935901641846, -0.010816212743520737, 0.47535595297813416, -0.1319943517446518, 0.5888599753379822, -0.7686092257499695, -0.03847586363554001, 0.09865162521600723, -0.24636957049369812, -0.8867928385734558, 0.7584601640701294, -0.1038319319486618, -0.6781399250030518, -0.3919491171836853, 0.5698263049125671, -0.6305191516876221, 0.03397670015692711, -0.3781248927116394, -0.5421486496925354, 0.31598880887031555, 0.6037533283233643, -0.27921879291534424, 0.754628598690033, 0.562152624130249, -0.5477399230003357, 0.7155890464782715, 0.405971884727478, -0.6249922513961792, 0.8341421484947205, -0.557934582233429, 0.9370336532592773, -0.35011518001556396, 0.28857511281967163, -1.1590603590011597, -0.6869731545448303, 0.9987044930458069, -0.08124958723783493, 0.4229818880558014, -0.5883945226669312, -0.6807745695114136, -0.035310301929712296, -0.3148391842842102, 0.7617911100387573, 0.8073495626449585, -0.8177318572998047, 1.042220950126648, 0.23618920147418976, -0.15851469337940216, -0.2240026593208313, -0.9497659802436829, 0.6050395965576172, -0.7799710035324097, -0.633537232875824, 1.0484416484832764, -0.152875155210495, -0.34034717082977295, -0.2920873463153839, 0.14766846597194672, -0.12454453110694885, -0.03045991249382496, 0.07043186575174332, 0.6450368165969849, 0.2310715615749359, -0.2277166098356247, 0.09137637168169022, 0.23905296623706818, -0.28711608052253723, -0.30579203367233276, 0.42732104659080505, 0.42464253306388855, -0.5041549801826477, -0.6461665034294128, 0.5663796663284302, 0.6513180136680603, -0.22445321083068848, 0.3442881405353546, 0.5191747546195984, -0.47816789150238037, 0.19476564228534698, -0.5594228506088257, -0.02245926856994629, -0.49304917454719543, 0.00304132211022079, -0.17275571823120117, -0.4421321153640747, 0.6400676369667053, -0.12793715298175812, 0.15292680263519287, 0.27525538206100464, 0.31425032019615173, -0.607616126537323, 0.8328662514686584, 0.5587816834449768, 0.3498774766921997, 1.0124123096466064, -0.6458914875984192, -0.02296432852745056, -1.189370036125183, -0.38188689947128296, -0.008186315186321735, -0.9399267435073853, -0.576558530330658, -0.7535443902015686, 1.0054973363876343, -0.02471659518778324, -0.29033342003822327, 0.24566428363323212, -0.6071590185165405, 0.7421836256980896, 0.6658931374549866, 1.1111901998519897, 0.31623733043670654, 0.14031225442886353, 0.7184197902679443, -0.011916762217879295, -0.2854878008365631, -0.19968238472938538, 1.0596789121627808, -0.03383259102702141, 0.8158777952194214, 0.09229335188865662, 0.4731665551662445, 0.3417529761791229, 0.4147421419620514, -0.6131258010864258, 0.32501140236854553, -0.45015060901641846, -0.04701180011034012, -0.4861659109592438, 0.19642052054405212, -0.5351306796073914, -0.013429171405732632, -0.3336295485496521, -0.5193973779678345, 0.7740767598152161, 0.2193935364484787, -0.16226837038993835, 0.5453252196311951, -0.3780270516872406, 0.15486550331115723, 0.019205331802368164, -0.6862918138504028, -0.3933543562889099, -0.7359651923179626, 0.43248993158340454, -0.030878106132149696, -0.07633895426988602, 0.16491667926311493, -0.09378503262996674, 0.5205597281455994, -0.41683313250541687, 0.799842894077301, -0.00341564929112792, -0.07513777166604996, 0.05727900192141533, -0.11142441630363464, 0.4191742241382599, -0.12673085927963257, -0.07160168141126633, 0.42225465178489685, -0.6546172499656677, -0.4756510555744171, -0.8883782029151917, 0.4209217429161072, -0.37155818939208984, -0.5627517700195312, -0.0770077109336853, -0.7184547781944275, -0.2746463418006897, -0.14292454719543457, 0.4310421645641327, 0.6563835740089417, -0.24306343495845795, 0.09195923060178757, 0.5437195301055908, -0.3130766749382019, 0.5486661195755005, -0.30443882942199707, 0.017115725204348564, -0.34954285621643066, 0.7733937501907349, 0.1612878292798996, 0.1589273363351822, 0.3234487771987915, 0.1419001966714859, -0.13772636651992798, -0.11607580631971359, -1.0881305932998657, -0.21175511181354523, -0.8237997889518738, -0.09019256383180618, -0.30941519141197205, -0.27571234107017517, -0.24619553983211517, -0.6265937089920044, 0.24318547546863556, -0.18766283988952637, -0.5973408222198486, 0.4285733103752136, 0.17435674369335175, 0.6791176199913025, 0.09329619258642197, 0.14548879861831665, -0.3045971393585205, 0.3414497375488281, 1.1239439249038696, 0.1957632452249527, -0.16231173276901245, -0.5455873608589172, -0.40565916895866394, 0.10801276564598083, -0.310249388217926, -0.7888107895851135, 0.3708515465259552, 0.2944290339946747, 0.4412742257118225, 0.17580921947956085, -0.34348514676094055, 0.8570337891578674, -0.18905127048492432, 0.7294481992721558, 0.19091521203517914, -0.7003195881843567, 0.6332570910453796, -0.42925211787223816, 0.422412246465683, 0.18752393126487732, -0.033044859766960144, -0.5747518539428711, -0.4485808312892914, -0.742631733417511, -0.7208743095397949, 0.18122385442256927, 0.07552443444728851, 0.26783278584480286, 0.5450682044029236, 0.32577070593833923, 0.04580434039235115, 0.38641539216041565, 0.14376631379127502, 0.09896697849035263, -0.6125296950340271, 0.08563225716352463, 0.04637378826737404, 0.17481684684753418, -0.28352388739585876, -0.29779937863349915, 0.5565167665481567, -0.22669671475887299, 0.17781077325344086, 0.06892242282629013, -0.09656640142202377, -0.08202790468931198, -0.01751553826034069, 0.38060322403907776, 0.9927829504013062, 0.00690821697935462, -0.32654982805252075, -0.0091397138312459, -0.12412981688976288, 0.09359253197908401, 0.01315992046147585, -0.3415362536907196, -0.03551923856139183, 0.22355546057224274, 0.8068683743476868, -0.05480007827281952, -0.4700739085674286, 0.27565979957580566, 0.3589631915092468, 0.19480545818805695, -0.374541312456131, 0.06766402721405029, -0.35172611474990845, 0.22503706812858582, 0.6269775629043579, 0.6901944279670715, 0.5497222542762756, -1.130063533782959, 0.12562032043933868, 0.5302072167396545, -0.24025075137615204, -0.10728064924478531, 0.7746766209602356, 0.07458140701055527, -0.47093120217323303, 0.6489120125770569, 0.2611144781112671, -0.2518230676651001, 0.7041087746620178, 0.1872950792312622, 0.9943610429763794, -0.19843198359012604, 0.3222276568412781, 0.3020555377006531, -0.16803748905658722, 0.11448778957128525, -0.16569086909294128, -0.12980704009532928, -0.8712520599365234, -0.44730037450790405, -0.3085234761238098, -0.6585479974746704, 0.09196785092353821, -0.26000577211380005, 0.2981621325016022, -0.6225482225418091, 0.4202558398246765, -0.31085100769996643, -0.6809879541397095, -0.6865682601928711, 0.4197165369987488, 0.27535152435302734, 0.43266069889068604, -0.8955036401748657, 0.2806270718574524, 0.801264226436615, -0.5987767577171326, -0.4006350338459015, 0.44993770122528076, -0.11470240354537964, -0.7707512378692627, 0.4516509473323822, 0.08200110495090485, -0.12352517247200012, -0.0640583485364914, -1.0425137281417847, -0.5502305030822754, 1.0219072103500366, 0.37742528319358826, -0.4274817109107971, -0.12940965592861176, -0.16231466829776764, 0.4132647216320038, -0.3696828782558441, -0.037619590759277344, 0.702214241027832, 0.4557899832725525, 0.5680472254753113, -0.3833046555519104, -0.3781883716583252, -0.4805167019367218, 0.3987353444099426, 0.019038384780287743, -0.5274872779846191, 0.8078988194465637, 0.09959637373685837, -0.5380432605743408, 0.48740047216415405, 0.5181363821029663, 0.3675047755241394, 0.5141115784645081, 0.8425129055976868, 0.8340402841567993, 0.5352038145065308, -0.15351714193820953, 0.8420444130897522, -0.10394883155822754, 0.06912070512771606, 0.8293805718421936, 0.2655077576637268, 0.28008654713630676, 0.2906070053577423, -0.0673922523856163, 1.0551598072052002, 0.5066046714782715, 0.03762781247496605, 0.7663666605949402, 0.051670461893081665, -0.6963401436805725, 0.00023860608052928, -0.17587950825691223, -0.17888185381889343, 0.6807205080986023, 0.22527533769607544, -0.1811889111995697, 0.10196687281131744, 0.3770855665206909, -0.11781033128499985, 0.18704359233379364, -0.515924334526062, 1.0274536609649658, -0.4446299374103546, -0.5458155274391174, 0.4272710978984833, -0.209106907248497, 0.7760040163993835, -0.40778639912605286, -0.7777363061904907, -0.3635927140712738, -0.30495837330818176, -0.3607993721961975, -1.0799787044525146, 0.5036330819129944, -0.13030418753623962, 0.07871589809656143, -0.665329098701477, 1.0759913921356201, -0.3958587050437927, -0.5461281538009644, -0.27821025252342224, 0.17887349426746368, 0.06637625396251678, -0.4350952208042145, -0.34355947375297546, 0.04512685909867287, -0.24641937017440796, 0.3925658166408539, 0.20034345984458923, 0.20058275759220123, -0.02086980640888214, 0.3062528669834137, 0.8917291760444641, -0.18116751313209534, -0.3841685950756073, 0.22173482179641724, 0.9372892379760742, -0.18713630735874176, -0.8229025602340698, -0.6628100275993347, 0.7977312803268433, -0.274254709482193, 0.013595479540526867, 0.3204873204231262, 0.37365448474884033, 0.8544890284538269, -0.42037203907966614, 0.849105715751648, -0.0858992412686348, -0.02442225255072117, -0.7320737838745117, 0.6569584012031555, -0.593669056892395, 0.12540900707244873, -0.7383283376693726, -0.9174714088439941, -0.23438504338264465, 0.5451174378395081, 0.20648233592510223, -0.05593724921345711, 0.07874274998903275, 0.905314028263092, -0.2909351885318756, -0.22921675443649292, 0.43862786889076233, -0.36744970083236694, 0.26086848974227905, 0.1442430019378662, 0.9571458101272583, -0.3309173583984375, -0.060053106397390366, -0.6255157589912415, -0.7074979543685913, -0.06263682246208191, -0.8431127667427063, -0.26505428552627563, -0.6762420535087585, -0.3499297499656677, -0.18817326426506042, 0.15715530514717102, 0.3575505018234253, 0.9831862449645996, -0.5474438071250916, -0.14518693089485168, -0.19365228712558746, -0.1684761792421341, -0.5897938013076782, -0.28458645939826965, -0.045042283833026886, -0.17462579905986786, -1.050873875617981, 0.82692950963974, 0.8916616439819336, 0.00774384057149291, -0.7664684653282166, 0.20868238806724548, 0.021246669813990593, -0.17899161577224731, 0.7184051275253296, 0.2922469675540924, -0.6982840299606323, -0.30415409803390503, -0.3614768385887146, 0.2500620484352112, 0.30577734112739563, 0.9467301368713379, -1.0863933563232422, 0.8051868677139282, 0.7816838622093201, 0.7469469308853149, 0.6038734912872314, 0.3480902314186096, 0.6366618871688843, -1.0094459056854248, 0.29123446345329285, 0.07003983110189438, 0.35434916615486145, 0.8028204441070557, -0.7420072555541992, 0.809628963470459, 0.4944739043712616, -0.40763700008392334, -0.34094157814979553, 0.43785688281059265, -0.8655074834823608, -0.1813238561153412, 0.5467087626457214, 0.08403103053569794, 0.11274195462465286, -0.25776898860931396, -0.3461703360080719, 0.22900259494781494, 0.12777963280677795, 0.8114258050918579, 0.4120519757270813, -0.2428283840417862, -0.4917183220386505, -0.04548335447907448, 0.230073943734169, -0.013749312609434128, -0.8654694557189941, -0.4720522463321686, 0.39450588822364807, 0.19899660348892212, 0.3420845568180084, 0.5344362258911133, -0.10510644316673279, 0.4016813337802887, -0.44176626205444336, -0.04743683338165283, 0.05174233764410019, -0.3807041347026825, -0.08259128779172897, 0.06992582231760025, -0.5647943615913391, -0.4872814416885376 ]
http://arxiv.org/abs/2402.03485v2
http://arxiv.org/pdf/2402.03485v2
Attention Meets Post-hoc Interpretability: A Mathematical Perspective
2024-02-05T19:56:56
2024-06-17T13:18:30
Gianluigi Lopardo, Frederic Precioso, Damien Garreau
stat.ML
stat.ML, cs.CL, cs.LG
Attention-based architectures, in particular transformers, are at the heart of a technological revolution. Interestingly, in addition to helping obtain state-of-the-art results on a wide range of applications, the attention mechanism intrinsically provides meaningful insights on the internal behavior of the model. Can these insights be used as explanations? Debate rages on. In this paper, we mathematically study a simple attention-based architecture and pinpoint the differences between post-hoc and attention-based explanations. We show that they provide quite different results, and that, despite their limitations, post-hoc methods are capable of capturing more useful insights than merely examining the attention weights.
[ -0.6142030954360962, -0.7789575457572937, 0.8421661853790283, 0.3237011134624481, -0.1151125505566597, -0.39629870653152466, 0.0653853565454483, -0.5511692762374878, -0.0973300114274025, 0.1894368678331375, -0.7926572561264038, 0.14916419982910156, -0.6100484132766724, 0.006307210773229599, -0.575164258480072, 0.9541929960250854, -0.1947237253189087, -0.18325841426849365, -0.5837664604187012, -0.12753045558929443, -0.4572286307811737, -0.182032972574234, -0.41090139746665955, -0.5098928213119507, 0.6697583198547363, 0.1768151819705963, 0.8582723736763, 0.8135830760002136, 0.8444417715072632, 0.3167338967323303, -0.053183771669864655, -0.06600144505500793, -0.41044872999191284, -0.2947268486022949, -0.2927117347717285, -0.5275640487670898, -0.3438647985458374, 0.02250799536705017, 0.26265662908554077, 1.0001881122589111, 0.12230473756790161, 0.5390673279762268, 0.2796383798122406, 0.7825075387954712, -0.5215533375740051, 0.3183068633079529, -0.31802815198898315, 0.12458568066358566, -0.10493245720863342, -0.5681876540184021, -0.4684070348739624, -0.23293353617191315, 0.483111709356308, -0.7397724986076355, 0.35827866196632385, 0.036431536078453064, 0.7015344500541687, 0.7011725902557373, -0.23225091397762299, -0.2396879941225052, -1.1262273788452148, 1.0257481336593628, -0.12272129952907562, 0.6588127613067627, 0.2125219851732254, 0.654035747051239, 0.39068421721458435, -0.8554197549819946, -0.14520318806171417, 0.21599406003952026, -0.29338183999061584, 0.23610153794288635, -0.2479618489742279, -0.16380789875984192, 0.6150897145271301, 0.5452889800071716, -0.5290555357933044, -0.3595612049102783, -0.4320864677429199, -0.19323095679283142, 0.31848713755607605, 0.07983780652284622, 0.0020633265376091003, -0.002624250715598464, -0.5108619928359985, 0.20784801244735718, -0.6960760354995728, 0.34291771054267883, 0.007062634918838739, -0.2094925045967102, -0.3284594416618347, 0.5171716213226318, -0.16184525191783905, 0.6216109991073608, 0.2999231815338135, 0.6031838059425354, -0.2657433748245239, 0.022328538820147514, -0.359906941652298, 0.15155565738677979, 0.32009196281433105, 0.18050065636634827, 0.3748840391635895, -0.2706697881221771, 0.004400753416121006, 0.4598775804042816, 0.8542486429214478, -0.5275375843048096, -0.35213881731033325, 0.2681331932544708, -0.8341981768608093, -0.246469646692276, 0.07360105216503143, -0.9869036078453064, -0.0539572648704052, -0.5775635242462158, 0.48149392008781433, -0.026739606633782387, -0.25486472249031067, 0.2831352949142456, -0.10555607825517654, 0.6591023802757263, 0.4075055420398712, -1.013089895248413, 0.21164493262767792, 1.014621376991272, 0.899667501449585, 0.17009423673152924, -0.03629111126065254, -0.6562798023223877, -0.12748979032039642, -0.29377561807632446, 1.206923484802246, -0.4523649513721466, -0.31578436493873596, -0.013028752990067005, -0.2523132264614105, 0.07235568761825562, -0.4832949638366699, 0.5646803975105286, -0.938786506652832, 0.33160412311553955, -0.43812355399131775, -0.1626688688993454, -0.31505897641181946, -0.04008495807647705, -0.5946492552757263, 1.0390048027038574, 0.16573980450630188, -1.0321792364120483, 0.26773178577423096, -1.0996952056884766, -0.6247392892837524, 0.05827099084854126, -0.056053295731544495, -0.2048584222793579, 0.7620908617973328, 0.11667513102293015, -0.03982909768819809, -0.3736693263053894, -0.012670797295868397, -0.35167524218559265, -0.44527095556259155, 0.4781794548034668, -0.3525271713733673, 0.7292793989181519, 0.29846927523612976, -0.4757848083972931, 0.2176743894815445, -0.6531076431274414, -0.38127613067626953, 0.20372377336025238, 0.22975477576255798, -0.04850084334611893, 0.3366871476173401, -0.4194430708885193, 0.35197553038597107, 0.28351181745529175, -0.3816199004650116, -0.34802934527397156, -0.6851327419281006, 0.7053658962249756, 0.808141827583313, -0.26327791810035706, 0.8162598013877869, -0.601086437702179, 0.5755624771118164, -0.22131620347499847, 0.44295260310173035, -0.4679647982120514, -0.5179868340492249, -0.5796709656715393, -0.010258401744067669, -0.18554043769836426, 0.22475026547908783, -0.7542946934700012, -0.15556734800338745, -0.26236844062805176, -0.4584922194480896, -0.7443919777870178, -0.3963278830051422, 0.2008107304573059, 0.9083303213119507, 0.4151315689086914, -0.16705869138240814, -0.5337676405906677, -0.8282570838928223, -0.8207330107688904, 0.01778385043144226, -0.4046555459499359, 0.6271874308586121, 0.0927865281701088, -0.02729378454387188, 0.8834829330444336, -0.5240522623062134, 0.2280479371547699, -0.07536166161298752, 0.11109256744384766, 0.34794431924819946, 0.024561172351241112, 0.24454949796199799, -0.7731359004974365, -0.2872438132762909, 0.280153751373291, -0.9581790566444397, -0.17680443823337555, -0.31638747453689575, -0.2866690754890442, -0.3609013557434082, 0.5972442626953125, -0.8163636922836304, 0.6054518818855286, 0.08881589770317078, -0.03808198496699333, 0.7990787625312805, 0.1235923022031784, 0.07162367552518845, -0.4676670432090759, 0.20881865918636322, 0.07530151307582855, -0.12396945059299469, -0.6611154675483704, -0.022541027516126633, -0.03774763643741608, -0.24209202826023102, -0.7587254643440247, 0.65802401304245, -0.4353374242782593, -0.6001620292663574, -0.37234747409820557, 0.27166011929512024, 0.16365577280521393, 0.546198844909668, -0.02845671772956848, 0.3253256678581238, 0.7390567660331726, -0.8556451797485352, 0.48857229948043823, 0.5604383945465088, -0.3779757618904114, 0.6163257360458374, -1.193228006362915, 0.19507111608982086, -0.36034002900123596, 0.010122379288077354, -1.3728691339492798, -0.3992486000061035, 0.2983640730381012, -0.7718173265457153, -0.07597324997186661, 0.06576866656541824, -0.09254191070795059, -0.5431547164916992, -0.36584049463272095, 0.6127534508705139, 0.5501821637153625, -0.693291962146759, 0.8809728026390076, -0.01695755124092102, -0.13131307065486908, -0.3839922547340393, -0.7043612003326416, -0.43047651648521423, -0.33409616351127625, -0.8742312788963318, 0.127864807844162, -0.028295939788222313, -0.7793980240821838, 0.1349629908800125, -0.3807365298271179, 0.029817819595336914, 0.37350526452064514, 0.3090455234050751, 0.35380983352661133, -0.6221614480018616, 0.26591023802757263, -0.13147124648094177, -0.7016161680221558, 0.49070173501968384, -0.42029064893722534, 0.5150354504585266, 0.0016388250514864922, -0.3960379660129547, -1.131102204322815, 0.39975202083587646, 0.8531257510185242, -0.40469151735305786, 0.5416567325592041, 0.28642821311950684, -0.31739285588264465, -0.10935933142900467, -0.22231251001358032, -0.5707105994224548, -0.5572550892829895, -0.10985653847455978, -0.49057090282440186, -0.6514633297920227, 0.4696670174598694, -0.20221532881259918, 0.3633915185928345, 0.874173641204834, 0.6662588119506836, -0.35329216718673706, 1.3189105987548828, 0.6251816749572754, 0.44285839796066284, 0.7685533761978149, 0.2263742983341217, 0.38035276532173157, -0.9414476752281189, -0.10545867681503296, -0.8094402551651001, -0.5933238863945007, -0.3759189248085022, 0.001692718593403697, 0.24694280326366425, -0.3552430272102356, -0.236541286110878, 0.3301084339618683, -0.855658233165741, 0.33238518238067627, 0.4120560586452484, -0.050853095948696136, 0.2007896900177002, -0.06351335346698761, 0.6247743368148804, -0.14077572524547577, -0.7632940411567688, -0.5329208374023438, 0.8500998020172119, 0.367549866437912, 0.6093981266021729, -0.19848227500915527, 0.1135215237736702, 0.10778986662626266, 0.8781594038009644, -1.1441339254379272, 0.21980451047420502, 0.24276871979236603, -0.630562961101532, -0.26323944330215454, -0.5302217602729797, -0.9685739278793335, 0.2679281532764435, 0.2313299924135208, -0.6272791028022766, 0.25578296184539795, 0.4542092978954315, -0.4573480188846588, -0.04572613164782524, -0.9308331608772278, 1.2277024984359741, -0.29203787446022034, -0.29289481043815613, -0.4277590215206146, -0.7488568425178528, 0.4301775395870209, -0.0064476351253688335, 0.6907671093940735, 0.21921075880527496, 0.16988283395767212, 0.5856394171714783, -0.2186843305826187, 0.536487340927124, 0.030046552419662476, -0.15111714601516724, 0.27216944098472595, 0.10683333873748779, 0.3807372450828552, -0.08431008458137512, -0.12692323327064514, 0.24306544661521912, -0.25436705350875854, -0.5000160336494446, -0.7982586026191711, 0.510658323764801, -0.6556112170219421, -0.8531177639961243, -0.08339770883321762, -0.6129722595214844, -0.0663963109254837, 0.12406797707080841, 0.5620867609977722, 0.9309142827987671, -0.029093829914927483, 0.23303522169589996, 0.7991535663604736, -0.15768201649188995, 0.45036783814430237, 0.2455044537782669, -0.07606577128171921, 0.16974203288555145, 0.7546780705451965, -0.16151900589466095, 0.08915774524211884, 0.6733472347259521, 0.4079882502555847, -0.629439115524292, -0.21087679266929626, -0.4573781192302704, 0.32069915533065796, -0.624366819858551, 0.29527953267097473, -0.6946304440498352, 0.13721252977848053, -0.1408766359090805, -0.5102454423904419, -0.3042083978652954, -0.33561089634895325, -0.40616554021835327, 0.013769608922302723, 0.040287841111421585, 0.9287464022636414, 0.09419698268175125, 0.5257271528244019, -0.8161386251449585, 0.5474637746810913, 0.4020029306411743, 0.5640310645103455, 0.3830384314060211, -0.7344297766685486, -0.5243892669677734, 0.05094223469495773, -0.2662227153778076, -0.8864294290542603, -0.08671161532402039, -0.07946640998125076, 0.47823864221572876, 0.8415420055389404, -0.0014862667303532362, 0.49280428886413574, -0.4856700897216797, 0.6351374387741089, 0.09202665835618973, -1.1723911762237549, 0.6181433200836182, -0.29169759154319763, 0.5845250487327576, 0.018572110682725906, 0.35261619091033936, -0.4803290069103241, -0.13864630460739136, -0.8464089035987854, -0.43583860993385315, 1.1145328283309937, 0.10746735334396362, 0.06660821288824081, 0.2730799913406372, 0.499931275844574, 0.2534371316432953, 0.16043215990066528, -0.4120471179485321, -0.1411571353673935, -0.3557378351688385, -0.17435738444328308, 0.005023415666073561, -0.22210049629211426, -0.26440125703811646, 0.12035377323627472, 0.3251378536224365, 0.23521369695663452, 0.5481977462768555, 0.33035770058631897, -0.4265839755535126, -0.4469112753868103, 0.003007891122251749, 0.6836970448493958, 0.9046152234077454, 0.2553471028804779, 0.5200034976005554, -0.11314751952886581, -0.18028457462787628, -0.17562046647071838, 0.027206050232052803, 0.021762270480394363, -0.014040708541870117, 0.6567858457565308, 0.8331649899482727, 0.30914151668548584, -0.4187788963317871, 0.26393669843673706, -0.1268298476934433, -0.2923894226551056, 0.2281210571527481, -0.22473126649856567, -0.0498349703848362, 0.3527171015739441, 0.31079941987991333, 0.3712637722492218, 0.3208112120628357, -0.6573069095611572, 0.39111170172691345, 0.33227357268333435, -0.758229672908783, -0.8558186292648315, 1.189571738243103, 0.1356176733970642, -0.749405562877655, 0.1829763501882553, 0.3868384063243866, -0.32329946756362915, 0.8783080577850342, 0.06683316826820374, 1.020349383354187, -0.49834567308425903, 0.22429193556308746, 0.0778028666973114, 0.3542686998844147, 0.1620841771364212, 0.08073554933071136, -0.7120316624641418, -0.42486435174942017, -0.6794121861457825, -0.4394697844982147, -0.385467529296875, -0.23725180327892303, -0.9870311617851257, 0.04348228499293327, -0.416959673166275, 0.034617435187101364, 0.7113252878189087, -0.602152407169342, -0.8669645190238953, 0.1367087960243225, -0.17094269394874573, 0.5787380933761597, -0.5538672804832458, 0.14322324097156525, 1.017368197441101, 0.0694078654050827, -0.383846253156662, 0.16078199446201324, -0.012746010906994343, -1.0016651153564453, 0.3898751139640808, 0.47094669938087463, -0.33405956625938416, 0.0072334841825068, -0.2903781533241272, -0.9280760288238525, 0.5272470116615295, 0.268749475479126, -0.4256545901298523, 0.19712728261947632, 0.024047771468758583, 0.7440395355224609, 0.1847403198480606, 0.31240853667259216, 0.5168328285217285, 0.49172908067703247, 0.06845267117023468, -0.6084107756614685, -0.2075074166059494, -0.09468552470207214, -0.2811930775642395, 0.4574044346809387, -0.5427675247192383, 0.7101156115531921, -0.15078790485858917, -0.571262538433075, -0.4137057960033417, 0.7114570736885071, -0.23886613547801971, 0.8893890380859375, 0.4276174008846283, 0.20224794745445251, 0.21470609307289124, -0.2760617136955261, 1.4119096994400024, -0.4183327555656433, 0.5735504627227783, 0.7583342790603638, -0.026526588946580887, 0.3547098934650421, 0.44131574034690857, -0.4355010390281677, 0.4262809455394745, 0.8426477313041687, 0.452534019947052, 0.5250704288482666, -0.1517489105463028, 0.014774898998439312, -0.22848980128765106, -0.13131462037563324, -0.4520878791809082, 0.30871838331222534, 0.2980180084705353, -0.26635923981666565, -0.4023407995700836, -0.0077510313130915165, -0.40641069412231445, -0.11446444690227509, -0.553633987903595, 0.9203194379806519, 0.388721764087677, -0.7893762588500977, 0.26425454020500183, -0.48823222517967224, -0.0850185975432396, -0.22918809950351715, 0.16888120770454407, -0.05312132090330124, 0.4969724714756012, -0.27356767654418945, -0.685452938079834, 0.917366623878479, -0.06511399149894714, -0.42806607484817505, -0.5921692252159119, 0.6031437516212463, 0.14399603009223938, -0.24771030247211456, 0.10914204269647598, 0.5746870636940002, 0.13108615577220917, -0.374469518661499, -0.33106744289398193, 0.26193782687187195, -0.19845232367515564, -0.259270042181015, -0.015517828054726124, 0.7297046184539795, 0.035268109291791916, 0.5231525897979736, 0.5715965628623962, -0.553069531917572, -0.10084123909473419, -0.20495694875717163, 0.6509616374969482, -0.5180066227912903, -0.7010616660118103, -1.0797725915908813, 0.6719098091125488, 0.25038179755210876, -0.3435521423816681, 0.802979052066803, 0.2709895074367523, 0.606663703918457, -0.20559486746788025, 0.628639280796051, 0.30697935819625854, 0.4866234064102173, -0.2861092686653137, 0.29660043120384216, -0.8161321878433228, 0.14504922926425934, -0.06391214579343796, -1.189239740371704, -0.38204139471054077, 0.6817855834960938, -0.794431209564209, -0.09503939747810364, 0.8590260148048401, 0.2852810323238373, -0.22292861342430115, 0.42432311177253723, 0.22240783274173737, 0.4352239668369293, 0.17788299918174744, 0.487471342086792, 1.3240056037902832, -0.08511009067296982, 0.6974947452545166, 0.064457468688488, -0.43245038390159607, -0.6153784394264221, -0.4628859758377075, -0.5974286198616028, -0.3195548951625824, -0.1859048306941986, -0.14125913381576538, -0.4737212657928467, 0.1559295803308487, 0.5498993396759033, -0.6554204821586609, 0.18081097304821014, -0.34417253732681274, 0.4050128161907196, -0.5037210583686829, -0.21874840557575226, 0.510638952255249, -0.24929675459861755, -0.5722663402557373, 0.12678422033786774, 0.7550839781761169, -0.2638256847858429, -0.16929128766059875, 0.32429707050323486, 0.5080069899559021, 0.45916154980659485, 0.9845777750015259, 0.29599300026893616, -0.7031839489936829, -0.46164631843566895, 0.3982481360435486, 0.1160338893532753, 0.3573928475379944, 1.2329864501953125, -0.6580049991607666, 0.6632025837898254, 0.670356035232544, 0.7632826566696167, 0.5979525446891785, 0.3173057734966278, 0.5609607100486755, -0.31130582094192505, 0.24477602541446686, 0.16256596148014069, 0.36854076385498047, 0.2446981966495514, -0.46310678124427795, 0.20626571774482727, 0.26882821321487427, -0.6317431926727295, -0.7392882704734802, 0.6371539831161499, -0.9871533513069153, -0.04875408858060837, 0.6976377367973328, 0.05844804272055626, -0.4250761568546295, -0.44454890489578247, -0.23727653920650482, 0.4554840326309204, -0.11954709887504578, 1.1692410707473755, 0.8982400894165039, -0.2884845733642578, -0.4475202262401581, -0.7013031244277954, 0.604423463344574, 0.7566458582878113, -0.9575005769729614, 0.12562346458435059, 0.19572895765304565, -0.1504712551832199, 0.32923343777656555, 0.35808223485946655, -0.2722886800765991, 0.6732107400894165, 0.02916511707007885, -0.47518378496170044, 0.27130886912345886, -0.519472599029541, -0.5196243524551392, 0.1657126545906067, -0.2334793657064438, -0.4703836739063263 ]
http://arxiv.org/abs/2402.03484v1
http://arxiv.org/pdf/2402.03484v1
Harnessing PubMed User Query Logs for Post Hoc Explanations of Recommended Similar Articles
2024-02-05T19:56:27
2024-02-05T19:56:27
Ashley Shin, Qiao Jin, James Anibal, Zhiyong Lu
cs.IR
cs.IR, cs.CL
Searching for a related article based on a reference article is an integral part of scientific research. PubMed, like many academic search engines, has a "similar articles" feature that recommends articles relevant to the current article viewed by a user. Explaining recommended items can be of great utility to users, particularly in the literature search process. With more than a million biomedical papers being published each year, explaining the recommended similar articles would facilitate researchers and clinicians in searching for related articles. Nonetheless, the majority of current literature recommendation systems lack explanations for their suggestions. We employ a post hoc approach to explaining recommendations by identifying relevant tokens in the titles of similar articles. Our major contribution is building PubCLogs by repurposing 5.6 million pairs of coclicked articles from PubMed's user query logs. Using our PubCLogs dataset, we train the Highlight Similar Article Title (HSAT), a transformer-based model designed to select the most relevant parts of the title of a similar article, based on the title and abstract of a seed article. HSAT demonstrates strong performance in our empirical evaluations, achieving an F1 score of 91.72 percent on the PubCLogs test set, considerably outperforming several baselines including BM25 (70.62), MPNet (67.11), MedCPT (62.22), GPT-3.5 (46.00), and GPT-4 (64.89). Additional evaluations on a separate, manually annotated test set further verifies HSAT's performance. Moreover, participants of our user study indicate a preference for HSAT, due to its superior balance between conciseness and comprehensiveness. Our study suggests that repurposing user query logs of academic search engines can be a promising way to train state-of-the-art models for explaining literature recommendation.
[ -0.30926185846328735, -0.24983416497707367, 0.9095867872238159, -0.17332744598388672, -0.755556583404541, -0.19408099353313446, 0.02019590325653553, -0.5348989367485046, 0.4288337230682373, 0.7108532190322876, -0.5356869697570801, -0.5557015538215637, -0.2221357673406601, 0.2904788553714752, -0.20160456001758575, 1.4116970300674438, 0.10900627076625824, 0.07653208076953888, -0.3733910918235779, -0.22075530886650085, -0.45324739813804626, -0.20168595016002655, -0.4741877019405365, -0.6628990173339844, 0.7455666065216064, 0.10371214896440506, 0.39210695028305054, 0.29659348726272583, 0.7422038316726685, 0.13566428422927856, -0.2758174538612366, 0.17061178386211395, -0.6656830906867981, 0.2018120288848877, -0.5099716186523438, -0.4944736957550049, -0.30301153659820557, -0.16022373735904694, 0.22996923327445984, 0.7302652597427368, 0.015216141007840633, 0.23833906650543213, 0.28634893894195557, 0.8157284259796143, -0.1717761754989624, -0.22240416705608368, -0.6008508205413818, -0.017897695302963257, -0.25644978880882263, -0.5912343859672546, -0.34519895911216736, -0.5054880380630493, 0.5437435507774353, -0.7416936755180359, 0.4476613700389862, 0.4454667866230011, 1.0143455266952515, -0.10270693153142929, -0.24940958619117737, -0.1815866231918335, -0.6076387166976929, 0.7035168409347534, -0.6869052648544312, 0.47731366753578186, 0.49058160185813904, 0.27573442459106445, 0.0338585302233696, -0.9289629459381104, 0.07868964225053787, -0.08741378784179688, -0.6146755814552307, 0.11677828431129456, -0.12116960436105728, 0.02491135708987713, 0.33344534039497375, 0.25657352805137634, -1.0661875009536743, -0.22100825607776642, -0.5641406178474426, -0.17631062865257263, 0.5626670718193054, 0.25786641240119934, -0.13039909303188324, -0.2640480697154999, -0.5045363306999207, 0.10457613319158554, -0.9995964765548706, 0.10688254237174988, 0.05659287050366402, 0.1310669481754303, 0.41298437118530273, 0.4200689196586609, -0.48641151189804077, 0.7591278553009033, 0.2444269061088562, -0.017133094370365143, 0.3428192436695099, -0.6913050413131714, 0.025335611775517464, 0.2758374810218811, 0.716093897819519, 0.7407817244529724, 0.035353612154722214, -0.17552663385868073, 0.11301390081644058, -0.3253073990345001, 0.4181394577026367, -0.9219251871109009, -0.3585699200630188, 0.24038831889629364, -0.8920137286186218, -0.09616822749376297, 0.12661640346050262, -0.7539469003677368, -0.5208059549331665, -0.009450544603168964, 0.4152580499649048, -0.3012257516384125, -0.02604694478213787, 0.2612151503562927, -0.18739798665046692, -0.029506299644708633, 0.20585469901561737, -0.5750665664672852, -0.015723945572972298, 0.6198709011077881, 0.6461734771728516, -0.2502695918083191, -0.25549209117889404, -0.3344658315181732, 0.25427278876304626, -0.0666256994009018, 1.1496676206588745, -0.5599703192710876, -0.49013134837150574, -0.08215523511171341, 0.28217971324920654, -0.06143004819750786, -0.46388930082321167, 0.5060786008834839, -0.6519847512245178, 0.34928804636001587, -0.5256856679916382, -0.6243419647216797, -0.2634463608264923, 0.21840478479862213, -0.5020112991333008, 0.848164975643158, -0.3397825360298157, -1.0990349054336548, 0.3916158080101013, -0.4686903953552246, -0.2942298948764801, -0.025312336161732674, -0.009039806202054024, -0.6189736127853394, 0.18922926485538483, 0.23388788104057312, 0.28131672739982605, -0.35630002617836, 0.3037489354610443, -0.2376030832529068, -0.5235580801963806, 0.11049959808588028, 0.19714020192623138, 0.7388731837272644, 0.224762424826622, -0.038390424102544785, 0.22853456437587738, -0.16048620641231537, -0.19230766594409943, 0.0760621502995491, 0.14727316796779633, -0.8404107093811035, -0.09666740894317627, -0.3166749179363251, -0.13999983668327332, 0.3227062225341797, -0.47556614875793457, 0.016697069630026817, -0.44887232780456543, 0.2690523862838745, 0.22582028806209564, 0.5846619606018066, 0.22709999978542328, -0.7066007256507874, 0.5304901599884033, -0.33782708644866943, 0.11682316660881042, -0.5043218731880188, -0.7212556004524231, -0.058955613523721695, -0.017383020371198654, 0.2575884163379669, 0.19002190232276917, -0.4483925700187683, 0.11070474237203598, -0.1940656155347824, -0.6744686961174011, -0.6914085745811462, -0.05653096362948418, 0.3739263117313385, 0.6167038083076477, 0.3630789518356323, -0.3150542676448822, -0.7341939806938171, -0.9255815148353577, -0.7097817063331604, -0.43468788266181946, -0.16239884495735168, 0.7171410918235779, 0.14497195184230804, -0.3247160315513611, 0.8789551854133606, -0.7890602350234985, -0.30218225717544556, 0.09695747494697571, 0.3398171365261078, 0.4710571765899658, 0.10650216788053513, 0.3484051823616028, -0.7945452332496643, -0.374088853597641, 0.1596294492483139, -0.6565407514572144, -0.4877396821975708, -0.15365678071975708, -0.14661212265491486, -0.31104764342308044, 0.6424334049224854, -0.3465724587440491, 0.3169315755367279, 0.2535381019115448, -0.48372888565063477, 0.8151744604110718, -0.2306932508945465, 0.5161616802215576, -0.8317098617553711, 0.37915512919425964, -0.07176890224218369, -0.27110084891319275, -0.19864119589328766, -0.020213011652231216, -0.2472992092370987, -0.08934392780065536, -0.1898193508386612, 0.4028332233428955, -0.23225778341293335, -0.02859785221517086, -0.14109818637371063, -0.05416474491357803, 0.19082248210906982, 0.1626724749803543, -0.05350739136338234, 0.6509698033332825, 0.2813199460506439, -0.2503880262374878, 0.09254899621009827, 0.2039179503917694, -0.21668128669261932, 0.5519859194755554, -0.8705856800079346, -0.1622142493724823, -0.07046043127775192, 0.12615478038787842, -1.3983700275421143, 0.10620492696762085, -0.09919282048940659, -0.3408050835132599, -0.12133727967739105, -0.15247862040996552, -0.3177229166030884, -0.49421629309654236, -0.5153880715370178, 0.34888288378715515, 0.5263526439666748, -0.36643970012664795, 0.22591646015644073, 0.18017882108688354, -0.47709885239601135, -0.24684321880340576, -0.11545392870903015, -0.19404877722263336, -0.4311668276786804, -0.17561247944831848, 0.5644862055778503, -0.16992487013339996, 0.0021205744706094265, 0.3976821303367615, -0.24558034539222717, 0.008351966738700867, -0.021871641278266907, 0.39139893651008606, 0.15991368889808655, -0.2349753975868225, 0.3877270817756653, -0.0015469698701053858, -0.2656029760837555, 0.07644645124673843, -0.2496040165424347, 0.4813208281993866, -0.23693442344665527, -0.4524300694465637, -0.5102635622024536, 0.23665140569210052, 0.4618220627307892, -0.3604077696800232, 0.404499351978302, 0.8232110142707825, -0.08499225229024887, 0.33970919251441956, -0.4457416832447052, -0.8220946788787842, -0.3816531300544739, 0.1475706398487091, -0.14859060943126678, -1.0104275941848755, 0.5729530453681946, -0.2584677040576935, 0.07851477712392807, 0.6338413953781128, 0.4294353127479553, -0.6182236075401306, 0.8637545108795166, 0.3094184994697571, 0.21367695927619934, 0.4928467273712158, -0.04656008630990982, 0.31715479493141174, -0.7120786309242249, -0.38495659828186035, -0.6103376746177673, -0.2462725043296814, -0.5961218476295471, -0.26332080364227295, 0.425008624792099, -0.03603089228272438, 0.10861897468566895, 0.5352317690849304, -0.702563464641571, 0.3849901556968689, 0.6756033301353455, 0.2698267102241516, 0.65468829870224, 0.3387290835380554, -0.18141095340251923, -0.23444703221321106, -0.49483245611190796, -0.24206194281578064, 1.3483433723449707, 0.10457763075828552, 0.7676168084144592, -0.2916349768638611, 0.9624896049499512, 0.333675742149353, 0.3789616525173187, -0.6738266944885254, 0.2780951261520386, -0.06367728114128113, -0.7719948291778564, -0.280622661113739, -0.1586390733718872, -1.3888812065124512, 0.20965316891670227, -0.3566285967826843, -0.6183473467826843, 0.09602313488721848, 0.12916186451911926, -0.5405884385108948, 0.08894234150648117, -0.3444194793701172, 0.7752428650856018, -0.03831156715750694, -0.5069118142127991, -0.38821449875831604, -0.5590654015541077, 0.22209812700748444, -0.26285049319267273, 0.12235407531261444, 0.04451741278171539, 0.08325255662202835, 1.0136284828186035, -0.308175265789032, 0.5083557367324829, -0.06617974489927292, 0.2501841187477112, 0.2759362757205963, -0.14144401252269745, 0.3171679973602295, 0.18482792377471924, -0.2276364415884018, 0.1568729728460312, 0.336110919713974, -0.24939380586147308, -0.5373736023902893, 0.7828827500343323, -0.3143421411514282, -0.8269674181938171, -0.3095785975456238, -0.2227897346019745, -0.01752132549881935, 0.3848511874675751, 0.4535622298717499, 0.3742729127407074, -0.10001754015684128, 0.4825815260410309, 0.793952465057373, 0.013290301896631718, 0.10438966006040573, 0.5556318163871765, -0.46149536967277527, -0.38841453194618225, 0.635394811630249, 0.002208804478868842, -0.45999956130981445, 0.30646461248397827, 0.39392217993736267, -0.48255568742752075, -0.8048281669616699, -0.16799883544445038, 0.6506240367889404, -0.07995156198740005, -0.40101200342178345, -0.711768388748169, 0.1201348751783371, -0.15013186633586884, -0.24030908942222595, -0.07419386506080627, -0.06755389273166656, -0.2505601644515991, -0.07851246744394302, 0.5230738520622253, 0.6844741106033325, 0.18233342468738556, 0.38786348700523376, -0.7619441747665405, 0.23903778195381165, 0.5102457404136658, 0.6020525097846985, -0.05420628562569618, -0.6221269965171814, -0.5676632523536682, -0.27024024724960327, -0.2362600862979889, -1.1320737600326538, 0.26391342282295227, 0.16205017268657684, 0.6846338510513306, 0.6313726902008057, 0.26007553935050964, 0.6773861050605774, -0.7232447266578674, 0.6936928033828735, 0.22924071550369263, -0.32289719581604004, 0.6676667332649231, -0.5423707962036133, 0.3423759937286377, 0.8926848769187927, 0.6671538352966309, -0.3762979209423065, -0.32704615592956543, -0.7371731400489807, -0.7287479639053345, 0.5274029970169067, 0.2859257161617279, -0.2673705220222473, 0.22790531814098358, 0.42808055877685547, 0.3752717077732086, 0.22126203775405884, -0.38549548387527466, -0.23561249673366547, 0.13116464018821716, 0.005247191525995731, -0.17923709750175476, -0.5072686076164246, -0.378408282995224, -0.23926962912082672, 0.6365968585014343, -0.00315704382956028, 0.3029823899269104, 0.5569188594818115, -0.015080008655786514, -0.20428146421909332, 0.07008451223373413, 0.33191487193107605, 0.8273480534553528, -0.7211318612098694, 0.24203592538833618, -0.036291174590587616, -0.437752902507782, -0.10894820094108582, 0.43733370304107666, 0.02263246476650238, 0.44501376152038574, 0.5038267970085144, 0.4907081127166748, 0.41505327820777893, -0.760469377040863, 0.4089220464229584, -0.07236737757921219, -0.045221053063869476, 0.059705693274736404, -0.22551144659519196, 0.3574441373348236, 0.33866262435913086, 0.5931155681610107, 0.05237746238708496, 0.7061839699745178, -0.3256499767303467, 0.6339066624641418, 0.25733599066734314, -0.6658127903938293, -0.5383189916610718, 0.5565978288650513, 0.13603085279464722, -0.27470657229423523, 0.05948692932724953, 0.0037674775812774897, -0.28950953483581543, 0.41237735748291016, 0.5741266012191772, 0.7290827035903931, -0.2627854645252228, 0.298347532749176, 0.5568386316299438, 0.29189333319664, -0.21402709186077118, 0.18004558980464935, 0.038004931062459946, -0.21925736963748932, -0.34607523679733276, -0.6668405532836914, -0.2912980020046234, 0.04176761209964752, -0.8845700621604919, 0.12489009648561478, -0.07333500683307648, -0.35545435547828674, 0.3748062551021576, 0.08449579775333405, -0.7486011981964111, -0.026874443516135216, -0.1713971048593521, 0.664161205291748, -1.1280763149261475, 0.6197088956832886, 1.3095966577529907, -0.22502218186855316, -0.41444092988967896, -0.029109075665473938, -0.030789947137236595, -0.671990692615509, 0.1345520317554474, 0.11442065984010696, 0.16054564714431763, -0.2390688806772232, -0.2840847373008728, -0.5474295020103455, 1.1935123205184937, 0.07496465742588043, -0.5739143490791321, -0.024408550933003426, -0.31999653577804565, 1.0265655517578125, -0.5284529328346252, 0.31899651885032654, 0.42132195830345154, 0.21685056388378143, 0.14098003506660461, -1.0788289308547974, 0.21354930102825165, -0.008472491055727005, -0.09736108779907227, 0.08448226004838943, -0.28546059131622314, 0.6107702851295471, -0.2410246878862381, 0.23181204497814178, -0.008454844355583191, 0.3114112615585327, 0.6426923871040344, 1.0607609748840332, 0.4986729323863983, 0.48851409554481506, 0.7426671385765076, 0.20816725492477417, 0.9180384874343872, -0.13473162055015564, 0.5716915130615234, 0.9849675297737122, -0.07221914082765579, 0.8390746712684631, 0.6866734027862549, -0.346849262714386, 0.7572466731071472, 0.9176630973815918, 0.1070309728384018, 0.8086445331573486, -0.15398094058036804, 0.08364711701869965, -0.4428286552429199, -0.405081182718277, -0.7408796548843384, 0.23955848813056946, 0.3155575692653656, -0.8322921395301819, -0.4043373763561249, 0.11323714256286621, -0.03403878211975098, 0.018612787127494812, -0.14956165850162506, 1.1743743419647217, 0.15855881571769714, -0.6684930920600891, 0.6735056042671204, -0.5600325465202332, 0.3132946491241455, -0.5672191977500916, -0.06039850786328316, -0.41370096802711487, -0.15827453136444092, -0.35656532645225525, -0.7895792722702026, 0.4361072778701782, -0.08189860731363297, -0.4168213903903961, -0.15623711049556732, 0.7653918862342834, -0.5177621841430664, -0.2601384222507477, 0.16383221745491028, 0.585086464881897, 0.5018654465675354, -0.08355777710676193, -0.746634840965271, 0.06775011867284775, 0.3615705370903015, -0.10008736699819565, 0.22329968214035034, 0.39356911182403564, -0.05375901982188225, 0.3433492183685303, 0.5505337119102478, 0.19572043418884277, -0.5025105476379395, -0.3172420263290405, 0.8053563237190247, -0.6290283203125, -0.5674138069152832, -0.6191351413726807, 0.2756507694721222, -0.17765215039253235, -0.13833807408809662, 0.8653334975242615, 0.6628906726837158, 0.5532141923904419, -0.14198575913906097, 0.38681694865226746, 0.48854556679725647, 0.6806172728538513, -0.25440287590026855, 0.8135401606559753, -0.9180631041526794, 0.42196542024612427, -0.24616722762584686, -1.011397123336792, -0.3268026113510132, 0.38041990995407104, -0.5576547384262085, -0.26922306418418884, 0.861587643623352, 0.7272449731826782, -0.22276350855827332, 0.05730639770627022, 0.1703815907239914, 0.2810998260974884, 0.015979111194610596, 0.2031683325767517, 0.44430580735206604, -0.2518143057823181, 0.6546375155448914, 0.04967927560210228, -0.21342723071575165, -1.0051759481430054, -0.7904640436172485, -0.9870959520339966, -0.5573269128799438, -0.4053930342197418, -0.3794505298137665, 0.42588385939598083, 0.6136875152587891, 0.8115532994270325, -1.0022292137145996, -0.18641790747642517, 0.2726000249385834, 0.3920125365257263, -0.5212261080741882, -0.18121743202209473, 0.6085176467895508, -0.12820427119731903, -0.2899269163608551, 0.12631277740001678, 0.2026374340057373, -0.38802680373191833, 0.10870644450187683, 0.04578692466020584, -0.2861849367618561, -0.13327011466026306, 0.550808310508728, 0.3411145806312561, -0.7955818772315979, -0.09423995018005371, 0.0826764702796936, -0.11940877884626389, 0.01946125738322735, 1.0523335933685303, -1.0405564308166504, 0.9684203863143921, 0.8258885741233826, 0.5984740257263184, 0.8656579256057739, 0.1714107096195221, 0.42014285922050476, -0.4768279790878296, -0.18220362067222595, 0.1647510975599289, 0.2660427391529083, 0.2722231447696686, -0.42513197660446167, 0.5116447806358337, 0.40629082918167114, -0.6494942903518677, -0.9219772219657898, -0.0665505975484848, -1.0239239931106567, -0.3466101288795471, 1.0377405881881714, -0.23855501413345337, -0.15179315209388733, -0.285360187292099, -0.5104588866233826, 0.14434795081615448, -0.6841009259223938, 0.859567403793335, 0.37982311844825745, -0.40790051221847534, -0.22075879573822021, -0.37797194719314575, 0.6860828399658203, 0.6055488586425781, -0.5797317028045654, -0.028373176231980324, 0.2509336471557617, 0.3030741810798645, 0.25730034708976746, 0.5514551997184753, -0.1393611878156662, 0.35143420100212097, -0.33123478293418884, -0.19828474521636963, -0.147282674908638, -0.16642741858959198, -0.4275795519351959, 0.298499196767807, 0.09103203564882278, -0.09955114871263504 ]
http://arxiv.org/abs/2402.03483v1
http://arxiv.org/pdf/2402.03483v1
SWAG: Storytelling With Action Guidance
2024-02-05T19:55:06
2024-02-05T19:55:06
Zeeshan Patel, Karim El-Refai, Jonathan Pei, Tianle Li
cs.CL
cs.CL, cs.AI
Automated long-form story generation typically employs long-context large language models (LLMs) for one-shot creation, which can produce cohesive but not necessarily engaging content. We introduce Storytelling With Action Guidance (SWAG), a novel approach to storytelling with LLMs. Our approach reduces story writing to a search problem through a two-model feedback loop: one LLM generates story content, and another auxiliary LLM is used to choose the next best "action" to steer the story's future direction. Our results show that SWAG can substantially outperform previous end-to-end story generation techniques when evaluated by GPT-4 and through human evaluation, and our SWAG pipeline using only open-source models surpasses GPT-3.5-Turbo.
[ -0.12130973488092422, -0.8516116142272949, 0.49260011315345764, 0.35377973318099976, -0.44140034914016724, 0.27372270822525024, -0.0825624093413353, -0.490448534488678, 0.2844923436641693, 0.4573272466659546, -1.033164620399475, -0.7015987038612366, -0.26579776406288147, -0.11726225167512894, -0.3920574188232422, 1.3778150081634521, -0.2023741602897644, 0.06024393066763878, -0.21445074677467346, -0.10374066978693008, -0.6123043894767761, -0.37873220443725586, -0.56844562292099, -0.3593638241291046, 0.888739287853241, 0.2637064456939697, 0.6991339325904846, 0.36607733368873596, 0.4658891260623932, 0.15248341858386993, -0.053863197565078735, 0.17816321551799774, -0.5904985666275024, 0.4394775629043579, -0.25269371271133423, -0.23682360351085663, -0.48740318417549133, -0.1708083301782608, 0.24145500361919403, 0.3798324167728424, -0.34995371103286743, 0.4558553695678711, -0.1569979190826416, 0.5622550249099731, -0.37860390543937683, -0.592974841594696, -0.1623622179031372, -0.05449448898434639, -0.027706455439329147, -0.31626808643341064, -0.2620280385017395, -0.4127749502658844, 0.24163636565208435, -0.3699833154678345, 0.4212782382965088, 0.42935049533843994, 0.622257649898529, -0.0858561173081398, -0.3827165365219116, -0.7753099799156189, -0.941434383392334, 0.6780673861503601, -0.6269963383674622, -0.19355514645576477, 0.24102738499641418, 0.3074479401111603, -0.3922930657863617, -0.8483425378799438, -0.4774438738822937, 0.07266295701265335, 0.14985321462154388, 0.07119444012641907, 0.013467496261000633, 0.033454529941082, -0.06637103110551834, 0.16210484504699707, -0.7559140920639038, 0.2682323753833771, -0.6490185260772705, 0.21236565709114075, 1.003161072731018, 0.3557484745979309, 0.07861661911010742, -0.13392184674739838, -0.907927930355072, -0.005400198511779308, -0.8716312646865845, 0.16524168848991394, 0.502578854560852, 0.14073717594146729, 0.04498828202486038, 0.5937826037406921, 0.25356680154800415, 0.44285351037979126, 0.004553633276373148, -0.40164437890052795, -0.19771839678287506, -0.35703951120376587, -0.24347032606601715, 0.18460580706596375, 0.6053944826126099, 0.6559813022613525, 0.05784944072365761, 0.08067530393600464, -0.33520010113716125, -0.22735878825187683, 0.39646902680397034, -0.775499165058136, 0.152051642537117, 0.3018633723258972, -0.5343384146690369, -0.6294366121292114, -0.08881305158138275, -0.47555747628211975, -0.6909877061843872, -0.3077723979949951, 0.4481154978275299, -0.44393599033355713, -0.17472001910209656, -0.05492473766207695, -0.6603039503097534, 0.5965833067893982, 0.4679497182369232, -0.8354183435440063, -0.18431280553340912, 0.7557331323623657, 1.0588469505310059, -0.5111122727394104, -0.37436118721961975, -0.4186759293079376, 0.5932455658912659, -0.6392984390258789, 1.0582081079483032, -0.5145599842071533, -0.6467497944831848, 0.17873911559581757, -0.42818084359169006, 0.5233750343322754, -0.11078396439552307, 0.4755442142486572, -0.19997552037239075, 0.306560754776001, -0.23250259459018707, -0.5682247281074524, -0.2249322384595871, 0.08994504809379578, -0.2537868320941925, 0.9180058836936951, 0.21625973284244537, -0.3218846321105957, 0.9110330939292908, -0.7442082166671753, -0.7410345673561096, 0.422951340675354, -0.27333760261535645, -0.22648845613002777, 0.36812978982925415, 0.16116400063037872, 0.32795149087905884, -0.2940821051597595, 0.7277300953865051, -0.13428671658039093, -0.5422768592834473, -0.14313514530658722, -0.304548442363739, 0.47937601804733276, 0.10476759821176529, -0.2865428328514099, 0.4299826920032501, -0.6045413017272949, -0.16736599802970886, 0.35783663392066956, -0.4247935116291046, -0.11182373017072678, 0.05747433379292488, 0.0022735525853931904, 0.2271328866481781, 0.02638939954340458, -0.2841207981109619, 0.5607314109802246, -0.18561089038848877, 0.27710282802581787, 0.8546988368034363, 0.11119703948497772, 0.46301278471946716, -0.41977259516716003, 0.9979439973831177, -0.18935035169124603, 0.07733137160539627, -0.6852381229400635, -0.573462724685669, -0.6973832249641418, 0.03652583807706833, -0.006123348139226437, 0.1830209344625473, -0.6390605568885803, 0.3304727077484131, 0.04027868062257767, -0.6034333109855652, -0.37862372398376465, 0.2295982539653778, 0.25021106004714966, 0.3516980707645416, 0.1187610849738121, -0.21361494064331055, -0.5509482026100159, -0.4756038784980774, -0.200355663895607, -0.25280746817588806, -0.05387314036488533, 0.07468800991773605, 0.38707929849624634, -0.14522245526313782, 0.9278297424316406, -0.5248686075210571, -0.26575180888175964, -0.8503660559654236, 0.7427010536193848, 0.2059611827135086, 0.1923971176147461, 0.60783851146698, -0.5340441465377808, -0.32352137565612793, -0.09848527610301971, -0.610284686088562, -0.07018669694662094, -0.31889358162879944, -0.06050953269004822, 0.5215342044830322, 0.2750824987888336, -0.6264496445655823, 0.8987067937850952, 0.5041521787643433, -0.7318574786186218, 0.6901018023490906, -0.17209485173225403, 0.09828106313943863, -0.8695599436759949, 0.13363240659236908, -0.1469510942697525, -0.13008348643779755, -0.7257774472236633, -0.017018308863043785, -0.262864351272583, -0.4020962417125702, -0.5526963472366333, 0.9269402623176575, -0.41880694031715393, -0.2235436886548996, -0.4286813735961914, 0.19057953357696533, 0.16509857773780823, 0.6084272861480713, 0.14590127766132355, 0.5323585271835327, 0.4544396996498108, -0.7095755338668823, 0.533348798751831, 0.3642004430294037, -0.21675561368465424, 0.6772452592849731, -0.5177550911903381, 0.07604870200157166, -0.36165252327919006, 0.6488531827926636, -0.9940558075904846, -0.3782249987125397, -0.2003970444202423, -0.41034969687461853, 0.20266428589820862, -0.09711777418851852, -0.48559337854385376, -0.6950477361679077, -0.4779547154903412, 0.002749493345618248, 0.6477885842323303, -0.830017626285553, 0.5905315279960632, -0.037819430232048035, -0.4684036374092102, -0.35505974292755127, -0.6917297840118408, 0.08743256330490112, -0.4150974154472351, -0.7830500602722168, 0.17342931032180786, -0.22440265119075775, -0.09800183027982712, -0.43587279319763184, -0.16335366666316986, -0.027840008959174156, -0.18346665799617767, 0.27317190170288086, 0.3185083270072937, -0.23352766036987305, 0.3150061070919037, 0.24939152598381042, 0.1353415995836258, -0.10007615387439728, 0.18344862759113312, 0.4843136966228485, 0.04418059065937996, -0.3613054156303406, -0.02190113067626953, 0.8067150115966797, 0.377786785364151, -0.0010435361182317138, 0.38853299617767334, 0.8949812054634094, 0.09376825392246246, -0.5609539151191711, -0.29414114356040955, 0.08052834123373032, -0.5507627725601196, 0.1352178305387497, 0.04242117702960968, -0.5938741564750671, 0.23615925014019012, -0.1527528464794159, 0.5918644666671753, 0.14893710613250732, 0.5080704689025879, -0.30522698163986206, 1.2681840658187866, 0.8171244859695435, 0.3418639004230499, 0.5659270286560059, -0.017838725820183754, 0.3887442648410797, -0.4335549771785736, -0.3747362494468689, -0.11809923499822617, -0.7140341997146606, -0.002057271311059594, -0.35356512665748596, 0.27836862206459045, 0.7808877229690552, -0.19044049084186554, 0.2854951322078705, -0.6309859156608582, 0.6202850341796875, 0.6780909299850464, -0.36672282218933105, 0.4382132887840271, -0.18457449972629547, 0.041966456919908524, 0.19415581226348877, -0.8172082304954529, -0.6147753000259399, 0.9546841382980347, 0.4608253240585327, 0.9742728471755981, 0.2618778645992279, 0.8802425861358643, 0.2749795615673065, 0.3060520887374878, -0.878383994102478, 0.6466109752655029, -0.02070182003080845, -0.5131808519363403, -0.3057941496372223, 0.2966559827327728, -0.9127140045166016, 0.11988373100757599, -0.21996815502643585, -0.497016966342926, -0.04006439074873924, 0.15335553884506226, -0.3997078835964203, 0.09643133729696274, -0.8764657378196716, 0.274966835975647, -0.6624255180358887, -0.23913037776947021, -0.12955768406391144, -0.6515125036239624, 0.2603718340396881, 0.1709078997373581, 0.012077596969902515, -0.12999984622001648, -0.0775388702750206, 0.619236409664154, -0.39260849356651306, 0.8433988690376282, -0.2944813072681427, -0.27798017859458923, 0.7752359509468079, 0.19491499662399292, 0.7568740248680115, -0.00764091731980443, 0.10541246086359024, 0.006614737678319216, -0.3960990309715271, -0.17581894993782043, -0.49817490577697754, 0.585256040096283, -0.14439837634563446, -0.7615666389465332, -0.37861162424087524, -0.6064738035202026, 0.04929108917713165, 0.28170153498649597, 0.43337932229042053, 0.4424668252468109, -0.49811726808547974, -0.055182479321956635, 0.2271416336297989, -0.31505295634269714, 1.1185697317123413, 0.49145227670669556, -0.5602491497993469, -0.3647436499595642, 0.5704708099365234, -0.05469120666384697, 0.12818384170532227, -0.23054786026477814, 0.3491131663322449, -0.19536425173282623, -0.7317242622375488, -0.789262592792511, 0.17979316413402557, -0.7629533410072327, -0.45320484042167664, -0.3132832944393158, -0.12067679315805435, -0.4023834764957428, -0.9584708213806152, -0.0393349751830101, -0.26867279410362244, -0.23828229308128357, -0.4085879623889923, 0.464089572429657, 1.2557213306427002, 0.13811439275741577, 0.26192528009414673, -0.7180776596069336, 0.18341845273971558, 0.25419020652770996, 0.2567042112350464, -0.2291625291109085, -0.16599798202514648, -0.03333071246743202, -0.28321850299835205, -0.7182458639144897, -0.634189784526825, 0.4707227349281311, 0.2231481373310089, 0.3983252942562103, 0.37588411569595337, -0.09010601788759232, 0.9989910125732422, -0.6121197938919067, 1.3297473192214966, 0.6773889064788818, -0.773848831653595, 0.9429317712783813, -0.6962496638298035, 0.6703764200210571, 0.18604648113250732, 0.33220982551574707, -0.32583481073379517, -0.4064619541168213, -0.7339609861373901, -1.0281684398651123, 0.6533621549606323, 0.010430688969790936, 0.13605758547782898, -0.15490588545799255, 0.10633070021867752, 0.38576799631118774, 0.4855481684207916, -0.5252928733825684, 0.06678442656993866, -0.20182691514492035, -0.015849532559514046, -0.0065984101966023445, -0.1103811115026474, -0.3561877906322479, -0.10886909067630768, 0.3786882758140564, -0.2580724358558655, 0.28618761897087097, 0.1663835197687149, 0.023272525519132614, -0.4606413245201111, 0.24389132857322693, 0.9918622374534607, 0.9906662702560425, -0.009410994127392769, -0.23911626636981964, 0.19721446931362152, -0.3099476099014282, -0.0875428318977356, -0.47221946716308594, 0.03409057855606079, 0.30827316641807556, 0.542256772518158, 1.0532634258270264, 0.1555417776107788, -0.9082577228546143, 0.8640996217727661, 0.14529865980148315, -0.5599745512008667, -0.30048128962516785, 0.2580409348011017, 0.11819128692150116, 0.4651370346546173, 0.5947849750518799, -0.1179724633693695, -0.07205536961555481, -0.6543665528297424, 0.10173043608665466, 0.3372972905635834, -0.20196299254894257, -0.29425176978111267, 0.4750252366065979, 0.6277449727058411, -0.6146359443664551, 0.11751504242420197, -0.1103605329990387, -0.15328995883464813, 0.5305655002593994, 0.9882898926734924, 0.9728060960769653, -0.1868414580821991, 0.5243316888809204, 0.25675198435783386, -0.0003089078236371279, -0.22413183748722076, 0.15085949003696442, -0.062456902116537094, -0.07722283899784088, -0.5316805839538574, -0.840813398361206, -0.5248941779136658, 0.1372128576040268, -0.6442335844039917, 0.8265935182571411, -0.3849133551120758, 0.1513078808784485, -0.29458481073379517, -0.24119694530963898, -0.4342745244503021, 0.17507489025592804, 0.24463337659835815, 0.8884499073028564, -0.4791167974472046, 0.5728419423103333, 0.6200736165046692, -0.299248069524765, -0.668678879737854, -0.08562055230140686, 0.033607643097639084, -0.7148200869560242, 0.4366057813167572, 0.25229087471961975, -0.31228214502334595, -0.26241233944892883, -0.8153126835823059, -0.7095828056335449, 1.630189299583435, 0.08961273729801178, -0.6531846523284912, -0.6096403002738953, -0.2925301194190979, 0.7436713576316833, -0.7123785614967346, -0.18261484801769257, 0.49575674533843994, 0.3033033609390259, 0.7199873924255371, -0.6296052932739258, -0.14915882050991058, 0.04942120984196663, 0.09568683058023453, 0.34157294034957886, -0.5194828510284424, 0.5432893633842468, -0.6337259411811829, -0.4073790907859802, 0.11623935401439667, 0.6639785170555115, 0.6326956748962402, 0.6588954925537109, 0.1778506487607956, 0.17637242376804352, 0.6903600096702576, 0.21548040211200714, 1.0892229080200195, 0.08688897639513016, 0.07722683995962143, 1.1736952066421509, -0.3257521092891693, 0.8572800755500793, 0.45180803537368774, 0.2505018413066864, 0.7907638549804688, 0.3897518515586853, -0.026627102866768837, 0.5585795640945435, 0.1927599161863327, -0.17529630661010742, -0.027877498418092728, 0.03267863392829895, -0.16561520099639893, 0.4668717086315155, 0.178831085562706, -0.4823338985443115, -0.2930688261985779, 0.12571093440055847, 0.1427580565214157, -0.009253975935280323, -0.6266146898269653, 0.9361363649368286, 0.024384602904319763, -0.9859914183616638, 0.5138732194900513, -0.2258545160293579, 0.8178426623344421, -0.8448992967605591, -0.2236419916152954, -0.20222589373588562, -0.3536418676376343, -0.19538071751594543, -0.9091435670852661, 0.2124878317117691, 0.3141357898712158, -0.006685661617666483, -0.5103992819786072, 1.0008795261383057, -0.6126163601875305, -0.4352242946624756, 0.08465888351202011, 0.3303351402282715, -0.09345398843288422, 0.433106005191803, -0.6117326021194458, -0.13624994456768036, -0.14919614791870117, -0.5714942216873169, 0.2649078965187073, 0.3845509886741638, -0.1614110767841339, 0.6900190711021423, 0.5771893262863159, 0.07108204066753387, -0.09502676874399185, 0.14527331292629242, 0.732534646987915, -1.0276387929916382, -0.7616415619850159, -0.6208693385124207, 0.846734344959259, -0.12979939579963684, -0.695866584777832, 0.571894109249115, 0.17549514770507812, 0.3720210790634155, 0.02550271525979042, 0.904119610786438, -0.22261551022529602, 0.3301340937614441, -0.43752169609069824, 0.5609478950500488, -0.28147974610328674, 0.15051551163196564, -0.19403289258480072, -0.9235196113586426, -0.32005393505096436, 0.3581606447696686, 0.06972677260637283, 0.05045536532998085, 0.846184253692627, 0.5861582159996033, 0.25775399804115295, 0.1102890595793724, 0.34764692187309265, -0.305777907371521, 0.4594999849796295, 0.22082337737083435, 0.862702488899231, -0.07193611562252045, 0.799272894859314, 0.2940542697906494, -0.15639740228652954, -0.27214184403419495, -1.1267210245132446, -1.2427235841751099, -0.48183494806289673, -0.1049548089504242, -0.164261132478714, -0.024592800065875053, 0.705643892288208, 0.7257258296012878, -0.2821771204471588, -0.1820821613073349, -0.3075892925262451, 0.061153870075941086, -0.23847874999046326, -0.22369788587093353, -0.07268599420785904, -0.39951157569885254, -0.4647711217403412, 0.7957248687744141, 0.5099097490310669, 0.12637421488761902, -0.5816227197647095, -0.29473575949668884, -0.0687548816204071, 0.47609660029411316, 0.8648286461830139, 0.09844674170017242, -0.7825672626495361, -0.29552409052848816, -0.3440113663673401, 0.07974191755056381, 0.03500087186694145, 1.2612806558609009, -0.6410786509513855, 0.17050686478614807, 0.5215544104576111, 0.20761074125766754, 0.5432392358779907, 0.31844279170036316, 1.0760644674301147, -1.0747849941253662, -0.0179565642029047, 0.4000297784805298, 0.02021903172135353, 0.12865152955055237, -0.5361528992652893, 0.6552990078926086, -0.13779273629188538, -0.7485403418540955, -0.8309543132781982, 0.5000883936882019, -0.9679851531982422, -0.4816160202026367, 1.677201747894287, 0.11063722521066666, -0.3339453339576721, -0.028742097318172455, -0.5663455128669739, -0.03746665269136429, -0.5253113508224487, 0.3357246518135071, 0.7864920496940613, -0.5408328771591187, -0.10609780251979828, -0.3207128047943115, 0.5595589876174927, 0.14191992580890656, -0.7627975940704346, 0.1354135423898697, 0.6757907867431641, 0.14880268275737762, 0.07682802528142929, 0.5961357951164246, 0.0879502147436142, 0.43840521574020386, 0.09080667048692703, 0.11326400190591812, -0.30775123834609985, -0.5801153182983398, -0.42293238639831543, 0.19731469452381134, 0.07472109794616699, 0.268226683139801 ]
http://arxiv.org/abs/2402.07927v1
http://arxiv.org/pdf/2402.07927v1
A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
2024-02-05T19:49:13
2024-02-05T19:49:13
Pranab Sahoo, Ayush Kumar Singh, Sriparna Saha, Vinija Jain, Samrat Mondal, Aman Chadha
cs.AI
cs.AI, cs.CL, cs.HC
Prompt engineering has emerged as an indispensable technique for extending the capabilities of large language models (LLMs) and vision-language models (VLMs). This approach leverages task-specific instructions, known as prompts, to enhance model efficacy without modifying the core model parameters. Rather than updating the model parameters, prompts allow seamless integration of pre-trained models into downstream tasks by eliciting desired model behaviors solely based on the given prompt. Prompts can be natural language instructions that provide context to guide the model or learned vector representations that activate relevant knowledge. This burgeoning field has enabled success across various applications, from question-answering to commonsense reasoning. However, there remains a lack of systematic organization and understanding of the diverse prompt engineering methods and techniques. This survey paper addresses the gap by providing a structured overview of recent advancements in prompt engineering, categorized by application area. For each prompting approach, we provide a summary detailing the prompting methodology, its applications, the models involved, and the datasets utilized. We also delve into the strengths and limitations of each approach and include a taxonomy diagram and table summarizing datasets, models, and critical points of each prompting technique. This systematic analysis enables a better understanding of this rapidly developing field and facilitates future research by illuminating open challenges and opportunities for prompt engineering.
[ -0.49646568298339844, -0.9991864562034607, 0.948806643486023, 0.5573418140411377, 0.20016855001449585, 0.013730737380683422, -0.16408823430538177, -0.15914900600910187, -0.18667908012866974, 0.25674158334732056, -1.019650936126709, -0.40806373953819275, -0.06611062586307526, 0.33193060755729675, -0.16165871918201447, 0.49523288011550903, -0.20527057349681854, 0.2363022118806839, -0.09615396708250046, 0.2966304421424866, -1.0791020393371582, -0.43081825971603394, -0.5593181252479553, 0.13434258103370667, 0.7940750122070312, 0.43903863430023193, 0.18723060190677643, 0.3315233290195465, 0.24904443323612213, 0.29967933893203735, -0.4165251553058624, 0.08109403401613235, -0.04393881931900978, 0.3965286910533905, -0.0897754430770874, -0.20215679705142975, -0.18531760573387146, 0.14200496673583984, 0.6089709401130676, 0.9894457459449768, 0.18054510653018951, 0.3257495164871216, 0.26563647389411926, 0.42052510380744934, -0.8195464611053467, 0.19482944905757904, -0.3636806011199951, -0.030710864812135696, -0.1913571059703827, -0.4180053770542145, -0.7022669911384583, -0.4952797293663025, 0.1714298576116562, -0.3826678693294525, 0.0389484167098999, 0.33954718708992004, 0.4461815655231476, 0.06767433881759644, -0.3315370976924896, -0.49042820930480957, -0.491992712020874, 1.1046648025512695, -0.5743730664253235, 0.19185654819011688, -0.00036242089117877185, 0.5645798444747925, -0.386312872171402, -0.5835968852043152, -0.26033610105514526, -0.5266023278236389, -0.11859158426523209, -0.00047544611152261496, -0.052268531173467636, 0.42417964339256287, 0.5668216943740845, 0.030115140601992607, -0.7889645099639893, 0.5885941982269287, -0.15348996222019196, -0.2907424867153168, 0.3867030739784241, 0.3333492875099182, 0.6578027606010437, -0.2943700850009918, -0.47662943601608276, 0.06417737156152725, -0.72737056016922, 0.4252046048641205, 0.0726562887430191, 0.545502245426178, -0.033717770129442215, 0.5306187272071838, -0.4657440185546875, 1.0002222061157227, -0.1915677785873413, 0.05086340382695198, -0.06025249883532524, -0.5456495881080627, -0.12849485874176025, 0.07828793674707413, 0.7844488620758057, 0.33195024728775024, 0.1252293437719345, 0.17385877668857574, -0.5027241110801697, -0.23860539495944977, 0.004491458646953106, -0.479330450296402, 0.20875492691993713, 0.1913391351699829, -0.5147839784622192, -0.2417447865009308, -0.34198638796806335, -0.6805064082145691, -0.6516201496124268, -0.5664423704147339, 0.132817804813385, -0.10962455719709396, -0.11264502257108688, 0.02113357186317444, -0.21140246093273163, 0.5706455707550049, 0.502395510673523, -0.8300621509552002, -0.17147311568260193, 0.8172829747200012, 0.9293308854103088, -0.0932130515575409, -0.3029315173625946, -0.6612410545349121, -0.3417859375476837, -0.47498342394828796, 0.8000273108482361, -0.5896775722503662, -0.6139726042747498, 0.3269226551055908, -0.08830976486206055, -0.035546913743019104, -0.2652376890182495, 0.7500553727149963, -0.688838541507721, 0.19233933091163635, -0.5641143918037415, -0.3777475953102112, -0.2668958604335785, 0.2718828320503235, -0.4837968349456787, 0.8281780481338501, -0.13391786813735962, -0.5176133513450623, 0.08301305770874023, -0.8175776600837708, -0.11154215782880783, 0.10801289975643158, -0.1343538612127304, 0.24880142509937286, 0.29846978187561035, 0.455883264541626, 0.679729700088501, -0.6027472019195557, 0.39988523721694946, -0.08336742222309113, -0.14800654351711273, 0.2040942907333374, -0.41615575551986694, 1.0383741855621338, 0.2877640128135681, 0.05131000280380249, 0.48042818903923035, -0.4916064143180847, -0.08219817280769348, -0.01930336095392704, 0.2005329132080078, -0.32610759139060974, -0.2722834646701813, -0.012553672306239605, 0.16988135874271393, 0.37716785073280334, -0.24664203822612762, 0.4755873680114746, -0.29907703399658203, 0.44401124119758606, 0.8811062574386597, 0.2680474519729614, 0.6370391249656677, -0.19992470741271973, 0.8418980836868286, -0.4272049069404602, 0.3470681309700012, -0.8805205821990967, -0.6316911578178406, -0.407111257314682, -0.26824966073036194, -0.017899295315146446, 0.6948192715644836, -0.8024475574493408, 0.14246685802936554, 0.09627055376768112, -0.5219953060150146, -0.3353470265865326, -0.04716072604060173, 0.0997798964381218, 0.798800528049469, 0.290518194437027, 0.25461238622665405, -0.4786747395992279, -0.9118054509162903, -0.20913220942020416, -0.22313188016414642, -0.11456907540559769, 0.13195018470287323, 0.02890719659626484, 0.0008085982408374548, 1.187829852104187, -0.3821145296096802, 0.2689957916736603, -0.4324130415916443, 0.2249983698129654, 0.5672245621681213, 0.39587199687957764, 0.7326662540435791, -0.593402087688446, -0.4259335994720459, -0.11415945738554001, -0.8790895938873291, -0.6115744113922119, -0.3623119592666626, -0.1012251004576683, -0.13487765192985535, 0.6800866723060608, -0.7431287169456482, 0.0446753092110157, 0.3904660940170288, -0.18708433210849762, 0.9360134601593018, 0.21069571375846863, 0.4473855793476105, -0.8516080379486084, 0.08176843076944351, 0.1321297287940979, 0.12339481711387634, -0.9046206474304199, 0.2810351550579071, 0.11570658534765244, -0.34165817499160767, -0.5916358828544617, 0.9468323588371277, -0.9089274406433105, 0.20596148073673248, -0.5009703636169434, 0.05707055330276489, -0.12873044610023499, 0.23540335893630981, -0.06265521794557571, 0.9727233648300171, 1.0515302419662476, -0.8854551315307617, 0.6150930523872375, 0.2521218955516815, -0.243928924202919, 0.49849674105644226, -0.8508046269416809, 0.030850999057292938, -0.2633259892463684, -0.05048118159174919, -1.2069724798202515, -0.19071951508522034, 0.44090035557746887, -0.37928640842437744, 0.26530468463897705, -0.15017981827259064, -0.36428844928741455, -0.509857714176178, -0.3246295750141144, 0.2849489450454712, 0.7955248355865479, -0.5265399217605591, 0.5522714853286743, -0.060709744691848755, -0.8120620250701904, -0.40782806277275085, -0.282530814409256, 0.2891036570072174, -0.18149390816688538, -0.8038904666900635, -0.02434980683028698, -0.2048940807580948, -0.4468018114566803, -0.38645845651626587, -0.013099380768835545, -0.06030534580349922, 0.2705821990966797, 0.015044554136693478, 0.6106801629066467, -0.3123154938220978, 0.06641972064971924, 0.13168536126613617, -0.25965312123298645, 0.3059280514717102, -0.049597784876823425, 0.5056437253952026, 0.20336219668388367, -0.41306740045547485, -0.5697154402732849, 0.46508756279945374, 0.3665277063846588, -0.4311313331127167, 0.42349973320961, 0.16800588369369507, -0.19714438915252686, -0.2938309609889984, -0.587116539478302, -0.4218119978904724, -0.5673537254333496, 0.18353229761123657, -0.3933875560760498, -0.8940339088439941, 0.42384523153305054, -0.36695152521133423, 0.5337284207344055, 0.15595707297325134, 0.3506550192832947, -0.12305187433958054, 1.0049171447753906, 0.7657963037490845, 0.04210921376943588, 0.7081412672996521, 0.23664924502372742, 0.17764759063720703, -0.6177610158920288, -0.15458807349205017, -0.9063736200332642, -0.1308216154575348, -0.21845057606697083, -0.3738788366317749, 0.34897011518478394, 0.15131430327892303, -0.013077666983008385, 0.04201021417975426, -0.4793699085712433, 0.31250426173210144, 0.36726418137550354, -0.3720940351486206, 0.05119152367115021, -0.10348683595657349, 0.00033305102260783315, -0.0024757040664553642, -0.7352887392044067, -0.6811951994895935, 0.5290543437004089, 0.38276299834251404, 0.7643826603889465, -0.29150497913360596, 0.5327478051185608, 0.30773118138313293, 0.1759507954120636, -1.0706892013549805, 0.8794674873352051, 0.49837109446525574, -0.3113866150379181, -0.4737759232521057, -0.3528611958026886, -0.891636073589325, -0.046777863055467606, 0.08519706130027771, -0.6876375675201416, 0.2846594750881195, 0.21448425948619843, -0.4853484034538269, -0.1657659262418747, -0.8328191637992859, 0.8720636367797852, -0.23786771297454834, -0.024726299569010735, 0.09633593261241913, -0.602214515209198, 0.4900132715702057, -0.007397481705993414, 0.28207531571388245, 0.028734318912029266, -0.16261880099773407, 0.4967799186706543, -0.39186328649520874, 0.9266111254692078, -0.3843582272529602, -0.5080918669700623, 0.5530997514724731, 0.037228599190711975, 0.8022257089614868, -0.21480779349803925, -0.10935984551906586, -0.14857584238052368, -0.33192965388298035, -0.2841152250766754, -0.7854467630386353, 0.6408764719963074, -0.13899526000022888, -0.7807867527008057, -0.2100878357887268, -0.443645179271698, -0.5198196768760681, 0.2082156538963318, 0.07148852199316025, 0.4554564356803894, -0.02796962670981884, -0.23554426431655884, 0.8654060363769531, -0.522843062877655, 0.7993435859680176, 0.37629497051239014, -0.28622573614120483, -0.15687640011310577, 0.7268131971359253, -0.0010799226583912969, 0.2663005292415619, 0.37058785557746887, 0.09643787145614624, -0.34797027707099915, -0.718399703502655, -0.5520923137664795, 0.18510664999485016, -0.6984778642654419, -0.01697188802063465, -0.693198025226593, -0.14376795291900635, -0.5635261535644531, -0.4993046224117279, -0.023035641759634018, -0.13481715321540833, -0.21532008051872253, -0.13067951798439026, 0.4181116819381714, 0.7477412819862366, 0.40069451928138733, 0.3677104413509369, -1.0031872987747192, 0.17673949897289276, 0.35187020897865295, 0.06937127560377121, 0.2104797214269638, -0.35133302211761475, 0.10577009618282318, -0.018375173211097717, 0.10914169996976852, -1.176996111869812, 0.1361166536808014, -0.24431826174259186, 0.9266425967216492, 0.21870943903923035, 0.2131039947271347, 0.5066080689430237, -0.6745876669883728, 1.0998468399047852, 0.2790374159812927, -0.9029673337936401, 0.7866759896278381, -0.36338144540786743, 0.4021095037460327, 0.30518391728401184, 0.5148153901100159, -0.8102526664733887, -0.06646210700273514, -0.03691887855529785, -0.9061868786811829, 0.5654358863830566, -0.224895641207695, 0.22242413461208344, 0.1689026802778244, 0.34934625029563904, 0.10059724003076553, 0.09623709321022034, -0.13443079590797424, -0.14955274760723114, 0.17893965542316437, -0.2772635221481323, 0.15681573748588562, -0.3386823832988739, 0.07991804927587509, 0.2092832773923874, 0.6325881481170654, -0.1877964287996292, -0.00047416359302587807, 0.09371083974838257, -0.19331946969032288, 0.34664231538772583, 0.5031020641326904, 0.6396932601928711, 0.5875895023345947, 0.24947546422481537, -0.25647521018981934, 0.22481901943683624, -0.32629668712615967, 0.2605167627334595, 0.09170228242874146, -0.6126497983932495, 0.1425393670797348, 0.33189889788627625, 0.7906729578971863, 0.045941874384880066, -0.6891670823097229, 0.4401904046535492, -0.026189403608441353, 0.12558096647262573, 0.05718354880809784, -0.0361952967941761, -0.14742645621299744, 0.15292760729789734, 0.5302348136901855, 0.0017847373383119702, 0.4218454658985138, -0.3146168887615204, -0.19854722917079926, 0.4373043179512024, -0.5950552225112915, -0.3718622624874115, 0.4604717791080475, 0.4165441393852234, -0.21270275115966797, 0.4608845114707947, -0.0018763764528557658, -0.015226729214191437, 0.5142410397529602, 0.23476320505142212, 1.1423953771591187, -0.29246947169303894, 0.308280885219574, 0.41189420223236084, 0.4221228063106537, -0.15738072991371155, 0.3232632279396057, -0.1089441105723381, -0.2842857539653778, -0.8281644582748413, -0.5505838394165039, -0.46464312076568604, -0.08227769285440445, -0.3367462754249573, 0.4225137531757355, -0.42062053084373474, -0.12561190128326416, -0.18828435242176056, -0.5091682076454163, -0.508263111114502, -0.14503611624240875, 0.276498407125473, 1.3914265632629395, -0.7756882309913635, 0.09324421733617783, 1.0314065217971802, -0.24605339765548706, -0.9688549041748047, -0.09687294065952301, 0.29157567024230957, -0.6344940662384033, 0.65462726354599, 0.35657885670661926, 0.05620076507329941, 0.1299929916858673, -0.8170832395553589, -0.6790513396263123, 0.7720650434494019, 0.1776762753725052, -0.7232738137245178, -0.31383445858955383, -0.13600608706474304, 0.18879233300685883, -0.14641524851322174, 0.43369701504707336, 0.23985211551189423, 0.586334764957428, 0.05387924611568451, -0.9018619060516357, 0.2667445242404938, -0.2699540853500366, 0.29086998105049133, 0.03873513266444206, -0.3447785973548889, 0.5126255750656128, -0.23734672367572784, -0.5212836265563965, 0.453706294298172, 0.7206858396530151, 0.6209914088249207, 0.37462329864501953, 0.45461368560791016, -0.2874194383621216, 0.7264968156814575, -0.12337339669466019, 0.9443033933639526, -0.33366504311561584, -0.03767624497413635, 0.7229859232902527, -0.46838194131851196, 0.34554389119148254, 0.563576877117157, 0.014281199313700199, 0.12424328178167343, 0.8495433330535889, 0.1522943675518036, 0.21598421037197113, 0.18663635849952698, -0.27091526985168457, -0.31404566764831543, -0.6291180849075317, -0.41698893904685974, -0.03497893363237381, 0.2671511173248291, -0.2559342086315155, -0.37556594610214233, 0.428706556558609, -0.23779860138893127, -0.12478490173816681, -0.6714361906051636, 0.6931477785110474, 0.24122942984104156, -0.6369814872741699, 0.328278511762619, -0.1906973421573639, 0.70976722240448, -0.7661397457122803, -0.08855246007442474, -0.16835089027881622, -0.5956627130508423, 0.06390899419784546, -0.8658799529075623, -0.09059526771306992, 0.19632644951343536, -0.1980063021183014, -0.8487465381622314, 0.7508320808410645, 0.038572508841753006, -0.1868869811296463, -0.13464392721652985, 0.5978370308876038, 0.010790755040943623, -0.11740235984325409, -0.5482585430145264, 0.13874273002147675, -0.19649791717529297, -0.438588947057724, -0.17669522762298584, 0.7022805213928223, -0.25819408893585205, 0.797457754611969, 0.7845602631568909, 0.0984637588262558, 0.19829890131950378, 0.2925378382205963, 0.8728691339492798, -0.8342031836509705, -0.4635395407676697, -0.9205366373062134, 0.8264546394348145, -0.0008085415465757251, -0.2556004524230957, 1.0237973928451538, 0.30927804112434387, 0.3630085289478302, -0.32600098848342896, 0.963316798210144, -0.028026383370161057, 0.517531156539917, -0.791080117225647, 0.3859662413597107, -0.28335854411125183, 0.2191963791847229, -0.301362544298172, -0.9835827946662903, -0.3346100151538849, 0.06779973953962326, -0.36516502499580383, 0.00590016832575202, 0.3924218714237213, 0.9780914187431335, 0.2537561357021332, 0.004733374807983637, 0.25588569045066833, 0.22752521932125092, 0.33811646699905396, 0.26676008105278015, 1.4200142621994019, 0.1270718276500702, 0.2771190106868744, 0.1699700504541397, -0.5244879126548767, -0.20707643032073975, -0.7465487122535706, -0.9319555759429932, -0.4768814742565155, -0.24280127882957458, 0.04248899966478348, -0.016467098146677017, 1.0283290147781372, 0.5126777291297913, -0.66408771276474, -0.059897877275943756, -0.15829508006572723, 0.24430502951145172, -0.2392788529396057, -0.2260848730802536, 0.005783789791166782, -0.8328336477279663, -0.7349474430084229, 0.7322444319725037, 0.3959393799304962, 0.152257040143013, -0.44714391231536865, 0.14949822425842285, 0.03114437870681286, 0.03891119360923767, 0.6670469045639038, 0.4828673303127289, -0.5797921419143677, 0.05407280847430229, 0.679954469203949, -0.18227091431617737, -0.35479551553726196, 1.1097476482391357, -0.6637857556343079, 0.33635425567626953, 0.987716794013977, 0.8292813301086426, -0.34821322560310364, -0.13382744789123535, 0.7908489108085632, -0.5887008905410767, -0.03999548777937889, 0.30221259593963623, 0.4141036570072174, 0.30137503147125244, -0.29850029945373535, 0.12865746021270752, 0.09715454280376434, -0.5012859106063843, -0.9333662390708923, 0.5087740421295166, -1.0639954805374146, -0.3260454535484314, 1.2011104822158813, 0.1565769910812378, -0.28916800022125244, -0.21163980662822723, -0.7479804158210754, -0.05355364829301834, -0.41870126128196716, 0.42179057002067566, 0.6805638670921326, 0.008667008951306343, -0.4650292694568634, -0.8043747544288635, 0.3451198637485504, 0.40537020564079285, -0.8108776211738586, 0.1901216208934784, 0.8142433762550354, -0.08242470026016235, 0.11483889818191528, 0.43193355202674866, 0.18553054332733154, 0.30268633365631104, -0.31153231859207153, 0.12994951009750366, 0.0004601305990945548, -0.37166041135787964, -0.5617220401763916, 0.3407779037952423, 0.2370394468307495, -0.01115870475769043 ]
http://arxiv.org/abs/2402.03477v1
http://arxiv.org/pdf/2402.03477v1
Arabic Synonym BERT-based Adversarial Examples for Text Classification
2024-02-05T19:39:07
2024-02-05T19:39:07
Norah Alshahrani, Saied Alshahrani, Esma Wali, Jeanna Matthews
cs.CL
cs.CL
Text classification systems have been proven vulnerable to adversarial text examples, modified versions of the original text examples that are often unnoticed by human eyes, yet can force text classification models to alter their classification. Often, research works quantifying the impact of adversarial text attacks have been applied only to models trained in English. In this paper, we introduce the first word-level study of adversarial attacks in Arabic. Specifically, we use a synonym (word-level) attack using a Masked Language Modeling (MLM) task with a BERT model in a black-box setting to assess the robustness of the state-of-the-art text classification models to adversarial attacks in Arabic. To evaluate the grammatical and semantic similarities of the newly produced adversarial examples using our synonym BERT-based attack, we invite four human evaluators to assess and compare the produced adversarial examples with their original examples. We also study the transferability of these newly produced Arabic adversarial examples to various models and investigate the effectiveness of defense mechanisms against these adversarial examples on the BERT models. We find that fine-tuned BERT models were more susceptible to our synonym attacks than the other Deep Neural Networks (DNN) models like WordCNN and WordLSTM we trained. We also find that fine-tuned BERT models were more susceptible to transferred attacks. We, lastly, find that fine-tuned BERT models successfully regain at least 2% in accuracy after applying adversarial training as an initial defense mechanism.
[ -0.3644883632659912, -1.0495312213897705, 0.0991465225815773, -0.12972649931907654, -0.2603238523006439, 0.011053523048758507, 0.10104596614837646, -0.49154749512672424, -0.08472117781639099, 0.4975152909755707, -0.40220025181770325, -0.42551660537719727, -1.0390510559082031, -0.036598894745111465, -0.8680585622787476, 1.181828498840332, -0.047387029975652695, 0.18518027663230896, 0.2512420117855072, -0.1349579244852066, -0.4093821048736572, -0.8472825884819031, -0.6589645147323608, -0.12833471596240997, 0.5874171853065491, -0.14954045414924622, 1.0845820903778076, 0.19324250519275665, 0.6124829649925232, 0.38146868348121643, -0.1441241055727005, -0.20608198642730713, -0.3933807611465454, 0.010217346251010895, -0.06791099905967712, -0.33044397830963135, -0.08502010256052017, 0.05614277347922325, 0.4736398458480835, 0.5355154871940613, 0.014817002229392529, -0.040705543011426926, 0.03677361086010933, 0.7029812335968018, -0.5632826089859009, -0.3168608546257019, -1.2680448293685913, 0.06910130381584167, -0.061103589832782745, 0.23111757636070251, -0.2591473162174225, -0.4080299139022827, 0.2687872350215912, -0.04491839185357094, 0.17524245381355286, -0.11052637547254562, 1.080842137336731, 0.1673182249069214, -0.429572194814682, -0.7366804480552673, -0.4652434289455414, 0.7235904335975647, -0.8618248701095581, -0.0028084057848900557, 0.1407134085893631, 0.5289679765701294, -0.48023197054862976, -0.7558426260948181, -0.9097642302513123, -0.5168060660362244, 0.08420384675264359, -0.07357568293809891, -0.6998924612998962, 0.056312285363674164, -0.050834208726882935, 0.16665036976337433, -0.49160170555114746, 0.07405266910791397, -0.05974720045924187, -0.382698118686676, 0.5640510320663452, -0.03896499425172806, 0.5756033658981323, 0.005936176050454378, -0.7251644134521484, -0.2766930162906647, -0.7358773946762085, -0.08319065719842911, 0.5653265714645386, 0.19353607296943665, 0.15807025134563446, 0.4155685603618622, 0.07944845408201218, 0.7624898552894592, -0.3269074261188507, -0.025072218850255013, -0.35609352588653564, -0.11293043941259384, -0.13563242554664612, 0.23702815175056458, 0.5636820197105408, 0.31607693433761597, 0.25851044058799744, -0.4155805706977844, -0.3719307482242584, 0.3167567849159241, 0.676889181137085, -0.8536953926086426, -0.34437304735183716, -0.054253365844488144, -0.5721465349197388, -0.6126673817634583, 0.16486512124538422, -0.42511799931526184, -0.4875691533088684, 0.15605215728282928, 1.0248888731002808, -0.6284172534942627, 0.15989816188812256, -0.0034873951226472855, -0.24171829223632812, 0.23745901882648468, 0.2969953715801239, -0.49867314100265503, 0.48949870467185974, 0.8285625576972961, 0.6552383899688721, -0.08921638876199722, -0.3513939380645752, -0.1345168948173523, -0.19930194318294525, -0.4734680950641632, 0.3328956961631775, 0.024701876565814018, -0.4154229164123535, 0.30724209547042847, -0.2878539562225342, 0.15659885108470917, -0.5019381642341614, 0.7299520969390869, -0.872279703617096, 0.27959537506103516, 0.0027850077021867037, -0.7828298211097717, -0.6416589021682739, 0.49711552262306213, -0.578914999961853, 0.7208726406097412, 0.007854100316762924, -0.8702684640884399, 0.0958949625492096, -0.486531138420105, -0.6525195837020874, 0.09977665543556213, 0.03330809995532036, -0.5832328200340271, 0.05211130902171135, -0.06402020156383514, 0.4939191937446594, -0.011319557204842567, -0.1973043978214264, -0.3022436201572418, -0.3766356110572815, 0.6641077995300293, -0.6319153308868408, 0.977395236492157, 0.2179069221019745, -0.604249119758606, 0.04892348125576973, -0.49728408455848694, 0.13748344779014587, 0.269796758890152, -0.02570641227066517, -0.5197397470474243, 0.024464452639222145, 0.13285960257053375, 0.29723823070526123, 0.39099428057670593, -0.6652238965034485, 0.22016410529613495, -0.6474120020866394, 0.26295313239097595, 0.767915666103363, 0.026634572073817253, -0.11188485473394394, -0.5948489904403687, 0.38758593797683716, -0.032528530806303024, 0.02666478231549263, 0.19900843501091003, -0.40165936946868896, -0.7475695013999939, -0.30374521017074585, 0.49442365765571594, 0.5389713644981384, -0.9010689854621887, 0.5687037110328674, -0.1715497225522995, -0.750251293182373, -0.6029800176620483, 0.08472325652837753, 0.4593396484851837, 0.29581597447395325, 0.29507386684417725, -0.19274045526981354, -0.33745065331459045, -1.0538629293441772, -0.5159857869148254, -0.22435519099235535, 0.043319668620824814, 0.29168927669525146, 0.7985404133796692, -0.3076933026313782, 0.7619168162345886, -0.3292583227157593, -0.24173375964164734, -0.3444349467754364, 0.3751920759677887, -0.03192098066210747, 0.25056779384613037, 0.9037554860115051, -0.8668711185455322, -0.5261277556419373, -0.211852565407753, -0.46685323119163513, 0.10874146223068237, -0.11061598360538483, -0.22442758083343506, 0.22180640697479248, 0.21779470145702362, -0.34233400225639343, 0.632415771484375, 0.5886817574501038, -0.49473080039024353, 0.5638197064399719, -0.12076267600059509, 0.04128105565905571, -1.1681251525878906, -0.12700629234313965, -0.34008482098579407, -0.2020133137702942, -0.9904242753982544, 0.5397877097129822, -0.010846887715160847, -0.1724005937576294, -0.6194901466369629, 0.646907389163971, 0.06307926028966904, 0.14329580962657928, -0.5352747440338135, -0.1504303365945816, -0.12817957997322083, 0.24639222025871277, -0.37526005506515503, 0.8717848062515259, 0.5483487844467163, -0.5234829187393188, 0.5125489234924316, 0.2931489050388336, -0.5699436068534851, 0.2033660113811493, -0.8190969228744507, 0.151927188038826, 0.08628226816654205, 0.10264882445335388, -1.063237190246582, 0.30639350414276123, 0.38029107451438904, -0.5191479921340942, 0.5868954658508301, 0.1792130172252655, -0.533765971660614, -0.17510831356048584, -0.48210039734840393, 0.05151981860399246, 0.649313747882843, -0.7650510668754578, 0.3146114647388458, 0.06921632587909698, -0.24051016569137573, -0.6877437829971313, -0.5748228430747986, 0.5123983025550842, -0.27774956822395325, -0.38331809639930725, 0.5281317830085754, 0.12578509747982025, -0.17303119599819183, -0.018302656710147858, -0.10059219598770142, -0.21944110095500946, 0.6396155953407288, 0.3076021075248718, 0.23277494311332703, -0.007992981933057308, -0.19880689680576324, -0.10815875232219696, 0.3881271481513977, 0.284618616104126, -0.08875501155853271, 0.511147677898407, -0.1027209535241127, -0.38498926162719727, -0.5486310124397278, 0.45539751648902893, 0.5497214794158936, 0.011700696311891079, 1.2262884378433228, 0.7231045365333557, -0.6648302674293518, -0.1036195158958435, -0.415535569190979, -0.25528451800346375, -0.47039633989334106, 0.7448869347572327, -0.304206907749176, -0.6443656086921692, 0.3621237277984619, 0.1576642543077469, 0.0014205294428393245, 0.5184118151664734, 0.5601145625114441, -0.12166284024715424, 1.049543857574463, 0.49855539202690125, -0.6085559725761414, 0.24747170507907867, -0.16253697872161865, 0.14275918900966644, -0.37154439091682434, 0.07094601541757584, -0.5262079238891602, -0.3923778831958771, -0.6276541352272034, -0.010605507530272007, 0.24384503066539764, 0.2178155779838562, -0.26506131887435913, 0.46704286336898804, -0.1650659143924713, 0.04449346661567688, 0.5563941597938538, 0.2036593109369278, -0.20933812856674194, 0.35200053453445435, -0.19347983598709106, -0.045458920300006866, -0.6986315846443176, -0.6405009031295776, 0.9691689610481262, 0.445626825094223, 0.6590663194656372, 0.5536941885948181, 0.7668394446372986, 0.8571205735206604, 0.599639892578125, -0.7440091967582703, 0.6765754818916321, -0.42492198944091797, -0.616571307182312, -0.03812238946557045, -0.35575416684150696, -1.0651336908340454, 0.08837653696537018, -0.3258683681488037, -0.649925708770752, -0.22368624806404114, -0.1311604082584381, -0.049415864050388336, 0.4623379111289978, -0.4862571656703949, 0.8761720657348633, -0.42231515049934387, 0.05872580409049988, -0.23783819377422333, -0.5282531380653381, 0.1844925880432129, -0.2470598965883255, 0.07625393569469452, 0.29784393310546875, -0.013998879119753838, 0.8253353834152222, -0.5142562985420227, 0.7165506482124329, -0.12149495631456375, -0.22888536751270294, 0.20967766642570496, 0.2693134546279907, 0.4302794635295868, -0.3822111189365387, 0.01739536225795746, 0.5601145625114441, -0.09067483246326447, -0.6848227977752686, -0.6537213325500488, 0.7060165405273438, -0.9197486042976379, -0.6544083952903748, -0.6703272461891174, -0.47683581709861755, 0.1083439365029335, 0.13836489617824554, 0.23449528217315674, 0.38389262557029724, -0.47828397154808044, 0.029779864475131035, 0.24896790087223053, -0.39780697226524353, 0.4116513431072235, 0.6244951486587524, 0.007572823204100132, -0.3925566077232361, 1.108649730682373, -0.16472510993480682, 0.23142890632152557, 0.4550952613353729, -0.04164303094148636, -0.3587725758552551, -0.8048771023750305, -0.5735936760902405, -0.1970852017402649, -0.6017956733703613, -0.33725816011428833, -0.33010050654411316, -0.4414993226528168, -0.37493768334388733, -0.20968766510486603, -0.08094613999128342, -0.37340229749679565, 0.003571539418771863, 0.3769334852695465, 0.31817811727523804, 0.8417409062385559, 0.35371413826942444, 0.4346647560596466, -0.691024661064148, 0.13639354705810547, 0.5927271842956543, -0.10868289321660995, 0.12357521057128906, -0.6223088502883911, -0.2992916405200958, 0.3449903428554535, -0.6327093243598938, -1.2505455017089844, 0.4435020685195923, 0.25237953662872314, 0.4127172529697418, 0.5440690517425537, 0.19719071686267853, 0.326622873544693, -0.6271184682846069, 0.9096157550811768, 0.12089721113443375, -0.9426385164260864, 0.3819669187068939, -0.004890402313321829, 0.1057814434170723, 0.39281344413757324, 0.4780295491218567, -0.3229176700115204, -0.3929157853126526, -0.6158029437065125, -0.576036274433136, 0.44995972514152527, 0.6082203984260559, 0.2062206268310547, -0.05479910224676132, 0.3288772702217102, 0.06273175776004791, 0.4305371642112732, -0.6617569327354431, -0.669877827167511, -0.3308907747268677, -0.20718112587928772, -0.0627298429608345, -0.31006869673728943, -0.1850120574235916, -0.08404073119163513, 0.847844660282135, 0.321922242641449, 0.3100247085094452, 0.05752101540565491, -0.2924211025238037, 0.3996725380420685, 0.4391689896583557, 0.5797672271728516, 0.14619757235050201, -0.12256284803152084, 0.17978700995445251, 0.37512633204460144, -0.622063159942627, 0.3725493848323822, 0.5568642616271973, -0.3591899275779724, 0.16696003079414368, 0.5569379925727844, 0.5425037741661072, 0.15131688117980957, -0.6864888668060303, 0.5596067309379578, -0.1832113265991211, -0.21472278237342834, -0.264367014169693, -0.08445210009813309, -0.22341838479042053, 0.08578751236200333, 0.33613741397857666, 0.019573168829083443, 0.24341022968292236, -0.6218395829200745, 0.2721329927444458, 1.0771290063858032, -0.453290730714798, 0.13396431505680084, 0.3269472122192383, -0.023939963430166245, -0.5107343196868896, 0.400945782661438, -0.25891730189323425, -1.3671538829803467, 0.6831698417663574, 0.46413397789001465, 0.7191202640533447, -0.35580161213874817, 0.0067872554063797, -0.13700824975967407, 0.43380483984947205, 0.31408125162124634, 0.17919889092445374, -0.02389962412416935, -0.7328912615776062, 0.20360513031482697, -0.6488710641860962, -0.34966689348220825, 0.3260881006717682, -0.7238829731941223, -0.1166570708155632, -0.5426825284957886, -0.1846941113471985, 0.10909716784954071, 0.24322861433029175, -0.4917747378349304, 0.2220230996608734, 0.18893685936927795, 0.9462042450904846, -0.5677012205123901, 0.8953501582145691, 0.9320561289787292, -0.05462507903575897, -0.4419170022010803, 0.21667535603046417, -0.20226342976093292, -0.7700642347335815, 0.7957112193107605, 0.24396175146102905, -0.235403910279274, -0.10876878350973129, -0.30803442001342773, -0.4784739017486572, 0.7230075001716614, 0.11620784550905228, -0.18393918871879578, 0.27643734216690063, 0.27216219902038574, 0.5569133758544922, -0.12846411764621735, 0.06816594302654266, 0.31682050228118896, 0.16158492863178253, -0.2839038074016571, -0.5851556658744812, 0.08169153332710266, -0.1604362577199936, 0.057056255638599396, 0.3724428713321686, -0.2729564607143402, 0.780336320400238, -0.009802163578569889, -0.20100240409374237, 0.6949921250343323, 0.7217917442321777, -0.2631782293319702, 0.18292631208896637, 0.6004838943481445, 0.8495683073997498, 0.1884605884552002, -0.004532826133072376, 1.0438838005065918, -0.5491246581077576, 0.21162723004817963, 0.8457462191581726, -0.19473956525325775, 0.9578114748001099, 0.1742209494113922, -0.3371678590774536, 0.6023883819580078, 0.36022886633872986, -0.15994253754615784, 0.7151386141777039, 0.5310802459716797, -0.6011109948158264, 0.15062887966632843, -0.10933104157447815, -0.6267709136009216, 0.46642598509788513, 0.30557888746261597, -0.3941420912742615, -0.4078187048435211, 0.23076298832893372, 0.20982728898525238, 0.3044203519821167, -0.41641390323638916, 0.866517961025238, -0.16130892932415009, -0.38493478298187256, 0.8424223065376282, 0.48673027753829956, 0.7504574060440063, -0.7882266044616699, 0.034896302968263626, 0.043001044541597366, 0.35743647813796997, 0.2957642376422882, -0.4135136008262634, 0.12436584383249283, 0.21334344148635864, -0.0004382076149340719, 0.05333197861909866, 0.7195932269096375, -0.3806360363960266, -0.6974030137062073, 0.1515142321586609, 0.2097284197807312, 0.13658586144447327, -0.22266420722007751, -1.016922950744629, -0.23581843078136444, -0.093806691467762, 0.12581601738929749, 0.6163531541824341, 0.13082046806812286, 0.1941865235567093, 0.6200279593467712, 0.47222474217414856, 0.34286192059516907, -0.029991241171956062, -0.137775257229805, 0.8207231163978577, -0.5567389726638794, -0.3759397864341736, -1.146750807762146, -0.149482861161232, -0.09553646296262741, -0.04218022897839546, 1.0164883136749268, 0.3985005021095276, 0.7343922257423401, -0.10480259358882904, 0.6968175172805786, 0.1467396765947342, 0.5058610439300537, -0.36833488941192627, 1.1695560216903687, -0.5964370369911194, 0.1507304161787033, -0.38131994009017944, -0.58559250831604, -0.009450836107134819, 0.5791622400283813, -0.02902446687221527, 0.01032009907066822, 0.4804511070251465, 0.7367530465126038, 0.25263720750808716, 0.005805133376270533, 0.36597001552581787, 0.3520191013813019, 0.2633819580078125, 0.5472711324691772, 0.9039871096611023, -0.7684527039527893, 0.6317387819290161, -0.33364081382751465, -0.16189351677894592, -0.2923654615879059, -0.8080037236213684, -1.2005665302276611, -0.42132270336151123, -0.27128881216049194, -0.5631051659584045, 0.6539777517318726, 0.8246883749961853, 0.4453568160533905, -0.9843475818634033, -0.010782882571220398, -0.04445579648017883, 0.205779567360878, -0.16320912539958954, -0.2530796229839325, 0.6348978281021118, -0.08478552848100662, -0.380281925201416, 0.2095915526151657, -0.23981131613254547, 0.45900478959083557, -0.28107327222824097, 0.13859321177005768, -0.2553503215312958, 0.19597795605659485, 0.5231432914733887, 0.11801834404468536, -0.953191339969635, -0.43717852234840393, -0.3103513717651367, -0.3268667161464691, -0.6036829352378845, 0.4853133261203766, -0.8127970099449158, 0.3451286256313324, 0.0027899383567273617, 1.0505720376968384, -0.2685464322566986, -0.05286196619272232, 0.40329301357269287, -0.7506168484687805, 0.25277820229530334, 0.2637660503387451, 0.38541048765182495, 0.30880746245384216, -0.18298408389091492, -0.010047380812466145, 0.005050771404057741, -0.29233017563819885, -0.7780691981315613, 0.5159112215042114, -0.7110175490379333, -0.5739482045173645, 0.8405014276504517, -0.5491253733634949, 0.07254606485366821, -0.014831654727458954, -0.46076700091362, 0.29070860147476196, -0.14395974576473236, 1.3768442869186401, 0.9519967436790466, 0.47659385204315186, 0.3739394545555115, -0.33916720747947693, 0.5011257529258728, 0.7920881509780884, -0.5614961385726929, -0.34929877519607544, 0.0025384328328073025, -0.041148845106363297, 0.023385832086205482, -0.27762478590011597, 0.25621506571769714, 0.3345740735530853, -0.0009759014355950058, -0.07852672785520554, -0.16603775322437286, -0.11749424040317535, -0.5567300915718079, 0.2027670443058014, 0.1292080581188202, -0.476898193359375 ]
http://arxiv.org/abs/2402.03435v1
http://arxiv.org/pdf/2402.03435v1
Psychological Assessments with Large Language Models: A Privacy-Focused and Cost-Effective Approach
2024-02-05T19:00:02
2024-02-05T19:00:02
Sergi Blanco-Cuaresma
cs.CL
cs.CL, cs.AI, cs.CY
This study explores the use of Large Language Models (LLMs) to analyze text comments from Reddit users, aiming to achieve two primary objectives: firstly, to pinpoint critical excerpts that support a predefined psychological assessment of suicidal risk; and secondly, to summarize the material to substantiate the preassigned suicidal risk level. The work is circumscribed to the use of "open-source" LLMs that can be run locally, thereby enhancing data privacy. Furthermore, it prioritizes models with low computational requirements, making it accessible to both individuals and institutions operating on limited computing budgets. The implemented strategy only relies on a carefully crafted prompt and a grammar to guide the LLM's text completion. Despite its simplicity, the evaluation metrics show outstanding results, making it a valuable privacy-focused and cost-effective approach. This work is part of the Computational Linguistics and Clinical Psychology (CLPsych) 2024 shared task.
[ -0.3145984709262848, -0.677340030670166, 0.9692511558532715, 0.725702166557312, -0.10122408717870712, -0.21090541779994965, -0.5927774906158447, -0.5432186722755432, 0.0843248963356018, 0.4613621234893799, -0.7448776960372925, -0.630554735660553, -0.7591708898544312, 0.39066430926322937, -0.3987180292606354, 0.9235468506813049, -0.14546911418437958, 0.10423444956541061, -0.07295720279216766, 0.29727622866630554, -0.06291484832763672, -0.5924437046051025, -0.7232099175453186, 0.013149481266736984, 0.9872492551803589, 0.13471992313861847, 0.6289997696876526, 0.3262149691581726, 0.821436882019043, 0.25503307580947876, -0.09535306692123413, -0.3165915608406067, -0.5617477297782898, 0.19516238570213318, -0.1798195242881775, -0.15958158671855927, -0.4949396252632141, 0.11996422708034515, 0.4310930371284485, 0.5849887728691101, -0.1990453153848648, 0.5050821900367737, 0.13343964517116547, 0.7401992678642273, -0.972891092300415, 0.17600536346435547, -0.2169622927904129, 0.13520990312099457, -0.012517256662249565, 0.1394646018743515, -0.534026563167572, -0.7986955642700195, 0.19889813661575317, -0.2341855764389038, -0.26110556721687317, -0.47322264313697815, 0.3292118310928345, 0.2264944314956665, -0.30415570735931396, -0.2409071922302246, -0.5786798596382141, 0.8863221406936646, -0.7240114212036133, 0.4066786766052246, 0.5467292070388794, -0.012226346880197525, -0.08110659569501877, -0.5493537187576294, -0.22733965516090393, -0.2018939107656479, -0.3146350085735321, 0.10008438676595688, -0.42835482954978943, 0.21979929506778717, 0.3452041447162628, 0.3075076639652252, -0.536477267742157, 0.12281382828950882, -0.32419905066490173, -0.28147092461586, 1.0207544565200806, 0.3383472263813019, 0.2280295342206955, -0.14923150837421417, -0.1388731151819229, 0.2393742799758911, -0.44671356678009033, -0.10463717579841614, 0.4835277497768402, 0.2934001386165619, -0.29907047748565674, 0.7406433820724487, -0.23245924711227417, 0.4566802978515625, -0.2607203423976898, -0.22002309560775757, 0.1807999461889267, -0.28468865156173706, -0.09089253097772598, -0.2411060631275177, 1.264923334121704, 0.7163618803024292, 0.523335874080658, -0.12937825918197632, 0.09205496311187744, 0.06411208212375641, 0.3686085641384125, -0.8773614764213562, -0.1531197875738144, 0.5827946066856384, -0.6625745296478271, -0.291538804769516, -0.3430232107639313, -1.275948405265808, -0.7039684057235718, -0.2557370364665985, 0.24047838151454926, -0.11151430010795593, -0.2387007772922516, 0.1370561420917511, 0.16600897908210754, -0.25248265266418457, 0.20449846982955933, -0.6544509530067444, 0.4864274859428406, 0.6505675315856934, 1.1017988920211792, -0.3233487606048584, -0.16270002722740173, -0.19396398961544037, -0.016235046088695526, -0.1587703675031662, 0.5144854187965393, -0.3830687999725342, -0.467849463224411, 0.3384738266468048, 0.016218826174736023, 0.11239248514175415, -0.09728387743234634, 0.7270286083221436, -0.3292689025402069, 0.5325457453727722, -0.18603754043579102, -0.4162765145301819, -0.13765820860862732, 0.23775434494018555, -0.65995192527771, 0.8627499938011169, -0.08944930881261826, -1.0477931499481201, -0.14126703143119812, -0.8541725277900696, -0.3116415739059448, 0.05150241777300835, -0.1304851472377777, -0.3576008677482605, 0.2264867126941681, -0.047399573028087616, 0.7603582143783569, -0.228663831949234, 0.2855394184589386, -0.4484463930130005, -0.11662667989730835, 0.718407392501831, -0.3279913067817688, 0.7495131492614746, 0.21894775331020355, -0.28639891743659973, 0.026091743260622025, -0.667566180229187, 0.15803645551204681, 0.04505940154194832, -0.4819194972515106, -0.41768190264701843, 0.09696436673402786, 0.18642713129520416, 0.05623974651098251, 0.8139849305152893, -0.7365792989730835, -0.241707444190979, -0.4219212830066681, 0.4132908880710602, 0.6177868247032166, 0.18191535770893097, 0.30935028195381165, -0.11221782863140106, 0.7030184268951416, -0.5991591215133667, 0.6575208902359009, 0.17175322771072388, -0.3358909487724304, -0.06751208007335663, -0.7600880265235901, -0.001115553081035614, 0.5118462443351746, 0.17664369940757751, 0.4339970648288727, 0.13605186343193054, -0.6560558080673218, -0.23559769988059998, 0.09912058711051941, 0.4171821177005768, 0.19053499400615692, 0.061247579753398895, -0.14048011600971222, -0.6613410711288452, -0.9936291575431824, -0.5012688636779785, -0.11372670531272888, -0.14314429461956024, 0.32566243410110474, 0.397398978471756, -0.37756818532943726, 0.7294186949729919, -0.8706343770027161, -0.40220218896865845, -0.11214783787727356, 0.04584971070289612, 0.14627493917942047, 0.1745181679725647, 0.2680193781852722, -0.7174466252326965, -0.7674775123596191, -0.16168642044067383, -0.8096524477005005, -0.351657897233963, 0.11670044809579849, -0.1301114708185196, -0.08984227478504181, 0.4141693115234375, -0.7245898246765137, 0.5390962362289429, 0.7515735626220703, -0.08164940774440765, 0.5453575253486633, -0.15153127908706665, -0.05196163430809975, -0.898316502571106, 0.20315924286842346, 0.16516418755054474, -0.15663717687129974, -0.6183999180793762, 0.06600180268287659, -0.11975252628326416, -0.23436160385608673, -0.3114638924598694, 0.32215583324432373, -0.396714448928833, 0.2533784806728363, -0.3421785533428192, 0.31291934847831726, -0.42507830262184143, 0.3389096260070801, 0.02008049003779888, 0.7175236940383911, 0.34934133291244507, -0.1997031271457672, -0.07620995491743088, 0.1656084507703781, -0.26434019207954407, 0.2746697664260864, -0.5558518171310425, 0.14641305804252625, -0.12414728105068207, 0.025626324117183685, -0.9977421760559082, -0.514319658279419, 0.11779610067605972, -0.5749233365058899, -0.22445538640022278, 0.359935462474823, -0.3819340765476227, -0.10291044414043427, -0.6736860871315002, 0.307537317276001, 0.467903196811676, -0.008863652125000954, 0.7317352294921875, 0.868127167224884, -0.6535612940788269, -0.4644286334514618, -0.6891424059867859, 0.27630990743637085, -0.39347827434539795, -0.28134188055992126, 0.0034522560890764, -0.352688193321228, -0.5645057559013367, -0.1234433725476265, 0.31048583984375, -0.2833613455295563, 0.37640079855918884, 0.609653890132904, 0.11516179144382477, 0.12016358226537704, 0.09817490726709366, -0.1514805257320404, -0.0449180081486702, 0.545935332775116, 0.1831083446741104, 0.6496760845184326, -0.08071458339691162, 0.12116235494613647, -0.7764089703559875, 0.8000136017799377, 0.5346227884292603, -0.1197768971323967, 0.9278311729431152, 0.13977590203285217, -0.5386820435523987, -0.26368850469589233, -0.5081556439399719, -0.061834752559661865, -0.4545399248600006, 0.3726493716239929, 0.20743407309055328, -1.1982109546661377, 0.4582202136516571, -0.17266961932182312, 0.1636698991060257, 0.08985977619886398, 0.9804292321205139, -0.2547822892665863, 1.0011296272277832, 0.8300554752349854, 0.018527351319789886, 0.4935753345489502, 0.27306240797042847, 0.5755417346954346, -0.6322437524795532, -0.024577828124165535, -0.6001227498054504, -0.10388075560331345, -0.6067049503326416, -0.1467578411102295, 0.5031545162200928, -0.2363905906677246, -0.5030092597007751, 0.21076205372810364, -0.5298450589179993, 0.5887106657028198, 0.26198095083236694, 0.3337343633174896, 0.3808814287185669, 0.04767483100295067, 0.3546604514122009, -0.4685058295726776, -0.009522541426122189, -0.7972413301467896, 1.292267084121704, 0.6504254341125488, 0.739806592464447, 0.24463103711605072, 0.7355321645736694, 0.3139781951904297, 0.6989431977272034, -0.7097976207733154, 0.7373851537704468, -0.15202738344669342, -0.7382226586341858, -0.4190608859062195, -0.460151731967926, -0.7046719193458557, 0.12205188721418381, -0.0592820905148983, -1.3417751789093018, -0.02396552637219429, -0.05855756253004074, -0.39107513427734375, -0.16372190415859222, -0.6481781005859375, 0.7620129585266113, -0.2829640805721283, -0.2899780571460724, -0.2734997272491455, -0.6162117719650269, 0.6305820345878601, -0.7126629948616028, 0.41767629981040955, -0.16686202585697174, -0.24530354142189026, 1.124204397201538, -0.17334353923797607, 1.046199083328247, -0.14118310809135437, -0.230423241853714, 0.04261291027069092, 0.07912874966859818, 0.35703858733177185, -0.005772013682872057, -0.18902158737182617, 0.1833185851573944, 0.1066359430551529, -0.022898782044649124, -0.5274239182472229, 0.7674560546875, -0.8214654922485352, -0.5764369368553162, -0.34652066230773926, -0.6430484056472778, -0.3627258837223053, 0.3893219232559204, 0.007448859978467226, -0.08044537156820297, -0.29571157693862915, 0.21469256281852722, 0.5328183174133301, -0.3188367784023285, 0.18666137754917145, 0.778641402721405, -0.35341107845306396, -0.7778880596160889, 0.4003526568412781, -0.014138107188045979, 0.28060102462768555, 0.13389265537261963, 0.6034964919090271, -0.33667317032814026, -0.4834471642971039, 0.3950081169605255, 0.7422472834587097, -0.8016929030418396, 0.017073340713977814, -0.7348418831825256, -0.19084452092647552, -0.37768274545669556, -0.17743979394435883, -0.35051417350769043, -0.10939974337816238, -0.22400552034378052, -0.3609646260738373, 0.4547273516654968, 0.7054559588432312, -0.20584973692893982, 0.5463192462921143, -0.7102257013320923, 0.03487741947174072, 0.022782377898693085, 0.42438507080078125, 0.13423174619674683, -0.1250046193599701, -0.15710175037384033, -0.22589662671089172, -0.18793870508670807, -1.136975646018982, 0.2984919846057892, -0.09477628767490387, 0.1722787767648697, 0.33892160654067993, 0.2667936682701111, 0.47000959515571594, -0.4696027636528015, 0.8398552536964417, 0.48130008578300476, -0.9713642001152039, 0.3321491479873657, -0.5963660478591919, -0.08649034053087234, 1.0354939699172974, 0.8672622442245483, -0.6395474076271057, -0.5030176043510437, -0.24420206248760223, -0.6227424144744873, 0.4884975552558899, 0.19685667753219604, 0.3605990409851074, -0.07184155285358429, 0.41091105341911316, -0.10506497323513031, 0.25565382838249207, -1.0588538646697998, 0.0015680976212024689, 0.42671480774879456, -0.7336403727531433, -0.13058573007583618, -0.5308791399002075, -0.5112589001655579, -0.16367053985595703, 0.5208644866943359, 0.04039967805147171, 0.40004774928092957, 0.21008244156837463, 0.3108638525009155, -0.28085389733314514, 0.21035952866077423, 0.4871502220630646, 0.7329270243644714, -0.24499261379241943, 0.07325748354196548, 0.05916064605116844, -0.7559517621994019, 0.17898404598236084, 0.004335514735430479, -0.2590203285217285, -0.14557887613773346, 0.30786290764808655, 0.2238037884235382, 0.20337341725826263, -1.0531853437423706, 0.8727107048034668, -0.33279743790626526, -0.35445067286491394, -0.6256101131439209, -0.17466913163661957, 0.4480549991130829, 0.4009769856929779, -0.0702066719532013, -0.3747955858707428, 0.08612525463104248, -0.31337109208106995, 0.09011368453502655, 0.33185553550720215, -0.4298296570777893, -0.3542565405368805, 0.44277694821357727, 0.02477024868130684, -0.6165497899055481, 0.2064153254032135, 0.23208539187908173, -0.43697911500930786, 0.14776986837387085, 0.2940143048763275, 1.1784156560897827, -0.20419016480445862, 0.48559993505477905, 0.3293883204460144, 0.33201760053634644, -0.2439524382352829, 0.5865229368209839, -0.003963619936257601, -0.33260998129844666, -0.38030150532722473, -0.7722246646881104, -0.5394213795661926, 0.24696248769760132, -0.6986615657806396, 0.23990562558174133, -0.7496657371520996, -0.3671285808086395, -0.24432218074798584, -0.08116203546524048, -0.2565634846687317, 0.1747053861618042, 0.15528233349323273, 0.8826190829277039, -0.754342794418335, 0.3987720310688019, 0.40378817915916443, -0.34079793095588684, -0.7911909818649292, 0.11264796555042267, 0.0837734267115593, -0.5620756149291992, 0.5845992565155029, 0.14473380148410797, -0.15859463810920715, -0.3961038291454315, -0.6169028282165527, -0.9214649200439453, 0.6349091529846191, 0.5338701009750366, -0.6885759830474854, -0.15404778718948364, 0.46989598870277405, 0.8636980056762695, -0.16154012084007263, 0.11888117343187332, 0.5379931330680847, 0.6110837459564209, -0.42196255922317505, -0.8756398558616638, 0.17086991667747498, -0.024731697514653206, -0.3587804138660431, 0.3396492898464203, -0.6559549570083618, 0.870850682258606, 0.10336332023143768, -0.36655452847480774, 0.1546207070350647, 0.4424055814743042, 0.11486027389764786, 0.14099101722240448, 0.34414196014404297, 0.36473286151885986, 0.8359091877937317, 0.455197274684906, 0.8788405656814575, -0.45426347851753235, 0.7409077882766724, 1.1651374101638794, -0.48722001910209656, 1.1616737842559814, 0.42162907123565674, -0.3418149948120117, 0.3273608684539795, 0.4109894037246704, 0.15645453333854675, 0.5424550771713257, 0.30127793550491333, -0.5218068957328796, -0.10934792459011078, -0.20219814777374268, 0.03752849996089935, 0.2253810465335846, 0.33492088317871094, -0.7036061882972717, -0.30185264348983765, 0.09609797596931458, 0.36371657252311707, 0.423618346452713, -0.08878479897975922, 0.8597891926765442, 0.38195833563804626, -0.5978914499282837, 0.15042829513549805, -0.03404425084590912, 0.5157363414764404, -0.7810763716697693, 0.3681178390979767, -0.05480017513036728, 0.4895974397659302, -0.32359132170677185, -0.8064984679222107, 0.5228196382522583, 0.695473313331604, -0.07539217919111252, -0.2746693789958954, 0.613419771194458, -0.33445754647254944, -0.7058790326118469, 0.6010639071464539, 0.3019897937774658, 0.2627667486667633, -0.282696396112442, -0.6843589544296265, 0.224691241979599, -0.04338984191417694, -0.50820392370224, 0.4988068640232086, 0.1390819102525711, 0.06595811247825623, 0.5127054452896118, 0.4726160764694214, 0.39454710483551025, -0.1589542031288147, -0.069129079580307, 0.6945345997810364, -0.7157875895500183, -0.5715054869651794, -1.1405030488967896, 0.30551671981811523, -0.06604168564081192, -0.43225300312042236, 0.9375301599502563, 0.42857596278190613, 0.5659857988357544, 0.05880611762404442, 0.898184597492218, 0.14416944980621338, 0.7667593955993652, -0.25194650888442993, 0.9567895531654358, -0.43251001834869385, -0.1297508031129837, -0.4716850519180298, -0.7131145596504211, -0.6566355228424072, 0.6449573636054993, -0.6996162533760071, -0.26937025785446167, 0.8520586490631104, 0.7958874702453613, 0.3767642676830292, 0.16991934180259705, 0.24819152057170868, 0.28944864869117737, 0.41902852058410645, 0.6653969883918762, 0.981738269329071, -0.17981459200382233, 0.18300510942935944, -0.3408586084842682, -0.41870683431625366, 0.1818470060825348, -0.9320623278617859, -1.1032105684280396, -0.3433026671409607, -0.43087038397789, -0.19225162267684937, -0.2305709570646286, 0.8541381359100342, 0.1401343196630478, -0.4709480404853821, -0.45580682158470154, 0.1308784782886505, -0.278283953666687, 0.17164330184459686, -0.19054029881954193, 0.35669612884521484, 0.01882541924715042, -0.4654218256473541, 0.07838034629821777, 0.28698351979255676, -0.41097867488861084, -0.6987910866737366, 0.10555684566497803, -0.1422789990901947, 0.29362738132476807, 0.6050125956535339, 0.02046077884733677, -0.6667397022247314, -0.2696094214916229, -0.027270521968603134, -0.2506280243396759, -0.24251660704612732, 0.7396871447563171, -0.1502363085746765, 0.15843012928962708, 0.5704157948493958, 0.7316679954528809, 0.12078393250703812, 0.11609697341918945, 0.5453376770019531, -0.3025803565979004, -0.11304017901420593, 0.2550511062145233, 0.2457827925682068, 0.21607258915901184, -0.7816647887229919, 0.3744150996208191, -0.12000856548547745, -0.6959108710289001, -1.1124157905578613, 0.031095968559384346, -0.9195980429649353, -0.37381425499916077, 1.1036322116851807, -0.30700552463531494, -0.38014495372772217, 0.0456143356859684, -0.3892614543437958, -0.12507863342761993, -0.41623127460479736, 0.9735023975372314, 0.9155007600784302, -0.13183023035526276, -0.04187944903969765, -0.6604849100112915, 0.5779627561569214, 0.17024175822734833, -0.8708961606025696, 0.6336668729782104, 0.4699907898902893, 0.41246476769447327, 0.28859198093414307, 0.752887487411499, -0.2917811870574951, 0.1614057868719101, -0.5223227739334106, 0.04293170943856239, 0.2141038328409195, -0.21104955673217773, -0.556185245513916, 0.618594765663147, -0.17578165233135223, 0.19457104802131653 ]
http://arxiv.org/abs/2402.03303v1
http://arxiv.org/pdf/2402.03303v1
Nevermind: Instruction Override and Moderation in Large Language Models
2024-02-05T18:58:19
2024-02-05T18:58:19
Edward Kim
cs.CL
cs.CL, cs.AI, cs.LG
Given the impressive capabilities of recent Large Language Models (LLMs), we investigate and benchmark the most popular proprietary and different sized open source models on the task of explicit instruction following in conflicting situations, e.g. overrides. These include the ability of the model to override the knowledge within the weights of the model, the ability to override (or moderate) extracted knowledge in the prompt, and lastly the ability to perform a full jailbreak. Experimentation performed suggest several key findings to improve instruction following - larger models perform the best in following instructions that override internal and contextual instructions, and are obedient, even to a fault. When scaling to longer contexts via rope scaling, a significant buffer needs to be maintained from the edge of the perplexity cliff in order to maintain instruction following capabilities. Finally, we observe improving instruction following, and subsequently instruction overrides/jailbreaks, is fundamentally at odds with the ability of a language model to follow given safety filters or guidelines. Thus, we postulate the most effective approach for safe, trustworthy AI should be dealt external to the LLM itself.
[ -0.05718512460589409, -0.7973315119743347, 0.7239700555801392, 0.012194612063467503, 0.01881449855864048, 0.056135863065719604, -0.21280673146247864, -0.5170145630836487, -0.23528914153575897, 0.7835149168968201, -0.37768808007240295, -0.45150741934776306, -0.6714352369308472, -0.29041871428489685, -0.4775347113609314, 1.0748871564865112, -0.3369669020175934, -0.03851617872714996, -0.17727933824062347, -0.13919875025749207, -0.6320587396621704, -0.5259668231010437, -0.38095784187316895, -0.5567726492881775, 0.5575677156448364, 0.30981695652008057, 0.7273286581039429, 0.9991202354431152, 0.20314791798591614, 0.3332594335079193, -0.09811876714229584, 0.03720435872673988, -0.705659806728363, 0.30659234523773193, -0.3046964704990387, -0.5575127005577087, -0.5564983487129211, -0.0298254806548357, 0.6594864726066589, 0.48978665471076965, -0.28190866112709045, -0.08007341623306274, -0.05596667900681496, 0.6015504598617554, -0.8277304172515869, 0.22587893903255463, -0.6375399827957153, -0.11842191219329834, 0.04356996342539787, 0.045459795743227005, -0.3693482577800751, -0.5874276161193848, -0.05740206316113472, -0.41254061460494995, -0.31941354274749756, 0.11535628885030746, 0.37741151452064514, 0.5993351936340332, -0.4224739670753479, -0.38524243235588074, -0.5183393359184265, 0.8750746846199036, -0.6522088050842285, 0.44900432229042053, 0.6754223108291626, 0.053985822945833206, -0.275585412979126, -0.563545286655426, -0.2794073820114136, -0.5317584872245789, 0.10974609851837158, -0.18185392022132874, -0.26659613847732544, 0.21886232495307922, 0.5258165597915649, 0.21782943606376648, -0.18971599638462067, 0.4430158734321594, -0.39155837893486023, 0.11095909774303436, 0.4189586639404297, 0.19351401925086975, 0.5260483026504517, 0.09387202560901642, -0.2396416962146759, 0.09204181283712387, -1.2895591259002686, 0.018202457576990128, 0.24568913877010345, -0.03857304900884628, -0.12002445012331009, 0.5012342929840088, -0.25799259543418884, 0.7261089086532593, -0.009741883724927902, 0.1545652598142624, 0.1259702444076538, -0.07949379086494446, -0.2967858910560608, 0.2888592481613159, 0.6671454906463623, 0.3826676905155182, 0.21521006524562836, -0.37022271752357483, -0.4639279246330261, -0.37420743703842163, 0.5181431770324707, -0.9266677498817444, -0.29382389783859253, 0.20786984264850616, -0.17603325843811035, -0.12124651670455933, -0.18486462533473969, -0.4584934115409851, -0.8011206388473511, -0.3413715064525604, 0.5529969930648804, -0.5231121182441711, -0.016368640586733818, -0.03116043284535408, 0.2220756709575653, 0.3170137107372284, 0.36583617329597473, -0.9437570571899414, 0.17759354412555695, 1.0717657804489136, 0.7367427945137024, 0.029139766469597816, -0.2539960443973541, -0.6285544633865356, 0.26803210377693176, -0.4940550923347473, 0.43136316537857056, -0.49670958518981934, -0.43309834599494934, -0.047649070620536804, -0.046230580657720566, -0.25016647577285767, -0.4152412712574005, 0.4610600471496582, -0.6020197868347168, 0.06728048622608185, -0.2974730134010315, -1.0782362222671509, -0.44266030192375183, 0.15881766378879547, -0.5171523094177246, 0.3378961682319641, -0.10338114202022552, -0.44137585163116455, 0.04270829260349274, -0.625399112701416, -0.5281401872634888, -0.11647859960794449, -0.13412146270275116, -0.1510268747806549, 0.23251716792583466, -0.04695744067430496, 0.1727861911058426, -0.05896677076816559, 0.25042295455932617, -0.4406968653202057, -0.5368136763572693, 0.05467994138598442, -0.6378089189529419, 1.0037635564804077, -0.09769095480442047, -0.6896522045135498, 0.38295549154281616, -0.42198479175567627, 0.10107066482305527, 0.01770593598484993, -0.05199623852968216, -0.5051382184028625, 0.2213367521762848, -0.4490008056163788, -0.06374738365411758, 0.3327347934246063, -0.6460198163986206, 0.34529465436935425, -0.18275241553783417, 0.8845711946487427, 1.0129272937774658, -0.08996839821338654, 0.44597679376602173, -0.4840139150619507, 0.4296087622642517, -0.5404412150382996, 0.350035697221756, -0.6004106402397156, -0.463058739900589, -0.5217755436897278, -0.11241836100816727, 0.05851137265563011, 0.7156987190246582, -0.39531567692756653, 0.2956385314464569, -0.013812834396958351, -0.5045570135116577, -0.6000280380249023, 0.3942786753177643, 0.7462478280067444, 0.5092172026634216, 0.3961668610572815, -0.2741171717643738, -0.31661123037338257, -0.5617539882659912, -0.1958148032426834, -0.3493804335594177, 0.052249304950237274, 0.2909791171550751, 0.30543053150177, -0.21892555058002472, 0.6129138469696045, -0.49091222882270813, -0.15995539724826813, -0.05948557332158089, 0.04733094200491905, 0.14174877107143402, 0.6575785875320435, 0.5113325119018555, -0.6181446313858032, -0.37247899174690247, -0.016377782449126244, -0.8196713924407959, -0.17085357010364532, 0.07044905424118042, 0.07562949508428574, 0.5861489176750183, 1.0116385221481323, -0.6624097228050232, 0.2725341320037842, 0.38112789392471313, -0.09692072123289108, 0.5888702273368835, -0.5066583156585693, 0.15961384773254395, -0.6417586803436279, 0.08908256143331528, -0.28141748905181885, -0.2106737494468689, -0.5697824358940125, 0.6887861490249634, 0.354707807302475, 0.36725860834121704, -0.34965091943740845, 0.5872448682785034, -0.34562599658966064, 0.2134220451116562, -0.28290823101997375, 0.13662715256214142, -0.13825468719005585, 0.42685312032699585, -0.14279590547084808, 0.8330070376396179, 0.5565978288650513, -0.1653479039669037, 0.3956408202648163, 0.008195260539650917, -0.42961689829826355, 0.297066330909729, -0.8538433909416199, 0.4597916007041931, -0.12928174436092377, 0.19452530145645142, -1.0653551816940308, -0.17162646353244781, 0.26309263706207275, -0.1626162976026535, 0.6017637252807617, -0.4376361668109894, -0.6756829023361206, -0.23762796819210052, -0.40972161293029785, 0.055128518491983414, 0.7261877655982971, -0.36537814140319824, 0.4579997658729553, 0.2994902431964874, -0.048060979694128036, -0.6710909008979797, -0.6455169916152954, 0.04629413038492203, -0.12038656324148178, -0.07101286947727203, 0.13786160945892334, -0.37680625915527344, -0.29033270478248596, -0.10712821781635284, -0.37120598554611206, -0.2928987741470337, 0.20798622071743011, 0.7063161134719849, 0.2853340208530426, -0.29275771975517273, -0.019826719537377357, 0.1402648538351059, 0.18874937295913696, 0.3717373013496399, -0.24615909159183502, 0.3671494424343109, -0.05678961053490639, -0.5480713248252869, -0.5027526617050171, 0.12815259397029877, 0.7775804996490479, -0.10293194651603699, 0.940171480178833, 0.3318812847137451, -0.07748637348413467, 0.00613373052328825, -0.635704755783081, -0.18944336473941803, -0.5167039632797241, 0.32940369844436646, -0.014545552432537079, -0.9941797852516174, 0.4561850130558014, 0.21389015018939972, 0.471936970949173, -0.018174897879362106, 0.30101683735847473, -0.1710483431816101, 0.9959462285041809, 0.8330750465393066, -0.5638289451599121, 0.721540093421936, -0.02670593373477459, 0.3558027744293213, -0.7070165276527405, -0.18352483212947845, -0.5680164098739624, -0.14780284464359283, -0.647922933101654, -0.4220794439315796, 0.07362721115350723, 0.27394264936447144, -0.4749842584133148, 0.39031246304512024, -0.03302996978163719, 0.7420852780342102, 0.4901497960090637, 0.18354755640029907, 0.22773467004299164, -0.13230247795581818, -0.05317606404423714, 0.249799907207489, -0.7963423728942871, -0.320068359375, 1.1648287773132324, 0.32343789935112, 0.9147941470146179, 0.09993376582860947, 0.6118638515472412, 0.3057684898376465, 0.5990038514137268, -0.7184534072875977, 0.510181188583374, -0.2799069881439209, -0.6658539175987244, -0.18050143122673035, -0.63603675365448, -0.6088315844535828, -0.06154170632362366, 0.02487494982779026, -0.9928969740867615, -0.33668309450149536, 0.3196806311607361, -0.5319435596466064, 0.6832458972930908, -0.9583039879798889, 0.7764012217521667, -0.14083577692508698, -0.44587257504463196, -0.4177156984806061, -0.7580811381340027, 0.46324723958969116, -0.2653016149997711, 0.23407131433486938, 0.2936263680458069, -0.17527174949645996, 0.3133859932422638, -0.18727156519889832, 1.0899251699447632, 0.00322726764716208, -0.34802281856536865, 0.18358029425144196, 0.31857335567474365, 0.4792018532752991, -0.340472549200058, -0.08923661708831787, 0.23689186573028564, -0.24749712646007538, -0.3279980421066284, -0.6839361190795898, 1.0703603029251099, -1.0233590602874756, -1.1016755104064941, 0.10455066710710526, -0.6303824782371521, -0.1316503882408142, 0.46277105808258057, 0.13997678458690643, 0.6393832564353943, 0.05848792940378189, 0.3429994285106659, 1.0299006700515747, -0.3092074692249298, 0.5200510025024414, 0.5590494871139526, -0.3324248790740967, -0.24919159710407257, 0.8404187560081482, 0.3379741907119751, 0.5185959339141846, 0.38212665915489197, 0.12120140343904495, -0.3682771921157837, -0.49039357900619507, -0.6515341401100159, 0.07978023588657379, -0.6690676212310791, -0.13055069744586945, -0.7296004891395569, -0.44219523668289185, -0.30346226692199707, -0.25674378871917725, -0.45426103472709656, -0.3292522132396698, -0.17191284894943237, -0.08187457919120789, 0.4112727642059326, 1.1289827823638916, 0.033043861389160156, 0.2746581733226776, -0.8347082138061523, 0.0725594013929367, 0.2972525656223297, 0.5683483481407166, 0.23522253334522247, -0.7173080444335938, 0.014314387924969196, 0.014693626202642918, -0.45386818051338196, -0.691504716873169, -0.18683327734470367, -0.07111486792564392, 0.8088260889053345, 0.6864935159683228, 0.2857816219329834, 0.5072547793388367, -0.6783791184425354, 0.5345436334609985, 0.1576918065547943, -1.0607924461364746, 0.22742776572704315, -0.39489105343818665, 0.33943960070610046, 0.2822341322898865, 0.5584495067596436, -0.5658900737762451, -0.6057875752449036, -0.3980582356452942, -1.0007929801940918, 0.6866501569747925, 0.12280722707509995, 0.4261128902435303, 0.2391437143087387, 0.39641255140304565, 0.06687866896390915, 0.4861000180244446, -0.5165801048278809, -0.3016212284564972, -0.10213790088891983, -0.03821611404418945, -0.15818870067596436, -0.2910776734352112, -0.15376324951648712, -0.054514650255441666, 0.6318551898002625, 0.25349530577659607, -0.017332643270492554, -0.19098667800426483, -0.07687105238437653, -0.4380641579627991, 0.20736613869667053, 0.8567420244216919, 0.8740217089653015, -0.17358267307281494, -0.000058142377383774146, 0.19573841989040375, -0.2802635431289673, -0.013421214185655117, -0.020195461809635162, -0.47013431787490845, -0.45850974321365356, 0.6221508979797363, 0.8105095624923706, 0.26458218693733215, -0.8060164451599121, 0.24183279275894165, 0.11132603883743286, 0.05525984615087509, -0.1287413239479065, 0.7042756676673889, -0.0075070904567837715, 0.26515066623687744, 0.2025671899318695, 0.04210522025823593, -0.06739994883537292, -0.6345889568328857, 0.2886325418949127, 0.3919517397880554, -0.6952602863311768, -0.18515048921108246, 0.6141226887702942, -0.049963679164648056, -0.5270185470581055, 0.7226511240005493, 0.09942983835935593, -0.599622905254364, 0.689030110836029, 0.38494059443473816, 0.7433695793151855, -0.3966595530509949, 0.11569839715957642, 0.10949479788541794, 0.5720829367637634, -0.19561614096164703, -0.09298659861087799, -0.20765572786331177, -0.5807746052742004, -0.6136592626571655, -0.028474003076553345, -0.6130130887031555, 0.22816401720046997, -0.5377630591392517, -0.10106165707111359, -0.901052713394165, 0.15544337034225464, -0.12980608642101288, -0.12812116742134094, -0.05076819658279419, -0.0381753072142601, 0.2390209138393402, 1.055073857307434, -0.5312120318412781, 1.0425562858581543, 0.7420870661735535, -0.20774798095226288, -0.8258011341094971, 0.18681474030017853, 0.3647618889808655, -0.764958381652832, 0.2525983452796936, 0.3944163918495178, -0.19765028357505798, -0.10356726497411728, -0.8322497010231018, -0.6437158584594727, 0.788274347782135, 0.3916004002094269, -0.7319797873497009, 0.038324985653162, -0.4660419523715973, 0.48897841572761536, -0.15286105871200562, 0.2701244652271271, 0.4858144223690033, 0.3147355020046234, 0.24543122947216034, -0.8679264187812805, -0.0014285518554970622, 0.012684818357229233, -0.3611011803150177, 0.4587140381336212, -0.6573574542999268, 0.795052707195282, -0.47178536653518677, 0.09480895102024078, 0.4249024987220764, 0.3646869361400604, 0.2528780996799469, 0.15357184410095215, 0.43436479568481445, 0.5506852865219116, 0.6014134883880615, 0.2410174459218979, 1.0280213356018066, -0.3531027138233185, 0.13421235978603363, 1.610267996788025, -0.3991568088531494, 0.8919868469238281, 0.3148011267185211, 0.1728413850069046, 0.4826832711696625, 0.2984946370124817, 0.1328541785478592, 0.4356062412261963, 0.16974769532680511, 0.009349091909825802, -0.08802274614572525, -0.1280488818883896, -0.3604815602302551, 0.24566936492919922, 0.27398499846458435, -0.3498494029045105, -0.3790631890296936, -0.21340928971767426, 0.4974414110183716, 0.11511041969060898, -0.566653311252594, 0.700706422328949, 0.1317628026008606, -0.7567840814590454, 0.7097533941268921, 0.0025859528686851263, 0.3356042206287384, -0.5172054767608643, -0.11801149696111679, -0.40830063819885254, 0.16943658888339996, -0.07231967896223068, -1.0347651243209839, 0.16668428480625153, 0.2521669268608093, -0.13576386868953705, -0.47215691208839417, 0.3941092789173126, -0.3225700855255127, -0.0718764215707779, 0.5996120572090149, 0.17942722141742706, 0.11002408713102341, -0.12590450048446655, -0.7165124416351318, 0.26450783014297485, 0.12693731486797333, -0.26947909593582153, 0.3656020760536194, 0.4622499346733093, -0.18704141676425934, 1.0131876468658447, 0.376264750957489, -0.0976032167673111, 0.1691449135541916, -0.08302737772464752, 0.9895741939544678, -0.48147115111351013, -0.3215472996234894, -0.9416393637657166, 0.2268468290567398, 0.04538293927907944, -0.12237239629030228, 0.8781430721282959, 0.1399516612291336, 0.9778399467468262, 0.28161850571632385, 0.5024588108062744, -0.09476630389690399, 0.08214947581291199, -0.49987536668777466, 1.0516630411148071, -0.6331428289413452, 0.25925809144973755, -0.26943954825401306, -0.8299831748008728, -0.23387795686721802, 0.46840476989746094, -0.5932241678237915, 0.09181711822748184, 0.4572020471096039, 0.7673251032829285, -0.07194662094116211, 0.2244538962841034, 0.505524754524231, 0.695363461971283, 0.2098907232284546, 0.6298297047615051, 0.7515882849693298, -0.09715143591165543, 0.40258267521858215, -0.014659219421446323, -0.22713717818260193, -0.16926996409893036, -0.8286051154136658, -0.9161655902862549, -0.19567333161830902, -0.3393957018852234, -0.19338756799697876, 0.35955774784088135, 1.0869317054748535, 0.7522007822990417, -0.9786846041679382, -0.3195023834705353, -0.22385574877262115, 0.62333083152771, -0.1224241778254509, -0.07429856806993484, 0.04638725146651268, -0.3532503545284271, -0.5839176774024963, 0.5921099781990051, 0.3762168288230896, -0.060553520917892456, -0.40288254618644714, -0.022474072873592377, -0.06672833114862442, 0.16578532755374908, 0.5388699769973755, 0.4390907883644104, -0.7519745230674744, -0.39419233798980713, -0.05839253216981888, -0.41873300075531006, -0.1298711746931076, 0.7595484852790833, -0.41617709398269653, 0.44594767689704895, 0.3664759397506714, 0.6507023572921753, -0.00875141192227602, -0.14880958199501038, 0.7187185287475586, -0.4473041594028473, -0.03569939360022545, -0.12539221346378326, 0.1769598424434662, 0.2179718166589737, -0.3132011294364929, 0.295580118894577, -0.057662781327962875, -0.7322059869766235, -0.8020719885826111, 0.25103703141212463, -0.4290330410003662, -0.5994901657104492, 0.9577676653862, -0.7162340879440308, -0.3379477560520172, -0.05565936490893364, -0.13675576448440552, 0.07091254740953445, -0.6179013252258301, 0.9747109413146973, 0.6633343696594238, 0.04490533098578453, -0.466874361038208, -0.7888047695159912, 0.3890080153942108, 0.363595187664032, -0.47895801067352295, 0.2937920093536377, 0.5685517191886902, 0.3930779993534088, -0.06540396809577942, 0.3028184771537781, 0.07660030573606491, 0.0590875968337059, -0.25538504123687744, -0.1205747202038765, -0.2037155032157898, -0.6051161885261536, -0.520673930644989, 0.25372785329818726, 0.0507725365459919, 0.027572069317102432 ]
http://arxiv.org/abs/2402.03300v3
http://arxiv.org/pdf/2402.03300v3
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
2024-02-05T18:55:32
2024-04-27T15:25:53
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, Daya Guo
cs.CL
cs.CL, cs.AI, cs.LG
Mathematical reasoning poses a significant challenge for language models due to its complex and structured nature. In this paper, we introduce DeepSeekMath 7B, which continues pre-training DeepSeek-Coder-Base-v1.5 7B with 120B math-related tokens sourced from Common Crawl, together with natural language and code data. DeepSeekMath 7B has achieved an impressive score of 51.7% on the competition-level MATH benchmark without relying on external toolkits and voting techniques, approaching the performance level of Gemini-Ultra and GPT-4. Self-consistency over 64 samples from DeepSeekMath 7B achieves 60.9% on MATH. The mathematical reasoning capability of DeepSeekMath is attributed to two key factors: First, we harness the significant potential of publicly available web data through a meticulously engineered data selection pipeline. Second, we introduce Group Relative Policy Optimization (GRPO), a variant of Proximal Policy Optimization (PPO), that enhances mathematical reasoning abilities while concurrently optimizing the memory usage of PPO.
[ -0.4776722192764282, -0.49621209502220154, 0.6639270782470703, 0.2836390435695648, -0.20750465989112854, 0.04365940019488335, -0.3351396918296814, -0.18851926922798157, -0.5499173998832703, 0.504562258720398, -0.6081172227859497, -0.5128661394119263, -0.5496914386749268, -0.2781742811203003, 0.08084483444690704, 0.787796139717102, -0.15624646842479706, 0.011915956623852253, -0.24757803976535797, 0.05268412455916405, -0.2987329661846161, -0.6431486010551453, -0.4524227976799011, -0.4201658070087433, 0.24548698961734772, 0.39444437623023987, 0.9835854172706604, 0.3072820007801056, 0.7936545610427856, 0.2524662911891937, 0.1434696912765503, 0.08780095726251602, -0.48473694920539856, 0.13250483572483063, -0.5051299929618835, -0.4374317228794098, -0.5096150636672974, -0.05094951018691063, 0.3604225516319275, 0.5997331142425537, -0.3155139684677124, -0.010917636565864086, -0.26828810572624207, 0.8290532231330872, -0.8196565508842468, 0.25864508748054504, -0.6657335162162781, 0.03534147888422012, -0.3414818048477173, 0.42474353313446045, -0.06687997281551361, -0.6068936586380005, 0.25449004769325256, -0.6220143437385559, 0.035904597491025925, -0.3887995481491089, 0.6897199749946594, 0.24866043031215668, -0.0408950075507164, -0.41244104504585266, -0.563783586025238, 0.9233895540237427, -0.8152213096618652, 0.5035451054573059, 0.6868689656257629, 0.744594931602478, -0.13790978491306305, -0.7401598691940308, -0.5421979427337646, -0.2825073003768921, 0.3202746510505676, 0.011414462700486183, -0.19276218116283417, -0.08008038252592087, 0.24977770447731018, 0.5083627700805664, -0.4620949625968933, -0.07307998090982437, -0.5087729096412659, -0.22422410547733307, 0.6353042125701904, 0.06087842211127281, 0.1233353316783905, 0.1797388195991516, 0.07141220569610596, -0.1242842972278595, -0.5590671896934509, -0.04395032674074173, 0.5153136849403381, 0.11111766844987869, 0.026676874607801437, 0.5790756940841675, -0.37770432233810425, 0.43628981709480286, -0.4027467668056488, 0.19084161520004272, 0.3149227499961853, -0.19895251095294952, -0.3332342207431793, 0.012854411266744137, 0.6771612763404846, 0.02839258313179016, 0.669806718826294, 0.04890304431319237, -0.11477309465408325, 0.538112223148346, 0.09648226946592331, -0.8875865936279297, -0.4950683116912842, -0.03261154517531395, -0.17232370376586914, -0.2268042266368866, -0.026411250233650208, -0.9797623157501221, -0.274537056684494, -0.6099464297294617, 0.21927717328071594, -0.5898329019546509, -0.3322361409664154, 0.6594280004501343, 0.1357133537530899, -0.10945703834295273, 0.6052030324935913, -0.7381682991981506, 0.31101754307746887, 1.0866198539733887, 0.5515506267547607, 0.22500889003276825, -0.26167136430740356, -0.4303836524486542, 0.0229684729129076, -0.44970011711120605, 0.6278021335601807, -0.9934402108192444, -0.25215622782707214, -0.16653025150299072, -0.5776592493057251, -0.0700237900018692, -0.5818074345588684, 0.7655847072601318, -0.2815263271331787, 0.5085052847862244, -0.05992773547768593, -0.5960118770599365, -0.21586163341999054, 0.27980563044548035, -0.34259435534477234, 0.8194010257720947, 0.23591160774230957, -0.4015354812145233, 0.24820636212825775, -0.8247038722038269, -0.2549220323562622, -0.09158763289451599, -0.2821923792362213, -0.2244536280632019, 0.4859204888343811, 0.4559408128261566, 0.24569597840309143, -0.48822221159935, 0.3125878572463989, -0.6553076505661011, -0.15278145670890808, 0.0019422632176429033, -0.4477384686470032, 0.5142663717269897, 0.4455763101577759, -0.2889982759952545, 0.050666313618421555, -0.7623298168182373, 0.15866023302078247, 0.32832977175712585, 0.13433194160461426, -0.4106651842594147, -0.04390580952167511, -0.6281180381774902, 0.3651900589466095, 0.141251340508461, -0.3955240845680237, 0.4176889657974243, -0.5109199285507202, 0.4716448485851288, 1.1017755270004272, -0.374386727809906, 0.3944959342479706, 0.10889744758605957, 0.6490123271942139, -0.14696519076824188, 0.4757572114467621, 0.14994387328624725, -0.5499522089958191, -0.4641711115837097, -0.23612003028392792, 0.3272020220756531, 0.3862706422805786, -0.38990432024002075, 0.23529033362865448, -0.19941294193267822, -0.6297709345817566, -0.708042562007904, 0.21163992583751678, 0.425326943397522, 0.67659592628479, 0.34451937675476074, 0.04949289187788963, -0.24370235204696655, -0.8581151962280273, -0.318258136510849, 0.15186606347560883, -0.05057739093899727, 0.40507203340530396, 0.37874239683151245, -0.4342772960662842, 0.6889054775238037, -0.8522522449493408, -0.29708775877952576, -0.17129187285900116, -0.19462822377681732, 0.7183214426040649, 0.4009915292263031, 0.43700671195983887, -0.6259575486183167, -0.4445442855358124, 0.032694198191165924, -0.6827189922332764, -0.26324474811553955, 0.30838608741760254, -0.45873671770095825, 0.02984626218676567, 0.3092767596244812, -0.7460607290267944, 0.4112647771835327, 0.6209513545036316, -0.3846522271633148, 0.6113328337669373, -0.16230998933315277, -0.16696885228157043, -0.7173980474472046, -0.1253732293844223, -0.2446807324886322, 0.14543034136295319, -0.1813598871231079, 0.3056776225566864, -0.1525963395833969, -0.38878878951072693, -0.2284574657678604, 0.6195356249809265, -0.16590073704719543, 0.14175733923912048, -0.04267243295907974, -0.12666399776935577, -0.09168651700019836, 0.3787553012371063, -0.31634005904197693, 0.8944156765937805, 0.8645616769790649, -0.679709792137146, 0.5017979145050049, 0.06007228419184685, -0.3735939860343933, 0.2821616530418396, -0.6652804017066956, 0.30288293957710266, 0.037236325442790985, 0.07228872925043106, -0.5514718890190125, -0.11553607136011124, 0.20439413189888, -0.51878422498703, 0.11077151447534561, -0.2447977364063263, -0.5556885004043579, -0.40007951855659485, -0.12402870506048203, 0.5079039335250854, 0.7777279019355774, -0.4499376118183136, 0.6405863761901855, 0.29769769310951233, -0.09174444526433945, -0.3409087359905243, -0.3415316343307495, -0.2445589154958725, -0.12040434777736664, -0.7725636959075928, -0.027428194880485535, -0.05364936217665672, -0.4945911169052124, 0.20834222435951233, -0.4790004789829254, 0.020414192229509354, -0.030504466965794563, -0.015029237605631351, 0.1564006805419922, -0.36688321828842163, 0.10136190056800842, 0.14612038433551788, -0.5469785332679749, 0.1829788237810135, -0.6450896263122559, 0.8842157125473022, -0.3375576436519623, -0.5020207762718201, -0.1616307497024536, 0.17742261290550232, 0.35159480571746826, -0.4341350495815277, 0.46358832716941833, 0.31325599551200867, -0.44862961769104004, 0.003517393721267581, -0.34889909625053406, 0.04493432492017746, -0.49636825919151306, 0.19664786756038666, -0.8781790733337402, -0.8103736042976379, 0.32078737020492554, -0.30785420536994934, 0.07540743798017502, 0.8334962725639343, 0.5928505659103394, 0.27453097701072693, 1.2069095373153687, 0.23019078373908997, -0.09760583937168121, 0.03565295413136482, -0.17869427800178528, 0.24089135229587555, -0.5714773535728455, -0.2888864278793335, -0.6226316094398499, -0.05775828659534454, -0.4130009114742279, -0.5240960121154785, 0.09802517294883728, 0.4668833911418915, -0.573520839214325, 0.1511792540550232, -0.5892608761787415, 0.7293210625648499, 0.6943380832672119, 0.018754711374640465, 0.03311484307050705, 0.17078357934951782, -0.4512559175491333, -0.24991735816001892, -0.37674111127853394, -0.3037720024585724, 1.151023507118225, 0.3040813207626343, 0.9737939834594727, 0.326323539018631, 0.5934770107269287, 0.08619972318410873, 0.15970851480960846, -0.4407099485397339, 0.6286386251449585, -0.39468228816986084, -0.5790818929672241, -0.2901317775249481, -0.9004073739051819, -0.8521518707275391, 0.23741412162780762, 0.1410096287727356, -0.7354187965393066, -0.11082221567630768, 0.2479124367237091, -0.16658401489257812, 0.22056441009044647, -0.7816211581230164, 0.9847663640975952, -0.36765575408935547, -0.33594459295272827, -0.6390107274055481, -0.2816065549850464, 0.3777879476547241, -0.038073018193244934, 0.38906624913215637, -0.5702672004699707, 0.03428652137517929, 0.2156287282705307, -0.4978610575199127, 0.4008159339427948, -0.2573096752166748, -0.2102203071117401, 0.20311705768108368, 0.47169381380081177, 0.396949827671051, 0.1516992151737213, -0.03646166995167732, 0.42133596539497375, -0.37325164675712585, -0.6138670444488525, -0.7569664120674133, 0.8671122193336487, -0.7925133109092712, -0.6578297019004822, -0.43563148379325867, -0.27828532457351685, -0.519200325012207, 0.3434087038040161, 0.05089479312300682, 0.4940689206123352, 0.3500213027000427, 0.28646430373191833, 0.6234999895095825, -0.30900639295578003, 0.14450812339782715, -0.014935728162527084, -0.42631739377975464, -0.7466112375259399, 1.1317247152328491, -0.17815515398979187, 0.236500546336174, 0.5340490937232971, 0.9115725159645081, -0.6115712523460388, -0.4294328987598419, -0.2418123334646225, 0.1458664834499359, -0.6550257205963135, -0.1968940794467926, -0.4315546452999115, -0.26875776052474976, -0.7483410835266113, -0.08418218046426773, -0.5360007882118225, -0.5760778784751892, 0.031841784715652466, 0.08181348443031311, 0.16714689135551453, 0.326569139957428, -0.2590595483779907, 0.11623363941907883, -0.8010185360908508, 0.3658469617366791, 0.43350446224212646, 0.7236233353614807, -0.080720916390419, -0.26429370045661926, 0.14918512105941772, 0.06466342508792877, -0.13884234428405762, -0.4575718641281128, 0.12888900935649872, 0.033755555748939514, 0.6793595552444458, 0.43536847829818726, -0.02526969462633133, 0.8082433938980103, -0.4915047883987427, 0.2709631621837616, 0.3820415735244751, -0.8982972502708435, 0.8589994311332703, -0.345571368932724, 0.4319809079170227, 0.5726149082183838, 0.309520959854126, -0.10519815236330032, -0.0005708642420358956, -0.6635124683380127, -0.634519636631012, 0.3361506462097168, 0.622088611125946, 0.2942924499511719, 0.18209801614284515, 0.20611953735351562, 0.15855123102664948, 0.32954683899879456, -0.11016951501369476, 0.21555635333061218, -0.40746793150901794, -0.3915339410305023, -0.09602082520723343, -0.17710942029953003, -0.07233039289712906, -0.5766830444335938, 0.5420060157775879, -0.0971670001745224, 0.040475886315107346, 0.05625268071889877, 0.04759423807263374, 0.21637263894081116, 0.2365664392709732, 0.9674283862113953, 1.1823195219039917, -0.18662716448307037, 0.08653214573860168, -0.1767401099205017, -0.7316767573356628, -0.1854202002286911, 0.5615270733833313, 0.03653385862708092, -0.2254166454076767, 0.3537423610687256, 0.803290843963623, 0.048283569514751434, -0.8136447668075562, 0.1385827511548996, -0.045785367488861084, -0.27216920256614685, -0.18267032504081726, 0.3149280250072479, -0.2081596851348877, 0.2675044536590576, 0.2712162137031555, -0.13254763185977936, 0.05797259882092476, -0.39606383442878723, 0.18655644357204437, 0.22053876519203186, -0.23066401481628418, -0.28007972240448, 0.6715611219406128, 0.14179830253124237, -0.23467455804347992, 0.6817889213562012, -0.0944337248802185, -0.7708297371864319, 0.37907251715660095, 0.31602051854133606, 0.907925009727478, -0.2920131981372833, -0.08120624721050262, 0.19023628532886505, 0.32557252049446106, 0.09461389482021332, 0.43209174275398254, 0.022883642464876175, -0.6172077655792236, -0.6825080513954163, -0.7968074679374695, -0.46519702672958374, 0.13227497041225433, -0.29978781938552856, 0.1579657644033432, -0.6653477549552917, 0.016195878386497498, -0.0014074539067223668, 0.28721126914024353, -0.6077256202697754, 0.23851561546325684, 0.07862496376037598, 1.0287591218948364, -0.18704938888549805, 0.7071902751922607, 0.6772135496139526, -0.22243285179138184, -0.6053706407546997, -0.24225571751594543, -0.09971508383750916, -1.1296383142471313, 0.4815281331539154, 0.1769438087940216, 0.09654619544744492, -0.08659166842699051, -0.6333871483802795, -0.6944127082824707, 0.5207520127296448, 0.7242054343223572, -0.8175888061523438, 0.021389292553067207, 0.22347769141197205, 0.3655921220779419, -0.06984203308820724, 0.01013275422155857, 0.3862040638923645, 0.43075382709503174, 0.40948206186294556, -0.9042704105377197, -0.15478073060512543, -0.2335463911294937, -0.21186111867427826, 0.6163384318351746, -0.38521143794059753, 1.0023561716079712, -0.2243395745754242, 0.29787299036979675, -0.21177901327610016, 0.6139222383499146, 0.7325923442840576, 0.37256237864494324, 0.4878333508968353, 1.0995960235595703, 0.6663591861724854, -0.06672819703817368, 1.2495144605636597, 0.002290438860654831, 0.3999391496181488, 1.2301723957061768, -0.3908332288265228, 0.492148220539093, 0.1278190016746521, -0.3701860010623932, 0.46446898579597473, 0.4508047103881836, 0.034024398773908615, 0.5821256041526794, 0.4171905517578125, -0.3209981322288513, -0.5888676047325134, 0.09901769459247589, -0.7860413193702698, 0.38614213466644287, 0.4003637135028839, -0.024043820798397064, -0.6219033002853394, -0.25512850284576416, 0.22443179786205292, 0.2832055985927582, -0.4877445101737976, 0.3863048851490021, 0.2661210298538208, -0.3917330503463745, 0.17758849263191223, -0.13614672422409058, 0.21176272630691528, -0.8364462852478027, -0.15090779960155487, -0.3788597881793976, 0.922435998916626, 0.14345356822013855, -0.94320148229599, 0.3246270716190338, -0.061744753271341324, 0.048594653606414795, -0.06360597163438797, 0.8512893915176392, -0.020514555275440216, -0.7970066070556641, 0.0795823261141777, 0.3189491331577301, 0.09100953489542007, -0.6572422981262207, -0.8813337683677673, 0.07210765033960342, -0.23234286904335022, -0.1613357663154602, 0.40475791692733765, 0.9186848998069763, -0.12264358252286911, 0.8362141251564026, 1.1880935430526733, 0.09515807777643204, 0.13366740942001343, 0.4020533561706543, 1.0526337623596191, -0.7159807085990906, -0.5419670343399048, -1.1538459062576294, 0.11759360134601593, -0.3011036217212677, -0.6103811264038086, 0.8500211834907532, 0.738146185874939, 1.0363212823867798, 0.07531760632991791, 0.49419453740119934, 0.1774713397026062, 0.392127126455307, -0.6447370052337646, 0.47015371918678284, -0.3746933043003082, -0.059146612882614136, -0.38202524185180664, -0.9332816004753113, -0.4070882499217987, 0.8030412793159485, -0.46633633971214294, -0.06692381948232651, 0.39694541692733765, 0.178717240691185, -0.32404857873916626, -0.005787829402834177, 0.2541474997997284, -0.0020359663758426905, 0.6143977046012878, 0.9453035593032837, 0.9475293755531311, -0.08770430833101273, 0.6417545080184937, -0.3716026544570923, -0.22568774223327637, 0.10801933705806732, -0.7656559944152832, -1.0411245822906494, 0.05017830803990364, -0.19948381185531616, -0.39528921246528625, -0.11860726028680801, 0.7125155925750732, 0.6419892907142639, -0.7930289506912231, -0.02651815302670002, -0.6009913682937622, 0.1932888627052307, -0.04767881706357002, -0.2777705490589142, 0.3551925718784332, -0.5537263751029968, -0.5328992605209351, 0.1641918420791626, 0.3494934141635895, -0.05444268137216568, -0.27469077706336975, -0.28146445751190186, 0.07899060845375061, 0.03962771221995354, 0.6343285441398621, 0.1788480281829834, -0.5078899264335632, 0.10842117667198181, 0.013128981925547123, 0.12550842761993408, -0.18059736490249634, 0.9728487730026245, -0.7847675085067749, 0.40301382541656494, 0.5593170523643494, 0.9094092845916748, 0.3976728618144989, -0.11361254751682281, 0.6731094717979431, -0.15280558168888092, 0.2172366976737976, 0.6089814305305481, 0.25112253427505493, -0.06118045002222061, -0.04420958459377289, 0.8540548086166382, 0.5477234125137329, -0.3549584448337555, -1.0392967462539673, 0.2787873446941376, -0.5999857187271118, -0.4068618416786194, 1.053958535194397, -0.07159128040075302, -0.10835543274879456, 0.25976794958114624, -0.1880040168762207, -0.3036755919456482, -0.40857142210006714, 0.6385751962661743, 0.6875155568122864, -0.10765432566404343, -0.3690485954284668, -0.5527617335319519, 0.38851797580718994, 0.2933538258075714, -0.8786865472793579, -0.05823774263262749, 0.4520108997821808, -0.004119553603231907, 0.09957529604434967, 0.6036607027053833, -0.16731137037277222, 0.12236671894788742, -0.00444590300321579, -0.2841505706310272, -0.32051533460617065, -0.4718075096607208, -0.027053218334913254, 0.26057371497154236, -0.3798215687274933, -0.23554779589176178 ]
http://arxiv.org/abs/2402.03299v4
http://arxiv.org/pdf/2402.03299v4
GUARD: Role-playing to Generate Natural-language Jailbreakings to Test Guideline Adherence of Large Language Models
2024-02-05T18:54:43
2024-05-30T21:14:26
Haibo Jin, Ruoxi Chen, Andy Zhou, Yang Zhang, Haohan Wang
cs.LG
cs.LG, cs.CL, cs.CV
The discovery of "jailbreaks" to bypass safety filters of Large Language Models (LLMs) and harmful responses have encouraged the community to implement safety measures. One major safety measure is to proactively test the LLMs with jailbreaks prior to the release. Therefore, such testing will require a method that can generate jailbreaks massively and efficiently. In this paper, we follow a novel yet intuitive strategy to generate jailbreaks in the style of the human generation. We propose a role-playing system that assigns four different roles to the user LLMs to collaborate on new jailbreaks. Furthermore, we collect existing jailbreaks and split them into different independent characteristics using clustering frequency and semantic patterns sentence by sentence. We organize these characteristics into a knowledge graph, making them more accessible and easier to retrieve. Our system of different roles will leverage this knowledge graph to generate new jailbreaks, which have proved effective in inducing LLMs to generate unethical or guideline-violating responses. In addition, we also pioneer a setting in our system that will automatically follow the government-issued guidelines to generate jailbreaks to test whether LLMs follow the guidelines accordingly. We refer to our system as GUARD (Guideline Upholding through Adaptive Role-play Diagnostics). We have empirically validated the effectiveness of GUARD on three cutting-edge open-sourced LLMs (Vicuna-13B, LongChat-7B, and Llama-2-7B), as well as a widely-utilized commercial LLM (ChatGPT). Moreover, our work extends to the realm of vision language models (MiniGPT-v2 and Gemini Vision Pro), showcasing GUARD's versatility and contributing valuable insights for the development of safer, more reliable LLM-based applications across diverse modalities.
[ -0.3644983172416687, -0.8647075891494751, 0.463657021522522, 0.3347872197628021, -0.27084019780158997, 0.12956202030181885, -0.03036642260849476, -0.4462459683418274, 0.2150225043296814, 1.0383092164993286, -0.5617866516113281, -0.6036520600318909, -0.2995317280292511, 0.07148328423500061, -0.16266117990016937, 0.9604251384735107, -0.0548420324921608, -0.09649199992418289, 0.11850744485855103, 0.23853743076324463, -0.827953040599823, -0.49926406145095825, -0.6346921920776367, -0.25132742524147034, 0.38242489099502563, 0.5174276828765869, 0.4915963113307953, 0.6918359398841858, 0.472497820854187, 0.17367520928382874, -0.0951918512582779, 0.3142182528972626, -0.21535661816596985, 0.2579091191291809, -0.1262817084789276, -0.30132994055747986, -0.4213016927242279, 0.0015092726098373532, 0.07401413470506668, 0.09485294669866562, -0.2371654212474823, -0.014914210885763168, 0.09383305162191391, 0.47538280487060547, -0.518947184085846, 0.27738773822784424, -0.4971366822719574, 0.02653503231704235, -0.3390117585659027, -0.24470913410186768, -0.46441981196403503, -0.37902167439460754, 0.018648741766810417, -0.45596790313720703, -0.047122370451688766, 0.08926840126514435, 0.5246215462684631, -0.03484060615301132, -0.26556381583213806, -0.22994539141654968, -0.6264844536781311, 0.33321720361709595, -0.705257773399353, 0.09081026911735535, 0.5766175389289856, 0.44732704758644104, -0.4164298474788666, -0.31820353865623474, -0.374054491519928, -0.5095196962356567, 0.08437304198741913, -0.003856122260913253, 0.1841413825750351, 0.09524378180503845, 0.13916170597076416, -0.13691546022891998, -0.3284558653831482, 0.1970927119255066, -0.4063486158847809, -0.3626030385494232, 0.8069233298301697, 0.04904833808541298, 0.4809129536151886, -0.35027262568473816, -0.39290642738342285, -0.050453003495931625, -1.063419222831726, 0.26866430044174194, 0.5470110774040222, 0.366281121969223, -0.14180488884449005, 0.5349224805831909, -0.020105289295315742, 0.6039915084838867, -0.03902633860707283, -0.2481764554977417, -0.07207424193620682, -0.19763578474521637, 0.03947744891047478, 0.42902493476867676, 0.765159547328949, 0.675360381603241, 0.5652734637260437, -0.1380263715982437, -0.16224607825279236, 0.06409986317157745, 0.375518262386322, -0.6560719609260559, -0.21187055110931396, -0.2284470796585083, -0.2924433648586273, -0.868628740310669, -0.09089744836091995, -0.9392416477203369, -0.9527621865272522, -0.01321246474981308, 0.4547651410102844, -0.6369766592979431, -0.2668531537055969, 0.10482220351696014, -0.03485148027539253, 0.26544228196144104, 0.02645145170390606, -1.077712893486023, 0.5767284631729126, 0.5556355118751526, 0.8365023136138916, -0.039922792464494705, -0.29524150490760803, -0.7133427262306213, 0.30347999930381775, -0.34185531735420227, 0.5237696766853333, -0.32602760195732117, -0.49144333600997925, -0.057988490909338, -0.10566597431898117, -0.08159273117780685, -0.5171838402748108, 0.47747454047203064, -0.4933287799358368, -0.20249755680561066, -0.05052059888839722, -0.3914334774017334, 0.24430827796459198, 0.4411078989505768, -0.5839503407478333, 0.7884828448295593, -0.22756364941596985, -0.5611268877983093, 0.4606011211872101, -0.8950117230415344, -0.4159502685070038, -0.0053475587628781796, 0.007650203071534634, -0.3041277527809143, -0.24118462204933167, 0.3057616651058197, 0.23835471272468567, -0.1711900234222412, 0.380956768989563, -0.37358975410461426, -0.37194111943244934, 0.2279936820268631, -0.24031348526477814, 0.6903576850891113, 0.2498120218515396, -0.42899027466773987, 0.112334243953228, -0.3592599928379059, -0.06834568828344345, 0.2050763964653015, -0.2661815285682678, -0.45448651909828186, 0.4016394317150116, -0.1089554950594902, 0.17180943489074707, 0.008817858062684536, -0.5437467694282532, 0.13771718740463257, -0.27516937255859375, 0.6423229575157166, 0.9812892079353333, 0.25090491771698, 0.2550047039985657, -0.21094433963298798, 0.612001895904541, -0.11824453622102737, 0.49729281663894653, -0.17190563678741455, -0.36967357993125916, -0.4588541090488434, -0.14283190667629242, 0.05906578153371811, 0.87324059009552, -0.5918819904327393, 0.7380574941635132, 0.005959079600870609, -0.4222770929336548, -0.26463595032691956, 0.41732364892959595, 0.472913533449173, 0.44003599882125854, 0.37115970253944397, -0.5645977258682251, -0.6609379649162292, -0.7691249847412109, -0.369456946849823, -0.5696991682052612, 0.25461551547050476, 0.15083268284797668, 0.36108824610710144, -0.2638832628726959, 1.0245215892791748, -0.4754869043827057, -0.3372030556201935, -0.5856202840805054, -0.3054865300655365, 0.06711483746767044, 0.4241845905780792, 0.5311620235443115, -0.571815013885498, -0.18183402717113495, -0.28536456823349, -0.6466507911682129, -0.2949841022491455, 0.05630114674568176, -0.2734289765357971, 0.03963687643408775, 0.7477065920829773, -0.4711451828479767, 0.3987014591693878, 0.604514479637146, -0.7360051870346069, 0.7406259179115295, -0.14824099838733673, -0.13029766082763672, -1.1012965440750122, 0.03604752942919731, 0.09984569251537323, -0.3512365520000458, -0.71258145570755, 0.17448852956295013, -0.09754351526498795, 0.03764255717396736, -0.20857280492782593, 0.4942418336868286, -0.25091442465782166, 0.07421448826789856, -0.17237041890621185, 0.22016505897045135, -0.19760259985923767, 0.08685994893312454, -0.15271934866905212, 0.7125974893569946, 0.5070107579231262, -0.5543314814567566, 0.4726680517196655, 0.29687631130218506, -0.39285117387771606, 0.27145588397979736, -0.6082261204719543, 0.0601222924888134, 0.08057500422000885, 0.22002887725830078, -0.562526524066925, -0.28059154748916626, 0.31860417127609253, -0.014470054768025875, 0.012335765175521374, -0.7274159789085388, -0.6077923774719238, -0.41039061546325684, -0.2934011220932007, -0.06917537748813629, 0.6745904684066772, -0.41107767820358276, 0.2053142935037613, 0.7371793389320374, -0.2444796860218048, -0.5063613653182983, -0.5498239398002625, 0.37582358717918396, -0.576931893825531, -0.8394247889518738, 0.3153645396232605, -0.10033460706472397, -0.35683175921440125, -0.21148911118507385, -0.24945856630802155, -0.014019851572811604, 0.46985575556755066, 0.3014308214187622, 0.5427248477935791, 0.04002547636628151, -0.04709106683731079, -0.1073182001709938, 0.08887354284524918, 0.24137026071548462, -0.22659289836883545, 0.7046654224395752, -0.2613087594509125, -0.236101895570755, 0.05372423678636551, 0.0572228729724884, 0.4405209720134735, -0.5307531952857971, 0.5684535503387451, 0.21566437184810638, -0.04630511626601219, -0.3501266837120056, -0.47263309359550476, -0.288128137588501, -0.5374650955200195, 0.02469981461763382, -0.16958361864089966, -1.0620276927947998, 0.46659183502197266, -0.03881620615720749, 0.1324988305568695, -0.130902498960495, 0.23556183278560638, 0.1127152368426323, 0.9131975769996643, 0.8273703455924988, -0.06859709322452545, 0.6651225090026855, 0.1168675646185875, 0.36876118183135986, -0.6796669363975525, -0.22066235542297363, -0.11236904561519623, -0.17517469823360443, -0.6393402814865112, -0.3528355062007904, 0.4440845847129822, 0.4460376501083374, -0.18293894827365875, 0.583794355392456, -0.3384171426296234, 0.6374319791793823, 0.49740317463874817, 0.2258969396352768, 0.2839531898498535, -0.17505310475826263, -0.39921560883522034, 0.14644233882427216, -0.36977750062942505, -0.8720777630805969, 1.0458955764770508, 0.3128319978713989, 0.9462404251098633, 0.35426515340805054, 1.177414059638977, 0.46079084277153015, 0.2977698743343353, -0.6252710223197937, 0.7957514524459839, -0.046296220272779465, -0.6135510206222534, -0.2717772424221039, -0.3490391969680786, -0.7909852862358093, 0.057674847543239594, -0.219620019197464, -1.028304100036621, -0.16176727414131165, 0.48230046033859253, -0.369369775056839, 0.2046564370393753, -0.8878728747367859, 1.0717228651046753, -0.41363993287086487, -0.5059768557548523, -0.09498810023069382, -0.6901763677597046, 0.7155908942222595, 0.0120660699903965, 0.3106807470321655, -0.13298137485980988, 0.3224468529224396, 0.599772036075592, -0.47960686683654785, 1.150337815284729, -0.5315870046615601, -0.0916992649435997, 0.4847583770751953, 0.3788239061832428, 0.5505433082580566, 0.34089207649230957, 0.1543937772512436, -0.4627160429954529, 0.014942900277674198, -0.04898525029420853, -0.327489972114563, 0.6831730008125305, -0.6063289046287537, -0.8930454850196838, -0.25732421875, -0.36157146096229553, -0.2957925796508789, 0.4084005057811737, -0.00768376374617219, 0.2153172343969345, -0.44541922211647034, -0.12056592851877213, 0.8019163012504578, -0.3054024875164032, 0.3898880183696747, 0.3818742632865906, -0.5552486777305603, -0.11263380944728851, 0.5595454573631287, -0.016305752098560333, 0.21232977509498596, -0.08278010040521622, 0.33244144916534424, -0.17015966773033142, -0.632073700428009, -0.501192033290863, 0.018959544599056244, -0.2318045198917389, -0.16562038660049438, -0.314750999212265, -0.4871314764022827, -0.531164288520813, -0.09466943144798279, -0.018048079684376717, -0.2103368043899536, 0.2602657675743103, -0.3412642776966095, 0.734332799911499, 0.6085476875305176, -0.19676055014133453, 0.28958868980407715, -0.775332510471344, 0.3510238826274872, 0.4275132715702057, 0.5114659070968628, -0.44986164569854736, -0.19818708300590515, -0.06334233283996582, -0.031187033280730247, -0.3946911692619324, -1.0658495426177979, 0.3285028636455536, 0.04985077679157257, 0.6924898028373718, 0.26469871401786804, 0.11490705609321594, 0.5380868315696716, -0.681526780128479, 0.6117688417434692, 0.16748104989528656, -1.0075693130493164, 0.752919614315033, -0.6494113802909851, -0.27500119805336, 0.6014700531959534, -0.3745628595352173, -0.8641613721847534, -0.5183013677597046, -0.4221414625644684, -0.8806613683700562, 0.7305397391319275, 0.14771947264671326, 0.1810842603445053, -0.062200479209423065, 0.27347636222839355, -0.229161337018013, 0.06771630793809891, -0.6741052269935608, 0.2155846506357193, -0.2930258810520172, -0.17199653387069702, -0.05374017730355263, -0.04459204152226448, -0.3505316376686096, 0.14041990041732788, 0.44923630356788635, -0.19221799075603485, 0.005878879688680172, 0.17377425730228424, -0.2323095202445984, 0.11166372895240784, 0.4856312572956085, 0.4914032518863678, 0.3801862299442291, -0.28523436188697815, 0.2977403700351715, 0.003370807506144047, -0.7199174165725708, 0.223358154296875, 0.18579702079296112, -0.45836493372917175, -0.4095573127269745, 0.173855721950531, 0.7388763427734375, -0.021673796698451042, -0.8399253487586975, 0.486142635345459, 0.07319723814725876, -0.08547317981719971, -0.5486064553260803, 0.5760855078697205, 0.08700621873140335, 0.20429548621177673, 0.00055561593035236, 0.2594144344329834, -0.11319084465503693, -0.8087695240974426, 0.4368969202041626, 0.2252179980278015, -0.4890234172344208, -0.2338264435529709, 0.6695302128791809, 0.3881170451641083, -0.4409772455692291, 0.45226988196372986, -0.22554823756217957, -0.5162790417671204, 0.6446822881698608, 0.6165329813957214, 0.8207414150238037, -0.2347251921892166, 0.4526645541191101, 0.039969656616449356, 0.6782968044281006, -0.4792947471141815, 0.19161005318164825, 0.2227819263935089, -0.9822139143943787, -0.5505414605140686, -0.4420677721500397, -0.19376158714294434, 0.06236916780471802, -0.4122295677661896, 0.31965622305870056, -0.7062381505966187, -0.22266241908073425, -0.2502327859401703, -0.07394462823867798, -0.3762713372707367, -0.10078730434179306, 0.2959928810596466, 1.1868555545806885, -0.8287877440452576, 0.9558096528053284, 0.5054470896720886, -0.3511055111885071, -0.8046020269393921, 0.08854340016841888, 0.2873140275478363, -0.6766287088394165, 0.4384409785270691, 0.3767363727092743, -0.20990340411663055, -0.1626567393541336, -0.6478325128555298, -0.5814194083213806, 1.1582614183425903, 0.27289193868637085, -0.41103994846343994, -0.22809883952140808, -0.03439286723732948, 0.5836459398269653, -0.4677981734275818, -0.2135377675294876, 0.8289353847503662, 0.5609471797943115, -0.25718483328819275, -0.7828155755996704, 0.2546634078025818, -0.3802489936351776, -0.17569878697395325, 0.336283802986145, -0.5037305951118469, 0.30438297986984253, -0.3986908495426178, 0.03555157408118248, 0.14225582778453827, 0.04771334305405617, 0.7712447643280029, 0.2026834785938263, 0.7346932888031006, 0.4137875437736511, 0.4323181211948395, -0.03137502446770668, 0.8906418681144714, -0.3398655354976654, -0.10902602970600128, 1.047118902206421, -0.5696339011192322, 0.6199121475219727, 0.5304883122444153, 0.405496209859848, 0.5960540175437927, 0.30747559666633606, -0.2531358003616333, 0.656922459602356, 0.5266005396842957, -0.2439415007829666, -0.40689608454704285, -0.07806937396526337, 0.07171052694320679, 0.4366685748100281, 0.36002907156944275, -0.39109349250793457, -0.1666295975446701, -0.16318188607692719, 0.2989330589771271, 0.145920068025589, -0.2352258563041687, 0.6504214406013489, 0.14455780386924744, -0.82879638671875, 0.09629034250974655, 0.31860435009002686, 0.6530081629753113, -0.8289870023727417, -0.014578086324036121, -0.2611164152622223, 0.21424531936645508, -0.11539823561906815, -0.9137022495269775, 0.1523454487323761, 0.6149436235427856, 0.1292697638273239, -0.3984294533729553, 0.8116580843925476, -0.21257804334163666, -0.28122615814208984, 0.6283451318740845, 0.4046972692012787, -0.06285686790943146, 0.25957903265953064, -0.465117484331131, -0.11512813717126846, -0.09633712470531464, -0.11893666535615921, 0.30497831106185913, 0.16556569933891296, -0.5245087146759033, 0.7467110753059387, 0.7503589987754822, 0.28220170736312866, 0.3252251148223877, 0.11785411089658737, 0.9133356213569641, -0.6123807430267334, -0.5863170027732849, -0.9991564154624939, 0.42279455065727234, -0.360989511013031, -0.31605982780456543, 0.7581990957260132, 0.44730332493782043, 0.6110590100288391, 0.18152210116386414, 0.9583643674850464, -0.32738953828811646, 0.10994097590446472, -0.7118546366691589, 0.8363975882530212, 0.00859870109707117, 0.5748009085655212, -0.4961552321910858, -0.6920369267463684, -0.2910742461681366, 0.5364468693733215, -0.3622152507305145, -0.1619570553302765, 0.30799928307533264, 1.0189884901046753, -0.09678451716899872, -0.13142423331737518, 0.14297738671302795, 0.038400501012802124, 0.691723108291626, 0.5085195899009705, 0.8886651396751404, -0.09433867037296295, 0.8354383111000061, -0.08194481581449509, -0.24690961837768555, -0.206787109375, -0.7998802065849304, -0.9974560737609863, -0.012435922399163246, 0.012036433443427086, -0.4037627875804901, 0.33828771114349365, 0.9906161427497864, 0.7598893046379089, -0.556679368019104, -0.42325708270072937, -0.4477710723876953, 0.011257252655923367, -0.3684440553188324, -0.23811447620391846, -0.025235267356038094, -0.21083557605743408, -0.03581567853689194, 0.8121426701545715, 0.09783102571964264, -0.019988663494586945, -0.22540254890918732, -0.20436057448387146, 0.0029613168444484472, 0.1545443832874298, 0.5401154160499573, 0.32083508372306824, -0.5013374090194702, -0.4735911786556244, 0.15829820930957794, -0.07791876047849655, -0.21431225538253784, 0.9293855428695679, -0.6558864116668701, 0.43411123752593994, 0.35086947679519653, 0.40017884969711304, 0.45706313848495483, -0.13286656141281128, 0.8175105452537537, -0.7593306303024292, 0.00685040932148695, 0.058137375861406326, 0.3729957342147827, 0.18032068014144897, -0.2697656452655792, 0.6017515659332275, 0.028539614751935005, -0.45305415987968445, -0.7157248258590698, 0.703976571559906, -0.7025163173675537, -0.15117090940475464, 1.091467261314392, -0.1385304033756256, -0.1954088658094406, -0.26138734817504883, -0.3385624587535858, 0.0656176432967186, -0.5424337983131409, 1.0477917194366455, 0.4834696650505066, -0.02626902051270008, -0.28802210092544556, -0.6016934514045715, 0.718666136264801, -0.03305676579475403, -0.9211940765380859, 0.35406970977783203, 0.4647601842880249, 0.641805112361908, 0.13403144478797913, 0.5429811477661133, -0.32113203406333923, 0.20269882678985596, -0.35757455229759216, 0.1197601705789566, -0.28195643424987793, -0.3325803875923157, -0.0955752581357956, -0.13368453085422516, 0.24650828540325165, 0.10437512397766113 ]
http://arxiv.org/abs/2402.03284v1
http://arxiv.org/pdf/2402.03284v1
Deal, or no deal (or who knows)? Forecasting Uncertainty in Conversations using Large Language Models
2024-02-05T18:39:47
2024-02-05T18:39:47
Anthony Sicilia, Hyunwoo Kim, Khyathi Raghavi Chandu, Malihe Alikhani, Jack Hessel
cs.CL
cs.CL, cs.AI, cs.LG
Effective interlocutors account for the uncertain goals, beliefs, and emotions of others. But even the best human conversationalist cannot perfectly anticipate the trajectory of a dialogue. How well can language models represent inherent uncertainty in conversations? We propose FortUne Dial, an expansion of the long-standing "conversation forecasting" task: instead of just accuracy, evaluation is conducted with uncertainty-aware metrics, effectively enabling abstention on individual instances. We study two ways in which language models potentially represent outcome uncertainty (internally, using scores and directly, using tokens) and propose fine-tuning strategies to improve calibration of both representations. Experiments on eight difficult negotiation corpora demonstrate that our proposed fine-tuning strategies (a traditional supervision strategy and an off-policy reinforcement learning strategy) can calibrate smaller open-source models to compete with pre-trained models 10x their size.
[ -0.2244330495595932, -0.6613673567771912, 0.7811700105667114, 0.009920508600771427, -0.28331586718559265, 0.3098684847354889, -0.2858354449272156, -0.6249820590019226, 0.33301272988319397, 0.5987161993980408, -0.5871734023094177, -0.10766120254993439, -0.7301597595214844, -0.3307865262031555, -0.0955667719244957, 0.8757710456848145, 0.32838305830955505, 0.20257049798965454, 0.11934095621109009, 0.09631231427192688, -0.6408159732818604, -0.2442164123058319, -0.7522132992744446, -0.44767889380455017, 0.26418694853782654, 0.6159072518348694, 1.2812713384628296, 0.38025444746017456, 0.5195913910865784, 0.2796310484409332, -0.06474027037620544, 0.1258639395236969, -0.5491447448730469, -0.0029439525678753853, -0.20954707264900208, -0.689723789691925, -0.24500161409378052, 0.19403082132339478, 0.08306194096803665, 1.0269914865493774, -0.2910332977771759, -0.1687297523021698, -0.2776956558227539, 0.3689767122268677, -0.45354709029197693, 0.3017923831939697, -1.1891489028930664, 0.0738886147737503, 0.12704624235630035, -0.26146256923675537, -0.34129899740219116, -0.33268582820892334, 0.4445708692073822, -0.5258083343505859, -0.27297285199165344, 0.38775739073753357, 0.7155208587646484, 0.3436751365661621, -0.39961889386177063, -0.5264890789985657, -0.7278193831443787, 0.8996866345405579, -0.8180150389671326, 0.21932923793792725, 0.6369471549987793, 0.17402222752571106, -0.449187695980072, -0.2817680537700653, -0.34375816583633423, -0.1671280860900879, 0.16901572048664093, 0.1715220808982849, -0.17513403296470642, 0.24232764542102814, -0.019644560292363167, 0.1832861304283142, -0.06047981232404709, 0.2026541829109192, -0.43695294857025146, -0.1660534292459488, 0.629469633102417, 0.06545616686344147, -0.26426827907562256, -0.08672074228525162, -0.31709372997283936, -0.06868430227041245, -0.574330747127533, -0.017454667016863823, 0.5541883707046509, 0.4664404094219208, -0.10482056438922882, 0.5383365154266357, -0.3344481289386749, 0.6986050009727478, 0.29877546429634094, 0.01826123148202896, -0.2528194487094879, -0.04654213413596153, -0.24734076857566833, 0.09405229985713959, 0.669454038143158, 0.5567930936813354, 0.32025575637817383, -0.29466718435287476, -0.05571860820055008, -0.10036507248878479, 0.20005033910274506, -0.56334388256073, -0.25301384925842285, 0.3937370479106903, -0.09038083255290985, -0.4120244085788727, 0.020581595599651337, -0.9247644543647766, -0.5536108016967773, -0.18526791036128998, 0.5469805598258972, -0.38620439171791077, 0.026717301458120346, 0.4283908009529114, -0.08644164353609085, 0.12419568747282028, 0.5321376919746399, -0.7686328887939453, 0.2853486239910126, 0.6273533701896667, 0.49032142758369446, 0.09935086220502853, -0.09790527820587158, -0.6892046332359314, -0.06587060540914536, -0.9757940173149109, 0.6306077241897583, -0.5721350312232971, -0.7044641375541687, -0.022410472854971886, -0.4907168745994568, 0.12045710533857346, -0.2701265513896942, 0.4787929654121399, -0.3168342709541321, 0.2572007477283478, -0.0806671604514122, -0.6397595405578613, 0.0698389783501625, 0.27130159735679626, -0.3103785514831543, 0.5017665028572083, 0.14766806364059448, -0.46235963702201843, 0.42375296354293823, -0.36212989687919617, -0.1830378770828247, 0.22098584473133087, -0.10914415121078491, -0.24248750507831573, 0.3456563651561737, 0.012795213609933853, 0.2276540845632553, -0.493197500705719, 0.5652568340301514, -0.3535718023777008, -0.40696778893470764, 0.6313920617103577, -0.6378383040428162, 0.2607956826686859, 0.2680174708366394, -0.06338878720998764, 0.040118250995874405, -0.23243078589439392, 0.3028806746006012, -0.08209222555160522, -0.036970630288124084, -0.25732678174972534, 0.04630148038268089, -0.21205586194992065, 0.11395101249217987, 0.3946628272533417, -0.3180260956287384, 0.18603076040744781, -0.6441990733146667, 0.5241770148277283, 0.624352753162384, 0.04628458246588707, 0.5971255898475647, -0.5340951681137085, 0.5497311949729919, -0.03622380644083023, 0.31833186745643616, -0.1023762971162796, -0.5027679204940796, -0.9475616216659546, 0.4138573408126831, 0.6132659912109375, 0.48581618070602417, -0.7499986290931702, 0.3356429934501648, -0.3083212971687317, -0.7898557186126709, -0.5158998370170593, -0.180768221616745, 0.4886970818042755, 0.04437090829014778, 0.1096908375620842, -0.25260648131370544, -0.2213582545518875, -0.6199962496757507, -0.6688851118087769, -0.44476601481437683, -0.040623292326927185, 0.23703061044216156, 0.24489031732082367, 0.2939257323741913, 1.0697742700576782, -0.6565157175064087, -0.2846161425113678, -0.11176387220621109, 0.5400599837303162, 0.16295422613620758, 0.3276466429233551, 0.24166519939899445, -0.9494274258613586, -0.4193127751350403, -0.022870557382702827, -0.0892690122127533, 0.40786507725715637, -0.3863077759742737, 0.003089663339778781, 0.13882292807102203, 0.5230057239532471, -0.5506725311279297, 0.42662081122398376, 0.6118783354759216, -0.3899920880794525, 0.5907081365585327, -0.3358941972255707, 0.17666929960250854, -0.8038926124572754, -0.40689054131507874, -0.04172969609498978, -0.37862804532051086, -0.5639281868934631, -0.2878789007663727, -0.05118713155388832, -0.19354116916656494, -0.3137624263763428, 0.6238799095153809, -0.28859376907348633, 0.19446173310279846, -0.1454019546508789, 0.26705315709114075, -0.04553798958659172, 0.43072280287742615, 0.2915600538253784, 0.7586001753807068, 0.3194326162338257, -0.3927758038043976, -0.06542146950960159, 0.34244322776794434, -0.7696317434310913, 0.5093231201171875, -0.5237268805503845, 0.20791621506214142, 0.08015292137861252, 0.06417795270681381, -0.7775086760520935, -0.3295958936214447, 0.17898936569690704, -0.6176657676696777, 0.21814307570457458, -0.14642180502414703, -0.07523629069328308, -0.4059683382511139, -0.13746456801891327, 0.020768681541085243, 0.46119633316993713, -0.023349151015281677, 0.3531525731086731, 0.330426961183548, -0.3700145184993744, -0.4773603677749634, -0.6224059462547302, 0.3427480459213257, -0.314444899559021, -0.25924238562583923, 0.4919215738773346, -0.34576526284217834, -0.5039676427841187, -0.2505009174346924, -0.2782841920852661, -0.269741028547287, 0.17811402678489685, 0.1868894249200821, 0.07296290248632431, 0.18424157798290253, 0.2223322093486786, -0.019248496741056442, -0.301405668258667, -0.08705966174602509, -0.2371516078710556, 0.5994199514389038, 0.017325835302472115, -0.5639311075210571, 0.045679721981287, 0.24020040035247803, 0.6780338287353516, -0.016225246712565422, 0.6502601504325867, 0.10114303231239319, -0.35359153151512146, 0.026069724932312965, -0.706952691078186, -0.19881142675876617, -0.48533394932746887, 0.31350934505462646, -0.3623999357223511, -0.6651515364646912, 0.5426619052886963, -0.30913618206977844, -0.12286804616451263, 0.19597011804580688, 0.21528123319149017, 0.08413095772266388, 1.0727895498275757, 0.7982749938964844, -0.1079452782869339, 0.42087844014167786, 0.09991084039211273, 0.6495585441589355, -0.35287240147590637, -0.030683141201734543, -0.5314305424690247, -0.010245421901345253, -0.4675890803337097, -0.5943988561630249, 0.39515018463134766, 0.2484320104122162, -0.03872007504105568, 0.29681485891342163, -0.3485645651817322, 0.5514984726905823, 0.8351802229881287, -0.007583902217447758, 0.36055701971054077, -0.33982840180397034, 0.3158796727657318, -0.24248795211315155, -0.5520493984222412, -0.4654408395290375, 0.8302720785140991, 0.27127692103385925, 0.8413951992988586, -0.1648399978876114, 0.48148661851882935, 0.061628613620996475, -0.06037261709570885, -0.9400864839553833, 0.26418015360832214, 0.1746927797794342, -0.6039977073669434, -0.6926888227462769, -0.6700876951217651, -0.8164811730384827, 0.019834067672491074, -0.32255858182907104, -1.0498446226119995, 0.3553825616836548, -0.06304829567670822, -0.6816601753234863, 0.21955247223377228, -0.7114636898040771, 0.8995783925056458, -0.45330145955085754, 0.09347684681415558, -0.24135532975196838, -0.5726690888404846, 0.04373563081026077, -0.38924914598464966, 0.5232080221176147, -0.3041812777519226, 0.1917913258075714, 0.5528707504272461, -0.31867846846580505, 0.7123141884803772, 0.16120558977127075, -0.08196931332349777, 0.338937908411026, 0.5068877935409546, 0.7029821276664734, 0.10226117819547653, -0.42489853501319885, 0.21646681427955627, 0.2857212722301483, -0.2294066995382309, -0.5121832489967346, 0.36601972579956055, -0.5213693976402283, -0.5405104160308838, -0.30560973286628723, -0.765442430973053, -0.5385898351669312, -0.0035433860030025244, 0.5907408595085144, 0.07033905386924744, -0.4111979901790619, -0.03763531893491745, 0.19173644483089447, -0.18027949333190918, 0.1551133394241333, 0.5142054557800293, -0.15460196137428284, -0.26740363240242004, 0.892792284488678, 0.16341905295848846, 0.5634558200836182, 0.3317462205886841, 0.21150356531143188, -0.12674561142921448, -0.5849495530128479, -0.0966024324297905, -0.06713102012872696, -0.5570806264877319, -0.5201318264007568, -0.19032667577266693, -0.1647317111492157, -0.3017060160636902, -0.3603772819042206, -0.4792080223560333, -0.330196738243103, -0.2560696303844452, -0.1354788988828659, 0.5364173054695129, 0.6460437774658203, -0.038406211882829666, 0.6844203472137451, -0.5884401202201843, -0.11948713660240173, 0.2456481009721756, 0.5316426157951355, -0.30127403140068054, -0.4324922561645508, -0.32220521569252014, 0.6220298409461975, -0.34777531027793884, -0.7910458445549011, 0.7010908722877502, 0.13450847566127777, -0.020553473383188248, 0.4119454622268677, 0.5917094349861145, 0.8031293749809265, -0.25326210260391235, 0.7329550385475159, 0.46739497780799866, -1.240435242652893, 0.3825472891330719, -0.40460848808288574, 0.27337533235549927, 0.676410973072052, -0.06463263928890228, -0.8433777689933777, -0.5798332691192627, -0.6673856377601624, -0.7308492660522461, 0.7887841463088989, 0.14476098120212555, 0.45194029808044434, -0.11649738997220993, 0.09986630082130432, 0.1293734908103943, 0.6266891956329346, -0.4716229736804962, -0.053446464240550995, 0.1272902488708496, -0.13456177711486816, -0.22554881870746613, -0.375061571598053, -0.14121229946613312, -0.026707548648118973, 0.5105507969856262, -0.2600797414779663, 0.1784915328025818, -0.1353681981563568, 0.2390507161617279, -0.4593571126461029, 0.36335986852645874, 0.3074755072593689, 0.8767452836036682, -0.2956102192401886, -0.2117299735546112, 0.19717039167881012, 0.008250747807323933, -0.23523977398872375, 0.09397469460964203, 0.010309110395610332, -0.06593015789985657, 0.17738476395606995, 1.006617784500122, 0.6862314939498901, -0.8789759874343872, 0.5321206450462341, -0.18327032029628754, -0.3354436159133911, -0.4686545431613922, -0.055985402315855026, 0.028900543227791786, 0.3146420419216156, 0.3427915871143341, 0.14215046167373657, 0.11084523797035217, -0.6363208293914795, -0.06646308302879333, 0.6377795934677124, -0.7968801259994507, 0.021489646285772324, 0.530211329460144, 0.1781042069196701, -0.6264814138412476, 0.517095685005188, -0.25373679399490356, -0.6925278306007385, 0.6465252041816711, 0.27630355954170227, 0.4031769633293152, -0.17682459950447083, 0.5235205888748169, -0.20971707999706268, 0.34377795457839966, -0.20792484283447266, 0.12811532616615295, 0.27363595366477966, -0.8984668850898743, -0.5605723857879639, -0.4944760799407959, -1.0108038187026978, -0.00878551322966814, -0.6202829480171204, 0.3448140621185303, -0.17195844650268555, -0.17314594984054565, 0.024870285764336586, 0.242536723613739, -0.8819524645805359, 0.11109751462936401, -0.059380628168582916, 0.9107547402381897, -0.6173558235168457, 0.5356003046035767, 0.22898295521736145, -0.3256504535675049, -0.882921040058136, 0.1761361062526703, -0.13598419725894928, -0.580924391746521, 0.19466838240623474, 0.023007899522781372, 0.08806037902832031, -0.058648645877838135, -0.5676687955856323, -0.9918022751808167, 0.5926001667976379, 0.694733738899231, -0.6426969766616821, -0.21747028827667236, 0.12049226462841034, 0.30406075716018677, -0.1344487965106964, 0.3762269914150238, 0.5540112853050232, 0.7004104256629944, 0.30698254704475403, -1.2974112033843994, -0.5027616620063782, 0.21696314215660095, -0.3301324248313904, 0.45924004912376404, -0.6492792367935181, 0.6994476914405823, -0.3354620635509491, -0.06162737309932709, 0.4387304484844208, 0.49489057064056396, -0.26027533411979675, 0.30717456340789795, 0.4727934002876282, 0.23313315212726593, 0.8025293946266174, -0.43429800868034363, 0.9971373081207275, -0.3844405710697174, 0.28304868936538696, 1.1495215892791748, -0.29670220613479614, 0.8036095499992371, 0.5027401447296143, -0.2417324036359787, 0.2551819086074829, 0.837469220161438, 0.23929151892662048, 0.50907301902771, 0.22314120829105377, 0.06185709312558174, -0.7042036652565002, -0.14981509745121002, -0.05533604696393013, 0.7483399510383606, 0.7497162222862244, -0.009490027092397213, -0.05717526376247406, -0.05112471431493759, 0.06685728579759598, 0.12557204067707062, -0.14733636379241943, 0.8661223649978638, 0.2745053172111511, -1.0463978052139282, 0.05062419921159744, 0.05678809806704521, 0.5255037546157837, -0.6490795016288757, 0.06169545650482178, -0.09154807776212692, 0.1415567249059677, 0.33380037546157837, -0.6805091500282288, 0.22342625260353088, -0.5512716174125671, 0.15056997537612915, -0.11801392585039139, 0.3874760568141937, -0.8198046684265137, -0.5429588556289673, 0.2636563777923584, 0.5840543508529663, 0.31033623218536377, -0.36001574993133545, -0.7364982962608337, 0.035566117614507675, -0.0019337910925969481, -0.02236359193921089, 0.3340334892272949, 0.5933741927146912, 0.05205314978957176, 0.7844614386558533, 0.2684602737426758, 0.19977892935276031, -0.3007737398147583, -0.24947203695774078, 0.3758590519428253, -0.46464380621910095, -0.4145251214504242, -0.4947473704814911, 0.38339123129844666, -0.08030690252780914, -0.5641550421714783, 0.4732953608036041, 0.22116923332214355, 0.6895133256912231, 0.12595710158348083, 0.5640653371810913, 0.2523880898952484, 0.3781520426273346, -0.5185970067977905, 0.47276049852371216, -0.43460386991500854, 0.22493626177310944, -0.3437138497829437, -0.7535226941108704, -0.1372409462928772, 0.7582919597625732, -0.6273930072784424, 0.05938175693154335, 0.5378742218017578, 0.441280335187912, 0.06311103701591492, 0.22001218795776367, 0.6759948134422302, 0.10600906610488892, 0.07996746897697449, 0.4607398509979248, 0.6114224195480347, -0.3039635419845581, 0.8168728351593018, -0.24399122595787048, -0.01072688214480877, -0.38987013697624207, -0.9402713179588318, -0.5311239957809448, -0.658941924571991, -0.40673184394836426, -0.11991473287343979, 0.18961498141288757, 0.9159137606620789, 0.9456117153167725, -0.5357258319854736, -0.2802610993385315, -0.19315196573734283, 0.30035707354545593, -0.10867032408714294, -0.1618998497724533, 0.1354469507932663, -0.44825342297554016, -0.8092566132545471, 0.42399120330810547, 0.2665177285671234, 0.18962998688220978, -0.18255147337913513, -0.0449979230761528, 0.2590818405151367, 0.6414353847503662, 0.18120568990707397, 0.0874965637922287, -0.7652989029884338, -0.5005106329917908, -0.159429669380188, 0.10553157329559326, -0.031911250203847885, 0.623782217502594, -0.5749548673629761, 0.6697260141372681, -0.1661081314086914, 0.25292396545410156, 0.4235696792602539, 0.006225847639143467, 0.953058123588562, -0.6942701935768127, 0.30542346835136414, 0.39718785881996155, 0.3055104911327362, 0.30917930603027344, -0.47259408235549927, 0.613487720489502, -0.5065925717353821, -0.6428326368331909, -0.6726879477500916, 0.36510133743286133, -0.5915265679359436, -0.5887595415115356, 0.7490674257278442, 0.05309182032942772, 0.09780178219079971, -0.18399235606193542, -0.25690385699272156, -0.04235675930976868, -0.6065805554389954, 1.0224648714065552, 1.052396297454834, 0.28016197681427, -0.022136176005005836, -0.594001293182373, 0.48984652757644653, 0.5515252351760864, -0.5486273765563965, 0.2433980107307434, 0.4184293746948242, -0.19630016386508942, 0.3491609990596771, 0.6409116387367249, 0.30841171741485596, 0.0472429059445858, 0.07605740427970886, -0.19183063507080078, 0.4755401313304901, -0.37283122539520264, -0.05378042906522751, -0.1930617094039917, 0.5475836396217346, 0.04943607747554779 ]
http://arxiv.org/abs/2402.03271v2
http://arxiv.org/pdf/2402.03271v2
Uncertainty of Thoughts: Uncertainty-Aware Planning Enhances Information Seeking in Large Language Models
2024-02-05T18:28:44
2024-05-30T14:03:35
Zhiyuan Hu, Chumin Liu, Xidong Feng, Yilun Zhao, See-Kiong Ng, Anh Tuan Luu, Junxian He, Pang Wei Koh, Bryan Hooi
cs.CL
cs.CL, cs.AI, cs.LG
In the face of uncertainty, the ability to *seek information* is of fundamental importance. In many practical applications, such as medical diagnosis and troubleshooting, the information needed to solve the task is not initially given and has to be actively sought by asking follow-up questions (for example, a doctor asking a patient for more details about their symptoms). In this work, we introduce Uncertainty of Thoughts (UoT), an algorithm to augment large language models with the ability to actively seek information by asking effective questions. UoT combines 1) an *uncertainty-aware simulation approach* which enables the model to simulate possible future scenarios and how likely they are to occur, 2) *uncertainty-based rewards* motivated by information gain which incentivizes the model to seek information, and 3) a *reward propagation scheme* to select the optimal question to ask in a way that maximizes the expected reward. In experiments on medical diagnosis, troubleshooting, and the `20 Questions` game, UoT achieves an average performance improvement of 38.1% in the rate of successful task completion across multiple LLMs compared with direct prompting and also improves efficiency (i.e., the number of questions needed to complete the task). Our code has been released [here](https://github.com/zhiyuanhubj/UoT)
[ -0.22442345321178436, -0.8628653883934021, 1.0092390775680542, 0.255860298871994, -0.16184449195861816, -0.16345812380313873, -0.2252061516046524, -0.5183286070823669, 0.2656339406967163, 0.4214528501033783, -0.6799219846725464, -0.15030726790428162, -0.541849672794342, -0.41769179701805115, -0.14237289130687714, 0.5027661323547363, -0.06702948361635208, 0.013028628192842007, 0.00004128138243686408, 0.42439568042755127, -0.3464682102203369, -0.3530619740486145, -1.0007506608963013, -0.284316748380661, 0.6711159944534302, 0.6166514158248901, 0.8479986786842346, 0.3336069881916046, 0.6611871123313904, 0.24554674327373505, 0.000891095376573503, 0.056045882403850555, -0.36435234546661377, 0.5800134539604187, -0.19505275785923004, -0.5870707631111145, -0.13276037573814392, -0.41001471877098083, 0.5061130523681641, 0.6950445771217346, -0.5108540058135986, -0.07284010201692581, -0.1935974806547165, 0.7301372289657593, -0.6881569027900696, -0.016017472371459007, -0.5421327948570251, 0.19611229002475739, -0.08618724346160889, -0.3861671984195709, -0.10311425477266312, -0.044483356177806854, 0.29216116666793823, -0.6958786249160767, -0.23166722059249878, -0.010393941774964333, 0.5173407196998596, 0.45632731914520264, -0.08806948363780975, -0.3664686679840088, -1.0274137258529663, 0.6465148329734802, -0.3487851619720459, 0.5535925030708313, 0.3581068217754364, 0.07509233057498932, -0.5834372043609619, -0.5862830281257629, -0.477804958820343, 0.21505482494831085, 0.3184342682361603, 0.28044766187667847, -0.47604694962501526, 0.30395177006721497, 0.26651737093925476, 0.21220171451568604, -0.42180678248405457, -0.15407654643058777, -0.13681049644947052, -0.2020369917154312, 0.5382298231124878, -0.03102482110261917, 0.03168009594082832, -0.03628033772110939, -0.3633846640586853, -0.21501368284225464, -0.4221613109111786, 0.23655852675437927, 0.22862887382507324, -0.2453911304473877, 0.20701301097869873, 0.564725399017334, -0.5547205805778503, 0.7377536296844482, -0.12371203303337097, 0.10153642296791077, -0.1261833757162094, -0.19797655940055847, -0.16194310784339905, -0.10755875706672668, 0.6631554961204529, 0.28194019198417664, 0.08528919517993927, 0.15371668338775635, -0.29868367314338684, -0.11084061861038208, 0.45533478260040283, -0.5248208045959473, -0.4867525100708008, 0.7004474401473999, -0.1682453602552414, -0.09695389121770859, -0.27910447120666504, -0.838182270526886, -0.4686072766780853, -0.043540552258491516, 0.5525985956192017, -0.6607656478881836, -0.5018625259399414, 0.5632520318031311, -0.023266926407814026, -0.12812590599060059, 0.5271104574203491, -0.666159451007843, 0.13684658706188202, 0.33270198106765747, 0.31233516335487366, -0.08026662468910217, -0.19096435606479645, -0.31522810459136963, 0.17339468002319336, -0.4428485035896301, 1.0186896324157715, -0.4652569591999054, -0.40373700857162476, -0.18275685608386993, -0.6049267649650574, 0.016388114541769028, -0.336264044046402, 0.6648094654083252, -0.47994592785835266, 0.06121634319424629, -0.5177201628684998, -0.5275940299034119, -0.14201851189136505, 0.4070613980293274, -0.5324155688285828, 1.0472604036331177, 0.18828114867210388, -0.6839700937271118, 0.39700379967689514, -0.9679909348487854, -0.2095501869916916, 0.2782510221004486, -0.23759783804416656, -0.00858831126242876, 0.2311829924583435, 0.35354918241500854, 0.48552659153938293, -0.40659043192863464, 0.3028619885444641, 0.07835068553686142, -0.23840932548046112, 0.35264965891838074, -0.5220175385475159, 0.3843161463737488, 0.47428858280181885, -0.2625557482242584, 0.24259956181049347, -0.35979798436164856, 0.466545969247818, 0.3821936547756195, -0.18015097081661224, -0.4244213402271271, 0.2981555461883545, -0.08904773741960526, 0.032478298991918564, 0.32621774077415466, -0.36304759979248047, 0.44749996066093445, -0.3996202051639557, 0.0624166801571846, 0.5581026077270508, 0.38779789209365845, 0.2617606222629547, -0.3915037512779236, 0.6487595438957214, -0.04140940308570862, 0.5597870945930481, -0.0026218644343316555, -0.7645208835601807, -0.5703252553939819, 0.04665014147758484, 0.25212377309799194, 0.6135212779045105, -0.91458660364151, -0.05605126544833183, 0.07723472267389297, -0.5823975801467896, -0.5106372237205505, -0.23183438181877136, 0.23399950563907623, 0.4339885413646698, 0.2249774932861328, -0.25567078590393066, -0.5668913722038269, -0.450794517993927, -0.17601750791072845, -0.565169095993042, 0.006895103491842747, 0.2509741485118866, 0.3095601797103882, -0.2013208121061325, 0.7049109935760498, -0.8082138895988464, 0.08295504003763199, -0.5063371658325195, 0.3062620162963867, 0.12126754969358444, 0.46448802947998047, 0.023876411840319633, -1.1333085298538208, -0.1466217339038849, -0.09570679068565369, -0.5278273224830627, 0.17921625077724457, -0.329950749874115, -0.30202606320381165, -0.19617587327957153, 0.18335965275764465, -0.7728613018989563, 0.4382975399494171, 0.3974858224391937, -0.13817758858203888, 0.4286899268627167, -0.48174306750297546, 0.31122541427612305, -1.0336112976074219, 0.10256551206111908, -0.2506882846355438, -0.04729779437184334, -0.5846105217933655, 0.18351879715919495, -0.00872066617012024, 0.130965456366539, -0.3654598593711853, 0.5515623688697815, -0.5214817523956299, 0.13229195773601532, -0.20638452470302582, 0.029716821387410164, -0.20158663392066956, 0.26416173577308655, 0.0830921158194542, 0.7237325310707092, 0.7598641514778137, -0.6972777843475342, 0.38799813389778137, -0.04631240665912628, -0.45915544033050537, 0.6645967364311218, -0.4466405212879181, 0.19445520639419556, -0.14573107659816742, -0.20654037594795227, -0.8741018772125244, -0.6015901565551758, 0.30395233631134033, -0.5708491206169128, 0.3020681142807007, 0.2353898137807846, -0.4272916615009308, -0.68117356300354, -0.08896841108798981, 0.49670344591140747, 0.3355398178100586, -0.14488007128238678, 0.504540741443634, 0.5937057137489319, -0.37474900484085083, -0.7491809725761414, -0.45151859521865845, -0.05300815403461456, 0.0493863970041275, -0.25425025820732117, 0.1373090296983719, -0.22149863839149475, -0.40475818514823914, 0.245259091258049, -0.2206508070230484, -0.211069256067276, 0.31809625029563904, 0.15592718124389648, 0.09677571803331375, 0.15488818287849426, 0.5302743315696716, 0.1674415022134781, -0.131769061088562, 0.1238180547952652, -0.6694295406341553, 0.8192370533943176, 0.05707065761089325, -0.639743983745575, -0.2170305699110031, 0.4867314100265503, 0.10255854576826096, -0.1432923823595047, 0.2824397087097168, 0.26966503262519836, -0.7343034148216248, -0.1574891209602356, -0.6204863786697388, -0.34373047947883606, -0.4542980492115021, 0.533475935459137, -0.3613910973072052, -0.7462167739868164, 0.48639464378356934, -0.322172611951828, -0.12823699414730072, 0.4681815505027771, 0.3671785891056061, -0.5679649114608765, 1.1717429161071777, 0.9816820025444031, -0.14947456121444702, 0.4449111819267273, -0.10465048998594284, -0.007105551660060883, -0.6321901679039001, -0.170879527926445, -0.29247385263442993, -0.23470163345336914, -0.2071407288312912, -0.8129760026931763, 0.5903805494308472, 0.0798349380493164, 0.19352127611637115, -0.029446538537740707, -0.7519509792327881, 0.4275568127632141, 0.7224312424659729, 0.06363622099161148, 0.2752830386161804, -0.09195616096258163, -0.27821314334869385, 0.025049259886145592, -1.003230333328247, -0.08589762449264526, 1.0009632110595703, 0.18929168581962585, 0.8960793018341064, -0.2232801616191864, 0.7908790707588196, 0.030117152258753777, -0.04007624462246895, -0.8648441433906555, 0.40582236647605896, 0.6911191344261169, -0.7923887968063354, -0.7604181170463562, -0.6190999150276184, -1.1971216201782227, -0.09917652606964111, -0.18789292871952057, -0.9676270484924316, 0.2781079411506653, 0.2572263479232788, -0.8692576289176941, 0.5639880895614624, -0.38784652948379517, 0.5076056122779846, -0.5818287134170532, -0.14706052839756012, -0.40937539935112, -0.6308789849281311, -0.046880003064870834, -0.2510891854763031, 0.10457727313041687, 0.13077618181705475, -0.005723281763494015, 0.7052305936813354, 0.24008610844612122, 0.4322047829627991, -0.019087746739387512, 0.05322084575891495, 0.45727014541625977, 0.1055721566081047, 0.6372740268707275, 0.08806528151035309, -0.06026432663202286, -0.09206747263669968, 0.005817953031510115, -0.3220454156398773, -0.6490858197212219, 0.38642418384552, -0.3683357238769531, -0.5496898889541626, -0.572189450263977, -1.0636028051376343, -0.44329431653022766, 0.33032071590423584, 0.42537325620651245, 0.1565398871898651, -0.030440401285886765, -0.1917061060667038, 1.0555460453033447, -0.2952437698841095, 0.16498972475528717, 0.24141031503677368, -0.3677489161491394, -0.08340553194284439, 0.4375438988208771, 0.17167365550994873, 0.26562801003456116, 0.598190426826477, 0.19204415380954742, -0.36831966042518616, -0.744604766368866, -0.36539241671562195, 0.17525334656238556, -0.5621458888053894, -0.20885924994945526, -0.6893477439880371, -0.23452603816986084, -0.1562034636735916, 0.03415892273187637, -0.6376128196716309, -0.43296101689338684, 0.0627143606543541, -0.12592589855194092, 0.5011532306671143, 0.9540291428565979, -0.20569570362567902, 0.4198819100856781, -0.5166100859642029, 0.023927688598632812, 0.26263630390167236, 0.5172103643417358, -0.24163630604743958, -0.1978783905506134, -0.34203413128852844, 0.29359322786331177, -0.22781674563884735, -0.9765200018882751, 0.2505660951137543, -0.3412926197052002, 0.7228844165802002, 0.40001118183135986, 0.3393353223800659, 0.750758945941925, -0.1334952563047409, 0.4762187600135803, 0.052201494574546814, -0.6327413320541382, 0.761618435382843, -0.3485354483127594, 0.4781794250011444, 0.6817629933357239, 0.5747619867324829, -0.6473639011383057, -0.3773987889289856, -0.7444892525672913, -0.9748896360397339, 0.536017656326294, 0.13818034529685974, -0.2369600385427475, 0.06228259578347206, 0.6110125780105591, -0.3890737295150757, 0.41636285185813904, -0.3265193700790405, -0.14759773015975952, 0.514980137348175, -0.2840110957622528, 0.15538205206394196, -0.5288674831390381, -0.16770978271961212, -0.13977566361427307, 0.5625839829444885, -0.011005970649421215, 0.9133462309837341, 0.5685286521911621, 0.2610672414302826, -0.5721593499183655, 0.2436647266149521, 0.5488018989562988, 0.48466813564300537, -0.35096266865730286, 0.13753126561641693, 0.16493405401706696, -0.699842095375061, -0.08398894220590591, 0.2535034120082855, -0.246412992477417, -0.16381250321865082, -0.05588487163186073, 0.6126287579536438, 0.15976206958293915, -0.8566310405731201, 0.1284092664718628, -0.10787662863731384, -0.13784584403038025, -0.24159599840641022, 0.11020012199878693, 0.16902008652687073, 0.5037254095077515, 0.32210665941238403, 0.20321114361286163, 0.4251551926136017, -0.5571274161338806, 0.22350479662418365, 0.30701059103012085, -0.7334242463111877, -0.034818053245544434, 0.5851156115531921, -0.3162102997303009, -0.2649533152580261, 0.5351240038871765, -0.374490350484848, -0.6096201539039612, 0.4093998074531555, 0.4427180886268616, 0.4991507828235626, -0.5636902451515198, 0.34178921580314636, 0.0960923433303833, 0.5251603126525879, -0.4419771432876587, 1.101707935333252, 0.06059225648641586, -0.662712812423706, -0.49699991941452026, -0.25235792994499207, -0.7822490334510803, 0.04145132005214691, -0.3862975239753723, -0.1220586895942688, -0.14091521501541138, -0.4079550802707672, -0.47807514667510986, 0.008866535499691963, -0.5465589761734009, 0.4383394420146942, 0.05552216246724129, 0.8616639971733093, -0.1843511015176773, 0.8681952953338623, 0.8087015748023987, -0.18585409224033356, -1.2456128597259521, 0.15607935190200806, -0.04773557931184769, -0.5418753623962402, 0.13343574106693268, -0.03289104998111725, -0.12461993843317032, -0.036590710282325745, -0.36996322870254517, -1.3709088563919067, 0.9487062692642212, 0.27403852343559265, -0.5756098628044128, -0.11949427425861359, 0.12100286036729813, 0.29539480805397034, -0.18473950028419495, 0.17891767621040344, 0.28925350308418274, 0.5853555202484131, 0.30625244975090027, -0.842328667640686, -0.16132237017154694, -0.2526851296424866, -0.3987887501716614, 0.5465289354324341, -0.2949422597885132, 0.9035709500312805, -0.6593241095542908, -0.23687253892421722, -0.013440633192658424, 0.4976469874382019, 0.10318423807621002, 0.37286698818206787, 0.6449862122535706, 0.4503280222415924, 1.4273873567581177, -0.2519693374633789, 1.2082709074020386, -0.3675106167793274, 0.13770802319049835, 1.0193603038787842, -0.1733534336090088, 0.9450470209121704, 0.4848967492580414, 0.017154932022094727, 0.10630405694246292, 0.7172054052352905, 0.37749114632606506, 0.4488079249858856, 0.11667934060096741, -0.1562136560678482, -0.3317147493362427, -0.1234067901968956, -0.3783974349498749, 0.29817861318588257, 0.6090209484100342, -0.025302361696958542, 0.12770318984985352, -0.009600170888006687, -0.08076122403144836, -0.05832059681415558, -0.29955124855041504, 0.5555819272994995, -0.11515097320079803, -0.8545109033584595, 0.18030206859111786, -0.17841778695583344, 0.2788035571575165, -0.7963049411773682, 0.06297048926353455, 0.06569556146860123, 0.20607715845108032, 0.1822504848241806, -1.1071579456329346, 0.20129980146884918, -0.2529025375843048, -0.013284633867442608, -0.08988538384437561, 0.8986256718635559, -0.3983291983604431, -0.48637425899505615, 0.23844636976718903, 0.7190099358558655, 0.27184078097343445, -0.6147018074989319, -0.8224871754646301, -0.01726491004228592, 0.05662918835878372, -0.5313829779624939, 0.09585161507129669, 0.8079343438148499, -0.19911254942417145, 1.034426212310791, 0.5132028460502625, 0.4322448670864105, -0.14993973076343536, -0.2713398337364197, 0.9846952557563782, -0.5549783110618591, -0.3531913161277771, -0.5877135396003723, 0.5324742197990417, -0.14782562851905823, -0.4192779064178467, 0.44259780645370483, 0.4078846871852875, 0.7940382957458496, 0.1540284901857376, 0.6222141981124878, -0.016487836837768555, 0.5339647531509399, -0.44059401750564575, 0.6419962644577026, -0.6202765703201294, 0.2815718352794647, -0.3648252487182617, -0.6884806156158447, -0.3346334397792816, 0.8914233446121216, -0.46386510133743286, -0.04293946549296379, 0.7138881087303162, 0.43387094140052795, 0.2541615962982178, 0.07184398919343948, 0.48069727420806885, 0.011387990787625313, 0.10311883687973022, 0.8424059152603149, 0.9116241335868835, -0.13898250460624695, 0.3711497485637665, -0.5385013818740845, -0.2545936107635498, -0.1533006727695465, -0.5668166875839233, -0.3568416237831116, -0.6099575757980347, 0.030620470643043518, 0.09492545574903488, 0.11786520481109619, 1.2079601287841797, 0.6821087598800659, -0.47805917263031006, -0.29369691014289856, -0.16853715479373932, 0.3265671730041504, -0.37023743987083435, -0.1093546450138092, 0.055267333984375, -0.33810222148895264, -0.4899911880493164, 0.3600272238254547, 0.44797414541244507, 0.08323167264461517, -0.11599277704954147, 0.07047906517982483, -0.3395625352859497, 0.4102799594402313, 0.2811793088912964, 0.1910858303308487, -0.3711325526237488, -0.18056079745292664, 0.3075895309448242, -0.09717477113008499, -0.04372628778219223, 0.5581022500991821, -0.623592734336853, 0.761735200881958, 0.2538243532180786, 0.6574681401252747, 0.47600066661834717, 0.016895506531000137, 0.6397687196731567, -0.33668336272239685, 0.15472260117530823, 0.6212586760520935, 0.3410017490386963, 0.1174187883734703, -0.8196582794189453, 0.6151582598686218, -0.08101281523704529, -0.6410836577415466, -0.517412543296814, 0.5229358673095703, -0.9086610078811646, -0.34896376729011536, 1.0777535438537598, 0.07866747677326202, -0.2236396074295044, -0.19502630829811096, -0.5159845948219299, 0.23155435919761658, -0.5657449960708618, 0.8769197463989258, 0.7201293706893921, -0.33736759424209595, -0.22208218276500702, -0.7440747618675232, 0.6030524373054504, 0.7316705584526062, -0.7908478379249573, -0.006714525166898966, 0.26385432481765747, -0.09946347028017044, 0.2811858057975769, 0.943004846572876, 0.1269470453262329, 0.44416025280952454, -0.09564049541950226, 0.30803725123405457, 0.21173301339149475, -0.5657544732093811, 0.033321723341941833, 0.15482810139656067, 0.3211555778980255, 0.007118892855942249 ]
http://arxiv.org/abs/2402.03269v1
http://arxiv.org/pdf/2402.03269v1
ISPA: Inter-Species Phonetic Alphabet for Transcribing Animal Sounds
2024-02-05T18:27:27
2024-02-05T18:27:27
Masato Hagiwara, Marius Miron, Jen-Yu Liu
cs.SD
cs.SD, cs.CL, cs.LG, eess.AS
Traditionally, bioacoustics has relied on spectrograms and continuous, per-frame audio representations for the analysis of animal sounds, also serving as input to machine learning models. Meanwhile, the International Phonetic Alphabet (IPA) system has provided an interpretable, language-independent method for transcribing human speech sounds. In this paper, we introduce ISPA (Inter-Species Phonetic Alphabet), a precise, concise, and interpretable system designed for transcribing animal sounds into text. We compare acoustics-based and feature-based methods for transcribing and classifying animal sounds, demonstrating their comparable performance with baseline methods utilizing continuous, dense audio representations. By representing animal sounds with text, we effectively treat them as a "foreign language," and we show that established human language ML paradigms and models, such as language models, can be successfully applied to improve performance.
[ -0.3364708125591278, -0.39406725764274597, -0.03558550775051117, 0.7830113172531128, -0.5053884983062744, 0.3094402849674225, -0.32654640078544617, -1.0381786823272705, 0.6493614315986633, 0.3546866178512573, -0.3865889310836792, -0.38160693645477295, -0.561040461063385, 0.4884297847747803, -0.42515701055526733, 0.6548997163772583, 0.5365442633628845, 0.30319586396217346, 0.14340783655643463, -0.5527328848838806, -0.12799465656280518, -0.6842957139015198, -0.301068514585495, -0.5016551613807678, 0.45534762740135193, -0.12410116195678711, 0.5589563846588135, 0.8335310220718384, 0.5746434330940247, 0.30425965785980225, -0.3904673159122467, 0.23547224700450897, 0.2601664960384369, -0.012190615758299828, -0.11079508066177368, -0.2721094489097595, -0.23280222713947296, 0.058532122522592545, 0.6191263794898987, 0.8774083256721497, -0.13262684643268585, 0.0989035964012146, 0.10208063572645187, 0.6510367393493652, -0.4279593527317047, 0.5926114916801453, -0.4860629439353943, 0.22084730863571167, -0.3044588267803192, -0.6980881690979004, -0.48965591192245483, -0.2651965320110321, 0.34637436270713806, -0.9476240873336792, -0.2639317810535431, -0.13387684524059296, 0.5838842988014221, 0.31185010075569153, -0.18956007063388824, -0.8435015082359314, -0.7828977108001709, 0.6557347774505615, -0.497231125831604, 0.528670072555542, 0.40469348430633545, 0.14792968332767487, -0.20929355919361115, -0.715394914150238, -0.45530813932418823, -0.4208601415157318, 0.11004514992237091, -0.039392098784446716, -0.23898185789585114, 0.3540797829627991, 0.1125684529542923, 0.452816903591156, -0.5150423049926758, 0.2822110652923584, -0.38502126932144165, -0.38723477721214294, 0.725398600101471, -0.3293774724006653, 0.6471045017242432, 0.4147171974182129, -0.16693775355815887, -0.38666191697120667, -0.607489824295044, 0.2774680554866791, 0.4344221353530884, 0.8279311656951904, 0.07941273599863052, 0.41127514839172363, -0.09386735409498215, 0.4541824162006378, -0.378377228975296, -0.4793218970298767, 0.2928122580051422, -0.06532059609889984, 0.1419152319431305, 0.6033841967582703, 0.5838239789009094, 0.027194758877158165, 0.22307917475700378, -0.3507838845252991, -0.18868601322174072, 0.353847473859787, 0.23423653841018677, -0.6548936367034912, -0.04316079616546631, 0.15894487500190735, -0.7098137140274048, -0.2970600426197052, -0.31626707315444946, -0.49419406056404114, -0.08870775997638702, -0.23637397587299347, 0.6086565852165222, -0.4322633445262909, -0.14733022451400757, 0.26984187960624695, -0.3706320524215698, 0.22821781039237976, 0.08000505715608597, -1.1723449230194092, 0.7105934619903564, 0.6228220462799072, 0.875336766242981, -0.05639158934354782, -0.49474239349365234, -0.7934595942497253, 0.1550949513912201, -0.38038402795791626, 0.932262122631073, -0.7799224853515625, -0.8045119643211365, -0.01263287290930748, 0.06824558973312378, 0.28354594111442566, -0.823935866355896, 0.16259177029132843, -0.28722497820854187, -0.04140326380729675, -0.4326220750808716, -0.5242441892623901, -0.6558820605278015, -0.12491694837808609, -0.5416808128356934, 0.9884384870529175, -0.12794707715511322, -0.503075122833252, 0.25675198435783386, -0.9836026430130005, -0.7053757905960083, 0.317224383354187, -0.06979488581418991, -0.3530157208442688, -0.35061100125312805, -0.06921709328889847, 0.2153419405221939, -0.18253576755523682, 0.03801782801747322, -0.33511286973953247, -0.6823416352272034, 0.2353653758764267, -0.16366799175739288, 0.7626098990440369, 0.3092619776725769, -0.2428363412618637, -0.10763155668973923, -1.090956449508667, 0.09682480990886688, -0.08243988454341888, -0.7765769958496094, -0.5536725521087646, 0.15049612522125244, 0.1437472254037857, -0.3655565083026886, 0.18847836554050446, -0.7941218614578247, 0.41255807876586914, -0.1934017539024353, 0.7450064420700073, 0.3209501802921295, -0.2952324450016022, 0.37989360094070435, -0.3220093846321106, 0.23106853663921356, -0.26908713579177856, -0.1504504680633545, 0.04041425138711929, -0.7413512468338013, -0.18370269238948822, -0.4949992597103119, 0.5696792602539062, 0.7749270796775818, -0.278850793838501, 0.6597650051116943, -0.07515546679496765, -0.5773062109947205, -0.6630116701126099, -0.2036052942276001, 0.3214360475540161, 0.4848770201206207, 0.49881911277770996, -0.8508565425872803, -0.502185583114624, -0.7807084321975708, -0.26684311032295227, -0.8581485748291016, -0.10777366906404495, 0.019616276025772095, 0.07148058712482452, -0.2591511011123657, 0.47521042823791504, 0.13583791255950928, -0.12712916731834412, 0.05323292315006256, 0.4209335744380951, 0.11044564843177795, 0.5388432145118713, 0.6278288960456848, -0.5344120264053345, -0.24219106137752533, 0.1291506439447403, -0.7526841163635254, -0.23592855036258698, 0.14495928585529327, 0.15458053350448608, 0.0009663947275839746, 0.4797130227088928, -0.39945411682128906, 0.365493506193161, 0.4717258810997009, 0.005172605626285076, 0.27371537685394287, -0.16312026977539062, 0.2578237056732178, -0.47625038027763367, 0.30402690172195435, 0.0015265585388988256, -0.03942158818244934, -0.7148849964141846, -0.30458101630210876, -0.09519730508327484, -0.15676884353160858, -0.34366875886917114, 0.552056074142456, -0.36801815032958984, -0.8162336945533752, -0.24143537878990173, -0.21356633305549622, 0.03502536565065384, 0.457072913646698, 0.6514540314674377, 0.8842662572860718, 0.5789167284965515, -0.6995180249214172, 0.19422945380210876, 0.5427100658416748, -0.5341633558273315, 0.5199875831604004, -0.22611449658870697, 0.128122478723526, 0.02113458514213562, 0.42695891857147217, -0.5034940242767334, 0.1277327686548233, 0.1968335509300232, -0.39155372977256775, 0.3242025077342987, -0.08870228379964828, -0.35324516892433167, -0.1797584742307663, -0.15258751809597015, 0.219684436917305, 0.46939265727996826, -0.5675466060638428, 0.4147081971168518, 0.6660822033882141, -0.44474872946739197, -0.8735881447792053, -0.7786670923233032, 0.17995478212833405, -0.22874101996421814, -0.4418063163757324, 0.5639658570289612, -0.2574499845504761, -0.35991886258125305, 0.13025431334972382, 0.11532454937696457, -0.13369157910346985, 0.15413103997707367, 0.03407254070043564, -0.10426538437604904, -0.42735618352890015, 0.30087992548942566, 0.0033473006915301085, -0.009974880144000053, -0.19762207567691803, -0.19963546097278595, 0.28938809037208557, 0.006137085612863302, -0.16092856228351593, -0.7288166880607605, 0.49146080017089844, 0.8871096968650818, -0.3415204584598541, 0.2178524285554886, 0.25981980562210083, -0.3097217381000519, -0.3120775818824768, -0.054535724222660065, -0.2542797029018402, -0.4276200532913208, 0.380469411611557, -0.4245868921279907, -0.1874016374349594, 0.49625977873802185, -0.4005572199821472, 0.1374669373035431, 0.0574205219745636, 0.39913126826286316, -0.38325124979019165, 0.7197892069816589, 0.9168002009391785, -0.21643030643463135, 0.6999861598014832, -0.08448397368192673, -0.24046389758586884, -0.7100858688354492, -0.40224993228912354, -0.7446646690368652, -0.29707109928131104, -0.563988208770752, -0.04951947182416916, 0.2490457445383072, -0.39345720410346985, -0.1201496347784996, 0.29321786761283875, -0.7473016381263733, 0.39889049530029297, 0.7018898725509644, -0.10788585245609283, 0.35038119554519653, 0.34643155336380005, 0.0009385021403431892, 0.15537172555923462, -0.483807772397995, -0.6307352781295776, 0.8478670120239258, 0.534576416015625, 0.6318221688270569, -0.06590326130390167, 0.46966418623924255, 0.6591746211051941, 0.2770788073539734, -1.109593152999878, 0.3998829424381256, -0.6259615421295166, -0.5209377408027649, -0.5824304223060608, 0.15088294446468353, -0.8948419690132141, 0.6546076536178589, -0.12478603422641754, -0.8425775766372681, 0.3785967230796814, -0.20150959491729736, -0.2356913983821869, 0.4807538092136383, -0.30025169253349304, 0.32623860239982605, -0.22048060595989227, 0.3874667286872864, -0.01796507090330124, -0.734387218952179, 0.06576211750507355, -0.1131414845585823, 0.10453171283006668, -0.3113969564437866, -0.18828950822353363, 0.9109575152397156, -0.9942196607589722, 0.7003123760223389, 0.01144395675510168, -0.05654146149754524, 0.5080540776252747, -0.09672456979751587, 0.3363305926322937, -0.40170714259147644, -0.602247416973114, 0.5517460703849792, 0.46072107553482056, -0.15114910900592804, -0.30948054790496826, 0.054798610508441925, -0.9655746817588806, -0.19775281846523285, -0.26767659187316895, -0.462211936712265, -0.43011459708213806, -0.004609374795109034, 0.5435072183609009, 0.5647894144058228, -0.3880966007709503, 0.23854249715805054, 0.6626830101013184, -0.39481449127197266, 0.45351794362068176, 0.8652932047843933, -0.1362312138080597, -0.4630891680717468, 1.0445226430892944, 0.4480653703212738, -0.1991734355688095, 0.6223088502883911, 0.24825003743171692, -0.7387645244598389, -0.5302867293357849, -0.6672160029411316, 0.19891171157360077, -0.834697961807251, 0.058055222034454346, -0.8200418949127197, -0.2918927073478699, -0.14388757944107056, -0.052537448704242706, -0.3124781548976898, -0.1961323320865631, -0.33993014693260193, 0.16697274148464203, 0.5568738579750061, 0.9323694705963135, -0.6523805856704712, 0.5791575312614441, -0.8726798892021179, 0.49051791429519653, 0.4517326056957245, 0.18995153903961182, -0.4160377085208893, -0.47800830006599426, -0.014279590919613838, -0.10358182340860367, 0.06237517669796944, -0.9905834794044495, 0.4284859597682953, 0.6372641921043396, 0.620222270488739, 0.08017577975988388, -0.11641450971364975, 0.5128886103630066, -0.34641844034194946, 0.4618515074253082, 0.01422308199107647, -1.1186996698379517, 0.4622479975223541, -0.16181562840938568, -0.009868664667010307, 0.5562614798545837, 0.155694380402565, -0.9303256273269653, -0.45673200488090515, -0.20538052916526794, -0.44232940673828125, 0.8980692625045776, 0.026249036192893982, -0.17518815398216248, 0.31504130363464355, 0.08397982269525528, 0.43458792567253113, 0.2314688116312027, -0.5903685688972473, -0.20360903441905975, -0.3045797348022461, -0.21201810240745544, -0.21590526401996613, 0.0359334796667099, -0.06014494597911835, -0.09503259509801865, 0.7547892332077026, -0.23086795210838318, 0.04808410629630089, 0.23329879343509674, -0.2602040767669678, -0.37989291548728943, 0.1406288743019104, 0.4804154634475708, 0.08204514533281326, -0.3837299942970276, -0.04065699502825737, 0.06916190683841705, -0.9262091517448425, 0.5325085520744324, 0.10641724616289139, -0.18983834981918335, 0.2616325616836548, 0.5880722403526306, 0.5751290917396545, 0.026835711672902107, -0.5556153059005737, 0.48013198375701904, -0.1509217768907547, -0.23063938319683075, 0.04711480438709259, -0.16836880147457123, 0.0979844182729721, 0.23948149383068085, 0.2904251515865326, 0.05305549129843712, 0.5234041213989258, -0.8906278610229492, 0.11307016760110855, 0.14507581293582916, -0.4824029803276062, -0.3982090353965759, 0.5953927040100098, 0.31488946080207825, -0.4508855938911438, 0.6815989017486572, 0.24326592683792114, -0.2343074381351471, 0.9732293486595154, 0.6833077073097229, 0.8846937417984009, -0.3901360332965851, 0.28113046288490295, 0.048124682158231735, 0.4140288233757019, -0.08531861752271652, 0.6336137056350708, -0.3469528555870056, -0.49196112155914307, -0.25362324714660645, -0.9876499176025391, -0.9270145297050476, 0.34632813930511475, -0.71696537733078, 0.11547136306762695, -0.4887899160385132, -0.03631839156150818, 0.5147196650505066, -0.2008359283208847, -0.3276991844177246, 0.1591716855764389, 0.5558682680130005, 1.087335228919983, -0.9806876182556152, 1.019972562789917, 0.8670892119407654, -0.4940802752971649, -0.6484324932098389, 0.01574242301285267, -0.034422192722558975, -0.9106919169425964, 0.821610689163208, 0.2097553014755249, -0.4117361009120941, -0.20941999554634094, -0.6245970726013184, -0.9200025796890259, 0.7400063276290894, 0.44779083132743835, -0.6533071994781494, 0.3598534166812897, 0.44891053438186646, 0.7234218716621399, -0.34733349084854126, -0.04206807166337967, 0.3689497113227844, 0.5163360238075256, -0.0998881608247757, -1.164322853088379, -0.26152727007865906, -0.4159182012081146, 0.005116382613778114, -0.2425372153520584, -0.9012465476989746, 0.6445411443710327, 0.22094261646270752, -0.30534520745277405, 0.17007341980934143, 0.7777984738349915, 0.38004106283187866, 0.27949613332748413, 0.691344678401947, 0.11103009432554245, 1.2008742094039917, 0.0799022912979126, 0.5385874509811401, -0.504237174987793, -0.20425185561180115, 0.6115996837615967, -0.34749215841293335, 1.0374565124511719, 0.21456249058246613, -0.46561887860298157, 0.5988382697105408, 1.0775080919265747, 0.08436563611030579, 0.6238031983375549, 0.4227788746356964, -0.595411479473114, -0.1720312535762787, -0.26865941286087036, -0.49961280822753906, 0.9603749513626099, 0.7122932076454163, -0.0232828501611948, 0.12016218900680542, 0.2848680019378662, -0.5560975074768066, -0.07310313731431961, -0.2287314087152481, 0.9872459769248962, 0.050537895411252975, -0.515993058681488, 0.4577925205230713, -0.25366684794425964, 0.8932149410247803, -0.6721097230911255, -0.3142877221107483, -0.09538774937391281, -0.2713376581668854, -0.07768552750349045, -0.6793318390846252, 0.2330116182565689, -0.12632746994495392, -0.15114063024520874, 0.1054675430059433, 0.5131081938743591, -0.5893614888191223, -0.07182782888412476, 0.49172282218933105, 0.013824685476720333, 0.6857455372810364, -0.023697184398770332, -0.7131592631340027, 0.22936977446079254, -0.27209892868995667, -0.03402278572320938, -0.012852066196501255, 0.3637051582336426, -0.31860625743865967, 0.8693581819534302, 0.4884949028491974, 0.4074108898639679, 0.03953656926751137, -0.10537365078926086, 0.41086551547050476, -0.6241562366485596, -0.9475749731063843, -0.5098202228546143, 0.013289456255733967, 0.34205830097198486, 0.01790068857371807, 0.11642348766326904, 0.41514626145362854, 0.5998785495758057, -0.10541801899671555, 1.1293470859527588, 0.32593291997909546, 0.6700616478919983, -0.5485898852348328, 0.7199705243110657, -0.5787767171859741, 0.2661817669868469, -0.14747896790504456, -0.9513296484947205, -0.348758339881897, 0.2391396313905716, 0.1722387671470642, -0.29102107882499695, 0.5541220903396606, 0.8209021091461182, -0.06524109095335007, 0.21742132306098938, 0.5844011306762695, -0.11339614540338516, 0.06557410210371017, 0.03455427289009094, 1.0777896642684937, -0.2058054804801941, 0.7274746298789978, -0.3207712471485138, -0.103447824716568, -0.37937429547309875, -0.5439422130584717, -0.31115612387657166, -0.737865149974823, -0.30325204133987427, -0.21052557229995728, 0.24805299937725067, 0.9896250367164612, 0.8815358281135559, -0.701444685459137, -0.48738721013069153, 0.42755696177482605, 0.05754000321030617, -0.3763858675956726, -0.05971742421388626, 0.3928191661834717, -0.27017417550086975, -0.9467770457267761, 0.8514717221260071, 0.7756015658378601, 0.346159964799881, -0.3913828134536743, -0.17319634556770325, 0.11489958316087723, 0.5923051834106445, 0.6110062599182129, 1.1496976613998413, -0.9116721749305725, -0.30852556228637695, -0.2727137804031372, -0.3122479021549225, 0.4948124587535858, 0.5040785074234009, -0.610517144203186, 0.719624936580658, 0.5150713920593262, 0.44514232873916626, 0.3613932728767395, -0.2147846817970276, 0.5335358381271362, -0.4533592462539673, 0.46443867683410645, 0.11231600493192673, 0.3752833902835846, 0.35680803656578064, -0.25706711411476135, 0.6789986491203308, 0.23302337527275085, -0.31310537457466125, -0.8745049834251404, -0.019134970381855965, -1.1498018503189087, -0.44717398285865784, 0.947135865688324, -0.28660163283348083, -0.5642601251602173, -0.26619696617126465, -0.23816357553005219, 0.4230167269706726, -0.3802371323108673, 0.6613857746124268, 0.47918713092803955, -0.25448042154312134, 0.2955206036567688, -0.04181433096528053, 0.7105390429496765, 0.14355246722698212, -0.7976260185241699, -0.1482364535331726, 0.16253691911697388, 0.2916087806224823, 0.36055687069892883, 1.0215548276901245, -0.2614404857158661, 0.29439613223075867, 0.3564341068267822, 0.48721230030059814, 0.4123407006263733, -0.38449203968048096, -0.48149555921554565, -0.13038213551044464, 0.30020672082901, -0.5676345229148865 ]
http://arxiv.org/abs/2402.03268v3
http://arxiv.org/pdf/2402.03268v3
Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregation
2024-02-05T18:25:51
2024-06-20T18:46:06
Xinyi Wang, Alfonso Amayuelas, Kexun Zhang, Liangming Pan, Wenhu Chen, William Yang Wang
cs.LG
cs.LG, cs.AI, cs.CL
Pre-trained language models (LMs) are able to perform complex reasoning without explicit fine-tuning. To understand how pre-training with a next-token prediction objective contributes to the emergence of such reasoning capability, we propose that we can view an LM as deriving new conclusions by aggregating indirect reasoning paths seen at pre-training time. We found this perspective effective in two important cases of reasoning: logic reasoning with knowledge graphs (KGs) and chain-of-thought (CoT) reasoning. More specifically, we formalize the reasoning paths as random walk paths on the knowledge/reasoning graphs. Analyses of learned LM distributions suggest that a weighted sum of relevant random walk path probabilities is a reasonable way to explain how LMs reason. Experiments and analysis on multiple KG and CoT datasets reveal the effect of training on random walk paths and suggest that augmenting unlabeled random walk reasoning paths can improve real-world multi-step reasoning performance. code: https://github.com/WANGXinyiLinda/LM_random_walk
[ -0.21643370389938354, -0.8218469619750977, 1.1562703847885132, -0.2697376608848572, -0.27711862325668335, 0.090423084795475, 0.037588801234960556, -0.6177331805229187, -0.029887763783335686, 0.6399978995323181, -0.4583887755870819, -0.31137725710868835, -0.655957818031311, -0.17257370054721832, -0.5360698699951172, 0.7535141110420227, -0.07439631968736649, 0.17031557857990265, -0.3470345139503479, -0.17749424278736115, -0.3870407044887543, -0.45499566197395325, -0.7612093091011047, -0.5232268571853638, 0.6790812015533447, 0.1687687486410141, 0.871948778629303, 0.5580438375473022, 0.280428409576416, 0.292574405670166, 0.0006053638062439859, 0.13064134120941162, -0.21862030029296875, 0.15429748594760895, -0.25669360160827637, -0.6592796444892883, -0.43032723665237427, 0.049768585711717606, 0.6475130319595337, 0.9615114331245422, 0.07155115902423859, -0.028463497757911682, -0.30981510877609253, 0.6688687205314636, -0.4591248631477356, -0.29040423035621643, -0.6054719686508179, 0.05213769152760506, -0.3733227252960205, -0.2972293794155121, -0.5833346843719482, -0.2815057635307312, 0.29070010781288147, -0.42900803685188293, -0.07448453456163406, 0.2651330530643463, 0.5988535284996033, 0.07381341606378555, -0.5456356406211853, -0.32124170660972595, -0.7511111497879028, 0.5782843828201294, -0.46444517374038696, 0.5255115628242493, 0.39183309674263, 0.6291910409927368, -0.20853453874588013, -0.9821493029594421, -0.3980656862258911, -0.21249274909496307, -0.3190833032131195, -0.3112145662307739, -0.007097980473190546, 0.10001868009567261, 0.24347393214702606, 0.15056198835372925, -0.40501174330711365, -0.006610495503991842, -0.3015076220035553, -0.2128753513097763, 0.579616904258728, 0.02942880243062973, 0.2780245542526245, 0.2463688850402832, -0.1658891886472702, -0.04077466204762459, -0.7560062408447266, 0.2524748146533966, 0.40851151943206787, 0.15543296933174133, 0.02777700312435627, 0.4674200713634491, -0.17213447391986847, 1.1897644996643066, -0.31195327639579773, -0.025709757581353188, 0.28318771719932556, -0.4569118916988373, -0.07710408419370651, 0.08554799109697342, 0.708747386932373, -0.1844743937253952, 0.6987075209617615, -0.4156281352043152, -0.16017261147499084, -0.3158641755580902, 0.21207953989505768, -0.4691210091114044, -0.3977118730545044, 0.1967584639787674, -0.5104754567146301, -0.19907018542289734, -0.0562349371612072, -0.13587981462478638, -0.49445560574531555, -0.4225420355796814, 0.45631489157676697, -0.5835922360420227, -0.4135743975639343, 0.25350821018218994, -0.2379968911409378, 0.17556273937225342, 0.531520664691925, -0.558310329914093, 0.325405478477478, 0.5306811928749084, 0.6940610408782959, 0.10489685833454132, -0.52540522813797, -0.6358041167259216, 0.12623117864131927, -0.4276662766933441, 1.0654916763305664, -0.5976023077964783, -0.12828995287418365, -0.285489022731781, -0.2724960744380951, -0.26419657468795776, -0.3281950056552887, 0.47039639949798584, -0.5218743681907654, -0.07865647971630096, -0.3016151189804077, -0.5117895007133484, -0.20747439563274384, 0.1863831728696823, -0.3367508053779602, 0.8281275033950806, 0.05414283648133278, -0.6828537583351135, 0.5396504998207092, -0.4539049565792084, -0.7386489510536194, -0.10535804182291031, -0.13415086269378662, 0.2173565924167633, 0.0010841353796422482, 0.21570318937301636, 0.49161189794540405, -0.1961677074432373, 0.25749123096466064, -0.3399987816810608, -0.23390212655067444, 0.3345213830471039, -0.4376271367073059, 0.9561529755592346, 0.34634315967559814, -0.1277763992547989, 0.318254679441452, -0.8303945064544678, 0.18276724219322205, 0.12061449140310287, -0.046347588300704956, -0.6037577986717224, 0.44173717498779297, -0.6318145394325256, 0.5486627817153931, 0.007313855923712254, 0.01186537928879261, 0.18747109174728394, -0.2979690730571747, 0.07713828980922699, 1.0069730281829834, -0.10133767127990723, 0.5301046371459961, -0.07066644728183746, 0.5020126104354858, 0.23767638206481934, 0.26852157711982727, -0.1091226115822792, -0.58724045753479, -0.6797318458557129, 0.115635946393013, 0.08598903566598892, 0.26948636770248413, -0.45355790853500366, 0.1934630572795868, -0.15442651510238647, -0.6263968348503113, -0.3552619218826294, 0.08462558686733246, 0.3523409366607666, 0.5698207020759583, 0.33332520723342896, -0.20386168360710144, -0.4991738796234131, -0.37569233775138855, -0.6821399927139282, -0.3331153392791748, 0.19706599414348602, 0.3276878893375397, 0.423781156539917, -0.07474658638238907, 0.9393154978752136, -0.5019478797912598, 0.2753988206386566, -0.4768013656139374, 0.04878135770559311, 0.3105681240558624, 0.3833586871623993, 0.3665103018283844, -0.7739424109458923, -0.26384174823760986, -0.12508954107761383, -0.5636892914772034, -0.11056511104106903, -0.1400340050458908, -0.6072192788124084, -0.18392960727214813, 0.7714589834213257, -0.7756588459014893, 0.40837571024894714, 0.25981029868125916, -0.7424432039260864, 0.8166214227676392, -0.2664971649646759, -0.028856433928012848, -0.6930921673774719, -0.33898109197616577, -0.2507477402687073, -0.4089765250682831, -0.5321611166000366, -0.19898225367069244, -0.5714350342750549, 0.2718844711780548, -0.26602834463119507, 0.5178313255310059, -0.4077026844024658, -0.5230176448822021, -0.07020732015371323, 0.3696557879447937, -0.0736367255449295, 0.3532293736934662, 0.0295500960201025, 0.3408656120300293, 0.8313562273979187, -0.9338853359222412, 0.32135578989982605, -0.23999130725860596, -0.46727073192596436, 0.2879222333431244, -0.4412021040916443, 0.3104425072669983, -0.09274055063724518, 0.45428401231765747, -0.8770520687103271, -0.03173872455954552, 0.2053479105234146, -0.5134558081626892, 0.06388906389474869, -0.05319206789135933, -0.5184605121612549, -0.4474097788333893, 0.1527310609817505, 0.6161829233169556, 0.38081008195877075, -0.4713090658187866, 0.9685788154602051, 0.3243931829929352, 0.46856850385665894, -0.4946347177028656, -0.5228419899940491, -0.2674161493778229, -0.11659154295921326, -0.6581997871398926, -0.06681155413389206, -0.09814032912254333, -0.6268162727355957, 0.06853354722261429, -0.11523254215717316, -0.04024507850408554, 0.3559739291667938, 0.2554444968700409, -0.08069970458745956, -0.13765759766101837, 0.3007654845714569, -0.0913940966129303, -0.0755225121974945, 0.3853515684604645, -0.5764774084091187, 0.801036536693573, -0.12503938376903534, -0.7754015922546387, -0.0418848991394043, -0.06543789803981781, 0.42104852199554443, -0.19742567837238312, 0.9743395447731018, 0.5905642509460449, -0.270284503698349, -0.04498261585831642, -0.1957787275314331, -0.024782132357358932, -0.401673287153244, 0.21157406270503998, -0.5920959115028381, -0.6762069463729858, 0.39272040128707886, -0.18337413668632507, -0.04234511777758598, 0.4539586901664734, 0.34615233540534973, -0.11603040248155594, 1.274452567100525, 0.36771515011787415, 0.13433873653411865, 0.23029860854148865, -0.15523022413253784, 0.5520076155662537, -0.6040833592414856, -0.46864649653434753, -0.5071428418159485, -0.03758249804377556, -0.37880730628967285, -0.585258424282074, 0.07306680828332901, 0.6755001544952393, -0.5220513343811035, 0.1535780280828476, -0.1395026445388794, 0.49588149785995483, 0.5437328815460205, 0.06498263031244278, 0.3267086148262024, -0.27826622128486633, -0.45814064145088196, 0.5159315466880798, -0.9066278338432312, -0.4216047525405884, 0.9465889930725098, 0.32360365986824036, 0.5992894172668457, -0.043925411999225616, 0.6611954569816589, 0.13463380932807922, 0.21806849539279938, -0.6842787265777588, 0.7388935685157776, 0.1142783910036087, -0.5219924449920654, -0.45607468485832214, -0.480991929769516, -0.6670024394989014, 0.226081982254982, -0.2113114595413208, -0.9833669066429138, -0.1219249740242958, 0.5487877130508423, -0.2083217352628708, 0.5143657922744751, -0.7896592020988464, 0.8011357188224792, -0.5736045241355896, -0.26731839776039124, -0.3208148181438446, -0.8863925337791443, 0.4386775493621826, 0.06105346977710724, 0.4903755486011505, 0.02056329883635044, 0.4403395652770996, 0.8644551634788513, -0.627632200717926, 0.41706383228302, -0.2115347534418106, 0.03474554419517517, 0.6708800196647644, 0.13855060935020447, 0.5591233372688293, -0.3269173204898834, 0.1324293166399002, 0.048315275460481644, -0.23957549035549164, -0.3124222755432129, -0.7107246518135071, 0.25490307807922363, -0.5762152671813965, -0.7676798701286316, -0.3906456530094147, -0.5200353264808655, -0.6093273758888245, 0.3029562830924988, 0.24221907556056976, 0.2912968099117279, 0.11197493970394135, -0.00964860338717699, 0.47443845868110657, -0.04568399116396904, 0.20069195330142975, 0.2712475061416626, -0.5598570108413696, 0.01102393213659525, 0.5569971799850464, 0.1286342889070511, 0.5321809649467468, 0.5041442513465881, 0.4103406071662903, -0.42512354254722595, -0.6939777135848999, -0.12425494939088821, 0.055002279579639435, -1.0097192525863647, 0.33303579688072205, -0.6828466057777405, -0.29664358496665955, -0.5054811835289001, -0.13544581830501556, -0.10933085530996323, -0.5312069654464722, 0.03009052574634552, -0.5646558403968811, 0.39038342237472534, 0.7691784501075745, -0.10076862573623657, 0.3726995885372162, -0.7550842761993408, 0.12310004234313965, 0.4029947817325592, 0.22691316902637482, 0.3989350497722626, -0.4379144608974457, -0.46246039867401123, 0.048700422048568726, -0.05616287514567375, -0.7149991989135742, 0.007031820248812437, -0.19482527673244476, 0.749913215637207, 0.6707595586776733, -0.30093899369239807, 0.8939899206161499, -0.5548911690711975, 0.7468321323394775, 0.30970218777656555, -0.7136423587799072, 0.6889783143997192, -0.31967490911483765, 0.310893177986145, 0.38169437646865845, 0.3963793218135834, -0.22875835001468658, -0.4121277630329132, -0.7589903473854065, -0.7406420707702637, 0.7841967940330505, 0.20682194828987122, -0.2417782098054886, 0.08244825154542923, 0.1904246062040329, -0.1007041335105896, -0.011575622484087944, -0.7773293852806091, -0.26999759674072266, -0.12068729102611542, -0.016655022278428078, -0.29118138551712036, -0.20204097032546997, -0.0444207563996315, -0.6383755207061768, 0.6058767437934875, 0.03545084595680237, 0.03547035530209541, -0.03222529590129852, -0.22847552597522736, -0.05978520214557648, 0.06238497421145439, 0.295789897441864, 0.8327070474624634, -0.15293993055820465, 0.5199593901634216, 0.053884945809841156, -0.3159298896789551, 0.10680586844682693, -0.07177992910146713, 0.263426274061203, -0.16169019043445587, 0.7529191374778748, 1.0843485593795776, -0.06380131840705872, -0.7302069664001465, 0.3051649332046509, -0.009057432413101196, -0.09849685430526733, -0.2415827512741089, 0.3722957968711853, 0.2533178925514221, 0.23500743508338928, 0.2264254242181778, 0.398834228515625, 0.04022497683763504, -0.6816322207450867, 0.09203241020441055, 0.2638891637325287, -0.3954712450504303, -0.33542969822883606, 0.4682738482952118, 0.023302963003516197, -0.2937832772731781, 0.6343364715576172, -0.15458030998706818, -0.5205681324005127, 0.5757250189781189, 0.45735833048820496, 0.8099173307418823, -0.14782404899597168, 0.12623071670532227, 0.2183864563703537, 0.4356950521469116, -0.22991500794887543, -0.12092864513397217, -0.29062584042549133, -1.156550645828247, -0.4261619448661804, -0.7005329132080078, -0.08277954161167145, -0.05205386504530907, -0.3309730589389801, 0.2626189589500427, -0.2213393598794937, 0.03279371187090874, -0.2439388483762741, -0.34536343812942505, -0.6528017520904541, 0.5339035391807556, 0.03387569263577461, 1.0206118822097778, -0.9664071202278137, 0.8023667335510254, 0.6916384100914001, -0.3618124723434448, -1.319914698600769, 0.07516861706972122, -0.3455297648906708, -0.8712655901908875, 0.6509157419204712, 0.21603980660438538, -0.40518319606781006, -0.08885114639997482, -0.4857825040817261, -0.9701810479164124, 1.0434560775756836, 0.3267747461795807, -0.4430832862854004, -0.02772725559771061, 0.15344108641147614, 0.5027465224266052, -0.47869983315467834, 0.4671128988265991, 0.756635844707489, 0.27009090781211853, 0.24056215584278107, -0.578325092792511, 0.01335950754582882, 0.024884402751922607, -0.2672334909439087, 0.2078934609889984, -0.33753064274787903, 0.9551872611045837, -0.505877673625946, 0.1243663802742958, -0.20093418657779694, 0.4472009539604187, 0.7142961621284485, 0.49337953329086304, 0.803996741771698, 0.7100502848625183, 0.9241013526916504, 0.03843450918793678, 1.3943802118301392, -0.23649419844150543, -0.1437244564294815, 1.2086678743362427, -0.24508881568908691, 0.3662969470024109, 0.45530304312705994, -0.20484115183353424, 0.9806909561157227, 0.7944343686103821, 0.6605583429336548, 0.5634423494338989, 0.2638589143753052, -0.15645182132720947, -0.6405627727508545, 0.0766996368765831, -0.2009023129940033, 0.3840692639350891, 0.324053019285202, -0.49036863446235657, -0.02355724200606346, -0.24153520166873932, 0.025742916390299797, -0.10758410394191742, -0.6488938331604004, 0.3675200939178467, 0.287652850151062, -0.8438517451286316, 0.18761003017425537, -0.3371288478374481, -0.07008238881826401, -0.8145325779914856, -0.13238021731376648, 0.1609049141407013, 0.041432809084653854, -0.3145383894443512, -0.8792322874069214, 0.2224770337343216, -0.10025777667760849, 0.013829883188009262, -0.31125274300575256, 1.021485447883606, -0.11858291178941727, -0.33488595485687256, 0.5149001479148865, 0.7503029704093933, 0.43344414234161377, 0.1530703753232956, -0.5518236756324768, -0.37866923213005066, -0.044194385409355164, -0.5286258459091187, 0.4038471579551697, 0.9010788798332214, -0.35361558198928833, 0.8615000247955322, 0.8134463429450989, 0.17638926208019257, 0.19058990478515625, 0.5615371465682983, 0.7874580025672913, -0.5635952949523926, -0.48486992716789246, -1.0442630052566528, 0.5626468658447266, -0.1174270361661911, -0.23416712880134583, 0.6387885808944702, 0.3579312860965729, 0.8302281498908997, 0.10797282308340073, 0.6959879994392395, -0.012553902342915535, 0.3111405372619629, -0.8936956524848938, 0.5049282312393188, -0.49094417691230774, 0.4059091806411743, -0.24638549983501434, -0.6325212121009827, -0.046923402696847916, 0.7611215710639954, -0.6062641739845276, 0.32612231373786926, 1.0302609205245972, 0.43595415353775024, 0.011640764772891998, -0.17442932724952698, 0.16356338560581207, 0.2786256670951843, 0.19818106293678284, 0.48115113377571106, 0.9267808794975281, 0.0635756105184555, 0.5742928385734558, -0.09352850914001465, -0.08407541364431381, 0.3056578040122986, -0.9443849921226501, -0.7929741144180298, -0.3765861392021179, -0.12514916062355042, -0.408562034368515, -0.04589257016777992, 0.5877801775932312, 0.716854453086853, -0.5885614156723022, -0.26830509305000305, -0.9243106245994568, 0.5991745591163635, -0.31401559710502625, -0.27500078082084656, 0.3249700665473938, -0.4384751319885254, -0.15917624533176422, 0.23226884007453918, 0.2114083617925644, -0.04977404698729515, -0.15965121984481812, -0.41744688153266907, -0.5281833410263062, 0.07877819240093231, 0.5871080160140991, 0.05922134965658188, -0.5103492736816406, -0.3378603756427765, -0.16452907025814056, 0.15462034940719604, -0.07462425529956818, 1.073058009147644, -0.9858278632164001, 0.43190667033195496, 0.587314248085022, 0.2355712503194809, 0.41146671772003174, -0.0954418033361435, 0.7626076340675354, -0.5409904718399048, 0.22055521607398987, 0.23489034175872803, 0.7065900564193726, 0.09514780342578888, -0.24940961599349976, 0.663522481918335, 0.41379299759864807, -0.4781252443790436, -0.8284371495246887, 0.5394254326820374, -0.7257176041603088, -0.45959585905075073, 1.2283439636230469, -0.18878713250160217, -0.22439278662204742, -0.17167827486991882, -0.05312914028763771, 0.4862903654575348, 0.03807013854384422, 0.3810957670211792, 0.818954348564148, -0.7331992983818054, -0.20470401644706726, -0.4601385295391083, 0.5637209415435791, 0.245738223195076, -0.8156307339668274, -0.11241941154003143, 0.44277769327163696, 0.052621662616729736, 0.25857222080230713, 1.152492642402649, -0.06690613925457001, 0.07293947786092758, 0.016475893557071686, -0.4511520266532898, 0.012329446151852608, -0.5062932968139648, 0.03196240961551666, -0.1377575844526291, 0.35059452056884766, -0.023160161450505257 ]
http://arxiv.org/abs/2402.03244v2
http://arxiv.org/pdf/2402.03244v2
Skill Set Optimization: Reinforcing Language Model Behavior via Transferable Skills
2024-02-05T17:59:00
2024-06-22T18:58:09
Kolby Nottingham, Bodhisattwa Prasad Majumder, Bhavana Dalvi Mishra, Sameer Singh, Peter Clark, Roy Fox
cs.LG
cs.LG, cs.CL
Large language models (LLMs) have recently been used for sequential decision making in interactive environments. However, leveraging environment reward signals for continual LLM actor improvement is not straightforward. We propose Skill Set Optimization (SSO) for improving LLM actor performance through constructing and refining sets of transferable skills. SSO constructs skills by extracting common subtrajectories with high rewards and generating subgoals and instructions to represent each skill. These skills are provided to the LLM actor in-context to reinforce behaviors with high rewards. Then, SSO further refines the skill set by pruning skills that do not continue to result in high rewards. We evaluate our method in the classic videogame NetHack and the text environment ScienceWorld to demonstrate SSO's ability to optimize a set of skills and perform in-context policy improvement. SSO outperforms baselines by 40% in our custom NetHack task and outperforms the previous state-of-the-art in ScienceWorld by 35%.
[ -0.0592757873237133, -0.5058218240737915, 0.3942386507987976, 0.3245663642883301, -0.03263296186923981, 0.45038214325904846, -0.47997966408729553, -0.19862239062786102, 0.006540984380990267, 0.5698264241218567, -0.9356846213340759, -0.05931442975997925, -0.5533793568611145, 0.04819965362548828, 0.2317807823419571, 0.8931986093521118, -0.017466245219111443, -0.3033662438392639, -0.4600854516029358, 0.03175733983516693, -0.5179048776626587, -0.21547169983386993, -1.0082563161849976, -0.6190176010131836, 0.4110608994960785, 0.829702615737915, 0.3259909749031067, 0.7735493183135986, 0.5104044079780579, 0.424409419298172, -0.147154301404953, 0.4850633442401886, -1.0712496042251587, 0.20120392739772797, -0.35340094566345215, -0.29380127787590027, -0.14024928212165833, -0.14694422483444214, 0.7296271920204163, 0.34697866439819336, -0.2243949919939041, 0.10168412327766418, -0.024054666981101036, 0.4623212218284607, -0.6421215534210205, 0.28849467635154724, -0.6211332082748413, 0.19907981157302856, 0.31306275725364685, -0.4334726929664612, -0.35045209527015686, -0.2910505533218384, -0.1106482669711113, -1.113481879234314, -0.2108883112668991, 0.043682221323251724, 0.8621185421943665, 0.4824320375919342, -0.10356791317462921, 0.033214833587408066, -0.6789184808731079, 1.0973992347717285, -0.7607064247131348, 0.06508851796388626, 0.35269367694854736, 0.05509030073881149, -0.44232335686683655, -0.35891127586364746, -0.5460152626037598, -0.25797563791275024, 0.2061241865158081, 0.20459714531898499, 0.12321678549051285, 0.06446266919374466, 0.326907217502594, -0.12665919959545135, -0.1014299988746643, 0.4496802091598511, -0.3619726002216339, -0.08383770287036896, 0.7719767093658447, 0.2379280924797058, 0.2534908354282379, 0.2509363293647766, -0.03045842982828617, -0.4115711450576782, -0.5061160922050476, 0.4331485629081726, 0.22576452791690826, 0.22826185822486877, 0.1014038473367691, 0.28424736857414246, -0.17469817399978638, 0.5818586945533752, -0.057913888245821, -0.6734886765480042, -0.0958818718791008, -0.46304163336753845, 0.2017837017774582, -0.13551144301891327, 0.13321425020694733, 0.32235604524612427, 0.5562229752540588, -0.02364436350762844, -0.23135650157928467, -0.1944098025560379, 0.63437819480896, -0.5950949192047119, 0.08528189361095428, 0.08292720466852188, -0.23359951376914978, -0.6522467732429504, -0.25214654207229614, -0.40765097737312317, -0.39548978209495544, -0.5308736562728882, 0.34836989641189575, -0.44215425848960876, -0.1782306432723999, -0.16091759502887726, -0.2901461124420166, 0.1334248036146164, 0.3550399839878082, -1.0632752180099487, 0.25110381841659546, 0.8461530804634094, 0.7531545758247375, -0.1940210461616516, -0.3896898627281189, -0.8124409317970276, 0.5458040833473206, -0.47450217604637146, 0.7814545035362244, -0.8202964663505554, -0.4305524528026581, -0.013085921294987202, -0.050976432859897614, -0.04322749748826027, -0.523801863193512, 0.36255404353141785, -0.3616160452365875, -0.07510623335838318, -0.17363087832927704, -0.47942936420440674, 0.2029968798160553, 0.23945467174053192, -0.5169373154640198, 0.8909097909927368, 0.20148813724517822, -0.06758269667625427, 0.496769517660141, -0.8651690483093262, -0.6235423684120178, 0.029604710638523102, 0.054572220891714096, -0.19983604550361633, 0.1758088618516922, 0.35610806941986084, 0.24864086508750916, 0.15659548342227936, -0.015613402239978313, -0.29314154386520386, -0.7731224298477173, 0.042476411908864975, 0.2223118096590042, 0.3510934114456177, 0.12102290242910385, -0.22341766953468323, 0.3166824281215668, -0.38509729504585266, 0.35356342792510986, -0.015756092965602875, -0.5571922659873962, -0.24742165207862854, 0.26903989911079407, -0.2300180196762085, 0.23241488635540009, 0.11603669822216034, -0.2770620286464691, 0.28836551308631897, -0.4471892714500427, 0.4129370450973511, 1.1452523469924927, 0.15674610435962677, 0.39174216985702515, -0.36104509234428406, 0.6928489804267883, -0.16390810906887054, 0.24895510077476501, 0.24543671309947968, -0.06233782693743706, -0.7315089702606201, -0.32430848479270935, -0.21734417974948883, 0.5888648629188538, -0.9588863253593445, 0.5329801440238953, -0.29728949069976807, -0.342068076133728, -0.3964154124259949, 0.08690616488456726, 0.4076884090900421, 0.41584038734436035, 0.10570082813501358, -0.15615995228290558, -0.32884132862091064, -0.8541843891143799, -0.26456329226493835, -0.17060622572898865, 0.26019421219825745, 0.3707709014415741, 0.3943052589893341, 0.1667088270187378, 0.6648455858230591, -0.3519395887851715, 0.017112785950303078, -0.32058992981910706, -0.2115856111049652, 0.31326255202293396, 0.4636167883872986, 0.004338135477155447, -0.5896224975585938, -0.38068684935569763, 0.34489959478378296, -0.8204656839370728, -0.18113532662391663, -0.21565194427967072, -0.05745091289281845, 0.26005545258522034, 0.7104921340942383, -0.11758460849523544, 0.20265835523605347, 0.5318964719772339, -0.2245706021785736, 0.5253809690475464, -0.27425241470336914, 0.2652417719364166, -0.7436132431030273, 0.3113247752189636, -0.32416996359825134, -0.2409714013338089, -0.566837728023529, 0.2918379306793213, -0.38234174251556396, -0.30614182353019714, -0.36148878931999207, 0.8677462935447693, -0.3872115910053253, -0.12035062164068222, -0.43350499868392944, 0.20621377229690552, -0.2412310093641281, 0.7466137409210205, 0.17652353644371033, 0.9228105545043945, 0.46504858136177063, -0.8526337146759033, 0.3088946044445038, 0.3831256926059723, -0.4550131559371948, 0.7228143811225891, -0.52845299243927, 0.2686094343662262, -0.16941946744918823, 0.19728516042232513, -0.39303484559059143, -0.041458696126937866, -0.1524430215358734, -0.0800878033041954, 0.11229772120714188, -0.22150947153568268, -0.20564748346805573, -0.12470919638872147, -0.24989084899425507, 0.03751571476459503, 0.6868751049041748, -0.4553031921386719, 0.3467434346675873, 0.30854925513267517, -0.16639502346515656, -0.8704935312271118, -0.2653255760669708, -0.09211704134941101, -0.2712899446487427, -0.5806835889816284, 0.4663563072681427, -0.11373040080070496, -0.28369221091270447, -0.14548276364803314, -0.41425320506095886, 0.1857742816209793, 0.14349818229675293, -0.02285408414900303, -0.006939741782844067, 0.1346847265958786, 0.20521126687526703, 0.110533706843853, -0.2035120278596878, -0.14516369998455048, -0.19773700833320618, 0.2342986911535263, -0.0241635050624609, -0.09291532635688782, -0.04176627844572067, 0.14388792216777802, 0.14115473628044128, -0.04746824502944946, 0.8094444870948792, 0.4337989389896393, -0.13779406249523163, -0.6049527525901794, -0.4494037628173828, -0.4035837948322296, -0.546074390411377, 0.7516140937805176, -0.4373449385166168, -1.23727285861969, 0.34400632977485657, -0.4143424332141876, 0.36510297656059265, -0.11534010618925095, 0.23100149631500244, -0.23211300373077393, 0.7240062355995178, 0.6486687660217285, 0.004351318813860416, 0.8524828553199768, -0.1779492199420929, 0.15445494651794434, -0.9273437261581421, -0.1417287141084671, -0.16618815064430237, -0.4951428771018982, -0.3249908685684204, -0.4505404829978943, 0.4900779724121094, 0.265656441450119, -0.519209623336792, 0.3337552547454834, -0.3355482816696167, 0.9064198136329651, 0.5542312860488892, 0.28361600637435913, 0.18715445697307587, 0.2911263108253479, -0.003319251351058483, -0.042332593351602554, -0.9627641439437866, -0.5282920598983765, 0.8713912963867188, 0.25202667713165283, 0.5141061544418335, 0.24799750745296478, 0.8029382824897766, 0.19362880289554596, 0.26366305351257324, -0.6457676887512207, 0.7636823654174805, -0.306511253118515, -0.2283530980348587, -0.7388159036636353, -0.5652191638946533, -0.847602903842926, 0.17232897877693176, -0.34265872836112976, -1.0339467525482178, 0.07219837605953217, 0.23049530386924744, -0.03414110466837883, 0.08870669454336166, -0.548484742641449, 0.7748024463653564, -0.01588490977883339, -0.6523935794830322, -0.778992772102356, -0.4616616368293762, 0.23017330467700958, -0.021021666005253792, 0.10233236104249954, -0.18707546591758728, -0.2691192030906677, 0.3320213854312897, -0.29616788029670715, 0.648648202419281, -0.08671537786722183, 0.10493238270282745, 0.027646195143461227, 0.118714340031147, 0.8398314118385315, -0.0534977912902832, -0.34806308150291443, -0.16251349449157715, 0.13111495971679688, -0.531632125377655, -0.7648947238922119, 0.7369133830070496, -0.8140197396278381, -0.5937122702598572, -0.1791294515132904, -0.4853936433792114, -0.49421393871307373, -0.018859272822737694, -0.05657530203461647, 0.23721614480018616, -0.3526793122291565, 0.18955844640731812, 0.8076238632202148, -0.2886330485343933, 0.586108386516571, 0.3534470796585083, 0.181412011384964, -0.24067270755767822, 0.9983794689178467, -0.34716716408729553, 0.5490947961807251, 0.3623661994934082, 0.2796330749988556, -0.04441902041435242, -0.45268288254737854, -0.09436296671628952, 0.133310467004776, -0.7658798098564148, -0.08856140077114105, -0.13788384199142456, -0.261243611574173, -0.3392496705055237, -0.47640204429626465, -0.04968408867716789, -0.2785911560058594, -0.1542997509241104, -0.05662861093878746, 0.374443918466568, 0.4837547540664673, -0.3197402358055115, 0.4212699830532074, -0.5707831978797913, -0.009225754998624325, 0.2800685167312622, 0.3682865798473358, 0.019318165257573128, -0.7209331393241882, -0.5731079578399658, -0.21282190084457397, -0.14168982207775116, -0.34869280457496643, 0.3479640781879425, 0.458883672952652, 0.7902214527130127, 0.28329354524612427, -0.26958146691322327, 0.8173948526382446, -0.46469396352767944, 0.386371374130249, -0.006703745573759079, -0.8397296667098999, 0.6764423847198486, -0.36215925216674805, 0.5931358337402344, 0.8027741312980652, 0.13365378975868225, -0.7813698053359985, -0.32558247447013855, -0.5804794430732727, -0.6875203847885132, 1.1097517013549805, 0.29670438170433044, 0.2653493583202362, 0.221333310008049, 0.5224876403808594, -0.1343299299478531, 0.2715509533882141, -0.6898607611656189, 0.22003254294395447, 0.017568185925483704, -0.08826399594545364, -0.11020011454820633, 0.12290892004966736, -0.4657239317893982, -0.25311365723609924, 0.9795132279396057, -0.5473547577857971, 0.2144971787929535, -0.05819164961576462, -0.029104385524988174, -0.21050089597702026, 0.0759631097316742, 0.8594716787338257, 0.7976911664009094, -0.06297776848077774, -0.19223003089427948, 0.33957627415657043, -0.4253670275211334, 0.2693229615688324, -0.25342434644699097, 0.11492068320512772, -0.6201122999191284, 0.6627724766731262, 0.8234438896179199, 0.3291739523410797, -0.9772550463676453, 0.16601695120334625, 0.41271886229515076, -0.08943808078765869, -0.44242560863494873, 0.6616482734680176, 0.044448062777519226, 0.3317109942436218, 0.11445799469947815, -0.3077612817287445, -0.017737427726387978, -0.6801862716674805, 0.19452454149723053, 0.3303948640823364, -0.08773833513259888, 0.0828743502497673, 0.06710509955883026, 0.4153086245059967, -0.519946813583374, 0.9042258858680725, -0.030156023800373077, -0.41543641686439514, 0.8605232834815979, 0.7390934228897095, 0.5929884910583496, -0.2070825845003128, 0.3033376932144165, 0.4627774953842163, 0.4409084618091583, -0.2663235664367676, 0.17442995309829712, 0.11487628519535065, -1.081050157546997, -0.6640908122062683, -0.4576922357082367, -0.4882238209247589, 0.09674214571714401, -0.27613791823387146, 0.4092920422554016, -0.816555917263031, 0.03969520702958107, -0.3159308135509491, 0.06822460889816284, -0.6287440061569214, 0.16105207800865173, -0.09562446922063828, 0.5869296789169312, -0.6080969572067261, 0.5193855166435242, 0.7183803915977478, -0.4370850622653961, -0.7629178166389465, -0.20606710016727448, -0.031038112938404083, -1.0334179401397705, 0.7332766056060791, -0.12475220113992691, -0.13380466401576996, 0.26299533247947693, -0.6961938738822937, -1.1361908912658691, 1.0711039304733276, 0.24689561128616333, -0.5769681930541992, 0.03824189677834511, -0.14181700348854065, 0.6228917241096497, -0.5942133665084839, 0.26268669962882996, 0.4314157962799072, 0.6625480055809021, 0.15506939589977264, -0.8947344422340393, 0.1534910649061203, -0.23261210322380066, 0.22892659902572632, 0.1715378612279892, -0.8103697896003723, 0.022364718839526176, -0.3485260009765625, -0.12936267256736755, -0.31812211871147156, 0.5399474501609802, 0.7682505249977112, 0.12190264463424683, 0.7438657283782959, 0.5052740573883057, 0.5299881100654602, 0.10796137899160385, 0.9127780795097351, -0.0705997422337532, -0.12771181762218475, 0.9932256937026978, -0.34166061878204346, 0.8509722948074341, 0.7731785178184509, 0.020281925797462463, 0.8379265666007996, 0.6312155723571777, -0.13966365158557892, 0.6534484624862671, 0.6912165880203247, -0.3876795768737793, -0.444541335105896, -0.21773192286491394, 0.20816588401794434, 0.41674208641052246, 0.3264540731906891, -0.13045351207256317, 0.2077132612466812, -0.01706375740468502, -0.016708113253116608, 0.3019948899745941, -0.2675047218799591, 0.939683198928833, 0.05168642848730087, -0.9512041807174683, 0.26165351271629333, -0.10013142973184586, 0.4628061354160309, -0.8375075459480286, -0.34114134311676025, -0.4466310739517212, 0.17812557518482208, -0.15622484683990479, -0.4697286784648895, 0.29071107506752014, -0.23187926411628723, 0.03985339030623436, -0.4311523735523224, 0.696214497089386, -0.38239723443984985, -0.34813791513442993, 0.10434656590223312, 0.25078195333480835, 0.33426982164382935, 0.2610243856906891, -0.6887026429176331, 0.1045217216014862, -0.02327350713312626, -0.22908362746238708, 0.318606972694397, 0.24338354170322418, -0.3330056369304657, 1.0319392681121826, 0.7860730886459351, 0.2839641869068146, -0.4008304178714752, 0.09680651873350143, 0.726534366607666, -0.6237223148345947, -0.622887909412384, -0.4130144417285919, 0.4539123773574829, -0.5448682904243469, -0.5637599229812622, 0.3759627640247345, 0.28652575612068176, 0.8679885268211365, -0.20387443900108337, 0.5935220718383789, -0.08814448118209839, 0.13089002668857574, -0.7253730893135071, 0.4235393702983856, -0.5718611478805542, 0.2108597457408905, -0.21577246487140656, -1.1589202880859375, 0.242530956864357, 0.7553716897964478, -0.1078961044549942, 0.3855825662612915, 0.821793258190155, 0.7928414344787598, 0.0344303622841835, -0.3658706545829773, 0.4170942008495331, -0.2343919426202774, 0.23411720991134644, 0.6703850030899048, 0.7100101113319397, 0.07469692081212997, 0.4031740128993988, -0.09997564554214478, -0.39770227670669556, -0.10284706950187683, -1.151097059249878, -0.8715164661407471, -0.4869055449962616, -0.4407706558704376, -0.19728370010852814, 0.3942212164402008, 0.8085952401161194, 1.0042715072631836, -0.5022282004356384, -0.6828709840774536, 0.012983261607587337, 0.1629905104637146, -0.7215436100959778, -0.28783127665519714, -0.003937964327633381, -0.559316098690033, -0.6776723265647888, 0.8774309754371643, 0.24910104274749756, -0.27382516860961914, -0.24875202775001526, -0.22127942740917206, -0.25932663679122925, 0.2863406240940094, 0.6944445967674255, 0.5152855515480042, -0.6164391040802002, -0.5803758502006531, 0.06502597779035568, 0.11895225942134857, -0.29771241545677185, 0.9426023960113525, -0.6022794246673584, 0.2755391001701355, 0.4568353593349457, 0.7549530267715454, 0.6720860004425049, 0.015144544653594494, 0.9532711505889893, -1.1252129077911377, 0.03453077748417854, 0.3273506760597229, 0.008838861249387264, 0.2717793583869934, -0.5278384685516357, 0.965864360332489, 0.09693126380443573, -0.5658820271492004, -0.7413881421089172, 0.2821124792098999, -0.8855465054512024, -0.4700702130794525, 1.238973617553711, -0.14146973192691803, -0.23657095432281494, 0.03762172535061836, 0.08887714892625809, -0.023236630484461784, -0.46688276529312134, 0.788266658782959, 0.9501985311508179, -0.3793874680995941, -0.5573356747627258, -0.22714665532112122, 0.7374001741409302, 0.6540027260780334, -1.2627686262130737, -0.01360334176570177, 0.4952200651168823, 0.25217053294181824, -0.03143315017223358, 0.6166216731071472, 0.0388578362762928, 0.11606479436159134, -0.01345114316791296, 0.34620630741119385, -0.40824487805366516, -0.34931209683418274, -0.30026572942733765, -0.3206247389316559, 0.06500159949064255, 0.16045279800891876 ]
http://arxiv.org/abs/2402.03242v1
http://arxiv.org/pdf/2402.03242v1
JOBSKAPE: A Framework for Generating Synthetic Job Postings to Enhance Skill Matching
2024-02-05T17:57:26
2024-02-05T17:57:26
Antoine Magron, Anna Dai, Mike Zhang, Syrielle Montariol, Antoine Bosselut
cs.CL
cs.CL
Recent approaches in skill matching, employing synthetic training data for classification or similarity model training, have shown promising results, reducing the need for time-consuming and expensive annotations. However, previous synthetic datasets have limitations, such as featuring only one skill per sentence and generally comprising short sentences. In this paper, we introduce JobSkape, a framework to generate synthetic data that tackles these limitations, specifically designed to enhance skill-to-taxonomy matching. Within this framework, we create SkillSkape, a comprehensive open-source synthetic dataset of job postings tailored for skill-matching tasks. We introduce several offline metrics that show that our dataset resembles real-world data. Additionally, we present a multi-step pipeline for skill extraction and matching tasks using large language models (LLMs), benchmarking against known supervised methodologies. We outline that the downstream evaluation results on real-world data can beat baselines, underscoring its efficacy and adaptability.
[ -0.09242293983697891, -0.31623002886772156, 0.4942921996116638, 0.2544311583042145, -0.18300357460975647, 0.21065248548984528, -0.23663190007209778, -0.7695534825325012, 0.49540475010871887, 0.5371955633163452, -0.7311921119689941, -0.5267282128334045, -0.3634868562221527, 0.29038748145103455, -0.5818753838539124, 0.6316508054733276, 0.42029324173927307, -0.13037408888339996, -0.6386069655418396, 0.13215164840221405, -0.6078649163246155, -0.2571457326412201, -0.6436696648597717, -0.15051676332950592, 0.4581885039806366, 0.7800034284591675, 0.545752227306366, 0.7748623490333557, 0.31325674057006836, 0.2672906816005707, 0.3009521961212158, 0.4118017852306366, -0.28037896752357483, 0.3935636579990387, -0.4012303650379181, -0.6552534103393555, -0.332247257232666, 0.06502221524715424, 0.5547399520874023, 0.7178040146827698, -0.12638217210769653, 0.4401802122592926, -0.140735924243927, 0.2350485473871231, -0.46645987033843994, 0.2796880304813385, -1.1615172624588013, 0.0924714207649231, -0.3139059841632843, -0.21737714111804962, -0.139337420463562, -0.3028671443462372, -0.06980207562446594, -0.9021204710006714, 0.5614945888519287, 0.002445521531626582, 0.9031603336334229, 0.09953341633081436, -0.2699907720088959, -0.23304085433483124, -0.627998411655426, 0.5593951940536499, -0.8526641130447388, 0.27826181054115295, 0.5660803914070129, 0.795315146446228, -0.23074109852313995, -0.7326616644859314, -0.6508915424346924, -0.009584288112819195, -0.25745752453804016, 0.12485014647245407, 0.4159560203552246, -0.03476007655262947, 0.22627170383930206, 0.4600455164909363, -0.6084100604057312, 0.27719753980636597, -0.5177261233329773, -0.029028257355093956, 0.7137071490287781, 0.20252153277397156, 0.2611246407032013, -0.11332258582115173, 0.003219293663278222, -0.41556039452552795, -0.6071956753730774, -0.04720284789800644, 0.9284392595291138, 0.6486762762069702, 0.208794504404068, 0.9746204614639282, -0.7595992684364319, 0.9282175898551941, -0.2010040134191513, -0.4235585331916809, 0.06431428343057632, -0.35029223561286926, 0.0551295168697834, -0.011572599411010742, 0.5974825620651245, 0.4819337725639343, 0.18863315880298615, -0.33700311183929443, -0.11217086762189865, 0.19934532046318054, 0.7566871643066406, -0.47908642888069153, -0.23591651022434235, 0.06333618611097336, -0.13027678430080414, -0.6588159799575806, 0.05355098843574524, -0.782137393951416, -0.327501118183136, -0.3270283341407776, 0.47620561718940735, -0.19880187511444092, -0.13848339021205902, 0.017106739804148674, -0.36894795298576355, 0.3513825833797455, 0.00585682038217783, -1.102454662322998, 0.46746644377708435, 1.0702298879623413, 0.9208694696426392, -0.20441851019859314, -0.2514406442642212, -0.3863409459590912, -0.13658037781715393, -0.30599454045295715, 0.8726050853729248, -0.6691842675209045, 0.0722057893872261, 0.08101513981819153, 0.18398432433605194, 0.000841696688439697, -0.5906729102134705, 0.4595886766910553, -0.568078339099884, 0.16586732864379883, 0.12604939937591553, -0.5231661796569824, 0.02238984778523445, 0.4486953318119049, -0.6730011701583862, 1.5109755992889404, 0.5914612412452698, -0.3258872628211975, 0.7223600745201111, -0.7150412797927856, -0.4674846827983856, 0.2532813847064972, -0.14644643664360046, -0.4558304250240326, 0.01700892299413681, -0.1026250571012497, 0.5707617998123169, -0.414937287569046, -0.04006025940179825, -0.2618955373764038, -0.4829411208629608, 0.007939456030726433, 0.14514845609664917, 0.4126119911670685, 0.01913944073021412, -0.08758655935525894, -0.09818863123655319, -0.9240490794181824, 0.19706425070762634, 0.12972399592399597, -0.31918346881866455, -0.32436123490333557, -0.07891169935464859, 0.1017618328332901, 0.6415742039680481, 0.005552135873585939, -0.676511824131012, 0.36123642325401306, -0.6594617962837219, 0.28846117854118347, 0.463902086019516, -0.3230833411216736, 0.4189494848251343, -0.4484683573246002, 0.8432214260101318, -0.331049382686615, 0.05183078348636627, 0.2809116542339325, -0.4201071560382843, -0.3227943181991577, -0.23154808580875397, 0.34468117356300354, 0.532502293586731, -0.7884286642074585, 0.7707708477973938, -0.5394847393035889, -1.131459355354309, -0.9148144721984863, 0.30758634209632874, 0.221713125705719, 0.5991077423095703, 0.4934457540512085, -0.6284878849983215, -0.8206648826599121, -1.181616187095642, -0.3500097692012787, 0.16176550090312958, -0.3272894024848938, 0.15940484404563904, 0.2008158415555954, 0.07047002017498016, 1.0892750024795532, -0.4433722496032715, -0.5804601907730103, -0.03103041835129261, -0.1206110417842865, 0.31166842579841614, 0.5312000513076782, 0.5353063941001892, -0.6500141024589539, -0.6336954832077026, -0.036887526512145996, -0.6820043325424194, -0.09089258313179016, -0.22905544936656952, -0.33485880494117737, -0.1092410609126091, 0.44675537943840027, -0.8709093332290649, -0.06701517850160599, 0.7930632829666138, -0.3938179314136505, 0.6630680561065674, 0.07060503959655762, 0.2183852195739746, -1.3254444599151611, 0.45732995867729187, -0.03646354377269745, -0.4482117295265198, -0.4549597203731537, 0.1374497413635254, -0.17731796205043793, -0.4843789339065552, -0.6025553345680237, 0.6850551962852478, -0.26180729269981384, -0.50495445728302, -0.26923510432243347, 0.33844679594039917, 0.01045276504009962, 0.28792476654052734, 0.20038515329360962, 0.59845370054245, 0.7281266450881958, -0.2989882230758667, 0.7256380915641785, 0.7151339650154114, -0.5747654438018799, 0.8079395890235901, -0.40537261962890625, 0.1870402991771698, 0.16922733187675476, 0.22407075762748718, -0.6832578182220459, -0.5665119886398315, 0.09117966890335083, -0.2817964255809784, -0.12346161156892776, -0.728905439376831, -0.8548721075057983, -0.43226343393325806, -0.2938748002052307, 0.28129449486732483, 0.7446077466011047, -0.4650714099407196, 0.4790603816509247, 0.10691706091165543, -0.28362107276916504, -0.6223792433738708, -0.6016682982444763, 0.1434752345085144, -0.2108612209558487, -0.45041075348854065, 0.8264055252075195, 0.23876994848251343, 0.29789745807647705, -0.12457150220870972, -0.046144600957632065, -0.3012203872203827, 0.20219135284423828, 0.034684404730796814, 0.15116433799266815, -0.0818723514676094, 0.013634524308145046, -0.04194953292608261, 0.02164178341627121, -0.05915074795484543, -0.312528133392334, 0.47990354895591736, 0.4833967089653015, -0.296809583902359, -0.2538498342037201, 0.002001522807404399, 0.5833805799484253, 0.065975122153759, 0.9397718906402588, 0.7876201868057251, -0.36847221851348877, -0.415505588054657, -0.4396659731864929, -0.3954452872276306, -0.5169312953948975, 0.2470722496509552, -0.34698113799095154, -0.5950388312339783, 0.06988160312175751, -0.10256568342447281, 0.12449964135885239, 0.28124573826789856, 0.3484099507331848, -0.3407030701637268, 0.7462961673736572, 0.548105776309967, 0.2681151330471039, 0.3651658594608307, -0.0016896043671295047, 0.188824862241745, -0.6089801788330078, -0.4652169346809387, -0.23807092010974884, -0.5399665832519531, -0.6363787651062012, -0.386638343334198, 0.04834200069308281, -0.083989217877388, 0.2683703601360321, 0.8679112195968628, -0.784056544303894, 0.4179648160934448, 0.8485319018363953, 0.07273146510124207, 0.14407560229301453, -0.09420802444219589, 0.24020355939865112, -0.07401860505342484, -0.8992917537689209, -0.4483717381954193, 1.1515370607376099, -0.11089187860488892, 0.23539654910564423, -0.08360745012760162, 0.43409550189971924, 0.3626939654350281, 0.020877711474895477, -0.7786099314689636, 0.7027238607406616, -0.27907246351242065, -0.5255311131477356, -0.3212890923023224, -0.3139532208442688, -1.0712507963180542, 0.05013115331530571, -0.9516589045524597, -0.21131731569766998, -0.2103419452905655, 0.3870875835418701, -0.19984857738018036, 0.2725942134857178, -0.5112226009368896, 1.0244756937026978, -0.13180416822433472, -0.09982069581747055, -0.21511338651180267, -0.5411071181297302, 0.3259492814540863, -0.4698639214038849, 0.040516532957553864, -0.4340778589248657, -0.0024324594996869564, 0.6113601326942444, -0.4942170977592468, 0.7814252376556396, -0.10307643562555313, 0.04834515228867531, -0.010332056321203709, 0.113561250269413, 0.3243725597858429, -0.035698045045137405, -0.34386253356933594, -0.006542724557220936, 0.4741181433200836, -0.6913268566131592, -0.5548686981201172, 0.7465052008628845, -0.4201095402240753, -0.24499693512916565, -0.30676668882369995, -0.7413256168365479, -0.44721266627311707, 0.1471496969461441, 0.09702853113412857, 0.052131082862615585, -0.06993353366851807, 0.32732000946998596, -0.02349039353430271, -0.13154031336307526, -0.10592985898256302, 0.1717771738767624, -0.02990475669503212, 0.05509379133582115, 0.9311782121658325, -0.02036367356777191, 0.23565573990345, 0.14809447526931763, -0.1209678202867508, -0.32328659296035767, -0.12371475994586945, -0.1829909086227417, 0.07055183500051498, -0.5935718417167664, -0.44695809483528137, -0.33555811643600464, -0.09080025553703308, -0.5915603041648865, -0.23152942955493927, -0.4357176125049591, -0.5508344769477844, 0.0798908993601799, 0.06515859067440033, 0.7466825246810913, 0.5643942952156067, -0.12369454652070999, 0.20337767899036407, -0.6909348368644714, 0.4476967751979828, 0.46767038106918335, 0.8015769124031067, -0.3270123302936554, -0.29727330803871155, -0.3087015450000763, 0.12336506694555283, -0.038623370230197906, -0.6353906989097595, 0.3722960352897644, 0.5704434514045715, 0.45353928208351135, -0.1778150051832199, -0.07057654112577438, 0.537422239780426, -0.3509649932384491, 0.6933097839355469, -0.11018118262290955, -0.6085200905799866, 0.6617125272750854, -0.42339688539505005, 0.1629238724708557, 0.775749146938324, 0.6731237769126892, -0.7533735036849976, -0.37414154410362244, -0.7484394311904907, -0.8830463290214539, 0.7623111009597778, 0.5125208497047424, 0.29045727849006653, -0.17128482460975647, 0.566046416759491, 0.3746376633644104, 0.1976357102394104, -0.5348790884017944, 0.28112906217575073, -0.143146350979805, -0.6894204020500183, 0.10751395672559738, 0.13674937188625336, -0.022426363080739975, -0.2867138981819153, 0.6161932349205017, -0.2677856981754303, 0.3650461435317993, -0.19799962639808655, -0.23962558805942535, 0.11942189186811447, -0.014653099700808525, 0.24693048000335693, 0.5379575490951538, -0.0708506628870964, 0.055613256990909576, 0.42489612102508545, -0.35108521580696106, 0.0456337034702301, 0.025404920801520348, 0.015391873195767403, 0.04971180856227875, 0.31432968378067017, 0.2942383289337158, 0.2938869893550873, -1.196106195449829, 0.6065908670425415, 0.29642412066459656, -0.285076767206192, -0.5607036352157593, 0.3885827362537384, 0.15493252873420715, 0.2027812898159027, 0.26031339168548584, 0.02905299887061119, -0.12756788730621338, -0.8777303099632263, 0.2635292708873749, 0.4420803189277649, -0.03699147701263428, -0.3371000289916992, 0.6457327008247375, 0.15516416728496552, -0.6974121928215027, 0.8474949598312378, -0.24727898836135864, -0.2819843590259552, 0.5970513820648193, 0.4960549771785736, 0.23861059546470642, -0.09058236330747604, 0.19823302328586578, 0.5151413083076477, -0.09991093724966049, -0.5112634301185608, 0.375271201133728, 0.03401220217347145, -0.6031447052955627, -0.590686559677124, -0.7354839444160461, -0.5149503946304321, 0.10874157398939133, -0.6333441138267517, 0.7663397192955017, -0.5266803503036499, 0.01092086173593998, -0.07614726573228836, -0.27211588621139526, -0.9173055291175842, 0.47194671630859375, 0.11069195717573166, 0.6954696178436279, -1.2469120025634766, 0.7457700371742249, 0.6446903944015503, -0.3998628854751587, -0.33026283979415894, -0.29056090116500854, -0.21296054124832153, -0.7254301309585571, 0.3563874363899231, 0.2288106381893158, 0.23361937701702118, 0.22715413570404053, -0.25976046919822693, -0.7211815118789673, 1.3371222019195557, 0.42424121499061584, -0.30786600708961487, -0.5165548920631409, 0.5753205418586731, 0.740403413772583, -0.39616355299949646, -0.05133863165974617, 0.6265861392021179, 0.2581643760204315, -0.225160613656044, -1.1578071117401123, 0.06136920675635338, -0.23797567188739777, -0.15240687131881714, 0.00771698635071516, -0.27188944816589355, 0.27765029668807983, 0.39917266368865967, -0.06026550009846687, 0.06531714648008347, 0.261960506439209, 0.2754964530467987, -0.16372650861740112, 0.655244767665863, 0.38888102769851685, 0.5054406523704529, -0.06091955676674843, 0.6748054623603821, -0.3676851689815521, 0.13411356508731842, 1.038393497467041, -0.16426993906497955, 1.016789197921753, 0.31349214911460876, -0.13164356350898743, 0.7815402746200562, 0.6417133808135986, -0.5886303186416626, 0.42051246762275696, 0.2765245735645294, -0.013736167922616005, -0.413482666015625, -0.220520481467247, 0.08732165396213531, 0.7662410736083984, 0.13808254897594452, -0.2608206272125244, -0.19193655252456665, 0.11840984970331192, -0.45697498321533203, 0.5452004671096802, -0.01720556989312172, 0.7292458415031433, -0.04523788020014763, -0.7083545327186584, 0.37802237272262573, -0.04160182550549507, 0.9486764073371887, -0.6574097275733948, -0.47268760204315186, 0.07475440204143524, -0.14220455288887024, -0.4534261226654053, -1.0278801918029785, 0.8208776116371155, -0.24260108172893524, 0.1078190952539444, -0.46107912063598633, 0.8686277270317078, -0.6126078963279724, -0.5797170400619507, 0.27124860882759094, 0.3202284276485443, 0.16761913895606995, -0.019720211625099182, -0.6668877005577087, -0.4216143488883972, -0.6680215001106262, 0.2367962896823883, 0.417819082736969, 0.13579420745372772, 0.06324977427721024, 0.6093733906745911, 0.8668162822723389, 0.33217182755470276, -0.03782803192734718, -0.24372433125972748, 0.3937709331512451, -0.4514818787574768, -0.48123693466186523, -0.4097953140735626, 0.4079953730106354, -0.44716551899909973, -0.4512784481048584, 0.36177948117256165, 0.7429285049438477, 1.171268105506897, -0.3578799068927765, 0.7503436207771301, -0.3063700199127197, 0.7488589882850647, -0.4393363893032074, 0.625619649887085, -0.6261932849884033, -0.09100151062011719, -0.11499015241861343, -1.2388676404953003, -0.09588345140218735, 0.4788294732570648, 0.0024667654652148485, 0.040766872465610504, 0.36639225482940674, 1.148195743560791, -0.6955344080924988, -0.5656057000160217, 0.4900277853012085, -0.16817104816436768, -0.12372535467147827, 0.41139253973960876, 0.47971317172050476, -0.5265491008758545, 0.7185637950897217, -0.42844879627227783, 0.2860034704208374, -0.4893297553062439, -0.8558603525161743, -0.7238927483558655, -0.9077781438827515, -0.41106703877449036, -0.39779505133628845, 0.014846044592559338, 1.0727730989456177, 0.8985228538513184, -0.4915273189544678, -0.1916200816631317, -0.12513791024684906, -0.3375556766986847, -0.6897278428077698, -0.26280173659324646, 0.0993206650018692, -0.21837672591209412, -0.6474946141242981, 0.8553577065467834, -0.005293968599289656, -0.13202498853206635, -0.15646353363990784, 0.28473490476608276, -0.3648061156272888, 0.13849705457687378, 0.7436767220497131, 0.5145812034606934, -0.5158097743988037, -0.44129201769828796, 0.07467246055603027, -0.15549792349338531, -0.1070328876376152, 0.5882583260536194, -0.771050214767456, 0.41623473167419434, 0.5344545841217041, 0.733985424041748, 0.535999059677124, 0.010256338864564896, 0.8906996846199036, -1.3646636009216309, 0.268311470746994, 0.3381991386413574, 0.09813488274812698, 0.5561327338218689, -0.40809857845306396, 0.8375202417373657, 0.32760608196258545, -0.09886298328638077, -0.8688533902168274, 0.22405454516410828, -0.923309326171875, -0.1523320972919464, 1.0445575714111328, 0.14418722689151764, 0.15016242861747742, -0.31172770261764526, 0.05878550931811333, 0.35799819231033325, 0.31170299649238586, 1.2564830780029297, 0.5172671675682068, 0.11282608658075333, 0.002484348602592945, -0.6964882612228394, 0.7115424275398254, 0.38795241713523865, -1.0408140420913696, -0.14551420509815216, 0.11151275783777237, 0.49381306767463684, -0.030532578006386757, 0.4119877219200134, 0.19506751000881195, 0.6610910892486572, 0.12168076634407043, 0.323349267244339, -0.1268208920955658, -0.11229093372821808, 0.13423682749271393, 0.031699445098638535, 0.35830292105674744, 0.06948862969875336 ]
http://arxiv.org/abs/2402.03223v4
http://arxiv.org/pdf/2402.03223v4
English Prompts are Better for NLI-based Zero-Shot Emotion Classification than Target-Language Prompts
2024-02-05T17:36:19
2024-03-07T17:18:18
Patrick Bareiß, Roman Klinger, Jeremy Barnes
cs.CL
cs.CL
Emotion classification in text is a challenging task due to the processes involved when interpreting a textual description of a potential emotion stimulus. In addition, the set of emotion categories is highly domain-specific. For instance, literature analysis might require the use of aesthetic emotions (e.g., finding something beautiful), and social media analysis could benefit from fine-grained sets (e.g., separating anger from annoyance) than only those that represent basic categories as they have been proposed by Paul Ekman (anger, disgust, fear, joy, surprise, sadness). This renders the task an interesting field for zero-shot classifications, in which the label set is not known at model development time. Unfortunately, most resources for emotion analysis are English, and therefore, most studies on emotion analysis have been performed in English, including those that involve prompting language models for text labels. This leaves us with a research gap that we address in this paper: In which language should we prompt for emotion labels on non-English texts? This is particularly of interest when we have access to a multilingual large language model, because we could request labels with English prompts even for non-English data. Our experiments with natural language inference-based language models show that it is consistently better to use English prompts even if the data is in a different language.
[ -0.2647591233253479, -0.4448282718658447, 0.5475563406944275, 0.42512017488479614, -0.1365847885608673, -0.008858597837388515, -0.241439089179039, -0.7029533386230469, 0.17877966165542603, -0.1644357293844223, -0.5659303665161133, -0.5325034260749817, -0.5275347828865051, 0.7822713255882263, -0.03298214450478554, 0.998466432094574, -0.289726585149765, 0.10052490234375, -0.2216181606054306, -0.3760877549648285, -0.46363726258277893, -0.619432270526886, -1.0946425199508667, -0.3065890073776245, 1.2535357475280762, 0.30393972992897034, 0.18386594951152802, -0.05241949483752251, 0.19412218034267426, 0.21905763447284698, -0.0807146206498146, -0.1557767391204834, -0.1445450484752655, 0.41125670075416565, -0.11539191752672195, -0.4777074158191681, -0.015727104619145393, 0.23199602961540222, -0.06085484102368355, 0.6033785343170166, 0.3047437369823456, -0.10351662337779999, -0.14598380029201508, 0.6232390403747559, -0.846651017665863, 0.034300219267606735, -0.07622156292200089, 0.51198410987854, 0.012198777869343758, -0.45934757590293884, -0.6525278687477112, -0.24626803398132324, 0.26466986536979675, -0.3658507764339447, 0.10140062868595123, 0.06263419985771179, 1.1167229413986206, 0.13319344818592072, -0.7094941735267639, -0.43989673256874084, -0.6272392272949219, 1.013627290725708, -0.4068361520767212, 0.4151025712490082, 0.2935963571071625, 0.03760574012994766, 0.3057226538658142, -0.095489501953125, -0.4685015380382538, -0.23764614760875702, -0.02675520069897175, 0.4680492877960205, -0.5267682671546936, 0.11170060187578201, 0.2848677635192871, -0.0025518417824059725, -0.8134301900863647, 0.46057963371276855, -0.11518074572086334, -0.15894781053066254, 0.737404465675354, 0.10219339281320572, 0.5953801274299622, -0.4487103223800659, -0.10971686989068985, 0.10732495784759521, -0.6295488476753235, 0.29626011848449707, 0.24693350493907928, 0.5510282516479492, -0.1804743856191635, 0.49512991309165955, -0.05819100886583328, 0.6333445906639099, 0.018213775008916855, -0.07408937811851501, 0.16399075090885162, 0.06992968916893005, -0.01868049055337906, 0.26185429096221924, 1.026017427444458, 0.8016487956047058, 0.41889506578445435, -0.040301259607076645, -0.07134760916233063, 0.4697891175746918, 0.0035334639251232147, -0.9188485741615295, 0.100450798869133, 0.6995329856872559, -0.36606472730636597, 0.014589001424610615, -0.2710399627685547, -0.8924630880355835, -0.49696803092956543, -0.15939588844776154, 0.20582160353660583, -0.40719276666641235, -0.032852668315172195, 0.04437801614403725, -0.2559478282928467, 0.31838205456733704, 0.4035165011882782, -0.7038207650184631, -0.23856769502162933, 0.44405534863471985, 0.7861146330833435, -0.28424128890037537, -0.013529257848858833, -0.16746647655963898, -0.4020147919654846, -0.4678390324115753, 1.0273809432983398, -0.6031431555747986, -0.40773460268974304, 0.31693243980407715, 0.19451016187667847, -0.062285132706165314, -0.07615477591753006, 0.786934494972229, -0.27775245904922485, 0.8551195859909058, -0.4077857732772827, -0.5597575902938843, -0.2678880989551544, 0.45391032099723816, -0.4529215097427368, 1.1000759601593018, -0.24028071761131287, -0.6542182564735413, 0.33603277802467346, -0.7833841443061829, -0.4626028835773468, 0.20671840012073517, -0.030677100643515587, 0.011859817430377007, 0.1438308209180832, 0.14324533939361572, 0.6915478706359863, -0.310261070728302, 0.23567692935466766, -0.2129467874765396, -0.3239171802997589, 0.15643292665481567, -0.49078893661499023, 0.564806342124939, 0.4367663860321045, -0.43953731656074524, -0.08629915863275528, -0.6025472283363342, -0.08895309269428253, 0.12696930766105652, -0.03642517700791359, -0.7885830998420715, 0.03488064929842949, -0.002420579083263874, 0.15849821269512177, 0.16396145522594452, -0.7301055788993835, -0.03616528958082199, -0.317310631275177, -0.08876997977495193, 0.4996742606163025, 0.07249727100133896, 0.4373246133327484, -0.008310969918966293, 0.922455370426178, -0.04197639971971512, -0.0785955935716629, -0.5053620934486389, -0.5986937880516052, -0.6526086330413818, -0.17332394421100616, 0.20494918525218964, 0.841814398765564, -0.7575686573982239, 0.23686981201171875, 0.3808337152004242, -0.5672922730445862, -0.5528976321220398, -0.48754364252090454, 0.35390743613243103, 0.6353967189788818, 0.19632163643836975, 0.1955128312110901, -0.4620113670825958, -0.6049395799636841, -0.23138085007667542, -0.23433475196361542, -0.008241956122219563, 0.49741441011428833, 0.12457306683063507, 0.04634520411491394, 0.7831982374191284, -0.4151275157928467, 0.1618078351020813, -0.371805876493454, 0.5354257225990295, 0.1574700027704239, -0.019902337342500687, 0.823463499546051, -0.7661709189414978, -1.0150995254516602, 0.19959191977977753, -1.0994362831115723, -0.6184312701225281, -0.30298566818237305, -0.15213485062122345, 0.5909469723701477, 0.09671784192323685, -0.4454666078090668, 0.31923311948776245, 0.40298157930374146, -0.44528645277023315, 0.43737170100212097, 0.17750927805900574, 0.556638240814209, -1.0167547464370728, 0.13441751897335052, 0.40189164876937866, 0.09041670709848404, -0.9240403175354004, -0.12496108561754227, 0.1408727467060089, -0.32641372084617615, -0.7557599544525146, 1.0533472299575806, -0.4470403790473938, 0.425768107175827, -0.2810736298561096, 0.01087114866822958, 0.3565908670425415, 0.2717951238155365, 0.46085819602012634, 0.7057223916053772, 0.8489266633987427, -0.7247389554977417, 0.2196877896785736, 0.22241897881031036, 0.055920012295246124, 1.1824198961257935, -0.5114027261734009, -0.0735420510172844, -0.5674548745155334, 0.031140698119997978, -0.8744373917579651, -0.20863080024719238, 0.3200608193874359, -0.6548829078674316, 0.46292585134506226, 0.18505018949508667, 0.1349005401134491, -0.34949976205825806, -0.47082337737083435, 0.12588676810264587, 0.7079429626464844, -0.5607701539993286, 0.4282090663909912, -0.048342715948820114, -0.2501757740974426, -0.8558704853057861, -0.5992012023925781, 0.1939675658941269, -0.42260271310806274, -0.13800199329853058, 0.0030609990935772657, -0.3018115162849426, -0.3003098964691162, 0.05793469771742821, -0.012257833033800125, -0.13699373602867126, 0.03686754032969475, 0.3149614632129669, 0.2872821092605591, -0.15444745123386383, 0.3142487108707428, 0.03131048381328583, -0.1722044050693512, 0.12831245362758636, 0.1457487940788269, 0.18913455307483673, 0.18963272869586945, -0.14542165398597717, -0.6241989731788635, 0.8676519393920898, 0.5043270587921143, -0.16193123161792755, 0.7786346077919006, 0.5272877812385559, -0.4752855896949768, -0.2333841323852539, -0.31733474135398865, -0.031772710382938385, -0.37800702452659607, 0.1559988409280777, -0.2852899432182312, -0.9072094559669495, 0.35182350873947144, 0.2517862021923065, -0.049616165459156036, 0.5005077123641968, 0.4158213138580322, -0.5541190505027771, 1.2357761859893799, 0.7330683469772339, -0.23877859115600586, 0.4954482614994049, 0.14111986756324768, 0.47251641750335693, -0.4576318562030792, -0.08917355537414551, -1.0743495225906372, -0.33235594630241394, -0.33405232429504395, 0.05516374111175537, 0.21617981791496277, -0.1605890542268753, 0.14528700709342957, 0.14217127859592438, -0.5338284969329834, 0.6477681994438171, 0.30517250299453735, -0.40561509132385254, -0.15686079859733582, 0.07530531287193298, 0.08796396851539612, -0.4598023295402527, -0.7509561777114868, -0.48942551016807556, 0.6127107739448547, 0.22778907418251038, 0.5523115396499634, -0.19083300232887268, 0.78943932056427, 0.09319096803665161, 0.4022764563560486, -1.267574429512024, 0.4385266900062561, -0.2276989221572876, -0.4463650584220886, -0.002932610223069787, -0.33593446016311646, -1.4863793849945068, -0.08855229616165161, -0.20881082117557526, -0.7753522396087646, 0.3771800994873047, 0.0695880874991417, -0.36947357654571533, 0.20861615240573883, -0.7754048705101013, 0.9103941917419434, -0.19486407935619354, -0.13891389966011047, 0.3072943091392517, -0.3939909040927887, 0.12575805187225342, -0.01516291219741106, 0.3548862636089325, -0.22943156957626343, -0.030365655198693275, 0.6525503396987915, -0.35723087191581726, 0.8963448405265808, -0.27498310804367065, -0.3622397780418396, 0.4667539596557617, 0.08123880624771118, 0.29014793038368225, -0.3051629066467285, -0.21868188679218292, 0.1525985449552536, -0.14385591447353363, -0.18069998919963837, -0.792913019657135, 0.4468725919723511, -0.6150435209274292, -0.3214379549026489, -0.5391353964805603, -0.37539783120155334, -0.31075215339660645, -0.17946209013462067, 0.584869384765625, 0.41783595085144043, 0.027203893288969994, -0.07693568617105484, 0.6797266006469727, -0.6511926651000977, 0.6538995504379272, 0.8417657613754272, 0.007815977558493614, 0.06962014734745026, 1.0286771059036255, 0.23657652735710144, 0.020136041566729546, 0.5667698383331299, 0.33359038829803467, -0.39387065172195435, -0.18790721893310547, -0.3715873658657074, 0.16123171150684357, -0.6944597959518433, -0.4418393671512604, -0.8143072724342346, 0.02548684924840927, -0.2448345422744751, -0.5439121723175049, 0.008627538569271564, -0.2613658308982849, -0.4547714293003082, -0.24630820751190186, 0.7681077718734741, 0.5704675912857056, -0.08101627975702286, 0.0648856908082962, -1.0938210487365723, 0.20209382474422455, 0.16327641904354095, 0.3560328781604767, -0.11781638115644455, -0.46626168489456177, -0.09623552113771439, -0.418071985244751, 0.007697922643274069, -1.521256923675537, 0.6177759766578674, 0.20747560262680054, 0.2592720091342926, 0.43400001525878906, 0.4867940843105316, 0.5910137295722961, -0.61373370885849, 1.1181676387786865, 0.18292780220508575, -0.7773169875144958, 0.642227292060852, -0.28984227776527405, 0.4473429024219513, 0.3789069354534149, 1.181265950202942, -1.2132577896118164, -0.598125159740448, -0.4567312002182007, -1.08284330368042, 0.7663792967796326, -0.2294377237558365, 0.4409498870372772, -0.5631763935089111, 0.21957512199878693, 0.2937033474445343, 0.14401347935199738, -0.8559454083442688, -0.3311011791229248, 0.14713892340660095, -0.637779176235199, -0.0023514479398727417, -0.3861686885356903, 0.22235527634620667, 0.08279282599687576, 0.633272111415863, -0.13304604589939117, 0.34785255789756775, 0.34820809960365295, 0.013262149877846241, -0.32998231053352356, 0.46414050459861755, 0.22175906598567963, -0.03961421176791191, -0.18333350121974945, 0.1470981389284134, 0.22942562401294708, -0.13171100616455078, 0.5109544396400452, -0.16045507788658142, -0.5131543874740601, 0.40716323256492615, 0.44534483551979065, 1.2213242053985596, 0.13181094825267792, -0.8059865832328796, 0.6107831597328186, -0.14418940246105194, -0.20053090155124664, 0.044562987983226776, -0.24255461990833282, -0.23928189277648926, 0.2073109745979309, 0.18851882219314575, -0.2153274565935135, 0.391317218542099, -0.48993590474128723, -0.08880368620157242, 0.3636297583580017, -0.6114122271537781, -0.3816760182380676, 0.5083139538764954, 0.3910575807094574, -0.41420674324035645, 0.2582491338253021, -0.6605255007743835, -0.5631424784660339, 0.5569097399711609, 0.5236200094223022, 1.071636438369751, -0.46313533186912537, 0.5871822834014893, 0.6290601491928101, 0.1711900383234024, 0.18594267964363098, 0.6397725939750671, 0.12696270644664764, -0.7114111185073853, -0.692709743976593, -0.5675745606422424, -0.6930503845214844, -0.00885749515146017, -0.6164271831512451, 0.23964691162109375, -0.2954508066177368, -0.023423977196216583, -0.08948207646608353, -0.3451646864414215, -0.6365628242492676, 0.43775689601898193, 0.5280004143714905, 0.9856641888618469, -1.144278883934021, 0.30055710673332214, 1.0321531295776367, -0.13754068315029144, -1.0458300113677979, -0.24562086164951324, 0.20717185735702515, -0.31800511479377747, 0.5899072885513306, 0.5425501465797424, 0.16410093009471893, -0.22385556995868683, -0.7064028382301331, -0.5567324757575989, 0.524853527545929, 0.05043177306652069, -0.4569956958293915, 0.32496699690818787, -0.11701023578643799, 0.8304837346076965, -0.18399669229984283, 0.7592135071754456, 0.13580107688903809, 0.4962979257106781, 0.23502132296562195, -0.5320456624031067, -0.19741399586200714, -0.4126981794834137, -0.21368135511875153, 0.3834822177886963, -0.33235281705856323, 0.6137812733650208, 0.03835374489426613, -0.5281756520271301, -0.2964484691619873, 0.6211469769477844, 0.016326745972037315, 0.5672542452812195, 0.428428590297699, 0.2697771489620209, 0.8677745461463928, -0.34795472025871277, 1.335645079612732, -0.20622746646404266, 0.13292744755744934, 0.670735776424408, -0.6908925771713257, 1.017127513885498, 0.30182501673698425, -0.28403180837631226, 0.569357693195343, 1.009462594985962, 0.055345647037029266, 0.198441743850708, -0.16867513954639435, -0.46630367636680603, -0.0014814502792432904, -0.730976939201355, -0.0850503146648407, 0.17083688080310822, 0.19018591940402985, 0.1270434558391571, -0.29240888357162476, 0.4466080367565155, 0.33731594681739807, 0.06953974813222885, -0.4367659091949463, 0.846094012260437, 0.004651536233723164, -0.5439487099647522, 0.4292477071285248, -0.09700388461351395, 1.0155961513519287, -0.7019209861755371, 0.1899849772453308, -0.5735289454460144, -0.571155309677124, -0.28511640429496765, -0.8045427203178406, 0.28194576501846313, 0.8071534633636475, -0.20206616818904877, -0.3522021174430847, 0.6038727164268494, -0.642082154750824, -0.3805338442325592, 0.3508840799331665, 0.4202692210674286, 0.4613260328769684, -0.041732463985681534, -0.7459015250205994, -0.10039423406124115, -0.06642403453588486, -0.6065516471862793, 0.23612548410892487, 0.827113687992096, -0.18302132189273834, 0.28648948669433594, 0.39952602982521057, -0.037663478404283524, -0.1601373255252838, 0.3152526617050171, 0.21937620639801025, -0.8098927140235901, -0.2631641924381256, -0.814271867275238, 0.9349186420440674, 0.06390553712844849, -0.21650956571102142, 0.7687671780586243, 0.11786510050296783, 0.4436149299144745, -0.3144223093986511, 0.8518896102905273, -0.19895321130752563, 0.4985141456127167, -0.3184196352958679, 0.4657512903213501, -0.9060895442962646, -0.3883941173553467, -0.41687431931495667, -0.8721306324005127, -0.6055597066879272, 0.5431122779846191, -0.20627744495868683, -0.07256817072629929, 0.9501243233680725, 0.5506223440170288, 0.4635038375854492, -0.026469308882951736, 0.4705861806869507, 0.07846157252788544, 0.037801168859004974, 0.6588263511657715, 1.023397445678711, -0.2823352515697479, 0.15364030003547668, -0.16096842288970947, -0.27653783559799194, -0.005116803105920553, -1.0901854038238525, -0.9660710692405701, -0.3283868134021759, -0.6658259630203247, -0.2263888716697693, -0.2280171662569046, 1.1759884357452393, 0.2185150682926178, -1.0583187341690063, -0.0020448723807930946, 0.37100833654403687, 0.12829314172267914, 0.06424463540315628, -0.278328537940979, 0.1235925480723381, -0.5856614112854004, -1.126907467842102, 0.4331042170524597, 0.5236709713935852, 0.27081993222236633, 0.16334211826324463, -0.16704684495925903, -0.028124406933784485, 0.4022618532180786, 0.7496606707572937, 0.5362342000007629, -0.5111966133117676, -0.43948498368263245, 0.30049213767051697, -0.10595766454935074, 0.009222978726029396, 0.4033844769001007, -0.477466344833374, 0.4537670612335205, 0.401851087808609, 0.7288804650306702, -0.18438781797885895, -0.30630970001220703, 0.4613090455532074, -0.9653437733650208, 0.37341880798339844, 0.219252809882164, 0.5672613978385925, 0.5393322110176086, -0.6664952039718628, 0.4957023561000824, 0.1121886745095253, -0.49676743149757385, -0.890738844871521, 0.2321774810552597, -0.9087555408477783, -0.34441739320755005, 1.1827421188354492, -0.2777969241142273, -0.40842774510383606, 0.0997379943728447, -0.6493948101997375, 0.17835606634616852, -0.48713091015815735, 0.5402005314826965, 1.0177483558654785, -0.151113823056221, -0.4845973551273346, -0.43190035223960876, 0.48884135484695435, 0.8713840842247009, -1.0870248079299927, -0.03424336761236191, 0.5240052938461304, -0.26411086320877075, 0.15246492624282837, 0.5835962891578674, 0.20201721787452698, 0.11030545830726624, -0.3620922863483429, 0.48517581820487976, 0.38211095333099365, -0.4452238082885742, -0.7925927042961121, 0.16450968384742737, -0.009806313551962376, 0.032282546162605286 ]
http://arxiv.org/abs/2402.03221v1
http://arxiv.org/pdf/2402.03221v1
"Define Your Terms" : Enhancing Efficient Offensive Speech Classification with Definition
2024-02-05T17:33:22
2024-02-05T17:33:22
Huy Nghiem, Umang Gupta, Fred Morstatter
cs.CL
cs.CL
The propagation of offensive content through social media channels has garnered attention of the research community. Multiple works have proposed various semantically related yet subtle distinct categories of offensive speech. In this work, we explore meta-earning approaches to leverage the diversity of offensive speech corpora to enhance their reliable and efficient detection. We propose a joint embedding architecture that incorporates the input's label and definition for classification via Prototypical Network. Our model achieves at least 75% of the maximal F1-score while using less than 10% of the available training data across 4 datasets. Our experimental findings also provide a case study of training strategies valuable to combat resource scarcity.
[ -0.5339470505714417, -0.9656744599342346, -0.19618338346481323, 0.2062155157327652, -0.2791394591331482, 0.518470048904419, -0.40071940422058105, -0.5020611882209778, 0.5529834628105164, 0.2829590439796448, -0.11885832250118256, -0.559332549571991, -0.9515203833580017, 0.29778486490249634, -0.6689576506614685, 0.9905005097389221, 0.36092156171798706, -0.30092477798461914, 0.25776514410972595, -0.5842330455780029, -0.15672430396080017, -0.4037071764469147, -0.7177853584289551, 0.2165888398885727, 0.5716040730476379, 0.3810311257839203, 0.8319646716117859, 0.8597995638847351, 0.38065600395202637, 0.45166388154029846, -0.11186924576759338, 0.2680288255214691, -0.47526785731315613, 0.2727566063404083, -0.47205886244773865, -0.015773318707942963, -0.36912134289741516, 0.016567450016736984, 0.4561408758163452, 0.3067287802696228, -0.2348141223192215, 0.2521125078201294, 0.005245681386440992, 0.054185424000024796, -1.1851577758789062, -0.06346967071294785, -0.8330490589141846, 0.08034004271030426, -0.33505940437316895, -0.0635732114315033, -0.3913077414035797, -0.13222986459732056, 0.1707204282283783, -0.5425864458084106, 0.11470113694667816, -0.4219060242176056, 0.6304118633270264, -0.2245139330625534, -0.15412558615207672, -0.5330996513366699, -0.5047944784164429, 0.36177322268486023, -0.25322598218917847, 0.4610621929168701, 0.3123602867126465, 0.33895424008369446, 0.5600908398628235, -0.9609881639480591, -0.5149000883102417, 0.22600483894348145, -0.08345892280340195, -0.06354633718729019, -0.7430170774459839, 0.31745994091033936, 0.027861086651682854, 0.12397073209285736, -0.2732914388179779, 0.17730338871479034, -0.37225577235221863, -0.2705840766429901, 0.68385249376297, 0.09215427935123444, 0.26427310705184937, -0.07355309277772903, -0.2028057873249054, 0.028709977865219116, -0.2006734013557434, -0.23316413164138794, 0.5276644825935364, 0.6539972424507141, -0.06838253140449524, 0.27204763889312744, -0.21066534519195557, 0.5217054486274719, 0.11608503013849258, 0.004518622532486916, 0.47138679027557373, -0.2476235181093216, -0.3818846046924591, 0.0025295522063970566, 0.843572199344635, 0.3196778893470764, -0.0029062277171760798, -0.2780190408229828, -0.26388445496559143, 0.17179353535175323, 0.43488502502441406, -0.6889025568962097, -0.10428962856531143, -0.14720353484153748, -0.1678859293460846, -0.5384271740913391, -0.11867432296276093, -0.9616726636886597, -0.4044426381587982, -0.043311361223459244, 0.4842647612094879, -0.4488067030906677, -0.45286574959754944, -0.19598227739334106, -0.5801898241043091, 0.2328978180885315, -0.0635310560464859, -0.9967811107635498, 0.46321889758110046, 0.668953001499176, 0.8614965677261353, 0.28319263458251953, 0.4005912244319916, -0.47372329235076904, 0.07391577959060669, -0.3992500901222229, 0.31851765513420105, -0.8328216075897217, -0.298507958650589, 0.2944020628929138, -0.20188209414482117, 0.07916847616434097, -0.6461738348007202, 0.6843264698982239, -0.7134915590286255, -0.021640578284859657, 0.00718044675886631, -0.24283087253570557, -0.2712101638317108, 0.24232707917690277, -0.4091264009475708, 0.6270977854728699, 0.13022492825984955, -0.7639536261558533, 0.5090276598930359, -0.7258813381195068, -0.7244647741317749, 0.49537596106529236, -0.0041238730773329735, -0.3571181893348694, -0.021387139335274696, 0.03277428075671196, 0.4142501652240753, 0.11556657403707504, 0.34893664717674255, -0.3952403664588928, -0.13210657238960266, 0.17818091809749603, -0.38547760248184204, 0.7658033967018127, 0.5565041899681091, -0.6759380102157593, -0.06385572254657745, -0.682153046131134, -0.16837258636951447, 0.057625263929367065, -0.27577346563339233, -0.7165257334709167, 0.040746454149484634, 0.046172987669706345, -0.015564227476716042, -0.13441191613674164, -0.6405113339424133, -0.3897913694381714, -0.46939051151275635, 0.39297157526016235, 0.7960205078125, -0.3782244622707367, 0.39283743500709534, -0.023297498002648354, 0.5064884424209595, -0.21246224641799927, 0.09612935781478882, 0.15928338468074799, -0.2855141758918762, -0.6728722453117371, -0.43742021918296814, 0.28146106004714966, 0.8416727781295776, -0.8823270797729492, 0.5713990926742554, -0.2759716808795929, -0.4070338308811188, -0.6675184369087219, 0.2804581820964813, 0.6029342412948608, 0.37076613306999207, 0.47212210297584534, -0.02527584880590439, -0.8973358869552612, -0.9723629355430603, -0.36084356904029846, -0.07114192843437195, 0.008763172663748264, 0.27249228954315186, 0.33877402544021606, -0.17361417412757874, 0.9096336364746094, -0.23619863390922546, -0.3492819368839264, -0.3476734161376953, 0.36508116126060486, -0.1938319355249405, 0.14686915278434753, 0.5924060344696045, -1.0848503112792969, -0.5732312798500061, -0.23279161751270294, -0.5038077235221863, -0.3360520303249359, 0.2565464973449707, 0.21531029045581818, -0.1345605105161667, 0.45181283354759216, 0.07342928647994995, 0.1413649320602417, 0.5367816686630249, -0.41703668236732483, 0.17279133200645447, 0.3595280051231384, 0.04171231389045715, -0.9770362377166748, -0.2510259747505188, 0.15503641963005066, -0.4667648673057556, -0.8955029845237732, 0.4695388078689575, -0.36365681886672974, -0.0832521989941597, -0.5765872001647949, 0.15961021184921265, -0.04230610653758049, 0.31599417328834534, -0.22334767878055573, 0.5206989645957947, -0.2456742376089096, 0.1566961109638214, 0.08961594104766846, 0.5210116505622864, 0.47198301553726196, -0.711245059967041, 0.4828268885612488, 0.20103316009044647, -0.11427398025989532, 0.6593745946884155, -0.5611529350280762, 0.24811093509197235, -0.11801104992628098, 0.015420566312968731, -1.159281849861145, -0.14936433732509613, 0.5885801315307617, -0.49461641907691956, 0.3571648597717285, 0.005680907517671585, -0.4104713201522827, -0.33111128211021423, -0.3706013858318329, 0.34822145104408264, 0.2531841993331909, -0.6702715754508972, 0.6136285662651062, 0.8545470237731934, -0.038237810134887695, -0.841453492641449, -0.6416057348251343, 0.23594112694263458, -0.5662035942077637, -0.49873965978622437, 0.6566137075424194, 0.2743999660015106, -0.30817732214927673, 0.0753541812300682, 0.2130243182182312, -0.06865229457616806, 0.2735903859138489, 0.13246433436870575, -0.27837827801704407, -0.19339649379253387, 0.5379501581192017, -0.0502048060297966, 0.4637036919593811, 0.1974913775920868, 0.07358971238136292, 0.3897714614868164, -0.06374316662549973, 0.35967200994491577, -0.3681271970272064, 0.3704056143760681, 0.32587140798568726, -0.062319543212652206, 0.6581003069877625, 1.0174345970153809, -0.25551849603652954, -0.3453541100025177, -0.4046458303928375, -0.025833113119006157, -0.5483611226081848, 0.6058263182640076, -0.3048291802406311, -1.032720923423767, 0.22568878531455994, 0.05408391356468201, 0.18624909222126007, 0.4195334017276764, 0.3778652250766754, 0.0681270956993103, 0.878921627998352, 0.5484534502029419, -0.08542360365390778, 0.5201777219772339, -0.18778865039348602, 0.11682291328907013, -0.6111236214637756, -0.15689654648303986, -0.4778707027435303, -0.29989224672317505, -0.8032292723655701, -0.6276600956916809, 0.13913455605506897, -0.24451878666877747, -0.19547821581363678, 0.5806374549865723, -0.45913082361221313, 0.3612186312675476, 0.047571878880262375, 0.27697741985321045, -0.2915918827056885, -0.01772746630012989, 0.006930267438292503, 0.15049293637275696, -0.6158209443092346, -0.36137253046035767, 1.1677594184875488, 0.7282487750053406, 0.2577049732208252, 0.5707017779350281, 0.7284546494483948, 0.6246407628059387, 0.5970705151557922, -0.7593935132026672, 0.47516852617263794, -0.6303228139877319, -0.8777971863746643, -0.34274283051490784, -0.6104715466499329, -0.6726406812667847, 0.41128259897232056, -0.5369678735733032, -0.723548948764801, 0.2036018818616867, 0.14634640514850616, -0.5340955853462219, 0.4363727569580078, -0.3777945935726166, 0.5960226058959961, -0.052946239709854126, -0.3881556987762451, -0.36126840114593506, -0.43238481879234314, 0.5089555382728577, -0.16783110797405243, 0.6783087849617004, -0.10456325858831406, -0.504978358745575, 1.2109873294830322, -0.23183494806289673, 1.1690263748168945, -0.30209192633628845, -0.017157169058918953, 0.5718506574630737, -0.31834498047828674, 0.09513093531131744, 0.02426311932504177, -0.10603351891040802, -0.0365205742418766, -0.45829159021377563, -0.18988904356956482, -0.44784247875213623, 0.10803297907114029, -0.5029831528663635, -0.3959709107875824, -0.07060976326465607, -0.19515720009803772, -0.14310777187347412, -0.01724032498896122, 0.30440405011177063, 0.5724301934242249, -0.6515740752220154, 0.3410143256187439, 0.7807865738868713, -0.3584510087966919, 0.4479981064796448, 0.42522841691970825, -0.002362214494496584, -0.5808582901954651, 0.9370660185813904, 0.02370147965848446, 0.23214736580848694, 0.419060081243515, 0.3948000371456146, -0.5085083246231079, -0.3909275233745575, -0.03759241849184036, -0.11158230155706406, -0.8231286406517029, -0.5284981727600098, -0.9908920526504517, -0.15194380283355713, -0.6482109427452087, -0.04899381473660469, -0.2744719088077545, -0.17764157056808472, -0.18213927745819092, -0.23140770196914673, 0.23996292054653168, 0.7308561205863953, -0.5459985136985779, 0.9469782710075378, -0.48464828729629517, 0.4017024636268616, 0.5324004888534546, 0.28310203552246094, -0.26518476009368896, -0.9086678624153137, -0.09050852060317993, 0.11209473758935928, -0.4581620991230011, -1.0976366996765137, 0.3113836646080017, 0.6422073841094971, 0.5903514623641968, 0.8639088869094849, 0.09643356502056122, 0.6160276532173157, -0.2849399447441101, 0.49144232273101807, 0.32010549306869507, -1.179093360900879, 0.4233050048351288, -0.11145108193159103, -0.13129529356956482, 0.5598574876785278, 0.7785981297492981, -0.35421717166900635, -0.6074451208114624, -0.7950544953346252, -0.9440337419509888, 0.38828667998313904, 0.054608337581157684, 0.7873574495315552, -0.5769152641296387, -0.0728958398103714, -0.2988281548023224, 0.15500853955745697, -0.7005279064178467, -0.35611242055892944, -0.12985014915466309, -0.02770925685763359, -0.049180831760168076, -0.39417073130607605, -0.36104050278663635, -0.4148145616054535, 0.4834786355495453, 0.029206475242972374, 0.38741883635520935, -0.1605404019355774, -0.189026340842247, 0.20815792679786682, 0.2829018533229828, 0.675958514213562, 0.5184766054153442, -0.1515674591064453, 0.2212040275335312, 0.4129987955093384, -0.5802211165428162, 0.10203812271356583, -0.21197399497032166, 0.15864047408103943, 0.4745609760284424, 0.3722275495529175, 0.7392896413803101, 0.4661441743373871, -0.4699523150920868, 0.8215010762214661, 0.05312725529074669, -0.43570443987846375, -0.15352676808834076, 0.016238044947385788, -0.033998455852270126, 0.23349729180335999, 0.16685469448566437, 0.01805630512535572, 0.4656257927417755, -0.6810422539710999, 0.6432033777236938, 0.46937552094459534, -0.4232930541038513, -0.08629418164491653, 0.32555049657821655, 0.6302953362464905, -0.33222463726997375, 0.4773001968860626, -0.6315200328826904, -1.0139950513839722, 0.3854288160800934, 0.5565915703773499, 0.9317988157272339, -0.48421868681907654, 0.5748012065887451, 0.4092826545238495, 0.32457759976387024, 0.42991986870765686, 0.07204682379961014, -0.10912147909402847, -1.0147444009780884, -0.14968055486679077, -0.8048593997955322, -0.023099346086382866, 0.27486807107925415, -0.5482260584831238, 0.36863332986831665, -0.9482912421226501, -0.45902881026268005, 0.40173059701919556, -0.4140927791595459, -0.48864316940307617, 0.18736959993839264, 0.6264871954917908, 0.9291977882385254, -1.1312395334243774, 0.5330740809440613, 0.41396886110305786, -0.21253478527069092, -0.7132545113563538, -0.3249719440937042, 0.1794905662536621, -0.9002382159233093, 0.996399462223053, 0.09706339985132217, -0.1666308492422104, -0.1611475646495819, -0.3513179123401642, -0.5416925549507141, 0.6132985949516296, -0.10269182920455933, -0.4871252179145813, -0.08173512667417526, 0.0964910164475441, 0.49791911244392395, -0.7176165580749512, 0.23138947784900665, 0.665564239025116, 0.24387164413928986, 0.0859585553407669, -0.7631136178970337, 0.02309935912489891, 0.027691666036844254, -0.13390427827835083, 0.24017523229122162, -0.3315330147743225, 0.5873813629150391, -0.009641052223742008, -0.6030598878860474, -0.24249103665351868, 0.6689019799232483, -0.3885568082332611, 0.3406496047973633, 0.7361936569213867, 0.7299840450286865, 0.7436890006065369, -0.08265749365091324, 0.5384700894355774, 0.10449808835983276, 0.0320514477789402, 1.0174572467803955, 0.30604270100593567, 0.881650984287262, -0.018130546435713768, -0.17834632098674774, 0.6187928915023804, 0.45153066515922546, -0.07106463611125946, 0.6091930866241455, 0.49295827746391296, -0.5258963704109192, -0.07473915815353394, -0.3677302896976471, -0.1578562706708908, 1.0957645177841187, 0.874377965927124, -0.8277591466903687, -0.27039599418640137, 0.3479256331920624, 0.15135538578033447, 0.3658045530319214, -0.5582559108734131, 1.0280808210372925, -0.08525721728801727, -0.04050825908780098, 0.5585370063781738, 0.23884379863739014, 1.0446510314941406, -0.4245254397392273, 0.18919619917869568, -0.006867776624858379, -0.09335421025753021, -0.32448282837867737, -0.5701591968536377, 0.6229051947593689, 0.09061247855424881, 0.12963330745697021, -0.1052059605717659, 0.4366207718849182, -0.4676162898540497, -0.2191040962934494, 0.5021308660507202, 0.18215501308441162, 0.06294757127761841, 0.019891882315278053, -0.8711581826210022, 0.16472451388835907, -0.25285637378692627, 0.37594905495643616, 0.03853164240717888, 0.4403868317604065, 0.18860352039337158, 0.28020501136779785, 0.41898807883262634, 0.20940859615802765, 0.28421738743782043, -0.03054698184132576, 0.8306562304496765, -0.23032768070697784, -0.5439751744270325, -1.1333707571029663, 0.29560863971710205, -0.38920801877975464, -0.3740214407444, 0.3538900911808014, 0.47679004073143005, 0.943115770816803, 0.1404939591884613, 0.7880404591560364, -0.423678994178772, 0.4813031554222107, -0.13925819098949432, 0.47906050086021423, -0.2902355194091797, 0.14327481389045715, -0.647320568561554, -0.6667119860649109, -0.18574398756027222, 0.5193962454795837, -0.1806195080280304, -0.13255801796913147, 0.2336934506893158, 0.6860819458961487, -0.13591787219047546, 0.13233843445777893, 0.5098100900650024, -0.08002312481403351, 0.18199780583381653, 0.3439893126487732, 0.6616356372833252, -0.39016756415367126, 0.6957665681838989, -0.4142911732196808, -0.5135798454284668, -0.33836057782173157, -0.69065922498703, -0.843149721622467, -0.5592184662818909, -0.5354996919631958, -0.3784342408180237, 0.41672396659851074, 0.8227326273918152, 0.8440308570861816, -0.7150542736053467, -0.32994815707206726, 0.22692888975143433, 0.19416369497776031, -0.20702804625034332, -0.2787184417247772, 0.07491936534643173, -0.5973305702209473, -0.5539424419403076, 0.30820655822753906, 0.04127713292837143, -0.19083532691001892, 0.05465495213866234, 0.037198781967163086, -0.6395314931869507, 0.26161399483680725, 0.9505810737609863, 0.25668761134147644, -0.4601956605911255, -0.3871273398399353, -0.2460673600435257, -0.042024802416563034, -0.2293909341096878, 0.614011287689209, -0.4518844187259674, 0.5764214992523193, 0.3827258348464966, 0.9844145178794861, -0.18328958749771118, 0.30324363708496094, 0.5490445494651794, -1.1281064748764038, 0.062181372195482254, 0.39020437002182007, 0.08546436578035355, 0.39822378754615784, -0.3425714671611786, 0.43284472823143005, 0.4530124068260193, -0.07941596955060959, -0.6265024542808533, 0.11056146025657654, -0.5109300017356873, -0.4683346748352051, 1.0470175743103027, -0.26713240146636963, -0.05397818237543106, -0.23621425032615662, 0.28854110836982727, 0.5519239902496338, -0.3999992907047272, 0.6599664092063904, 0.41027870774269104, 0.2339373081922531, -0.1560511291027069, -0.3277967870235443, 0.8562255501747131, 0.10932100564241409, -0.4905030429363251, 0.10110387206077576, 0.20644070208072662, 0.37904107570648193, 0.6079090237617493, 0.5034976005554199, -0.03132999315857887, 0.31848105788230896, 0.12534068524837494, -0.3038729429244995, -0.007236186880618334, -0.48168838024139404, -0.31470897793769836, 0.5526569485664368, -0.32960671186447144, -0.7094489932060242 ]
http://arxiv.org/abs/2402.03216v4
http://arxiv.org/pdf/2402.03216v4
BGE M3-Embedding: Multi-Lingual, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation
2024-02-05T17:26:49
2024-06-28T09:55:49
Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, Zheng Liu
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we present a new embedding model, called M3-Embedding, which is distinguished for its versatility in Multi-Linguality, Multi-Functionality, and Multi-Granularity. It can support more than 100 working languages, leading to new state-of-the-art performances on multi-lingual and cross-lingual retrieval tasks. It can simultaneously perform the three common retrieval functionalities of embedding model: dense retrieval, multi-vector retrieval, and sparse retrieval, which provides a unified model foundation for real-world IR applications. It is able to process inputs of different granularities, spanning from short sentences to long documents of up to 8192 tokens. The effective training of M3-Embedding involves the following technical contributions. We propose a novel self-knowledge distillation approach, where the relevance scores from different retrieval functionalities can be integrated as the teacher signal to enhance the training quality. We also optimize the batching strategy, enabling a large batch size and high training throughput to ensure the discriminativeness of embeddings. To the best of our knowledge, M3-Embedding is the first embedding model which realizes such a strong versatility. The model and code will be publicly available at https://github.com/FlagOpen/FlagEmbedding.
[ -0.6480177640914917, -0.6492094993591309, 0.5860168933868408, 0.04059365391731262, -0.22024044394493103, -0.012956843711435795, 0.018297454342246056, -0.1630203127861023, 0.12200025469064713, 0.29684698581695557, -0.11651366204023361, -0.5009006261825562, -0.8840847015380859, -0.05331384763121605, -0.2662001848220825, 0.8786956667900085, -0.13074181973934174, 0.3478890657424927, -0.32294127345085144, -0.3461637794971466, -0.29898932576179504, -0.5786837339401245, -0.06446962058544159, -0.40746062994003296, 0.3707011938095093, 0.43218547105789185, 0.4866202771663666, 0.5043894648551941, 0.4715544879436493, 0.2508213222026825, 0.07622606307268143, 0.12876537442207336, -0.4685269594192505, -0.19978049397468567, -0.30440422892570496, -0.2125365287065506, -0.29724204540252686, -0.021652670577168465, 0.7896267771720886, 0.5174546837806702, -0.31920552253723145, 0.13010403513908386, 0.3299257159233093, 0.7516220211982727, -0.7547183632850647, 0.19329707324504852, -0.5684348344802856, 0.195032998919487, 0.1815171092748642, 0.18593436479568481, -0.38463422656059265, -0.02651864103972912, 0.25762811303138733, -0.2371395081281662, -0.08387523889541626, 0.0886683464050293, 0.6647877097129822, 0.10565859079360962, -0.5297427773475647, -0.45218756794929504, -0.5282397866249084, 0.8819916844367981, -0.6067039370536804, 0.5786275267601013, 0.4176388084888458, 0.43950366973876953, 0.2717798054218292, -0.8033234477043152, -0.3916349709033966, -0.0978727638721466, -0.1288328617811203, 0.034646712243556976, -0.04194757714867592, -0.004539621062576771, -0.08181510865688324, 0.576170802116394, -0.3746514618396759, -0.2037651538848877, -0.11659221351146698, -0.025672204792499542, 0.26146116852760315, -0.19641678035259247, 0.010276197455823421, -0.02807631529867649, -0.6325504779815674, 0.11905945837497711, -0.5041473507881165, -0.39231789112091064, 0.24937258660793304, 0.14480428397655487, 0.012999014928936958, 0.4752657413482666, -0.22875052690505981, 0.6081091165542603, 0.1167398989200592, -0.28331702947616577, 0.2998802363872528, -0.21504530310630798, -0.1933719366788864, -0.11629438400268555, 0.8286933302879333, -0.017815645784139633, -0.10230860114097595, -0.11178990453481674, -0.3920133709907532, -0.4862593412399292, 0.14972615242004395, -1.030039668083191, -0.08803337067365646, -0.08334233611822128, -0.5468225479125977, -0.28012633323669434, 0.18554449081420898, -0.5116854906082153, -0.09890789538621902, -0.19706356525421143, 0.9437757730484009, -0.5876929759979248, -0.42500072717666626, 0.40605810284614563, -0.19817543029785156, 0.02807389385998249, 0.10273077338933945, -1.1069470643997192, 0.144566610455513, 0.5350688099861145, 0.9463905692100525, 0.24411462247371674, -0.4945114552974701, -0.1977124959230423, 0.3638480603694916, 0.11953933537006378, 0.4614185690879822, -0.6069424152374268, -0.537826657295227, 0.025942888110876083, -0.2698844075202942, 0.03345685452222824, -0.5071958899497986, 0.07150933891534805, -0.6084293127059937, 0.2876424491405487, -0.09514742344617844, -0.7730442881584167, -0.5468189716339111, 0.47491270303726196, -0.6892625689506531, 1.0092790126800537, 0.11347610503435135, -0.7810282707214355, 0.2657874524593353, -0.5694515705108643, -0.16089566051959991, -0.14178456366062164, -0.19620415568351746, -0.6058597564697266, 0.03896666318178177, 0.22944636642932892, 0.7543292045593262, -0.2664133310317993, 0.4338223934173584, -0.41302651166915894, -0.3288929760456085, 0.020902488380670547, -0.4785667657852173, 0.5692858099937439, 0.31824472546577454, -0.18130989372730255, -0.4300738573074341, -0.42085641622543335, -0.185033917427063, -0.17748084664344788, -0.394391268491745, -0.4299505949020386, -0.18663600087165833, -0.06890944391489029, 0.25411441922187805, 0.6146246790885925, -0.5826689004898071, 0.37968647480010986, 0.15323406457901, 0.16678743064403534, 0.4262959659099579, -0.06518068164587021, 0.5424671173095703, -0.37472397089004517, 0.2820214331150055, 0.30095550417900085, 0.17475838959217072, -0.3281867206096649, -0.3344917595386505, -0.42304331064224243, -0.6241127252578735, 0.49086183309555054, 0.4923519194126129, -0.6582674384117126, 0.4962523281574249, -0.2754802703857422, -0.6162360310554504, -0.6557521224021912, 0.38634541630744934, 0.5300840139389038, 0.31446346640586853, 0.5677151679992676, -0.09416114538908005, -0.39176589250564575, -0.9689130187034607, 0.022331172600388527, 0.06825535744428635, 0.1738520711660385, 0.22253286838531494, 0.7087459564208984, -0.5775692462921143, 0.937324047088623, -0.7175148725509644, -0.5885255932807922, -0.42082667350769043, 0.32876449823379517, 0.1190769299864769, 0.5989155173301697, 0.5905846357345581, -0.6710479855537415, -0.6510134935379028, 0.032756153494119644, -0.9699870347976685, 0.3297067880630493, 0.14323031902313232, -0.1899474859237671, 0.12075532227754593, 0.610523521900177, -0.22156508266925812, 0.0995568111538887, 0.7546080350875854, -0.11390162259340286, 0.34284457564353943, -0.3818252980709076, 0.09686229377985, -1.4347816705703735, 0.01244810875505209, -0.05324231833219528, -0.38349515199661255, -0.45030349493026733, 0.12030259519815445, 0.3974587619304657, -0.0766364112496376, -0.48966163396835327, 0.5356427431106567, -0.689265251159668, 0.08488040417432785, -0.2919635772705078, 0.21742309629917145, 0.2742767035961151, 0.4613843858242035, -0.09673510491847992, 0.6068596839904785, 0.7357943058013916, -0.7035439014434814, 0.09854831546545029, 0.2632642090320587, -0.49392035603523254, 0.5051338076591492, -0.41100218892097473, -0.04467857629060745, -0.2547796070575714, 0.11946973204612732, -0.7919473648071289, 0.2339629828929901, -0.12884379923343658, -0.3570525050163269, 0.5720910429954529, -0.7567590475082397, -0.550743818283081, -0.16746339201927185, -0.38190674781799316, 0.3355199694633484, 0.4696841537952423, -0.6622562408447266, 0.779464840888977, 0.6015803217887878, 0.041784852743148804, -0.8371394872665405, -0.7571278214454651, -0.07545579969882965, -0.1716047078371048, -0.4899170398712158, 0.48411279916763306, -0.03829203546047211, 0.20402906835079193, 0.18207447230815887, -0.03011946566402912, -0.04592237249016762, 0.1682361364364624, -0.13636168837547302, 0.08527591824531555, -0.010017961263656616, 0.2539703845977783, 0.32559406757354736, -0.23178279399871826, -0.20433105528354645, -0.6064097881317139, 0.3674975633621216, -0.20541462302207947, -0.6313468217849731, -0.29514890909194946, 0.5424347519874573, 0.5190051198005676, -0.3369970917701721, 0.8867043256759644, 0.9858309030532837, -0.3361704349517822, -0.15402939915657043, -0.722396969795227, -0.16370896995067596, -0.5480650663375854, 0.4723360538482666, -0.5307745337486267, -1.2232065200805664, 0.36170175671577454, -0.33051812648773193, 0.10091172903776169, 0.19433118402957916, 0.42152196168899536, -0.22078193724155426, 1.050687551498413, 0.8039957880973816, -0.30872809886932373, 0.6115802526473999, -0.6402167677879333, 0.19130322337150574, -0.953718900680542, -0.36073410511016846, -0.2874755859375, -0.2477053999900818, -0.6784914135932922, -0.5593647956848145, 0.4690115749835968, 0.11337422579526901, -0.22392545640468597, -0.028716186061501503, -0.34697073698043823, 0.4275975227355957, 0.4894832670688629, -0.09591306746006012, 0.13667891919612885, 0.07801242917776108, -0.5063022971153259, 0.1541105955839157, -0.6667514443397522, -0.5340567827224731, 1.0942304134368896, 0.41976097226142883, 0.9418722987174988, 0.45364442467689514, 1.2012882232666016, 0.32092294096946716, 0.12125135213136673, -0.8754655718803406, 0.3918744921684265, -0.3493626117706299, -0.7787036299705505, -0.25701960921287537, -0.3465960621833801, -0.7476548552513123, 0.6544103026390076, -0.23372922837734222, -0.5960559248924255, 0.0243857279419899, 0.07505618780851364, -0.09297891706228256, 0.6019492745399475, -0.8267560005187988, 0.9572675824165344, -0.022700130939483643, -0.28152763843536377, -0.22541294991970062, -0.2546202540397644, 0.197465717792511, -0.013888605870306492, 0.2877718508243561, -0.19431616365909576, 0.04583489149808884, 0.5371567010879517, -0.18103928864002228, 0.7565136551856995, -0.5769931077957153, -0.013192740269005299, 0.4379056990146637, 0.1879129707813263, 0.3239947557449341, 0.2904909551143646, -0.1979118287563324, 0.23097625374794006, 0.12907256186008453, -0.417756587266922, -0.7589737772941589, 0.7213378548622131, -0.741239070892334, -0.8035176396369934, -0.46088311076164246, -0.07791011035442352, -0.1407884657382965, 0.4286389648914337, 0.0017000655643641949, 0.6565303802490234, -0.34947240352630615, 0.5030279159545898, 0.897803008556366, 0.17932799458503723, 0.5931682586669922, 0.5790817141532898, -0.6441158652305603, -0.5466822981834412, 1.1133326292037964, 0.11216141283512115, 0.12748649716377258, 0.6378301978111267, 0.33334222435951233, -0.3617084324359894, -0.5914800763130188, -0.5379593372344971, 0.24624407291412354, -0.6714292168617249, -0.4247979521751404, -0.8487148284912109, -0.2549189031124115, -0.28033140301704407, -0.2227863371372223, -0.6385819315910339, -0.2547461986541748, -0.43891701102256775, -0.1475045531988144, 0.2511414885520935, 0.9993172883987427, -0.2939563989639282, 0.30151379108428955, -1.1645379066467285, 0.174137145280838, 0.5234792232513428, 0.677937924861908, 0.0660504475235939, -0.6076117157936096, -0.9524774551391602, 0.07993344962596893, -0.3821025490760803, -0.7806722521781921, 0.3797544538974762, 0.24834007024765015, 0.7953356504440308, 0.43019336462020874, -0.23014762997627258, 0.5962410569190979, -0.5530617237091064, 0.6028106808662415, 0.08335711061954498, -1.1536691188812256, 0.40763822197914124, -0.2975998520851135, 0.3968406915664673, 0.9157227277755737, 0.7647903561592102, -0.3780125379562378, -0.14425331354141235, -0.29293808341026306, -0.7696878910064697, 0.5564932823181152, -0.14109817147254944, 0.3412884771823883, -0.016343509778380394, 0.22865687310695648, 0.3535299301147461, 0.18618972599506378, -0.728994607925415, -0.33425986766815186, -0.3922717273235321, -0.35265007615089417, 0.07147525995969772, -0.5240771770477295, -0.07141324877738953, -0.29579824209213257, 0.8166657090187073, -0.24246583878993988, 0.41666513681411743, 0.16249968111515045, -0.46708783507347107, 0.5359951853752136, 0.1741400510072708, 0.160814568400383, 0.4613734483718872, -0.3591427206993103, 0.3228965103626251, 0.2268122285604477, -0.6104415655136108, 0.24913032352924347, 0.1020580530166626, -0.07312705367803574, -0.004062413237988949, 0.08525418490171432, 0.6299222111701965, 0.37045496702194214, -0.14666393399238586, 0.5532159209251404, -0.09934932738542557, -0.25478246808052063, -0.34911081194877625, -0.019680548459291458, 0.13651378452777863, 0.2289300113916397, 0.4642181396484375, -0.3215036690235138, 0.5340572595596313, -0.5701693892478943, 0.3756127655506134, 0.5658748745918274, -0.3050672113895416, -0.051770973950624466, 0.19131271541118622, 0.20169757306575775, 0.1434473842382431, 0.40054991841316223, -0.6248364448547363, -0.4734778106212616, 0.15861359238624573, 0.5350343585014343, 0.8259504437446594, -0.25492167472839355, 0.35251331329345703, 0.5386803150177002, 0.12432625889778137, -0.24449019134044647, 0.34971883893013, -0.1491718292236328, -0.7374311089515686, -0.07066387683153152, -0.6390507221221924, -0.46020230650901794, -0.27616187930107117, -0.7020273804664612, 0.40198856592178345, -0.32153356075286865, -0.25762704014778137, -0.19685696065425873, 0.07778524607419968, -0.6366052627563477, 0.08674014359712601, 0.13812078535556793, 0.7775138020515442, -0.6580978035926819, 1.0080188512802124, 0.7728899717330933, -0.4250785708427429, -0.5381420254707336, 0.010811196640133858, -0.14738760888576508, -0.6064572334289551, 0.48025423288345337, 0.35708460211753845, -0.33904191851615906, 0.212247833609581, -0.19058243930339813, -1.2238335609436035, 1.6612485647201538, 0.21510446071624756, -0.4829644560813904, 0.14817538857460022, 0.016039280220866203, 0.23764365911483765, -0.5422791838645935, 0.4043736457824707, 0.24325776100158691, 0.3509061932563782, 0.1259414255619049, -0.7305787205696106, -0.06914477795362473, 0.013567918911576271, 0.16667644679546356, 0.11396133899688721, -0.7991164922714233, 0.5734236836433411, -0.04844599962234497, -0.10058919340372086, -0.3300457298755646, 0.8405090570449829, 0.11811330914497375, 0.15853089094161987, 0.21245786547660828, 0.8508632779121399, 0.7431775331497192, 0.02694561891257763, 0.8837903141975403, -0.5320747494697571, 0.6197758913040161, 1.0127171277999878, -0.14390839636325836, 0.9008370637893677, 0.37703511118888855, -0.10941428691148758, 0.8175938725471497, 0.08687000721693039, -0.10988866537809372, 0.8901944160461426, 0.03470922261476517, -0.48931294679641724, -0.07412683963775635, 0.1689847856760025, -0.3508535623550415, 0.6102985739707947, 0.3810070753097534, -0.320965051651001, -0.256433367729187, 0.16459327936172485, 0.186243936419487, -0.21722260117530823, -0.1816096305847168, 0.9375578165054321, 0.11630342900753021, -0.6166998147964478, 0.49436894059181213, 0.3077123165130615, 1.0160987377166748, -0.7547118663787842, 0.01538456417620182, -0.27632153034210205, 0.040823355317115784, -0.16047148406505585, -0.8310315012931824, 0.28542932868003845, -0.2792022228240967, -0.15416298806667328, -0.35627907514572144, 0.6558791399002075, -0.6094894409179688, -0.4604114890098572, 0.4643082618713379, 0.8443349003791809, -0.08233126997947693, 0.02161007560789585, -0.6683773994445801, -0.08371969312429428, -0.01145006250590086, -0.28787606954574585, 0.5647754669189453, 0.7501851916313171, 0.482490599155426, 0.7701126337051392, 0.4239138662815094, -0.30749309062957764, -0.008285727351903915, 0.16713400185108185, 0.8987451195716858, -0.6185291409492493, -0.41236647963523865, -0.9927524328231812, 0.5279157161712646, 0.10465903580188751, 0.05250782147049904, 0.6785244941711426, 0.7237676382064819, 0.7552914023399353, -0.1990584135055542, 0.9062050580978394, 0.053861699998378754, 0.06612175703048706, -0.5559401512145996, 0.8625672459602356, -0.6702705025672913, 0.1900472491979599, -0.18930941820144653, -0.8227914571762085, -0.153391033411026, 0.6962394714355469, -0.036649253219366074, 0.3915247321128845, 0.7502486109733582, 0.8041899800300598, -0.30506619811058044, -0.17747750878334045, 0.6386942863464355, -0.1130974069237709, 0.2605694532394409, 0.2669237554073334, 0.6007766723632812, -0.40134987235069275, 0.531301736831665, -0.18820950388908386, -0.21659132838249207, -0.46228620409965515, -0.9513046741485596, -0.9797881245613098, -0.9074568152427673, -0.322873592376709, -0.0003041396557819098, -0.09051699936389923, 0.8587513566017151, 0.8241515159606934, -0.47861284017562866, -0.16872426867485046, 0.19816744327545166, 0.32202836871147156, 0.0068191769532859325, -0.19631855189800262, 0.18557488918304443, -0.439868301153183, -0.7224299907684326, 0.3034486770629883, 0.29555976390838623, 0.38256341218948364, -0.7029321193695068, -0.017238397151231766, -0.6134145259857178, 0.12140653282403946, 0.7074872851371765, -0.0741940289735794, -0.32654669880867004, -0.2072535902261734, -0.20594875514507294, -0.2599383592605591, -0.013823656365275383, 0.6357247829437256, -0.7724049687385559, 0.4908784329891205, 0.3801821768283844, 0.6671737432479858, 0.772541344165802, -0.3583306670188904, 0.39638063311576843, -0.9392820000648499, -0.0032456256449222565, 0.06251257658004761, 0.6826258897781372, 0.45575782656669617, -0.24530161917209625, 0.39741891622543335, -0.011070191860198975, -0.5194616317749023, -0.5718787908554077, 0.2559562027454376, -0.702785849571228, -0.3446536660194397, 1.134645700454712, -0.5440800189971924, 0.003389854682609439, -0.08787621557712555, -0.12173092365264893, 0.3358863890171051, -0.3779865503311157, 0.9214496612548828, 0.9030673503875732, 0.11221091449260712, -0.06308554112911224, -0.35670143365859985, 0.3218618631362915, 0.3861124813556671, -0.5250827670097351, -0.23115858435630798, 0.3640265464782715, 0.4559484124183655, 0.18151238560676575, 0.5759636163711548, -0.3122000992298126, 0.031931422650814056, 0.12531228363513947, 0.14898337423801422, -0.5163949131965637, -0.4123305082321167, -0.34963610768318176, 0.2063259482383728, 0.318442702293396, -0.21998047828674316 ]
http://arxiv.org/abs/2402.03191v3
http://arxiv.org/pdf/2402.03191v3
Isotropy, Clusters, and Classifiers
2024-02-05T16:57:24
2024-05-27T10:21:08
Timothee Mickus, Stig-Arne Grönroos, Joseph Attieh
cs.LG
cs.LG, cs.CL
Whether embedding spaces use all their dimensions equally, i.e., whether they are isotropic, has been a recent subject of discussion. Evidence has been accrued both for and against enforcing isotropy in embedding spaces. In the present paper, we stress that isotropy imposes requirements on the embedding space that are not compatible with the presence of clusters -- which also negatively impacts linear classification objectives. We demonstrate this fact both mathematically and empirically and use it to shed light on previous results from the literature.
[ -0.3454984724521637, -0.25714704394340515, 0.7779690623283386, 0.42977145314216614, -0.08422552794218063, -0.17475007474422455, -0.2483532577753067, -0.5920335650444031, 0.4000300168991089, -0.032677799463272095, 0.23553019762039185, -0.7882562279701233, -0.6475083231925964, 0.13892368972301483, -0.6125451326370239, 0.7421010732650757, -0.33744049072265625, -0.207839697599411, -0.9815678000450134, -0.6197757124900818, -0.18098941445350647, -0.5861685276031494, 0.09536577761173248, 0.1059931218624115, 0.506859302520752, 0.4663637578487396, 1.0245329141616821, 0.9762669801712036, 0.45944520831108093, 0.23743309080600739, -0.017115458846092224, -0.28260529041290283, -0.08266424387693405, 0.26920896768569946, 0.3638004958629608, -0.5081364512443542, -0.10485123097896576, 0.14021937549114227, 0.9617962837219238, 0.7722750902175903, -0.40391483902931213, -0.12675943970680237, 0.27742865681648254, 0.34519296884536743, -1.04658842086792, -0.10283608734607697, -0.4396075904369354, 0.39802876114845276, 0.25818929076194763, 0.03803889825940132, -0.00855933502316475, -0.7784283757209778, -0.16311924159526825, -0.7068212628364563, 0.5087907314300537, 0.010197769850492477, 0.6976060271263123, 0.5523933172225952, -0.5761899352073669, -0.45203712582588196, -0.9177378416061401, 0.6031534671783447, -0.2806982696056366, 0.441328227519989, 0.28192058205604553, 0.21721072494983673, 0.21071194112300873, -0.6544679403305054, -0.3450474143028259, -0.1576961725950241, -0.2951433062553406, -0.07606156915426254, -0.368301659822464, 0.3200581669807434, 0.44992804527282715, 0.17562030255794525, -0.3676595985889435, 0.6057970523834229, -0.9714164733886719, 0.2036285102367401, 0.5096883177757263, 0.17414513230323792, 0.23914982378482819, 0.11449626088142395, -0.836965799331665, -0.03799596056342125, -0.631633996963501, 0.3059098720550537, 0.31922346353530884, 0.29908204078674316, -0.12098516523838043, 0.7565928101539612, 0.3804425597190857, 0.7208369374275208, 0.010478728450834751, 0.0044534532353281975, 0.11649004369974136, 0.038017965853214264, 0.059653449803590775, 0.4820334315299988, 0.4501332938671112, 0.6339840888977051, -0.10363338887691498, -0.05291663855314255, 0.1117316335439682, 0.41560643911361694, 0.449872761964798, -0.7661001086235046, -0.049818214029073715, 0.49689623713493347, -0.27749210596084595, -0.38955211639404297, 0.43468815088272095, -0.5233322978019714, -0.42343199253082275, -0.09585946798324585, 0.20887981355190277, -0.19356726109981537, 0.14483922719955444, 0.04905030131340027, -0.5418633818626404, 0.06337428092956543, 0.3756491243839264, -0.6844251751899719, 0.2639199197292328, 0.7021834850311279, 0.6542789936065674, -0.07886457443237305, -0.5172284841537476, 0.24368402361869812, 0.15855497121810913, -0.3220648169517517, 0.8942624926567078, -1.078565239906311, -0.5311011672019958, -0.0007781136664561927, -0.13915692269802094, -0.15842217206954956, -0.6674802303314209, 0.31066182255744934, 0.19695070385932922, -0.012702155858278275, -0.35494494438171387, -0.5496025085449219, -0.09491238743066788, 0.04274645075201988, -0.4383898973464966, 0.39393287897109985, 0.1561737060546875, -0.4134555459022522, 0.7931493520736694, -0.0648636743426323, -0.3372402787208557, -0.11355344951152802, -0.5922539830207825, -0.6634733080863953, 0.4828575551509857, -0.3173814117908478, 0.1349339634180069, 0.11087103933095932, 0.14600984752178192, -0.8839561343193054, -0.28748008608818054, 0.4142668545246124, 0.025942588225007057, 0.5480177402496338, 0.4613863229751587, -0.06614666432142258, -0.307311475276947, -0.9844586253166199, 0.2569650113582611, -0.3717115521430969, -0.5460085272789001, -0.39010924100875854, 0.34658727049827576, 0.29832592606544495, 0.2928396761417389, 0.11750374734401703, -0.7444920539855957, 0.3175003230571747, 0.5754837393760681, 0.5290072560310364, 0.6999451518058777, -0.42936185002326965, 0.680342972278595, -0.35116735100746155, 0.7213050127029419, 0.10294368118047714, 0.040397096425294876, 0.5705086588859558, -0.3901790976524353, -0.1554594188928604, -0.5912160277366638, 0.11549429595470428, 0.33694881200790405, -0.09183375537395477, 0.6758013367652893, 0.18069447576999664, -0.5601525902748108, -0.24136020243167877, 0.285391241312027, 0.2815495431423187, -0.22342269122600555, 0.21228699386119843, -0.059656232595443726, -0.7376498579978943, -0.9078945517539978, -0.18615402281284332, -0.21290791034698486, 0.1702943593263626, 0.3888383209705353, 0.28703752160072327, -0.34181538224220276, 0.955637514591217, -0.4684738516807556, -0.4652535617351532, 0.30403220653533936, -0.28202691674232483, -0.16137883067131042, 0.6149005889892578, 1.0621296167373657, -0.5418640971183777, -0.4469311237335205, -0.2578903138637543, -0.9903302192687988, -0.18103455007076263, 0.08482424914836884, 0.3662465214729309, -0.0006043881876394153, 1.072113037109375, -0.7336928248405457, 0.8069016933441162, 0.6008277535438538, -0.6219750642776489, 0.316531777381897, -0.3464583456516266, -0.46769049763679504, -0.6079084873199463, -0.19057421386241913, 0.3035772442817688, -0.08938679844141006, -0.5518863201141357, 0.1231289729475975, 0.12527324259281158, -0.25667741894721985, -0.2993831932544708, 0.19775836169719696, -0.12123261392116547, -0.1004003956913948, -0.26538076996803284, 0.1352549046278, 0.19164258241653442, -0.17977724969387054, -0.022435978055000305, 0.1739087998867035, 0.4516015946865082, -0.6724447011947632, 0.227616086602211, 0.4487527906894684, -0.1648874580860138, 0.9581763744354248, -0.6338447332382202, -0.40817490220069885, -0.5100752115249634, 0.6371283531188965, -1.1017969846725464, 0.1701444536447525, -0.29514315724372864, -0.47612684965133667, 0.21202510595321655, 0.22700318694114685, -0.26940104365348816, -0.19299811124801636, -0.5716515183448792, 0.6786017417907715, 0.41119372844696045, -0.6344743967056274, 0.4717009663581848, 0.16949422657489777, 0.6035248637199402, -0.6491565704345703, -0.7054913640022278, -0.46927517652511597, -0.6880364418029785, -0.12213961780071259, 0.25720903277397156, 0.4650970995426178, -0.6172468662261963, 0.6211544275283813, -0.4560706615447998, -0.055463261902332306, 0.11740262806415558, 0.6564618349075317, -0.11789766699075699, -0.0025585717521607876, 0.06294632703065872, -0.06350158900022507, -0.24605655670166016, 0.2764999568462372, -0.5314846038818359, 0.27753856778144836, -0.07982400059700012, -0.399140864610672, -0.3194098174571991, 0.24287116527557373, 0.8247243165969849, 0.41207438707351685, 0.8368568420410156, 0.8329143524169922, -0.24980029463768005, -0.29195111989974976, -0.45812472701072693, 0.1596008688211441, -0.5017794370651245, 0.4322061836719513, -0.28089725971221924, -1.240889310836792, 0.6972790360450745, 0.43306729197502136, 0.02811172790825367, 0.5002116560935974, 0.1489439606666565, -0.6283687353134155, 0.9238969087600708, 0.6597458124160767, 0.009736530482769012, 0.2665214538574219, -0.08481642603874207, 0.533933699131012, -1.0627182722091675, -0.41873714327812195, -1.085129737854004, -0.9457356929779053, -1.2319190502166748, -0.04301019757986069, 0.5783151984214783, 0.14141571521759033, -0.3086101710796356, 0.5049046874046326, -0.5324546098709106, 0.3277479410171509, 0.37693819403648376, 0.08014338463544846, -0.15560084581375122, 0.13185684382915497, 0.045016027987003326, 0.04718044772744179, -0.9801366329193115, -0.0906575471162796, 0.8527909517288208, 0.21402397751808167, 1.2058871984481812, 0.3336903750896454, 0.6226795315742493, 0.05828351899981499, -0.06176811084151268, -0.620151162147522, 0.15919837355613708, -0.35753101110458374, -0.7963656187057495, -0.17789480090141296, -0.37862661480903625, -1.4674729108810425, 0.2637304365634918, -0.16609157621860504, -0.7033047676086426, 1.1260874271392822, 0.09924773871898651, -0.40684619545936584, 0.7106519341468811, -0.49876075983047485, 0.6793701648712158, -0.29276126623153687, -0.15964056551456451, -0.3379373550415039, -0.3345366418361664, 0.08160044252872467, 0.08522308617830276, 0.3510662615299225, -0.09239764511585236, -0.13099347054958344, 0.4021894931793213, -0.684398889541626, 1.1830188035964966, -0.6371326446533203, 0.16039343178272247, 0.4434105157852173, 0.2964158356189728, -0.19648411870002747, -0.14438259601593018, 0.5304269194602966, 0.047290727496147156, 0.5703556537628174, -0.7376816272735596, -0.5847370028495789, 0.7773415446281433, -1.3465042114257812, -0.6609846949577332, -0.570787787437439, -0.5676379799842834, 0.01084160152822733, -0.4329392910003662, 0.5057294368743896, 0.253187358379364, -0.36178597807884216, 0.7555848360061646, 0.41898998618125916, -0.3824547231197357, 0.25354093313217163, 0.08688588440418243, -0.5143563747406006, 0.0016290276544168591, 1.0028114318847656, 0.5868099927902222, 0.5248481035232544, -0.03626009449362755, 0.21368438005447388, -0.17311106622219086, -0.19558678567409515, 0.05408545583486557, -0.15790151059627533, -0.6969095468521118, -0.21574924886226654, -0.5333698391914368, -0.40462544560432434, -0.5120712518692017, -0.6420290470123291, -0.11842552572488785, -1.123199701309204, -0.19626331329345703, -0.38380444049835205, 0.2145901769399643, 0.809293806552887, -0.6744112372398376, 0.2556622326374054, -0.8688334822654724, 0.027477776631712914, 0.6205732822418213, 0.21840327978134155, -0.15798261761665344, -0.402678519487381, -0.22249174118041992, -0.4504072666168213, -0.32597967982292175, -0.4580875039100647, -0.2731107473373413, 0.324384480714798, 0.961062490940094, 1.0171656608581543, -0.09330127388238907, 0.25436002016067505, -0.30614832043647766, 0.3986402750015259, 0.27574101090431213, -0.6962507963180542, 0.3273344039916992, -0.19484971463680267, -0.02867407537996769, 0.7044842839241028, 0.7732911109924316, -0.43681180477142334, -0.1611628383398056, -0.9315006136894226, -0.8298683762550354, 0.14352786540985107, -0.006914546247571707, 0.04512418434023857, 0.09156487137079239, 0.39748871326446533, 0.1357458382844925, 0.33822813630104065, -0.6978910565376282, -0.10362642258405685, -0.036540284752845764, -0.06239938735961914, -0.12088895589113235, -0.40390217304229736, -0.21329547464847565, -0.6101226806640625, -0.0753895714879036, 0.2212618738412857, 0.42530345916748047, 0.07058434933423996, -0.005433832295238972, -0.17892010509967804, 0.049739252775907516, 0.37300652265548706, 0.85479336977005, -0.2088329941034317, 0.4017743468284607, 0.15201157331466675, -0.4625910222530365, 0.6850331425666809, -0.1285698562860489, -0.23546303808689117, -0.039560310542583466, 0.34192898869514465, 0.5163649320602417, 0.014745663851499557, -0.11344508081674576, 0.429465651512146, 0.20542269945144653, -0.6360494494438171, -0.42480215430259705, 0.22264878451824188, -0.44418418407440186, 0.056562382727861404, -0.2725295126438141, 0.41466522216796875, -0.17835472524166107, -0.5708922147750854, 0.037274979054927826, 0.5395376086235046, -0.8066571354866028, -0.2977880537509918, 0.4545620083808899, -0.04565971717238426, -0.16412821412086487, 0.8044207096099854, 0.021931568160653114, -0.7982890605926514, 0.9560161828994751, 0.6222761869430542, 0.970713198184967, -0.47295907139778137, 0.20274771749973297, 0.5149674415588379, 0.5626422166824341, 0.03965143859386444, 0.008889547549188137, -0.3881990611553192, -1.184859275817871, 0.24309861660003662, -0.48760053515434265, -0.47849053144454956, -0.560390830039978, -0.9249765872955322, 0.04867395758628845, -1.1333571672439575, -0.012546933256089687, -0.056713610887527466, -0.8072784543037415, -0.5174106359481812, 0.0296943336725235, 0.21452336013317108, 0.6928955316543579, -1.4709012508392334, 0.5766512751579285, 0.9527080655097961, -0.11524741351604462, -0.334247350692749, -0.23428025841712952, 0.35496294498443604, -0.8909688591957092, 0.41557034850120544, 0.2632378041744232, 0.01937389187514782, -0.4321231245994568, -0.6516414284706116, -0.9948354363441467, 0.939842939376831, -0.396698921918869, -0.39470162987709045, -0.0761871188879013, 0.5713762044906616, 0.6383336782455444, -0.30610191822052, -0.26573923230171204, 0.5262552499771118, 0.7607789635658264, -0.22375094890594482, -0.6332683563232422, 0.08342915028333664, -0.19926348328590393, 0.09118065983057022, 0.099557064473629, -0.9299136400222778, 0.933673620223999, -0.13189715147018433, -0.22257927060127258, -0.10799304395914078, 0.2356860190629959, 0.4265018701553345, 0.3317927122116089, 0.8051460981369019, 1.5140154361724854, 0.49269068241119385, -0.2677944302558899, 1.0381358861923218, -0.23186682164669037, 0.21409587562084198, 0.5203078389167786, -0.33415740728378296, 0.6318143010139465, 0.4694168269634247, -0.6746342778205872, 0.5501050353050232, 0.4403340816497803, -0.3266964852809906, 0.48717445135116577, 0.5106701254844666, -0.11590547114610672, -0.20972976088523865, 0.020569633692502975, -0.6209478974342346, 0.7361506819725037, 0.8179484009742737, -0.14543253183364868, -0.44730809330940247, 0.09148125350475311, -0.21943198144435883, 0.35106122493743896, 0.06962527334690094, 0.4145011007785797, 0.21469075977802277, -0.012690972536802292, 0.3232530355453491, -0.029460014775395393, 0.5599682927131653, -0.1709711253643036, 0.2877333462238312, 0.005546329542994499, 0.503135085105896, -0.9026551842689514, -0.6223614811897278, 0.516705334186554, -0.18300892412662506, 0.15502244234085083, -0.06318029761314392, 0.3768775761127472, -0.13013628125190735, -0.5085299015045166, 0.49011266231536865, 0.5113092064857483, 0.05070391297340393, 0.09885909408330917, -0.24684830009937286, 0.11955010145902634, -0.018885169178247452, 0.22139005362987518, 0.47159209847450256, 0.6254278421401978, 0.10338140279054642, 0.19671766459941864, 0.42340001463890076, -0.027028489857912064, 0.05225204676389694, -0.2719287872314453, 0.876068115234375, -0.5057238936424255, -0.3601160943508148, -0.8178693056106567, 0.27048394083976746, 0.17266163229942322, -0.3789414167404175, 0.9364804029464722, 0.9365973472595215, 0.9800937175750732, 0.4702812135219574, 0.7626222372055054, -0.5045276880264282, 0.11500466614961624, -0.3055849075317383, 0.27096012234687805, -0.6919803023338318, 0.28866010904312134, -0.004937855526804924, -1.5351256132125854, -0.4830361008644104, 0.8875834941864014, -0.2825064957141876, 0.34410133957862854, 1.050136685371399, 0.4893591105937958, -0.14526678621768951, 0.1309959441423416, 0.329537957906723, 0.21686996519565582, 0.34259578585624695, 0.4988187849521637, 1.4735482931137085, -0.12199830263853073, 0.24717317521572113, -0.2721112370491028, -0.301453560590744, -0.11908584833145142, -0.41856807470321655, -0.847314178943634, -0.758564293384552, -0.4628560245037079, -0.8886958956718445, -0.2695734202861786, 0.8262696862220764, 0.3280284106731415, -0.741987943649292, -0.43673402070999146, 0.020612046122550964, 0.18762116134166718, -0.11828765273094177, -0.17657212913036346, 0.28254234790802, -0.34273096919059753, -0.33505067229270935, -0.022323204204440117, 0.17644518613815308, 0.1373664289712906, -0.25785166025161743, 0.16445668041706085, 0.16264182329177856, -0.36062559485435486, 0.30667969584465027, 0.5197526216506958, -0.4484214186668396, -0.5579756498336792, -0.176125168800354, -0.23269911110401154, 0.38319334387779236, 1.0347955226898193, -0.4680149555206299, -0.06809891760349274, 0.6473208665847778, 0.3008085787296295, 0.6050116419792175, 0.06483223289251328, 0.2690018117427826, -0.7294632792472839, 0.54412442445755, 0.1327929049730301, 0.44256651401519775, -0.11793336272239685, -0.37657561898231506, 0.42967545986175537, 0.2822871506214142, -0.7562146186828613, -0.7303496599197388, 0.21391050517559052, -0.8158231973648071, -0.644553542137146, 1.1405948400497437, 0.049358222633600235, -0.2677212357521057, 0.1409989595413208, 0.24475041031837463, -0.3637351393699646, 0.036573536694049835, 1.0656386613845825, 0.6162900328636169, -0.22664174437522888, -0.027949290350079536, -0.3340255320072174, 0.277808278799057, 0.2399623990058899, -0.4602012634277344, -0.33725103735923767, 0.5147602558135986, 0.10874488949775696, 0.5415707230567932, 0.2011464387178421, -0.27468639612197876, 0.21223735809326172, 0.3040302097797394, 0.27659907937049866, -0.040186211466789246, -0.6857917308807373, -0.652070939540863, 0.15506987273693085, 0.25573524832725525, -0.24205288290977478 ]
http://arxiv.org/abs/2402.03190v4
http://arxiv.org/pdf/2402.03190v4
Unified Hallucination Detection for Multimodal Large Language Models
2024-02-05T16:56:11
2024-05-27T11:52:56
Xiang Chen, Chenxi Wang, Yida Xue, Ningyu Zhang, Xiaoyan Yang, Qiang Li, Yue Shen, Lei Liang, Jinjie Gu, Huajun Chen
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG, cs.MM
Despite significant strides in multimodal tasks, Multimodal Large Language Models (MLLMs) are plagued by the critical issue of hallucination. The reliable detection of such hallucinations in MLLMs has, therefore, become a vital aspect of model evaluation and the safeguarding of practical application deployment. Prior research in this domain has been constrained by a narrow focus on singular tasks, an inadequate range of hallucination categories addressed, and a lack of detailed granularity. In response to these challenges, our work expands the investigative horizons of hallucination detection. We present a novel meta-evaluation benchmark, MHaluBench, meticulously crafted to facilitate the evaluation of advancements in hallucination detection methods. Additionally, we unveil a novel unified multimodal hallucination detection framework, UNIHD, which leverages a suite of auxiliary tools to validate the occurrence of hallucinations robustly. We demonstrate the effectiveness of UNIHD through meticulous evaluation and comprehensive analysis. We also provide strategic insights on the application of specific tools for addressing various categories of hallucinations.
[ -0.4431028664112091, -0.8020274043083191, 0.5552740097045898, 0.4921957552433014, -0.23120947182178497, -0.014785954728722572, -0.4369851052761078, -0.35627496242523193, 0.22124041616916656, 0.5843915939331055, -0.6946868896484375, -0.7779600620269775, -0.30784305930137634, 0.18024326860904694, -0.33783143758773804, 0.5807302594184875, 0.14236995577812195, 0.19043231010437012, -0.4185071587562561, -0.3500880002975464, -0.5815206170082092, -0.7285326719284058, -0.0809723362326622, -0.3841404318809509, 0.5792546272277832, 0.3206211030483246, 0.6505278944969177, 0.03432435914874077, 0.4594549536705017, 0.27941951155662537, 0.20615245401859283, 0.35986942052841187, -0.1977829784154892, 0.4676741361618042, 0.08998975157737732, 0.18903206288814545, -0.37991732358932495, -0.4669709801673889, 0.7211264371871948, 0.9513504505157471, -0.36742010712623596, 0.10543328523635864, 0.2242632657289505, 0.6234008073806763, -0.949500322341919, -0.053224753588438034, -0.6119722127914429, 0.20502983033657074, -0.29539182782173157, -0.22244171798229218, -0.76555335521698, 0.09611255675554276, -0.20200595259666443, -0.17399585247039795, 0.07178138941526413, -0.07572345435619354, 0.26432281732559204, 0.4023550748825073, -0.5660762190818787, -0.27624452114105225, -0.755659818649292, 0.7685705423355103, -0.5325122475624084, 1.1319700479507446, 0.15674658119678497, 0.3451160788536072, -0.24396660923957825, -0.7041655778884888, -0.538682222366333, -0.5733451247215271, -0.10335247218608856, -0.14231544733047485, -0.38710474967956543, 0.07815759629011154, 0.178054079413414, 0.18913307785987854, -1.0050987005233765, 0.06023067235946655, -0.050185542553663254, -0.5464291572570801, 0.22295476496219635, 0.30012640357017517, 0.17306973040103912, -0.39399608969688416, -0.2947996258735657, -0.10882017016410828, -0.2411440908908844, -0.35115623474121094, 0.25128763914108276, 0.17802022397518158, 0.18803006410598755, 0.5346052050590515, -0.34493106603622437, 0.511851966381073, -0.42724156379699707, -0.05651867017149925, 0.5272406339645386, -0.20460233092308044, -0.1859365701675415, -0.07330112904310226, 0.8195969462394714, 0.4550004303455353, 0.135511115193367, -0.4866502583026886, -0.2106999009847641, 0.22033068537712097, 0.4890311360359192, -0.7312250137329102, -0.4244731068611145, 0.3184843957424164, -0.6308485269546509, -0.1626552939414978, 0.007176182232797146, -1.1234064102172852, -0.49579477310180664, -0.2070493996143341, 0.2922619581222534, -0.30349647998809814, -0.6209211349487305, 0.13421979546546936, -0.02867846004664898, 0.05874810740351677, 0.0278374794870615, -0.8921924829483032, 0.1022232249379158, 0.4898492693901062, 0.730888307094574, -0.4396176040172577, -0.5675512552261353, -0.46271970868110657, 0.09400922060012817, -0.27696284651756287, 1.0812681913375854, -0.6115682125091553, -0.2679614722728729, 0.21967695653438568, 0.16258303821086884, -0.026966271921992302, -0.6225357055664062, 0.8062983155250549, -0.09627771377563477, -0.13452456891536713, -0.2482028603553772, -0.2112380415201187, -0.3610793650150299, 0.21563158929347992, -0.7209011316299438, 0.9841087460517883, 0.07571940869092941, -0.6147168278694153, 0.5207780003547668, -0.7645214200019836, -0.4169524908065796, 0.0332215279340744, -0.21885165572166443, -0.4794038236141205, 0.4164687395095825, 0.20328176021575928, 0.5724804401397705, 0.0017342811916023493, 0.4874410033226013, -0.7202042937278748, -0.32809823751449585, 0.3666606545448303, -0.7308859825134277, 0.628908097743988, 0.1653929352760315, -0.42886996269226074, 0.502540647983551, -0.7174476981163025, 0.10475801676511765, 0.004197686444967985, -0.033723458647727966, -0.2790258228778839, -0.07822588831186295, 0.6750510931015015, 0.08665183186531067, -0.07152710855007172, -0.2924584746360779, 0.14834019541740417, 0.19630073010921478, 0.030201902613043785, 0.7615354657173157, -0.15004077553749084, 0.07507381588220596, 0.06950541585683823, 0.3301974833011627, -0.014271298423409462, 0.41027185320854187, -0.11448907107114792, -0.19246040284633636, -0.6883128881454468, -0.453461229801178, 0.18057823181152344, 0.22650128602981567, -0.5951753854751587, 0.6512466073036194, -0.12776538729667664, -0.31159353256225586, -0.5176904797554016, 0.16062748432159424, 0.4053346812725067, 0.12753136456012726, 0.5263456702232361, -0.17841753363609314, -0.7064886093139648, -1.0626981258392334, -0.162075012922287, 0.16172127425670624, -0.0984167605638504, 0.12098778784275055, 0.7333300113677979, -0.9183238744735718, 0.4689291715621948, -0.3638540804386139, -0.6668460369110107, -0.2675054371356964, 0.384952574968338, -0.2076631635427475, 0.4372217655181885, 0.4331170320510864, -0.8157477378845215, -0.19633664190769196, -0.013591395691037178, -1.1133396625518799, -0.24069459736347198, -0.2123684138059616, -0.0150469820946455, 0.4374704658985138, 0.6573849320411682, -0.648488461971283, 0.37969309091567993, 0.6635606288909912, -0.44745343923568726, 0.9617308378219604, -0.1524336189031601, 0.39177846908569336, -0.7295279502868652, 0.2846669852733612, -0.5098339915275574, -0.077287457883358, -0.6141444444656372, 0.06993642449378967, 0.13221095502376556, 0.11941563338041306, -0.2351396530866623, 0.2810070812702179, -0.5710344314575195, -0.38006681203842163, -0.20910093188285828, 0.0621497705578804, -0.14935268461704254, 0.5402511954307556, -0.0442541129887104, 0.4129754602909088, 0.5595958828926086, -0.4283425509929657, 0.44366776943206787, 0.09526222199201584, -0.4102288484573364, 0.4350910484790802, -0.3548993170261383, 0.16092771291732788, 0.0924815759062767, 0.13586731255054474, -1.0179789066314697, -0.360657662153244, 0.3043592870235443, -0.32503822445869446, 0.1982847899198532, 0.19279703497886658, -0.8786267638206482, -0.32754793763160706, -0.44217848777770996, 0.5110135674476624, 0.23487772047519684, -0.5790775418281555, 0.9000035524368286, 0.28430992364883423, 0.28805869817733765, -0.5534672141075134, -0.431959331035614, 0.2673279643058777, -0.08266197144985199, -0.5632908344268799, 0.060980089008808136, -0.360189825296402, -0.15933749079704285, -0.13634590804576874, -0.18762601912021637, 0.015351500362157822, 0.178450345993042, 0.38579171895980835, 0.027577972039580345, -0.2366635799407959, 0.1256319284439087, 0.13881906867027283, -0.2407321333885193, 0.08106177300214767, 0.08267907053232193, 0.9254276156425476, -0.07563954591751099, -0.7769970893859863, -0.5610147714614868, 0.4068329632282257, 0.9723737835884094, -0.1425718367099762, 0.5890356302261353, 1.1044416427612305, -0.6243215799331665, -0.12022574245929718, -0.9083102941513062, -0.4605322778224945, -0.39674556255340576, 0.5528314709663391, -0.5146377682685852, -0.5993314981460571, 0.5494913458824158, -0.011759730987250805, -0.1581166386604309, 0.3575589060783386, 0.6211726069450378, 0.07095629721879959, 1.2933270931243896, 0.565050482749939, 0.006232034880667925, 0.10939659923315048, 0.04868712276220322, 0.13851375877857208, -1.0184946060180664, -0.5054762363433838, -0.40936633944511414, 0.0021225938107818365, -0.49796196818351746, -0.2308073192834854, 0.34918633103370667, -0.14638479053974152, 0.2518388032913208, 0.04260283708572388, -0.520022988319397, 0.5253515839576721, 0.2876702845096588, -0.022241147235035896, 0.5016512274742126, 0.08573248982429504, -0.2714209258556366, -0.3052779734134674, -0.3258766829967499, -0.5186330676078796, 1.2030421495437622, 0.1637878715991974, 0.6561835408210754, 0.11739015579223633, 0.5599949955940247, 0.6621097922325134, 0.3275241553783417, -0.5025712251663208, 0.5894119143486023, -0.11660174280405045, -0.6315082311630249, -0.4485681354999542, -0.3263051211833954, -0.8569991588592529, 0.8947558999061584, -0.3275757431983948, -0.982700526714325, 0.06421255320310593, -0.004135237541049719, -0.23183323442935944, 0.35424575209617615, -0.5363491177558899, 1.322764277458191, -0.2536260783672333, -0.2782841920852661, -0.39262181520462036, -0.4294827878475189, 0.6258825659751892, -0.060801152139902115, 0.23265281319618225, -0.1418989598751068, 0.24957512319087982, 0.7125064730644226, 0.16286413371562958, 0.729179322719574, -0.11925115436315536, -0.20589101314544678, -0.1708814948797226, 0.29601651430130005, 0.11343109607696533, 0.03784990683197975, 0.1526513248682022, 0.4295734465122223, -0.04389013350009918, -0.23580943048000336, -0.5644944906234741, 0.842542290687561, -0.2086179107427597, -0.25599926710128784, -0.49752941727638245, -0.7614892721176147, -0.15060152113437653, 0.3073151409626007, 0.17030467092990875, 0.5392748117446899, -0.5469680428504944, 0.5815365314483643, 0.5099985599517822, -0.05607031658291817, 0.3748718202114105, 0.4027935266494751, -0.7360972166061401, -0.501799464225769, 0.8840205669403076, -0.1752186268568039, 0.08293624222278595, 0.18429884314537048, 0.04237682372331619, -0.5717317461967468, -0.58867347240448, -0.5215821266174316, 0.2133653610944748, -0.8809207677841187, -0.06163680925965309, -0.9771619439125061, 0.10927700251340866, -0.6174351572990417, 0.050119392573833466, -0.4419408440589905, 0.0747213289141655, -0.10176312923431396, 0.08821028470993042, -0.16718165576457977, 0.6950985789299011, -0.28962135314941406, 0.008284509181976318, -0.7573090195655823, 0.7029476761817932, 0.24970586597919464, 0.2575352191925049, 0.014068600721657276, -0.29538050293922424, 0.0473143570125103, 0.08626542240381241, -0.33963093161582947, -0.7355141639709473, 0.22751034796237946, -0.022430753335356712, 0.7832140326499939, 0.9152056574821472, 0.15959016978740692, 0.6722228527069092, -0.4138633608818054, 0.5291849970817566, 0.21850784122943878, -0.9343830347061157, 0.2386280596256256, -0.052698951214551926, 0.19818557798862457, 0.6504526138305664, 0.2856948673725128, -0.5729881525039673, -0.4220737814903259, -0.3824399709701538, -0.5805991888046265, 0.28848305344581604, 0.3272285759449005, 0.012816481292247772, 0.16578538715839386, -0.16097158193588257, 0.3403051197528839, 0.3421670198440552, -1.0810741186141968, -0.11470906436443329, -0.017139658331871033, -0.010707248002290726, -0.2587691843509674, -0.49767187237739563, 0.03141668066382408, -0.4141729176044464, 0.3656322658061981, -0.1020287424325943, 0.2515309154987335, -0.043840352445840836, -0.6520423889160156, -0.1472114622592926, 0.209992453455925, 0.8940843343734741, 0.7998375296592712, -0.4581390619277954, 0.3711080253124237, 0.1548975706100464, -0.46318939328193665, -0.05541616305708885, -0.12112390249967575, 0.10733002424240112, 0.4173624515533447, 0.7182218432426453, 0.5762293338775635, 0.641473650932312, -0.9077064394950867, 0.5778352618217468, -0.027933187782764435, -0.22318245470523834, -0.4060001075267792, -0.17563886940479279, -0.19117842614650726, 0.3942295014858246, 0.4246154725551605, 0.05654783546924591, 0.59479159116745, -0.668667733669281, 0.6208128333091736, 0.7347060441970825, -0.43255719542503357, -0.4021447002887726, 0.4715777635574341, -0.057556889951229095, -0.2876718044281006, 0.7836730480194092, -0.38251858949661255, -0.7773573994636536, 0.2588142454624176, 0.5272700190544128, 1.254672884941101, -0.5500968098640442, 0.2473166137933731, 0.10283024609088898, 0.6493595242500305, 0.12902776896953583, 0.29511022567749023, -0.2798491418361664, -0.6017876267433167, -0.08561451733112335, -0.7919449210166931, -0.22462518513202667, 0.3498057425022125, -0.8217485547065735, 0.1327434480190277, -0.0031597730703651905, -0.030263131484389305, 0.05937206372618675, -0.4463272988796234, -0.3892531096935272, -0.1775134950876236, 0.258615106344223, 0.3290528953075409, -0.9874698519706726, 0.610706627368927, 0.32426151633262634, -0.228302463889122, 0.09861456602811813, 0.2556043565273285, 0.04647447168827057, -0.5345884561538696, 0.4047498404979706, 0.6736665964126587, -0.35006484389305115, -0.18738912045955658, -0.28216809034347534, -0.37813064455986023, 0.8827040791511536, 0.1759909987449646, -0.349459707736969, 0.11663023382425308, 0.14222770929336548, 0.5464738607406616, -0.3644731938838959, 0.2203168123960495, 0.7166385054588318, 0.8731037974357605, 0.057148970663547516, -0.7526701092720032, 0.1663103699684143, -0.09627830237150192, -0.2256104201078415, 0.34378957748413086, -0.2060946226119995, 0.6957949995994568, -0.43091240525245667, -0.34620192646980286, 0.0321233905851841, 0.6029697060585022, 0.18612803518772125, 0.5611099600791931, 0.7222448587417603, 0.6203698515892029, 0.6807900667190552, 0.003153895726427436, 0.6554390788078308, -0.009615962393581867, 0.3137221336364746, 1.0164669752120972, -0.5189404487609863, 0.812406063079834, 0.6062220931053162, -0.01678522862493992, 0.5306254625320435, 0.4965166449546814, -0.24650120735168457, 0.5763473510742188, 0.021811848506331444, -0.19010064005851746, -0.5557427406311035, -0.19749130308628082, -0.5362150073051453, 0.6104637384414673, 0.29754725098609924, -0.03771824389696121, -0.3514157831668854, 0.5729967951774597, -0.1895034909248352, -0.174621120095253, -0.0028015864081680775, 0.7870857119560242, -0.16926105320453644, -0.4946953058242798, 0.6716235876083374, -0.332689493894577, 0.6208728551864624, -0.45015764236450195, -0.2613169550895691, -0.13578657805919647, 0.37121081352233887, -0.19113728404045105, -0.3273089528083801, 0.2774359881877899, -0.23275987803936005, -0.055647097527980804, 0.02584381401538849, 0.5839677453041077, -0.4942041337490082, -0.4780697524547577, 0.8481619954109192, 0.4154484272003174, 0.25737112760543823, -0.693980872631073, -0.5874783396720886, 0.49291470646858215, 0.06784646213054657, -0.10203119367361069, 0.2398231476545334, 0.4905969500541687, -0.0019857033621519804, 0.8454366326332092, 0.9104917049407959, -0.3266746699810028, 0.018161749467253685, 0.5256337523460388, 0.8304639458656311, -0.7112762928009033, -0.2173820436000824, -1.0696334838867188, 0.6230970025062561, -0.10513792932033539, -0.26976481080055237, 0.8921377062797546, 0.7119028568267822, 0.7008542418479919, -0.3900890052318573, 0.5154726505279541, 0.17122779786586761, 0.132230743765831, -0.6402287483215332, 0.9132835268974304, -0.8887129426002502, -0.03904680162668228, -0.5824249982833862, -1.2248485088348389, -0.5504611134529114, 0.579093337059021, 0.23362897336483002, 0.02263779565691948, 1.1011784076690674, 0.8255389928817749, -0.19161789119243622, -0.06892679631710052, 0.760100781917572, 0.218295156955719, 0.10564878582954407, 0.28263846039772034, 1.1324447393417358, -0.337129682302475, 0.5979084372520447, -0.4034556448459625, -0.17805685102939606, -0.6510332822799683, -0.7537188529968262, -1.233837366104126, -0.9537879228591919, -0.20105628669261932, -0.22148635983467102, -0.13009130954742432, 0.7724642157554626, 0.6076352596282959, -0.9947630167007446, -0.34564727544784546, 0.28089073300361633, 0.19005116820335388, -0.2842247784137726, -0.236930251121521, 0.3545023500919342, -0.4062440097332001, -0.4512141942977905, 0.3913682699203491, 0.4880951941013336, 0.016482967883348465, -0.6609373092651367, -0.13197745382785797, -0.20598861575126648, -0.2798877954483032, 0.9105212092399597, -0.1108030378818512, -1.0804482698440552, -0.14990036189556122, 0.13310572504997253, 0.08939439058303833, -0.10779403895139694, 1.0220316648483276, -0.32199645042419434, 0.47885218262672424, 0.29756033420562744, 0.40180230140686035, 0.27621182799339294, -0.3095359206199646, 0.09422969818115234, -0.514617383480072, 0.29418861865997314, 0.2394333928823471, 0.40856611728668213, 0.3555808961391449, -0.09813717007637024, 0.4016338586807251, 0.26092085242271423, -0.46892231702804565, -1.5365983247756958, 0.06953943520784378, -1.0121062994003296, -0.46288400888442993, 1.004135251045227, 0.38194990158081055, -0.03304049372673035, -0.39385101199150085, -0.25929245352745056, 0.02081672102212906, -0.3226816654205322, 0.951927125453949, 0.7697926163673401, -0.14345358312129974, -0.15103694796562195, -0.663123607635498, 0.41485998034477234, 0.4074925184249878, -0.8605006337165833, 0.5249465107917786, 0.717648446559906, -0.13226304948329926, 0.43083691596984863, 0.4517921507358551, 0.10633614659309387, 0.36191824078559875, 0.014439591206610203, 0.4674096703529358, 0.03267481550574303, -0.9513794183731079, -0.44966673851013184, 0.26674526929855347, -0.20080599188804626, -0.25164949893951416 ]
http://arxiv.org/abs/2402.05130v2
http://arxiv.org/pdf/2402.05130v2
LB-KBQA: Large-language-model and BERT based Knowledge-Based Question and Answering System
2024-02-05T16:47:17
2024-02-09T02:45:51
Yan Zhao, Zhongyun Li, Yushan Pan, Jiaxing Wang, Yihong Wang
cs.CL
cs.CL, cs.AI
Generative Artificial Intelligence (AI), because of its emergent abilities, has empowered various fields, one typical of which is large language models (LLMs). One of the typical application fields of Generative AI is large language models (LLMs), and the natural language understanding capability of LLM is dramatically improved when compared with conventional AI-based methods. The natural language understanding capability has always been a barrier to the intent recognition performance of the Knowledge-Based-Question-and-Answer (KBQA) system, which arises from linguistic diversity and the newly appeared intent. Conventional AI-based methods for intent recognition can be divided into semantic parsing-based and model-based approaches. However, both of the methods suffer from limited resources in intent recognition. To address this issue, we propose a novel KBQA system based on a Large Language Model(LLM) and BERT (LB-KBQA). With the help of generative AI, our proposed method could detect newly appeared intent and acquire new knowledge. In experiments on financial domain question answering, our model has demonstrated superior effectiveness.
[ -0.18630962073802948, -1.190054178237915, 0.7323600649833679, 0.2834451496601105, -0.2984534502029419, 0.10097204148769379, -0.12852536141872406, -0.4795570969581604, 0.056544847786426544, 0.5097771883010864, -0.4217129051685333, -0.32524967193603516, -0.6339190006256104, 0.00794295221567154, -0.16277629137039185, 0.6877774596214294, 0.1433456838130951, 0.2877044975757599, -0.28792983293533325, 0.06020888313651085, -0.4741417169570923, -0.30173957347869873, -0.8875910043716431, -0.2791736125946045, 0.20137876272201538, 0.17795272171497345, 0.6269324421882629, -0.0030494118109345436, 0.38969695568084717, 0.3781633973121643, -0.213131844997406, 0.12989257276058197, -0.1581256240606308, 0.08882379531860352, 0.04178750142455101, -0.5000529885292053, -0.3162206709384918, -0.36462870240211487, 0.6806962490081787, 0.5638297200202942, -0.0798601508140564, -0.05715133249759674, -0.2841133773326874, 0.630513072013855, -0.518256425857544, 0.4414452612400055, -0.7612491846084595, -0.26035380363464355, 0.3551475703716278, -0.03505174443125725, -0.6919882297515869, -0.5022962093353271, 0.45463433861732483, -0.6400837898254395, -0.10545755177736282, -0.1696927696466446, 0.7542758584022522, 0.04728470742702484, -0.43310806155204773, -0.5778363347053528, -0.5716407299041748, 0.7507780194282532, -0.9147027134895325, 0.5790979862213135, 0.24577677249908447, 0.5600754618644714, -0.12594854831695557, -0.5034914016723633, -0.7888672947883606, -0.4089776277542114, 0.0917363166809082, -0.019710510969161987, -0.008065943606197834, -0.002724716439843178, -0.1366921067237854, 0.07008721679449081, -0.4855966866016388, 0.05878221243619919, -0.35494643449783325, -0.2828037738800049, 0.5166252255439758, 0.02603255771100521, 0.10350582003593445, -0.4542869031429291, -0.47514164447784424, 0.12150278687477112, -0.5693008303642273, 0.357776403427124, -0.07511677592992783, 0.3265770673751831, 0.04786231368780136, 0.513587236404419, -0.34236660599708557, 0.7091230750083923, 0.13162368535995483, -0.3086363673210144, -0.028013719245791435, 0.06932254135608673, -0.5990161895751953, 0.14084529876708984, 0.5285085439682007, -0.057856276631355286, 0.1406482756137848, -0.30188271403312683, -0.04887929931282997, -0.39477458596229553, 0.14031793177127838, -0.5846003293991089, -0.006891319993883371, 0.29956501722335815, -0.5668507218360901, -0.21155843138694763, -0.2978785037994385, -0.3791358768939972, -0.3541727662086487, -0.2926827669143677, 0.8136186003684998, -0.799161434173584, -0.13556599617004395, 0.20250821113586426, -0.04307153820991516, 0.9365544319152832, 0.6594304442405701, -0.7137024402618408, -0.0677841380238533, 0.8099460601806641, 0.32078519463539124, 0.23319421708583832, 0.09092656522989273, -0.42266321182250977, 0.3067677319049835, -0.22935520112514496, 0.6290731430053711, -0.44201335310935974, -0.15532372891902924, -0.03939996659755707, -0.34201738238334656, 0.028886785730719566, -0.36737415194511414, 0.3475397229194641, -1.4446417093276978, 0.2465604990720749, -0.3355899453163147, -0.904423177242279, -0.5883374810218811, 0.5305918455123901, -0.6011994481086731, 0.584684431552887, 0.08958116918802261, -0.45990076661109924, 0.3998890519142151, -0.9107359051704407, -0.3857888877391815, 0.5865068435668945, -0.18050040304660797, -0.07723327726125717, -0.08994750678539276, 0.3809531033039093, 0.4866718053817749, -0.3826327621936798, 0.5549119114875793, -0.05127371847629547, -0.19714170694351196, 0.6031634211540222, -0.7963609099388123, 0.8689014911651611, 0.10608069598674774, -0.25020694732666016, -0.05613983795046806, -0.6473833322525024, 0.22324147820472717, 0.11347750574350357, -0.6995665431022644, -0.352005273103714, -0.004612709861248732, -0.21375682950019836, 0.06449786573648453, 0.7812477350234985, -0.6262977719306946, 0.1817023605108261, -0.40869665145874023, 0.2987300157546997, 0.8518037796020508, -0.11507615447044373, 0.46971970796585083, -0.11463112384080887, 0.47929805517196655, 0.07267734408378601, 0.1096859946846962, 0.11677885055541992, -0.6252378821372986, -0.7239318490028381, -0.26617178320884705, 0.48510968685150146, 0.6875327825546265, -0.8758744597434998, 0.6009635329246521, -0.20164576172828674, -0.31472352147102356, -0.4631783366203308, 0.0026730233803391457, 0.20510680973529816, 0.37047040462493896, 0.23905499279499054, 0.03366367891430855, -0.23894177377223969, -0.9558250904083252, 0.02266807295382023, -0.48744213581085205, -0.06661821156740189, 0.7276647686958313, 0.16478696465492249, -0.1379278153181076, 1.1060670614242554, -0.6972504258155823, -0.04807116836309433, -0.5860834717750549, 0.26666057109832764, 0.342487633228302, 0.06420549750328064, 0.4787573218345642, -1.0488824844360352, -0.5029966235160828, -0.07496106624603271, -0.7322908639907837, 0.15428271889686584, -0.136911541223526, -0.3556353449821472, 0.38938191533088684, 0.47778570652008057, -0.763735294342041, 0.312531054019928, 0.3266703188419342, -0.3725559115409851, 0.6093270182609558, -0.17012715339660645, 0.12651364505290985, -1.1401841640472412, 0.0960206463932991, -0.3520994186401367, -0.11137688159942627, -0.6697028279304504, -0.1201430931687355, 0.2992483079433441, 0.10615193843841553, -0.3800823390483856, 0.6238871812820435, -0.18675029277801514, -0.021071897819638252, -0.2934391498565674, 0.030007826164364815, 0.0578768327832222, 0.651420533657074, 0.22827266156673431, 0.6933929920196533, 0.4965249300003052, -0.8387646079063416, 0.42324432730674744, 0.6383815407752991, -0.6195059418678284, 0.402935653924942, -0.5473411083221436, 0.013441036455333233, -0.4287053048610687, 0.17142745852470398, -1.103234887123108, -0.2210998237133026, 0.12192244827747345, -0.7214457392692566, 0.23771245777606964, 0.00008753346628509462, -0.2890196442604065, -0.37741219997406006, 0.029282834380865097, 0.5610156655311584, 0.6303348541259766, -0.4684012532234192, 1.0101851224899292, 0.026193581521511078, -0.7554171681404114, -0.7511166334152222, -0.3669339120388031, -0.013375519774854183, 0.1263495236635208, -0.7664391398429871, 0.09066541492938995, -0.07959822565317154, -0.012381626293063164, -0.05806984007358551, 0.12402565777301788, -0.441940575838089, 0.015895532444119453, -0.1578121781349182, 0.7001451849937439, -0.46728092432022095, 0.4101933538913727, 0.2676442563533783, 0.22920726239681244, 0.3169737458229065, -0.24532315135002136, 0.7094226479530334, 0.03284416347742081, -0.1932400017976761, -0.3671647310256958, 0.4105963110923767, 0.8409342169761658, -0.38944077491760254, 1.0429871082305908, 0.3369230628013611, -0.11642201989889145, -0.12374571710824966, -0.8100454211235046, -0.015892619267106056, -0.5441052317619324, 0.5113639831542969, -0.26375070214271545, -1.2792127132415771, 0.3923880457878113, 0.017326273024082184, 0.05305305868387222, 0.3908901810646057, 0.7532011270523071, -0.14894072711467743, 0.7120193243026733, 0.5635839104652405, -0.35840243101119995, 0.26978254318237305, 0.006679314188659191, 0.5548684000968933, -0.7423030138015747, -0.3600943982601166, -0.3339596390724182, -0.2549401521682739, -0.1765073984861374, -0.3411664366722107, 0.5457099080085754, 0.1674453318119049, -0.2979159951210022, 0.16253428161144257, -0.2637217342853546, 0.1693686842918396, 0.6722323298454285, 0.13610799610614777, 0.3233978748321533, -0.20732173323631287, -0.2366894632577896, 0.29076358675956726, -0.5298516750335693, -0.41528940200805664, 1.2890264987945557, 0.44967126846313477, 0.7975924611091614, 0.38248786330223083, 0.44878628849983215, 0.27885785698890686, 0.3812556564807892, -0.9094350337982178, 0.737356424331665, -0.04095111042261124, -0.8185766339302063, -0.8065774440765381, -0.661584198474884, -0.6967878341674805, 0.04799528419971466, -0.026664892211556435, -0.6699570417404175, 0.19382016360759735, 0.008686058223247528, -0.5463410019874573, 0.3405511975288391, -0.8042389154434204, 0.7013983130455017, -0.4415675699710846, 0.08002964407205582, -0.05036480352282524, -0.6090390682220459, 0.41244950890541077, -0.14867724478244781, 0.08872631937265396, -0.06499969214200974, 0.19287997484207153, 0.7050912976264954, -0.1820562481880188, 0.6337893009185791, -0.4916555881500244, -0.5675346255302429, 0.450917512178421, -0.13944348692893982, 0.6343002915382385, 0.1912899911403656, -0.042862001806497574, -0.2462691217660904, -0.28804659843444824, -0.3138854205608368, -0.6193176507949829, 0.45193204283714294, -0.709597110748291, -0.587411105632782, -0.06142904609441757, -0.9255325198173523, -0.4843284785747528, 0.20564809441566467, -0.07661717385053635, 0.25890791416168213, -0.3575075566768646, 0.3303946256637573, 0.7734759449958801, -0.6324624419212341, 0.2797972559928894, 0.9166598916053772, -0.2347448617219925, -0.42673563957214355, 0.7021871209144592, -0.31417402625083923, 0.35674652457237244, 0.8609956502914429, 0.052790962159633636, -0.6875038743019104, -0.48111751675605774, -0.3290348947048187, 0.202969491481781, -0.5979242324829102, -0.44370970129966736, -0.7503791451454163, -0.5151805877685547, -0.7764648795127869, -0.2294190376996994, 0.105080746114254, -0.3003041446208954, 0.009065638296306133, 0.1445314884185791, 0.550674557685852, 0.4817103445529938, 0.19260889291763306, 0.18687577545642853, -0.9574585556983948, 0.5783194899559021, 0.9184009432792664, 0.38365644216537476, 0.14678853750228882, -0.47671517729759216, -0.07056593149900436, 0.18554288148880005, -0.17029941082000732, -0.7288011908531189, 0.25540244579315186, 0.06431986391544342, 0.5264567136764526, 0.5196986198425293, 0.09945522248744965, 0.0811588317155838, -0.1891556978225708, 0.48267388343811035, 0.06772199273109436, -0.9041560888290405, 0.3457324504852295, -0.32118889689445496, 0.5002673864364624, 0.578797459602356, 0.3702029585838318, -0.5362180471420288, -0.4042266309261322, -0.373060405254364, -0.7251356840133667, 0.8043879270553589, 0.20776039361953735, 0.05627797544002533, 0.0649162083864212, 0.3907237946987152, 0.09458530694246292, 0.520158052444458, -0.9533538818359375, -0.08604422211647034, 0.025758344680070877, -0.35899627208709717, 0.15201205015182495, -0.37458905577659607, 0.3005475401878357, -0.31787779927253723, 0.8771937489509583, -0.08118101954460144, 0.5830762982368469, 0.09022584557533264, -0.12163466215133667, 0.06257014721632004, 0.7240892648696899, 0.24894434213638306, 0.4697153866291046, -0.28994590044021606, -0.28357622027397156, 0.22828741371631622, -0.5699107050895691, 0.19124682247638702, 0.3682776689529419, -0.5486697554588318, -0.0722106546163559, 0.15693983435630798, 0.6275086998939514, 0.03191642463207245, -1.045409917831421, 0.6006736159324646, 0.0573459155857563, -0.43349117040634155, -0.5456092953681946, 0.08307202905416489, 0.4870307743549347, 0.49457022547721863, 0.5006533861160278, -0.22793611884117126, 0.12087510526180267, -0.5332381725311279, 0.008538657799363136, 0.7508558630943298, -0.1800324022769928, 0.21277353167533875, 0.3347519338130951, 0.2309354841709137, -0.12295446544885635, 0.8137906193733215, -0.44247129559516907, -0.7992319464683533, 0.9148346781730652, 0.45060068368911743, 0.6700409650802612, -0.3378986716270447, 0.5393650531768799, 0.17408348619937897, 0.11212921887636185, 0.35881033539772034, 0.7805081605911255, -0.21103881299495697, -1.0576809644699097, -0.6175452470779419, -0.9451223015785217, -0.30222490429878235, 0.4942238926887512, -0.5569106936454773, -0.04885568469762802, -0.345696359872818, 0.23639418184757233, 0.2704271674156189, -0.16348326206207275, -0.5168319940567017, 0.3357045352458954, 0.04974415525794029, 1.0522968769073486, -0.4645918607711792, 0.8091345429420471, 0.8154916167259216, -0.1041732057929039, -0.977462112903595, 0.005499331746250391, -0.48669517040252686, -0.9816745519638062, 0.9992401003837585, 0.11093837022781372, 0.11049788445234299, 0.03823385387659073, -0.5525228977203369, -0.8386467695236206, 1.1667978763580322, 0.09146681427955627, -0.41492199897766113, -0.26025137305259705, 0.3234712779521942, 0.2971169054508209, -0.15701758861541748, -0.16591514647006989, 0.4997189939022064, 0.6952763199806213, 0.38477134704589844, -0.6946279406547546, -0.2482212632894516, -0.14465636014938354, -0.25199076533317566, 0.597285270690918, -0.45216265320777893, 0.7085120677947998, -0.19099056720733643, 0.0554584339261055, 0.332031786441803, 0.7288785576820374, 0.41767773032188416, 0.21186208724975586, 0.6140388250350952, 0.5504307150840759, 0.5299178957939148, -0.03544851019978523, 0.6105794310569763, -0.06906238943338394, 0.35442599654197693, 0.8394836187362671, -0.4271792471408844, 1.0135071277618408, 0.16978362202644348, -0.39391523599624634, 0.6211097836494446, 0.05494430661201477, 0.004443580284714699, 0.5839102864265442, 0.21283990144729614, -0.7271999716758728, -0.4922565817832947, 0.13194569945335388, -0.17260748147964478, 0.6139390468597412, 0.5367072820663452, -0.368385910987854, -0.17687243223190308, 0.1458757519721985, -0.23734427988529205, -0.2566644847393036, -0.3697774112224579, 0.9841700792312622, -0.07661868631839752, -0.7505573630332947, 0.31304556131362915, 0.15943492949008942, 0.6925892233848572, -0.9351086020469666, 0.0424150712788105, 0.12386426329612732, -0.03138991445302963, 0.3150961399078369, -0.6365477442741394, -0.12207794934511185, 0.06421757489442825, -0.40591591596603394, 0.14408200979232788, 0.8470603823661804, -0.5142220258712769, -0.696033239364624, 0.1512790471315384, 0.5664625763893127, -0.07528387010097504, -0.1693769246339798, -0.5279857516288757, -0.42465800046920776, -0.016515526920557022, 0.019931605085730553, 0.07075227797031403, 0.6899673938751221, 0.06862816214561462, 0.7441600561141968, 0.5564407110214233, -0.2776191830635071, 0.05390758439898491, 0.025604702532291412, 0.7704269289970398, -0.7201012969017029, -0.7787689566612244, -0.4649490714073181, 0.13176549971103668, 0.015889983624219894, 0.008319377899169922, 0.4015152156352997, 0.525745153427124, 0.3416839838027954, -0.18521231412887573, 0.9584828019142151, -0.34652841091156006, 0.6899437308311462, -0.6626683473587036, 0.8197482228279114, -0.538012683391571, 0.13538482785224915, -0.2225215882062912, -0.6100240349769592, 0.11570780724287033, 0.5376673936843872, -0.4905538558959961, 0.3703906238079071, 0.49024075269699097, 0.5490992665290833, 0.11565539240837097, 0.23480172455310822, 0.39712515473365784, 0.48152977228164673, 0.1696089804172516, 0.9241011738777161, 0.8976325988769531, -0.16996131837368011, 0.6817218661308289, 0.13077692687511444, -0.23590326309204102, -0.45224428176879883, -0.5978994965553284, -0.6958898305892944, -0.5999940037727356, 0.015065598301589489, -0.018609043210744858, -0.056131020188331604, 0.7848654985427856, 0.36602792143821716, -0.8762776851654053, 0.04268711060285568, -0.2020406574010849, -0.09961631894111633, -0.09723256528377533, -0.32883456349372864, 0.6274424195289612, -0.4102800786495209, -0.45745623111724854, 0.3265477418899536, 0.40745478868484497, 0.07791358232498169, -0.34965386986732483, -0.19193978607654572, -0.5239371657371521, 0.42702847719192505, 0.9186521768569946, 0.2027716040611267, -0.7566817998886108, -0.22136190533638, 0.20403118431568146, -0.06772013008594513, -0.15176190435886383, 0.6060630083084106, -0.8381702303886414, 0.2567400634288788, 0.48065242171287537, 1.0721744298934937, 0.12908782064914703, 0.02400924451649189, 0.5762125849723816, -0.46020105481147766, -0.13460715115070343, 0.4487101435661316, 0.26959228515625, 0.00847437884658575, -0.6628075838088989, -0.10344839841127396, -0.2506066858768463, -0.5710469484329224, -0.16953334212303162, 0.3104482889175415, -1.1742920875549316, -0.6808115839958191, 0.9422057867050171, -0.07064300775527954, -0.11640646308660507, -0.38536593317985535, -0.4098113775253296, 0.17844654619693756, -0.5356336236000061, 0.9558238983154297, 0.7966873049736023, -0.10602039098739624, -0.0634283572435379, -0.4698227345943451, 0.3318743407726288, 0.6215189695358276, -0.9884950518608093, 0.06766422837972641, 0.5886683464050293, 0.1505802422761917, 0.19150854647159576, 0.7607830762863159, -0.06498030573129654, 0.7087502479553223, -0.43130865693092346, -0.013959388248622417, 0.012190954759716988, -0.26201048493385315, 0.07299580425024033, 0.4124399423599243, 0.27837109565734863, -0.12130945175886154 ]
http://arxiv.org/abs/2402.03181v4
http://arxiv.org/pdf/2402.03181v4
C-RAG: Certified Generation Risks for Retrieval-Augmented Language Models
2024-02-05T16:46:16
2024-06-04T04:51:08
Mintong Kang, Nezihe Merve Gürel, Ning Yu, Dawn Song, Bo Li
cs.AI
cs.AI, cs.CL, cs.IR
Despite the impressive capabilities of large language models (LLMs) across diverse applications, they still suffer from trustworthiness issues, such as hallucinations and misalignments. Retrieval-augmented language models (RAG) have been proposed to enhance the credibility of generations by grounding external knowledge, but the theoretical understandings of their generation risks remains unexplored. In this paper, we answer: 1) whether RAG can indeed lead to low generation risks, 2) how to provide provable guarantees on the generation risks of RAG and vanilla LLMs, and 3) what sufficient conditions enable RAG models to reduce generation risks. We propose C-RAG, the first framework to certify generation risks for RAG models. Specifically, we provide conformal risk analysis for RAG models and certify an upper confidence bound of generation risks, which we refer to as conformal generation risk. We also provide theoretical guarantees on conformal generation risks for general bounded risk functions under test distribution shifts. We prove that RAG achieves a lower conformal generation risk than that of a single LLM when the quality of the retrieval model and transformer is non-trivial. Our intensive empirical results demonstrate the soundness and tightness of our conformal generation risk guarantees across four widely-used NLP datasets on four state-of-the-art retrieval models.
[ -0.2880583703517914, -0.46742767095565796, 0.4955991208553314, -0.09028680622577667, 0.18523037433624268, 0.08871554583311081, -0.0693698301911354, -0.8381850123405457, -0.10935714840888977, 0.6923830509185791, -0.18719322979450226, -0.14993637800216675, -0.8329818248748779, -0.2404521107673645, -0.5111426115036011, 0.7871479392051697, 0.20976980030536652, -0.3069007396697998, -0.2549269199371338, 0.3645695149898529, -0.13598281145095825, -0.3731117844581604, -0.5694440603256226, -0.11061617732048035, 0.5390384197235107, 0.3503373861312866, 0.9199153184890747, 0.3080559968948364, 0.44088417291641235, 0.19374865293502808, -0.5869617462158203, -0.056488003581762314, -0.6650575399398804, 0.36939823627471924, -0.15054473280906677, -0.6286289691925049, -0.4346001148223877, 0.134965717792511, 0.613810122013092, 0.8628383278846741, -0.3150002956390381, 0.3929316997528076, 0.19876044988632202, 0.916550874710083, -0.861143946647644, -0.1892372965812683, -1.1360481977462769, -0.24904417991638184, -0.2731723487377167, -0.05792113021016121, -1.081538200378418, -0.5721170902252197, 0.024998534470796585, -0.3707910180091858, 0.4072929620742798, 0.24049633741378784, 0.9237143993377686, 0.23923304677009583, -0.6047371029853821, -0.155161052942276, -1.0275336503982544, 0.8091210126876831, -0.4057466983795166, 0.5443291664123535, 0.5491480231285095, 0.4453008472919464, -0.3310152590274811, -0.6455820202827454, -0.467870831489563, -0.5188431739807129, -0.13782255351543427, -0.028001658618450165, 0.041695304214954376, 0.2099982649087906, 0.2857244908809662, 0.573234498500824, -0.39381158351898193, 0.06776641309261322, -0.6226344704627991, -0.2502685785293579, 0.482258677482605, 0.003527952590957284, 0.15207834541797638, -0.1619577556848526, -0.6165874004364014, -0.27592262625694275, -1.3108747005462646, -0.03737311065196991, 0.7341212630271912, 0.1740020215511322, -0.1381267011165619, 0.6269981861114502, -0.023776892572641373, 0.472427099943161, 0.08262884616851807, -0.14050666987895966, 0.001952716032974422, -0.14838971197605133, 0.00864486861974001, -0.04702254384756088, 0.33998462557792664, 0.17898736894130707, 0.3893500566482544, -0.43098634481430054, 0.0005120295681990683, -0.09833496809005737, 0.35892409086227417, -0.553983211517334, 0.1388707160949707, 0.11713407933712006, -0.4476795792579651, -0.5605960488319397, 0.21462108194828033, -0.8937011361122131, -0.6953102946281433, 0.058910369873046875, 0.16313692927360535, -0.23447754979133606, -0.37985098361968994, 0.06363973021507263, 0.02342856675386429, 0.5382798314094543, 0.08625321835279465, -0.7101384997367859, 0.17366421222686768, 0.7793799638748169, 0.38955503702163696, -0.23849600553512573, 0.22899948060512543, -0.23222702741622925, 0.3682461977005005, -0.4733530580997467, 0.8828022480010986, -0.3224652409553528, -0.7561952471733093, 0.15555985271930695, -0.15801219642162323, -0.132703959941864, -0.5780942440032959, 0.6402631402015686, -0.5880081653594971, -0.12837746739387512, 0.08902974426746368, -0.5602446794509888, -0.030770130455493927, 0.1369318962097168, -0.5830164551734924, 0.6574466824531555, 0.20648853480815887, -0.867350161075592, 0.27739521861076355, 0.3608684539794922, -0.3023039698600769, -0.009349877014756203, 0.013260354287922382, -0.46310287714004517, 0.25125157833099365, -0.36684125661849976, 0.127155601978302, -0.5944021940231323, 0.125310480594635, -0.4872039258480072, 0.022438036277890205, 0.3978468179702759, -0.7389342784881592, 0.7929801940917969, 0.35335928201675415, -0.10484185069799423, -0.19407084584236145, -0.6279613971710205, 0.2585800588130951, -0.08709055185317993, -0.3019500970840454, -0.3948955535888672, -0.060592327266931534, -0.03023369051516056, 0.28909629583358765, 0.12486709654331207, -0.4201997220516205, -0.03849509358406067, -0.5075849294662476, -0.12472539395093918, 0.6162720322608948, 0.3260784149169922, 0.567436933517456, -0.6426666975021362, 0.7637637853622437, -0.06273993849754333, 0.36082085967063904, -0.06600768119096756, -0.6305734515190125, -0.7956617474555969, 0.006688513793051243, 0.4796481728553772, 0.6517364978790283, -0.781257688999176, 0.13958993554115295, -0.19639764726161957, -0.6438481211662292, -0.42877399921417236, -0.0898611769080162, 0.6403839588165283, 0.43023988604545593, 0.19255457818508148, 0.1488926112651825, -0.4762096405029297, -0.7131013870239258, -0.41981828212738037, -0.4860736131668091, -0.00956543255597353, 0.22147448360919952, 0.024816764518618584, -0.3566509783267975, 0.7798874378204346, -0.5382382273674011, -0.05685963109135628, -0.22068572044372559, 0.08983935415744781, 0.09596911072731018, 0.6336566209793091, 0.5089586973190308, -0.842296838760376, -0.6176138520240784, -0.0821102038025856, -0.22676563262939453, -0.08602270483970642, -0.1968294382095337, 0.09690013527870178, 0.4162963628768921, 0.6003921031951904, -0.7124772071838379, 0.5620144009590149, 0.9368472695350647, -0.2316976636648178, 0.6636044979095459, -0.2583071291446686, 0.000878258841112256, -0.9558809995651245, -0.01446332223713398, -0.04328273981809616, -0.43942004442214966, -0.823904812335968, 0.17693912982940674, 0.03616224229335785, 0.0676356628537178, -0.47374507784843445, 0.6593210101127625, -0.2635657489299774, 0.09672348201274872, -0.18686991930007935, 0.01085849292576313, 0.008583154529333115, -0.06744713336229324, -0.20074208080768585, 0.6963192820549011, 0.36171257495880127, -0.9220476150512695, -0.4437420666217804, 0.26666948199272156, -0.09192296862602234, 0.5261974334716797, -0.5112988352775574, 0.10412539541721344, -0.16140754520893097, 0.16227589547634125, -0.6973110437393188, 0.10591742396354675, -0.016117598861455917, -0.6272796988487244, 0.6704881191253662, -0.21817535161972046, -0.22011902928352356, -0.17076195776462555, -0.2541484236717224, 0.2770498991012573, 0.9317575097084045, -0.56273353099823, 0.5382155179977417, 0.6182012557983398, -0.2055848389863968, -0.7056714296340942, -0.5461794137954712, 0.06563115119934082, -0.21400904655456543, -0.6180219650268555, 0.4090745449066162, -0.1584886908531189, -0.3854304552078247, -0.038601379841566086, -0.22389227151870728, -0.11007668077945709, 0.23906663060188293, 0.6016359925270081, 0.32045799493789673, 0.0627371072769165, -0.19523385167121887, 0.024255119264125824, -0.4865468740463257, -0.07073058933019638, -0.11267399787902832, 0.2661866247653961, -0.11794713139533997, -0.2764500379562378, 0.2636822462081909, 0.10252756625413895, 0.23621225357055664, -0.054184690117836, 0.9086510539054871, 0.30948418378829956, -0.4861435294151306, -0.26672741770744324, -0.7542374134063721, 0.0326797217130661, -0.5135694146156311, -0.16247893869876862, -0.1775667369365692, -0.9248536229133606, 0.5368180274963379, -0.12681013345718384, -0.1564316600561142, 0.7666890621185303, 0.5308514833450317, -0.1851748526096344, 0.7967453002929688, 0.6448804140090942, 0.2741140127182007, 0.19136248528957367, -0.2080676257610321, 0.0537743903696537, -0.9013118743896484, -0.2625011205673218, -0.8630853295326233, 0.294198602437973, -1.074880838394165, -0.5896924734115601, 0.48545190691947937, 0.27882906794548035, -0.3326756954193115, 0.2662040889263153, -0.3999846279621124, 0.4278425872325897, 0.4787822365760803, -0.10741952061653137, 0.525244951248169, -0.3531581163406372, 0.0265756044536829, 0.09848067909479141, -0.5668294429779053, -0.6447665095329285, 1.0650423765182495, 0.6450369358062744, 1.0974034070968628, 0.33859893679618835, 0.8699448108673096, 0.18598870933055878, 0.6676278114318848, -0.5823161005973816, 0.45728906989097595, -0.39442166686058044, -1.1207679510116577, -0.10118570923805237, -0.6100225448608398, -1.0809770822525024, 0.0173124298453331, -0.5194784998893738, -0.6854465007781982, 0.6032016277313232, 0.38613754510879517, -0.040446411818265915, 0.2131277620792389, -0.34397393465042114, 0.311922550201416, -0.022231575101614, -0.2216629534959793, -0.16849744319915771, -0.5534520745277405, 0.9221858978271484, -0.15488068759441376, 0.39704135060310364, -0.028372453525662422, 0.18119964003562927, 0.1495058238506317, -0.19994090497493744, 0.6163943409919739, -0.21602800488471985, -0.18301187455654144, 0.5439779758453369, 0.45667579770088196, 0.700900137424469, 0.1414111703634262, -0.15939171612262726, 0.04231107607483864, 0.247370183467865, -0.033429160714149475, -0.17964375019073486, 0.6350874900817871, -0.41030436754226685, -0.8085694313049316, -0.5604879260063171, -0.3203258216381073, -0.34974125027656555, 0.2841794788837433, 0.2812209725379944, -0.062109582126140594, -0.2897319197654724, 0.5483896136283875, 1.002959132194519, -0.5289989113807678, 0.003986596129834652, 0.33805957436561584, -0.32770591974258423, -0.5268756151199341, 0.6926904320716858, -0.14423201978206635, 0.9094407558441162, 0.0631512701511383, 0.3005208373069763, -0.26321354508399963, -0.5980929136276245, -0.011220455169677734, 0.13419084250926971, -0.8356379270553589, -0.3036217987537384, -0.37750914692878723, -0.3782980144023895, -0.5068204402923584, -0.0784405767917633, -0.40203115344047546, -0.5496800541877747, -0.025120269507169724, -0.1215895265340805, 0.15692675113677979, 0.5298886299133301, -0.06180029362440109, 0.1403896063566208, -0.9369456171989441, 0.7209363579750061, 0.31749364733695984, 0.40766748785972595, -0.16671167314052582, -0.6377961039543152, -0.15130940079689026, 0.02167636714875698, -0.38692760467529297, -0.8151525259017944, 0.21766257286071777, 0.21190808713436127, 0.7588727474212646, 0.1916438341140747, 0.3045257329940796, 0.35053908824920654, -0.8337246775627136, 0.7152094841003418, 0.14597579836845398, -0.7160094380378723, 0.06683725863695145, -0.47495195269584656, -0.26758572459220886, 0.670106053352356, 0.15723659098148346, -0.46744978427886963, -0.620007336139679, -1.0921194553375244, -0.8208367824554443, 0.26287686824798584, 0.09675048291683197, 0.13922066986560822, -0.171881765127182, 0.6184657216072083, -0.05352775752544403, -0.08713629841804504, -0.6087912917137146, -0.437155157327652, -0.03520835191011429, -0.10501069575548172, 0.031551163643598557, -0.5618330240249634, -0.033585891127586365, 0.16970208287239075, 0.9441412687301636, 0.04799223691225052, 0.04937729239463806, 0.21539485454559326, -0.07919386029243469, -0.4376833736896515, 0.47861427068710327, 0.6346733570098877, 0.34699830412864685, -0.14163322746753693, 0.27526775002479553, 0.26529160141944885, -0.5309011936187744, 0.43830442428588867, 0.06745361536741257, -0.468902051448822, -0.1647120863199234, 0.1272345781326294, 0.40886953473091125, 0.22023418545722961, -0.5366659760475159, 0.44438114762306213, 0.01781199872493744, -0.11052651703357697, -0.7098223567008972, 0.035748060792684555, 0.2813763916492462, 0.02125290036201477, 0.31212323904037476, 0.0691070705652237, 0.12499219924211502, -0.3245624005794525, 0.4461534917354584, 0.619701087474823, -0.3302701413631439, -0.16447985172271729, 0.9191259741783142, -0.013282458297908306, -0.12852419912815094, 0.127542644739151, -0.25644224882125854, -0.24836844205856323, 0.5862866044044495, 0.6150142550468445, 1.1398371458053589, -0.44117870926856995, 0.3994711637496948, 0.3835586905479431, 0.7180081009864807, -0.41027069091796875, -0.013977687805891037, 0.6247949004173279, -0.6564573049545288, -0.2941753566265106, -0.7661761045455933, -0.8605296611785889, -0.07894212752580643, -0.752192497253418, 0.19937950372695923, -0.24116402864456177, -0.304485946893692, -0.3498450815677643, -0.2811512053012848, -0.5137016773223877, 0.13315095007419586, 0.36942678689956665, 0.9227654933929443, -0.47418302297592163, 0.7232938408851624, 0.10797205567359924, -0.2911701500415802, -0.6903182864189148, 0.25001266598701477, -0.1799272894859314, -0.5241188406944275, 0.7240321636199951, 0.019168207421898842, -0.34798339009284973, 0.037292446941137314, -0.36491307616233826, -1.035478115081787, 1.0714107751846313, 0.6629921793937683, -0.5722521543502808, -0.0923612043261528, 0.4052722454071045, 0.4802176058292389, -0.13333456218242645, -0.17577528953552246, 0.3744972050189972, 0.5672054290771484, 0.38830164074897766, -0.8154311776161194, -0.01786896213889122, 0.41795942187309265, 0.3242146968841553, 0.20798246562480927, -0.28031936287879944, 0.8111470341682434, -0.3699820041656494, -0.4017869234085083, 0.1564529538154602, 0.6086203455924988, 0.5884932279586792, 0.4497474133968353, 0.6016553044319153, 0.5651695728302002, 0.43611153960227966, -0.03327815234661102, 1.3938219547271729, -0.49607595801353455, 0.4852794110774994, 1.038986086845398, -0.2544349730014801, 0.8552770614624023, 0.3475187420845032, -0.31657329201698303, 0.3998412489891052, 0.342512309551239, 0.376269668340683, 0.3555845320224762, 0.3441256880760193, -0.13180746138095856, -0.12571728229522705, -0.07637149095535278, -0.1743973195552826, 0.05001213401556015, 0.5517592430114746, -0.42945125699043274, -0.07158306241035461, -0.13124331831932068, 0.03271761164069176, 0.3926989734172821, -0.3442525565624237, 0.6087526082992554, 0.549717903137207, -0.5349236726760864, 0.6233071684837341, -0.21180826425552368, 0.54576176404953, -0.43455150723457336, 0.11221269518136978, -0.06093249097466469, 0.3030339479446411, -0.2889954149723053, -0.5103830695152283, 0.6114926934242249, -0.14520171284675598, -0.12024962902069092, -0.1803485006093979, 1.0099327564239502, -0.4926541745662689, -0.6183230876922607, 0.13839387893676758, 0.3464454710483551, -0.24575498700141907, 0.1634044051170349, -0.4180818796157837, -0.1623394936323166, -0.2966870069503784, -0.47729572653770447, 0.421318382024765, 0.20401597023010254, 0.014369387179613113, 0.7668436765670776, 0.6184365749359131, 0.41273677349090576, 0.3639988601207733, -0.11967497318983078, 0.547320544719696, -0.5343348979949951, -0.12114887684583664, -0.43807247281074524, 0.6026826500892639, 0.17166776955127716, 0.10061641782522202, 0.6959325075149536, 0.3724290132522583, 0.6391356587409973, -0.1258709579706192, 0.6480839252471924, -0.044578295201063156, 0.7091912031173706, -0.5766743421554565, 0.8288905620574951, -0.2536461651325226, 0.3889737129211426, -0.12119877338409424, -0.983905553817749, -0.4399605095386505, 0.22010904550552368, -0.16659106314182281, 0.07193681597709656, 0.6800197958946228, 0.764492928981781, 0.24309873580932617, -0.36129307746887207, 0.500324010848999, 0.20954975485801697, 0.5443263649940491, 0.319050133228302, 0.7637867331504822, -0.4246889352798462, 0.6158979535102844, -0.26937973499298096, -0.06413158029317856, -0.03849891200661659, -1.1538512706756592, -0.6005207300186157, -0.637746274471283, -0.1567303091287613, -0.8835623264312744, -0.06684152036905289, 0.5401972532272339, 0.3122892677783966, -0.813101053237915, 0.040151115506887436, -0.12397437542676926, 0.2386089414358139, -0.15435951948165894, -0.2148529589176178, 0.0825430154800415, -0.3969750702381134, -0.5286095142364502, 0.33395370841026306, -0.062601238489151, 0.2699548006057739, -0.361722856760025, -0.18750597536563873, -0.011425158940255642, 0.32950982451438904, 0.2680622935295105, 0.48704466223716736, -0.6632886528968811, -0.6546332240104675, -0.12428011000156403, -0.339192658662796, -0.1567973792552948, 0.7052211761474609, -0.6416658759117126, 0.24616092443466187, 0.5749528408050537, 0.6695928573608398, 0.5086361765861511, -0.03045983426272869, 0.4128572344779968, -0.7417033314704895, 0.15986375510692596, 0.3498553931713104, 0.32832980155944824, 0.24191123247146606, -0.6234124302864075, 0.4309392273426056, -0.11084026843309402, -0.8333099484443665, -1.0258324146270752, 0.6825350522994995, -0.9461889266967773, 0.04015590250492096, 1.4247063398361206, -0.12973828613758087, 0.009671441279351711, -0.09255355596542358, 0.12257325649261475, 0.2487902045249939, 0.20887823402881622, 0.9125531315803528, 0.40403351187705994, 0.27178049087524414, -0.06880446523427963, -0.8080806732177734, 0.8101595044136047, 0.17847196757793427, -0.7828141450881958, 0.34751656651496887, 0.3481081426143646, 0.28163400292396545, 0.4254695475101471, 0.3095663785934448, -0.4302101731300354, 0.24177415668964386, -0.01929585076868534, 0.09745407849550247, -0.03348083421587944, -0.33007267117500305, -0.34026119112968445, 0.08628346771001816, 0.5346779823303223, 0.28202030062675476 ]
http://arxiv.org/abs/2402.03177v1
http://arxiv.org/pdf/2402.03177v1
CIDAR: Culturally Relevant Instruction Dataset For Arabic
2024-02-05T16:44:17
2024-02-05T16:44:17
Zaid Alyafeai, Khalid Almubarak, Ahmed Ashraf, Deema Alnuhait, Saied Alshahrani, Gubran A. Q. Abdulrahman, Gamil Ahmed, Qais Gawah, Zead Saleh, Mustafa Ghaleb, Yousef Ali, Maged S. Al-Shaibani
cs.CL
cs.CL, cs.LG
Instruction tuning has emerged as a prominent methodology for teaching Large Language Models (LLMs) to follow instructions. However, current instruction datasets predominantly cater to English or are derived from English-dominated LLMs, resulting in inherent biases toward Western culture. This bias significantly impacts the linguistic structures of non-English languages such as Arabic, which has a distinct grammar reflective of the diverse cultures across the Arab region. This paper addresses this limitation by introducing CIDAR: https://hf.co/datasets/arbml/CIDAR, the first open Arabic instruction-tuning dataset culturally-aligned by human reviewers. CIDAR contains 10,000 instruction and output pairs that represent the Arab region. We discuss the cultural relevance of CIDAR via the analysis and comparison to other models fine-tuned on other datasets. Our experiments show that CIDAR can help enrich research efforts in aligning LLMs with the Arabic culture. All the code is available at https://github.com/ARBML/CIDAR.
[ -0.2767072916030884, -0.45605549216270447, 0.05002923682332039, 0.2558983564376831, -0.008984377607703209, 0.3552129566669464, -0.405709445476532, -0.1638917326927185, -0.15607357025146484, 0.3681826889514923, -0.25293007493019104, -0.8623071908950806, -0.4917016327381134, -0.18944120407104492, -0.38210374116897583, 1.136587142944336, -0.1940174698829651, 0.30207356810569763, -0.0414416566491127, -0.40706178545951843, -0.6626327633857727, -0.4929673373699188, -0.49835002422332764, -0.3594683110713959, 0.274600625038147, 0.9171454310417175, 0.5795286893844604, 0.9895756244659424, 0.6726722717285156, 0.1809874176979065, 0.06266910582780838, 0.31694090366363525, -0.4788152277469635, 0.05507712438702583, -0.22480538487434387, -0.40108466148376465, -0.15900728106498718, -0.28564825654029846, 0.512362539768219, 0.643538236618042, -0.2940628230571747, 0.6175600290298462, -0.10968855768442154, 0.9593226909637451, -0.6515960097312927, 0.0943855568766594, -0.4378332197666168, -0.19444863498210907, -0.29102373123168945, -0.03883282467722893, -0.3360217213630676, -0.7090647220611572, 0.036726292222738266, 0.08723444491624832, 0.20445787906646729, 0.23166148364543915, 0.40450969338417053, 0.4360582232475281, -0.7149094343185425, -0.3782094419002533, -0.7590026259422302, 0.75181645154953, -0.3612324297428131, 0.5346832871437073, 0.4121744632720947, 0.3303690552711487, -0.2496262788772583, -0.43507251143455505, -0.36418360471725464, 0.0028016313444823027, 0.08988359570503235, -0.24619585275650024, -0.0492398701608181, -0.13116583228111267, -0.0009969309903681278, 0.3877405822277069, -0.3903293013572693, 0.33737653493881226, -0.47608253359794617, -0.1768662929534912, 0.5528845191001892, 0.24074505269527435, 0.43210288882255554, 0.5432286262512207, -0.13184542953968048, -0.2465706765651703, -1.027726173400879, 0.4834410846233368, 0.467745840549469, 0.23589780926704407, -0.7166047692298889, 0.366167277097702, -0.09388478845357895, 0.8947240114212036, 0.27427399158477783, -0.2971973121166229, -0.02250814251601696, 0.08604499697685242, 0.021114714443683624, 0.4942042827606201, 0.34226298332214355, 0.33358335494995117, 0.4206116795539856, 0.004257814958691597, 0.02032567746937275, 0.22877243161201477, 0.17569714784622192, -0.9462717771530151, -0.3926927149295807, -0.033654384315013885, -0.44525083899497986, -0.13737012445926666, 0.05429239571094513, -0.7007624506950378, -0.4553646147251129, -0.31574106216430664, -0.14966003596782684, 0.01662638410925865, 0.13507121801376343, -0.10929615795612335, 0.35614609718322754, 0.6951909065246582, 0.040625158697366714, -1.1080571413040161, 0.33125436305999756, 0.664655864238739, 0.7156909108161926, -0.14915357530117035, -0.2582036256790161, -0.5148922204971313, 0.03678671270608902, -0.6480957865715027, 0.695853590965271, -1.0205953121185303, -0.40147390961647034, -0.0013863680651411414, -0.04816330224275589, 0.23436301946640015, -0.4813854992389679, 0.7222840785980225, -0.794490396976471, 0.021014537662267685, -0.4152725040912628, -0.21331436932086945, -0.4661861062049866, 0.07536191493272781, -0.4991907477378845, 0.833439826965332, 0.07565773278474808, -0.5312134623527527, 0.2609245181083679, -0.6614354848861694, -0.7323394417762756, -0.20253309607505798, -0.2859702706336975, -0.3511233329772949, 0.06649365276098251, 0.585614025592804, 0.10796266794204712, -0.4637742042541504, 0.2100098431110382, 0.18344035744667053, -0.7180372476577759, 0.02144545502960682, -0.4373009204864502, 0.6967486143112183, 0.4345519542694092, -0.416288286447525, 0.2058166116476059, -0.5664514303207397, -0.0861792042851448, -0.07806029170751572, -0.3461078107357025, -0.2540874481201172, 0.05684874206781387, -0.00836795475333929, 0.10942471027374268, 0.16962513327598572, -0.4407513737678528, 0.20229484140872955, -0.20764905214309692, 0.0693865641951561, 0.8523815870285034, -0.0962003618478775, 0.5382057428359985, -0.47519367933273315, 0.8260939717292786, 0.19771964848041534, -0.12614744901657104, -0.23212358355522156, -0.14692193269729614, -0.763719916343689, -0.36416172981262207, 0.2279605120420456, 0.5160303115844727, -0.2989380657672882, 0.08991779386997223, -0.10782726109027863, -0.7029010653495789, -0.8740680813789368, 0.3997967541217804, 0.3168012201786041, 0.5270166397094727, 0.11123429238796234, -0.34781646728515625, -0.6417383551597595, -0.8087034225463867, -0.030994541943073273, -0.05517035722732544, 0.3819369375705719, 0.22256630659103394, 0.2631964385509491, -0.1930990219116211, 0.7549228668212891, -0.27690696716308594, -0.3201552629470825, -0.137424498796463, -0.1113249734044075, 0.3963707685470581, 0.4688231647014618, 0.6264761090278625, -0.3117222487926483, -0.8149905204772949, 0.2591029405593872, -0.49806320667266846, -0.19553972780704498, 0.016035402193665504, -0.46613699197769165, 0.40849828720092773, 0.5007727146148682, 0.03587992861866951, 0.45749565958976746, 0.8388304114341736, -0.29641205072402954, 0.19412603974342346, -0.039406780153512955, 0.3063148558139801, -1.0315470695495605, -0.060175273567438126, -0.1844005137681961, 0.015904344618320465, -0.4809384346008301, -0.0005596749833784997, 0.07824764400720596, -0.047335878014564514, -0.3888782262802124, 0.6636971235275269, -0.5132563710212708, 0.21034173667430878, -0.46915486454963684, -0.6793898940086365, -0.11326174437999725, 0.279529333114624, 0.27618640661239624, 1.374754786491394, 0.6195664405822754, -0.4742474853992462, 0.06007491052150726, 0.4759999215602875, -0.7847903966903687, 0.44001516699790955, -0.7151426076889038, 0.4812474846839905, -0.37092259526252747, 0.19650845229625702, -0.5901205539703369, -0.12127890437841415, 0.235261932015419, -0.08649972826242447, 0.3756343424320221, -0.30661535263061523, -0.05963250994682312, 0.0570996031165123, -0.0536821112036705, 0.736717164516449, 0.631629228591919, -0.8655949831008911, 0.4807610511779785, 0.3124932646751404, -0.10843749344348907, -0.864130437374115, -0.3130830228328705, -0.0510428212583065, -0.37545275688171387, -0.38785994052886963, 0.09418755024671555, 0.05031868442893028, -0.5066003203392029, -0.334079384803772, -0.21897442638874054, 0.11723091453313828, 0.14464938640594482, 0.519317090511322, 0.23563939332962036, -0.3370826542377472, 0.08274275809526443, 0.20792031288146973, 0.3429284989833832, 0.14620868861675262, -0.10275989770889282, 0.7204869389533997, -0.31521663069725037, -0.502297043800354, -0.5043225884437561, 0.32778415083885193, 0.6498200297355652, -0.7204601168632507, 1.011643886566162, 0.6299464702606201, -0.13921275734901428, -0.21475812792778015, -0.5348076224327087, -0.18964338302612305, -0.49181056022644043, 0.4118734896183014, -0.16876330971717834, -0.60289067029953, 0.4111557900905609, 0.016121044754981995, 0.1419452428817749, -0.052098874002695084, 0.7324308753013611, -0.18758603930473328, 1.0230084657669067, 0.8151536583900452, -0.6000548601150513, 0.4461125135421753, -0.10088459402322769, 0.23410412669181824, -0.631341278553009, -0.3847595453262329, -0.7054232358932495, -0.7293117642402649, -0.7443636655807495, -0.2199031114578247, 0.45424702763557434, -0.22148497402668, -0.8480724692344666, -0.3141535222530365, -0.293010950088501, 0.8930056691169739, 0.7966443300247192, -0.13370202481746674, -0.0252233799546957, 0.3408359885215759, -0.20888403058052063, -0.011358555406332016, -0.6255776882171631, -0.7357472777366638, 1.0882306098937988, 0.2182016372680664, 1.3510122299194336, 0.4293294847011566, 0.5845180153846741, 0.6502050161361694, 0.31363645195961, -0.6475188136100769, 0.16968774795532227, -0.15642142295837402, -0.45849835872650146, 0.27332064509391785, -0.05745485797524452, -0.8625762462615967, -0.32959669828414917, 0.058554407209157944, -0.5822474360466003, 0.20774734020233154, 0.029234709218144417, -0.10716117918491364, 0.23783285915851593, -0.7893643975257874, 0.6062036156654358, -0.5824881792068481, -0.4582301378250122, -0.008155995979905128, -0.76373690366745, 0.13802269101142883, -0.04958794265985489, 0.21004165709018707, -0.020857833325862885, 0.15715423226356506, 0.8133496642112732, -0.12389729171991348, 1.0343116521835327, -0.11374245584011078, -0.2231157273054123, 0.39125603437423706, 0.316537082195282, 0.3551706075668335, -0.16939759254455566, -0.14143605530261993, 0.2828513979911804, 0.14428740739822388, -0.4888201951980591, -0.46120843291282654, 0.8693062663078308, -1.2418817281723022, -0.7557056546211243, -0.6351991295814514, -1.0034401416778564, -0.17912112176418304, -0.08653123676776886, -0.24134127795696259, 0.4237555265426636, 0.057907380163669586, 0.17630499601364136, 0.4618070721626282, -0.3344385623931885, 0.23129498958587646, 0.6222013235092163, -0.1547843962907791, -0.1574568897485733, 0.8953477740287781, -0.1936711072921753, 0.05046037584543228, 0.22678528726100922, -0.025742286816239357, -0.17833256721496582, -0.5098593235015869, -0.575962245464325, 0.18380939960479736, -0.8119922876358032, -0.2334844321012497, -0.22737041115760803, -0.13487012684345245, -0.2999587059020996, -0.3431720435619354, -0.060692109167575836, -0.02758016437292099, -0.40470877289772034, -0.05691120773553848, 0.5600481629371643, 0.8236225843429565, -0.008941891603171825, 0.48292261362075806, -0.746355414390564, 0.020575307309627533, 0.06920477747917175, 0.2766840159893036, 0.01948070339858532, -0.716049313545227, -0.35203805565834045, 0.29597705602645874, -0.27863505482673645, -0.7269036769866943, 0.38749057054519653, 0.511397123336792, 0.5055381655693054, 0.5557416677474976, 0.18542137742042542, 0.7629861831665039, -0.5945354700088501, 0.5256059169769287, -0.316659539937973, -0.74869704246521, 0.6353040933609009, -0.06947383284568787, 0.6474516987800598, 0.6468316316604614, 0.5514562726020813, -0.8131476044654846, -0.06316036731004715, 0.014548738487064838, -0.5234053134918213, 0.7839543223381042, -0.3854288160800934, 0.4302293658256531, -0.18885187804698944, 0.25499624013900757, 0.44766688346862793, 0.08967079967260361, -0.1477922797203064, -0.571614146232605, -0.13245613873004913, -0.6317843794822693, 0.0361892469227314, -0.3426504135131836, -0.19235001504421234, -0.3174743950366974, 0.8007403016090393, -0.12850786745548248, 0.08387419581413269, -0.28628507256507874, -0.29332464933395386, -0.18491928279399872, 0.3662535548210144, 0.5709153413772583, 0.7697395086288452, -0.18073438107967377, 0.08225748687982559, 0.10464838892221451, -0.7702469825744629, 0.4248664677143097, -0.19956892728805542, -0.3224230110645294, -0.5512617826461792, 0.3995114266872406, 0.6085009574890137, -0.3208696246147156, -0.8708556294441223, 0.03245834633708, -0.15885166823863983, 0.3111492991447449, -0.2287740856409073, 0.2336793690919876, -0.24601125717163086, 0.3618311583995819, 0.23833438754081726, 0.09620851278305054, -0.2002379447221756, -0.5300512313842773, 0.07180249691009521, 0.363156795501709, -0.6326877474784851, -0.24576276540756226, 0.5615209937095642, 0.31341552734375, -0.34556901454925537, 0.9909287691116333, 0.08908496797084808, -0.685219943523407, 0.6663236021995544, 0.7735550403594971, 0.3317999541759491, -0.17051459848880768, 0.2814197838306427, 0.2558842897415161, 0.43068909645080566, 0.2893677353858948, 0.5108181238174438, -0.12892138957977295, -0.7411845922470093, -0.36247333884239197, -0.7515765428543091, -0.5541330575942993, -0.22193458676338196, -0.7325455546379089, 0.2766653299331665, -0.4204384982585907, 0.17352280020713806, -0.5961575508117676, 0.07469543069601059, -0.8175556063652039, 0.060096919536590576, 0.2142287790775299, 0.810830295085907, -0.9876694679260254, 0.9083330631256104, 1.1477570533752441, -0.1737831085920334, -0.7049753069877625, -0.012264896184206009, 0.08915822207927704, -1.0499927997589111, 0.8536316752433777, 0.008402915671467781, -0.351822167634964, 0.13352616131305695, -0.6805723905563354, -0.7818781137466431, 0.8247856497764587, 0.40967556834220886, -0.516990065574646, 0.27711087465286255, 0.22208066284656525, 0.48350176215171814, -0.46469846367836, 0.20196911692619324, 0.7780213356018066, 0.23377065360546112, 0.19728723168373108, -0.49981969594955444, -0.21310074627399445, -0.14611268043518066, -0.236252099275589, 0.3018755614757538, -0.7500953674316406, 0.4236201345920563, -0.5447199940681458, -0.06042163819074631, 0.08836853504180908, 0.9430474638938904, 0.15040533244609833, 0.09149710088968277, 0.12122655659914017, 0.42998719215393066, 0.8597524762153625, -0.03296741470694542, 0.8396700620651245, -0.5020191669464111, -0.22938792407512665, 1.3056291341781616, -0.4793393909931183, 0.69698166847229, 0.4834537208080292, -0.1322462558746338, 0.6804041862487793, 0.7044122219085693, 0.05976756662130356, 0.6588373184204102, 0.22914238274097443, -0.4133114218711853, 0.03992201387882233, -0.7560949921607971, -0.6726242303848267, 1.035292625427246, 0.27487266063690186, -0.38075363636016846, -0.13664810359477997, -0.2357345074415207, 0.23050425946712494, 0.4110548496246338, -0.4582679271697998, 0.6860273480415344, -0.27065515518188477, -0.549795389175415, 0.6130332946777344, 0.10188552737236023, 0.5234447121620178, -0.48770973086357117, -0.30814310908317566, -0.6207566261291504, 0.04850494861602783, -0.16844739019870758, -0.39046502113342285, 0.17411178350448608, 0.3239614963531494, -0.2742379307746887, 0.041989535093307495, 0.3752102851867676, -0.5656188130378723, -0.8306140899658203, -0.20123524963855743, 0.5212381482124329, -0.007429652381688356, 0.551738977432251, -0.12619805335998535, 0.2794000208377838, 0.1662605106830597, 0.3026238679885864, 0.23135802149772644, 0.09805861115455627, -0.4870774745941162, 0.5511225461959839, 0.604075014591217, 0.18029053509235382, 0.010112927295267582, 0.09887788444757462, 0.5057974457740784, -0.591390073299408, -0.1559777408838272, -0.8733210563659668, 0.15390557050704956, 0.4137769043445587, -0.23754911124706268, 0.5840070843696594, 0.4555700123310089, 1.0472593307495117, -0.07871083170175552, 0.6454936265945435, 0.0592995248734951, 0.20394419133663177, -0.3392334282398224, 1.0593311786651611, -0.22136647999286652, 0.3527955412864685, 0.24697232246398926, -1.0178629159927368, -0.21696507930755615, 0.5473883152008057, -0.41687607765197754, 0.21578389406204224, 0.4838588833808899, 1.0048408508300781, -0.1283862143754959, 0.1733911633491516, 0.06874054670333862, 0.09935490041971207, 0.26588645577430725, 0.337520956993103, 0.8737537264823914, -0.0712515339255333, 0.2843897342681885, -0.5158171057701111, -0.1488601118326187, 0.133627250790596, -0.8946627974510193, -1.1393810510635376, -0.4248587191104889, -0.28076115250587463, 0.07182023674249649, 0.13274124264717102, 1.6027790307998657, 0.6308388710021973, -1.1910576820373535, -0.5890302658081055, 0.4284813702106476, 0.17961545288562775, -0.42045044898986816, -0.13794049620628357, 0.603018045425415, -0.12499813735485077, -0.78191739320755, 0.3551056683063507, -0.14406856894493103, 0.07511582225561142, -0.018353259190917015, -0.1516740769147873, -0.34948065876960754, -0.045514561235904694, 0.38787269592285156, 0.29676833748817444, -0.5343298316001892, -0.3792860805988312, 0.10998885333538055, 0.04445488378405571, 0.1139431893825531, 0.5738393664360046, -0.772087574005127, 0.504414975643158, 0.1511995792388916, 1.0978634357452393, 0.12580132484436035, 0.03532570227980614, 0.6632709503173828, -0.8229873180389404, 0.13096824288368225, 0.028696253895759583, 0.16879433393478394, 0.43773478269577026, -0.24335506558418274, 0.5781169533729553, -0.45427632331848145, -0.6325863003730774, -0.5965679287910461, 0.16613340377807617, -0.6568477749824524, 0.3268609642982483, 1.038278341293335, 0.0315096341073513, -0.11861193925142288, -0.04184902831912041, -0.4780367612838745, 0.23884455859661102, -0.4946367144584656, 1.0394784212112427, 0.78794926404953, 0.04682862013578415, -0.29931244254112244, -0.17142395675182343, 0.18261806666851044, 0.47018948197364807, -0.7244182825088501, -0.24825243651866913, 0.5653182864189148, 0.15567946434020996, -0.5224515795707703, 0.010619191452860832, 0.1650453507900238, 0.46262431144714355, -0.415044367313385, 0.19171005487442017, -0.24977454543113708, -0.39508500695228577, -0.3881070017814636, -0.16901133954524994, 0.5784552693367004, -0.22950156033039093 ]
http://arxiv.org/abs/2402.03173v2
http://arxiv.org/pdf/2402.03173v2
MULTI: Multimodal Understanding Leaderboard with Text and Images
2024-02-05T16:41:02
2024-02-20T07:55:52
Zichen Zhu, Yang Xu, Lu Chen, Jingkai Yang, Yichuan Ma, Yiming Sun, Hailin Wen, Jiaqi Liu, Jinyu Cai, Yingzi Ma, Situo Zhang, Zihan Zhao, Liangtai Sun, Kai Yu
cs.CL
cs.CL, cs.AI, cs.CV
Rapid progress in multimodal large language models (MLLMs) highlights the need to introduce challenging yet realistic benchmarks to the academic community, while existing benchmarks primarily focus on understanding simple natural images and short context. In this paper, we present MULTI as a cutting-edge benchmark for evaluating MLLMs on understanding complex tables and images, and reasoning with long context. MULTI provides multimodal inputs and requires responses that are either precise or open-ended, reflecting real-life examination styles. MULTI includes over 18,000 questions and challenges MLLMs with a variety of tasks, ranging from formula derivation to image detail analysis and cross-modality reasoning. We also introduce MULTI-Elite, a 500-question selected hard subset, and MULTI-Extend, with more than 4,500 external knowledge context pieces. Our evaluation indicates significant potential for MLLM advancement, with GPT-4V achieving a 63.7% accuracy rate on MULTI, in contrast to other MLLMs scoring between 28.5% and 55.3%. MULTI serves not only as a robust evaluation platform but also paves the way for the development of expert-level AI.
[ -0.5495849847793579, -0.8822202682495117, 0.5935118794441223, 0.321713387966156, -0.11549296230077744, 0.1916768103837967, -0.43808576464653015, -0.46910417079925537, -0.41488131880760193, 0.12340842187404633, -0.6059584021568298, -0.49744847416877747, -0.7348417639732361, 0.058937519788742065, -0.04243135824799538, 0.8320997953414917, -0.17956745624542236, 0.18580706417560577, -0.521131157875061, -0.49524492025375366, -0.5640507936477661, -0.5771178603172302, -0.44923684000968933, -0.244927316904068, 0.7670371532440186, 0.29051268100738525, 0.6558437347412109, 0.26655471324920654, 0.7135481834411621, 0.3879580795764923, 0.07325844466686249, 0.38608670234680176, -0.3017371594905853, 0.1624450832605362, -0.06169850006699562, -0.08783869445323944, -0.668602466583252, -0.030391674488782883, 0.6999912261962891, 0.5619370937347412, 0.14816255867481232, 0.4336739182472229, 0.10381064563989639, 0.8483992218971252, -0.7296398878097534, 0.49963587522506714, -0.48189613223075867, 0.1603042334318161, -0.0814993754029274, -0.061178985983133316, -0.4708460867404938, 0.079816535115242, 0.10766810923814774, -0.583851158618927, -0.18910975754261017, -0.009344728663563728, 0.5216447710990906, 0.12970802187919617, -0.9311926364898682, -0.21641574800014496, -0.4248690903186798, 0.9029492735862732, -0.1313457489013672, 0.8693485260009766, 0.2836165130138397, 0.8438071608543396, -0.059063103049993515, -0.989783763885498, -0.5351061820983887, -0.3185098469257355, 0.07909507304430008, 0.282199501991272, 0.03729771450161934, -0.1116919219493866, 0.10125446319580078, 0.1801777333021164, -0.7419782876968384, -0.10348642617464066, -0.24330322444438934, -0.17790445685386658, 0.5502423644065857, 0.23988178372383118, 0.045239709317684174, -0.010737482458353043, -0.6058365106582642, -0.17406919598579407, -0.42941081523895264, 0.19141703844070435, -0.03232116624712944, 0.03644487261772156, -0.12446817010641098, 0.3741261661052704, 0.008102738298475742, 0.9638445377349854, -0.5800188779830933, -0.25422924757003784, 0.40697741508483887, -0.79242342710495, -0.3446286916732788, -0.4681057333946228, 0.6917988657951355, 0.7154547572135925, 0.2961142957210541, -0.006379415281116962, -0.09879106283187866, -0.04179034009575844, 0.009676957502961159, -0.8149896860122681, -0.1438637524843216, 0.06522337347269058, -0.6375597715377808, 0.18288010358810425, -0.17237789928913116, -0.9192407131195068, -0.3162607252597809, -0.5440390706062317, 0.5089349746704102, -0.28100502490997314, -0.16204428672790527, -0.1201154813170433, -0.11487934738397598, 0.2843483090400696, 0.8845159411430359, -0.6076919436454773, 0.05559375882148743, 0.609236478805542, 0.8231277465820312, -0.2583467364311218, -0.5653551816940308, -0.6233475208282471, -0.026692280545830727, -0.2604561448097229, 0.8142130374908447, -0.6704694032669067, -0.277885764837265, -0.29438135027885437, -0.12142098695039749, -0.3174798786640167, -0.5397807359695435, 0.721360981464386, -0.3391912579536438, 0.24072767794132233, -0.10837403684854507, -0.31325003504753113, -0.22327978909015656, 0.8234961628913879, -0.6483762860298157, 0.892930805683136, -0.17161546647548676, -0.42185837030410767, 0.5291584730148315, -0.8892367482185364, -0.26230525970458984, -0.05337424576282501, -0.37374088168144226, -0.18107879161834717, -0.15575744211673737, 0.44084101915359497, 0.5338624119758606, -0.34178799390792847, 0.4027484357357025, -0.3816373348236084, -0.2388727366924286, 0.24778833985328674, -0.7480996251106262, 0.39333489537239075, 0.29962143301963806, -0.11398398131132126, 0.4292961657047272, -0.6876683831214905, 0.3523234724998474, -0.06710439175367355, -0.46878665685653687, -0.02420886792242527, -0.08327972888946533, 0.4045158922672272, 0.6066709756851196, 0.21140794456005096, -0.28941646218299866, 0.1977759450674057, 0.4948437213897705, 0.5162880420684814, 0.8548462390899658, -0.15470220148563385, -0.000692482921294868, -0.1221616268157959, 0.2573627233505249, 0.14982642233371735, 0.47937044501304626, -0.4280451834201813, -0.8429712057113647, -0.42773720622062683, -0.5339159369468689, 0.2815312445163727, 0.39421358704566956, -0.7749522924423218, 0.07399710267782211, -0.3366250693798065, -0.5618413686752319, -0.7427927851676941, 0.29343360662460327, 0.49766266345977783, 0.43209508061408997, 0.7764933705329895, -0.07562363147735596, -0.28438684344291687, -1.1185967922210693, -0.37984180450439453, 0.13033701479434967, -0.04271985590457916, 0.46790727972984314, 0.684789776802063, -0.4091981053352356, 0.5301414728164673, -0.18976224958896637, -0.42652350664138794, -0.06627315282821655, 0.34492751955986023, 0.20207472145557404, 0.5250065326690674, 0.18841949105262756, -1.0469611883163452, -0.6032624244689941, 0.1742752194404602, -0.9219165444374084, 0.43075844645500183, -0.19748936593532562, -0.011697649024426937, -0.14143986999988556, 0.4714052677154541, -0.6235108375549316, 0.16838856041431427, 0.6639638543128967, -0.42225390672683716, 0.59943687915802, -0.321512371301651, 0.5747895240783691, -0.7885453701019287, 0.27620986104011536, 0.14496499300003052, -0.3062811493873596, -0.604644238948822, 0.1790185123682022, 0.3852589428424835, -0.049911193549633026, -0.31677117943763733, 0.5292738676071167, -0.635596513748169, -0.19205857813358307, 0.14006705582141876, 0.340457022190094, 0.14110411703586578, 0.5337563753128052, -0.23034192621707916, 0.7587867379188538, 0.49080219864845276, -0.2508656084537506, 0.42446285486221313, 0.07453883439302444, -0.7654049396514893, 0.7073717713356018, -0.41172757744789124, 0.11835260689258575, -0.2394142597913742, 0.3111553490161896, -1.0209742784500122, 0.05381196737289429, -0.20463860034942627, -0.22986073791980743, 0.23321278393268585, -0.01148198638111353, -0.5629504919052124, -0.3475131690502167, -0.3319554626941681, 0.3944458067417145, 0.16096335649490356, -0.4363006353378296, 0.8374546766281128, 0.222831130027771, 0.002785264980047941, -0.9250255823135376, -0.44536301493644714, 0.39834848046302795, 0.010941811837255955, -0.705367922782898, 0.25170478224754333, -0.5220385193824768, -0.37786951661109924, -0.1855745166540146, -0.07510628551244736, -0.1765684187412262, 0.20418187975883484, 0.2013421356678009, 0.11029718816280365, -0.48248767852783203, 0.24683329463005066, -0.11737188696861267, -0.062158387154340744, -0.09849029779434204, 0.18075580894947052, 0.3811641335487366, -0.5466353893280029, -0.5436577200889587, -0.43513476848602295, 0.4398247301578522, 1.101865530014038, -0.406574010848999, 0.46054956316947937, 0.8686573505401611, -0.2204355150461197, 0.010152342729270458, -0.45457765460014343, 0.008559318259358406, -0.40914252400398254, 0.6788050532341003, -0.8881436586380005, -0.6626591682434082, 0.37641918659210205, -0.02795056626200676, 0.3040459156036377, 0.5201417803764343, 0.6798650026321411, -0.11402013897895813, 1.2548822164535522, 0.35400301218032837, 0.17433881759643555, 0.15786471962928772, 0.010116513818502426, -0.0017545213922858238, -0.7582421898841858, -0.5271073579788208, -0.3217126727104187, -0.4551800787448883, -0.3376179039478302, -0.7018842697143555, 0.4622032046318054, 0.180418461561203, -0.1341971755027771, -0.05614045634865761, -0.25694921612739563, 0.5119467973709106, 0.3706827759742737, 0.2115086019039154, 0.6483844518661499, -0.35950231552124023, -0.11701565980911255, -0.16016033291816711, -0.45818814635276794, -0.4411688446998596, 1.0888751745224, 0.5245439410209656, 0.7656270265579224, 0.3074835538864136, 0.06567161530256271, 0.4717874825000763, 0.7192103862762451, -0.7141281366348267, 0.42863887548446655, -0.06197402998805046, -0.7843812108039856, -0.236932173371315, -0.3940626084804535, -0.7005248069763184, 0.904754638671875, -0.33189529180526733, -0.4877344071865082, -0.1564762145280838, 0.037371546030044556, -0.082684725522995, 0.11089546978473663, -1.062585473060608, 1.3573732376098633, -0.5058645009994507, -0.41340094804763794, -0.16281943023204803, -0.7880719900131226, 0.4538988173007965, -0.100361168384552, 0.5422699451446533, -0.24595169723033905, -0.18087796866893768, 0.5620242953300476, 0.15555453300476074, 0.5087325572967529, -0.2789216935634613, 0.12466350197792053, -0.09231789410114288, -0.15445023775100708, 0.035200335085392, 0.059306416660547256, -0.18038593232631683, -0.013627972453832626, 0.08394712954759598, -0.37975940108299255, -0.8479622602462769, 0.7396261692047119, -0.7043721079826355, -0.4449741542339325, -0.18201051652431488, -0.6935029029846191, -0.46130239963531494, 0.11644089967012405, -0.20358701050281525, 0.6171265840530396, -0.1881134957075119, 0.5674527883529663, 0.2718844711780548, -0.09227897226810455, 0.3820977509021759, 0.16915318369865417, -0.31678536534309387, -0.434896320104599, 0.8569800853729248, -0.008436429314315319, 0.25881054997444153, 0.3808661997318268, 0.18731904029846191, -0.607303261756897, -0.5189361572265625, -1.0263950824737549, -0.13822263479232788, -1.0926412343978882, -0.18301601707935333, -0.8075142502784729, 0.0656299963593483, -0.16058337688446045, 0.11652901768684387, -0.3254217505455017, -0.18916630744934082, 0.10703263431787491, -0.0009214692399837077, -0.013573475182056427, 0.7231402397155762, 0.2571641206741333, -0.12505513429641724, -0.8406772017478943, 0.19105610251426697, 0.5654370188713074, 0.48211759328842163, 0.1121942326426506, -0.4134315252304077, -0.17020680010318756, -0.14297400414943695, -0.38407307863235474, -0.6248332858085632, -0.03067971020936966, 0.46115991473197937, 1.0777862071990967, 0.3457014262676239, -0.31265807151794434, 1.0307456254959106, -0.6217715740203857, 0.7354352474212646, 0.26855194568634033, -1.0013216733932495, 0.2788381278514862, -0.05101843550801277, 0.5465031266212463, 0.7406389117240906, 0.5208343267440796, -0.4694214463233948, -0.11417204141616821, -0.2162383645772934, -0.5752142071723938, 0.19328205287456512, 0.14492523670196533, -0.07131892442703247, 0.31419992446899414, -0.11050491780042648, 0.22620384395122528, 0.3040723502635956, -0.9807676672935486, -0.24635854363441467, -0.2537325918674469, -0.22623786330223083, -0.38424235582351685, -0.07595191895961761, -0.15884524583816528, -0.38787642121315, 0.2765497863292694, -0.33254337310791016, 0.15382440388202667, 0.12591403722763062, -0.5197462439537048, 0.24851959943771362, 0.4898727536201477, 1.0945849418640137, 1.0427848100662231, -0.3268558979034424, 0.4600059986114502, 0.2013932466506958, -0.3109821677207947, -0.1389399766921997, 0.06477771699428558, 0.5513632297515869, -0.09952050447463989, 0.6983445882797241, 0.6589415669441223, 0.21861973404884338, -0.871285080909729, 0.6165676712989807, -0.23062798380851746, -0.2008759081363678, 0.06873910874128342, -0.3053539991378784, 0.11726942658424377, 0.33277255296707153, 0.5436272025108337, 0.15477941930294037, 0.17634961009025574, -0.8370007276535034, 0.5039529204368591, 0.48257434368133545, -0.5666403770446777, -0.19818611443042755, 0.4842548668384552, 0.261552631855011, -0.0744534581899643, 0.4289673864841461, 0.00007633971836185083, -0.481905996799469, 0.5382541418075562, 0.4298047721385956, 0.35294246673583984, -0.16490207612514496, -0.06886900216341019, 0.4245278537273407, 0.49270099401474, 0.20460520684719086, 0.3528752028942108, -0.3625311255455017, -0.5868264436721802, -0.42963707447052, -0.4154473543167114, -0.6291354894638062, 0.05625660717487335, -0.5493166446685791, 0.07531645894050598, -0.43826010823249817, -0.2331666499376297, 0.3292878270149231, -0.20372292399406433, -0.7368308305740356, 0.1959981620311737, 0.12470785528421402, 0.9410406351089478, -0.6266745924949646, 0.8556561470031738, 0.6344287395477295, -0.2593689262866974, -0.22599533200263977, -0.3622804880142212, 0.0036582504399120808, -0.8407365679740906, 0.8878694772720337, 0.6401985883712769, -0.11176204681396484, -0.23398619890213013, -0.3114132285118103, -0.4638017416000366, 1.1163338422775269, 0.058479733765125275, -0.416009783744812, 0.12465915828943253, -0.24231503903865814, 0.48200392723083496, -0.43590080738067627, 0.7316878437995911, 0.35756248235702515, 0.8803775906562805, -0.1134120374917984, -1.1192350387573242, -0.13359859585762024, -0.47714412212371826, -0.3396059572696686, 0.15198317170143127, -0.5008495450019836, 1.2027980089187622, -0.22223728895187378, -0.059860870242118835, -0.1633652299642563, 0.42694804072380066, 0.23884229362010956, 0.5408810973167419, 0.6007175445556641, 0.3772203326225281, 0.5808890461921692, -0.12775562703609467, 0.8377710580825806, -0.05983424559235573, 0.392530620098114, 1.1241997480392456, -0.3677367568016052, 1.0240422487258911, 0.5877133011817932, -0.15786150097846985, 0.6480884552001953, 0.5350766181945801, -0.12120825052261353, 0.3506965935230255, 0.16509418189525604, -0.21167664229869843, -0.46554234623908997, -0.06089112162590027, -0.6319587230682373, 0.6973995566368103, 0.5526477694511414, -0.33491721749305725, -0.48200950026512146, 0.26604899764060974, -0.23112817108631134, 0.06375222653150558, -0.35975274443626404, 0.7395131587982178, -0.0006900358130224049, -0.7012591361999512, 0.46245697140693665, -0.054062217473983765, 0.5972025990486145, -0.5589354634284973, -0.16268175840377808, -0.04587825760245323, 0.37481948733329773, -0.0355449803173542, -1.1166077852249146, 0.044943615794181824, -0.13015903532505035, -0.11460811644792557, -0.44470712542533875, 0.4578735828399658, -0.5180105566978455, -0.34140723943710327, 0.4577843248844147, 0.8257734179496765, 0.13055957853794098, -0.252323716878891, -1.0192023515701294, 0.191860169172287, -0.2112005054950714, -0.28935736417770386, 0.3486287295818329, 0.3718368411064148, -0.11599510163068771, 0.8226566314697266, 0.6383272409439087, -0.6296643614768982, 0.04830949008464813, 0.18386657536029816, 0.817245364189148, -0.6457862257957458, -0.3072858452796936, -0.9402421116828918, 0.6121166944503784, -0.334648460149765, -0.548175573348999, 0.7620102167129517, 0.7467127442359924, 0.6438973546028137, -0.09310097992420197, 0.45601093769073486, 0.23613733053207397, 0.16922186315059662, -0.5225543975830078, 0.8565059900283813, -0.8858626484870911, -0.3090369701385498, -0.2617540955543518, -0.7805680632591248, -0.5169696807861328, 0.5474259853363037, -0.14975623786449432, 0.0944671705365181, 0.7262774109840393, 0.48818445205688477, -0.10136944055557251, 0.04497693479061127, 0.6605693697929382, -0.04891239106655121, 0.4321057200431824, 0.6627485156059265, 1.1018167734146118, -0.40657761693000793, 0.6550253033638, -0.024717381224036217, -0.4646050035953522, -0.011149071156978607, -0.9024667739868164, -0.9777578115463257, -0.7055174112319946, 0.00537890987470746, -0.06715788692235947, -0.08836354315280914, 1.009770154953003, 0.905825138092041, -0.7448611259460449, -0.2902779281139374, 0.4696968197822571, 0.2571258842945099, -0.3208625614643097, -0.17616528272628784, 0.3492397665977478, -0.10792401432991028, -0.6109253168106079, 0.5159124732017517, 0.5592895150184631, -0.10271652787923813, -0.38240745663642883, -0.20195956528186798, -0.580263078212738, -0.3410699963569641, 1.1962898969650269, -0.07767853140830994, -0.8035273551940918, -0.15069478750228882, 0.06629545241594315, -0.20084506273269653, 0.2646760046482086, 0.7821115255355835, -0.47379615902900696, 0.7801252603530884, 0.4186916649341583, 0.7563043832778931, 0.5597094297409058, -0.020808342844247818, 0.3467979431152344, -0.5488789081573486, 0.07567168772220612, 0.26673227548599243, 0.5167678594589233, 0.35442331433296204, 0.016926223412156105, 0.44450390338897705, 0.30650290846824646, -0.5325284600257874, -0.8522874116897583, 0.131663516163826, -1.0825281143188477, -0.43682241439819336, 0.6662739515304565, -0.2141667604446411, -0.1377059817314148, -0.26641520857810974, -0.13521920144557953, -0.10238327085971832, -0.3122170567512512, 0.39929264783859253, 0.8109790086746216, -0.2732336223125458, -0.5319130420684814, -0.9096323847770691, 0.2310146689414978, 0.4190009832382202, -1.1409778594970703, -0.02834613248705864, 0.5816149115562439, -0.0030678368639200926, 0.30059438943862915, 0.622774600982666, -0.14194227755069733, 0.3153684139251709, -0.02677352912724018, -0.04631462320685387, -0.18956969678401947, -0.6839218735694885, -0.14126121997833252, 0.48939409852027893, 0.003979516215622425, -0.2254127711057663 ]
http://arxiv.org/abs/2402.03172v1
http://arxiv.org/pdf/2402.03172v1
Accurate and Well-Calibrated ICD Code Assignment Through Attention Over Diverse Label Embeddings
2024-02-05T16:40:23
2024-02-05T16:40:23
Gonçalo Gomes, Isabel Coutinho, Bruno Martins
cs.CL
cs.CL, cs.AI
Although the International Classification of Diseases (ICD) has been adopted worldwide, manually assigning ICD codes to clinical text is time-consuming, error-prone, and expensive, motivating the development of automated approaches. This paper describes a novel approach for automated ICD coding, combining several ideas from previous related work. We specifically employ a strong Transformer-based model as a text encoder and, to handle lengthy clinical narratives, we explored either (a) adapting the base encoder model into a Longformer, or (b) dividing the text into chunks and processing each chunk independently. The representations produced by the encoder are combined with a label embedding mechanism that explores diverse ICD code synonyms. Experiments with different splits of the MIMIC-III dataset show that the proposed approach outperforms the current state-of-the-art models in ICD coding, with the label embeddings significantly contributing to the good performance. Our approach also leads to properly calibrated classification results, which can effectively inform downstream tasks such as quantification.
[ -0.08933739364147186, -0.02980799227952957, 0.6148748993873596, 0.28563669323921204, -0.5146984457969666, 0.31559592485427856, -0.02234046347439289, -0.49731820821762085, 0.3375466465950012, 0.3544631004333496, -0.09467364847660065, -0.527273952960968, -0.6771032214164734, 0.3014492988586426, -0.23176415264606476, 1.1210981607437134, -0.6910492777824402, 0.3801632523536682, -0.197435200214386, -0.3140503168106079, -0.451705664396286, -0.6490743160247803, -0.19211098551750183, -0.3646467626094818, 0.43782636523246765, 0.2181701809167862, 0.6822760701179504, 1.0499593019485474, 0.7920129895210266, 0.09433259069919586, 0.26137328147888184, 0.1168283149600029, -0.049092359840869904, -0.16080929338932037, -0.08332797139883041, -0.3650668263435364, -0.6521654725074768, -0.33458855748176575, 0.11947722733020782, 0.585791289806366, -0.22258111834526062, 0.18284063041210175, 0.0022120391950011253, 0.27716347575187683, -0.5222970247268677, 0.002019235398620367, -0.035332970321178436, 0.14028075337409973, 0.10837479680776596, -0.34095707535743713, -0.6020735502243042, -0.4755591154098511, 0.042490970343351364, -0.5682122707366943, 0.15511079132556915, -0.11549245566129684, 0.4863392114639282, 0.41417473554611206, -0.580511212348938, -0.7067619562149048, -0.7442092895507812, 0.4311498701572418, -0.38302093744277954, 0.424823522567749, 0.2220182716846466, 0.48880693316459656, 0.35855937004089355, -0.8660293221473694, -0.30733996629714966, 0.07742451131343842, -0.10855431854724884, 0.28975874185562134, -0.15513825416564941, 0.052332762628793716, 0.12459202110767365, 0.3954564034938812, -0.39738401770591736, 0.13385802507400513, -0.5356746912002563, -0.19455663859844208, 0.35967862606048584, 0.14966723322868347, 0.6307654976844788, 0.2714610993862152, -0.2943519651889801, 0.07741506397724152, -0.34929704666137695, -0.3422331213951111, -0.08825599402189255, -0.023221921175718307, -0.4849194288253784, 0.6789606809616089, 0.024175450205802917, 0.5312423706054688, 0.4388251304626465, -0.37290558218955994, 0.5854400992393494, -0.06748755276203156, -0.02649538777768612, 0.6004883646965027, 0.5163334012031555, 0.7021750807762146, 0.16449838876724243, -0.4393727481365204, -0.24386270344257355, 0.194025456905365, 0.7500549554824829, -0.801214337348938, -0.1908450722694397, 0.30208244919776917, -0.741168200969696, -0.2559479773044586, -0.10623518377542496, -0.7261545062065125, -0.12882208824157715, -0.4048750698566437, 0.43645527958869934, -0.26114383339881897, 0.34893086552619934, 0.24477842450141907, 0.0928880125284195, -0.0030406343284994364, 0.30707377195358276, -0.8481782674789429, 0.6157455444335938, 0.4498291611671448, 0.7568402886390686, -0.41481634974479675, 0.06817501038312912, -0.5448158979415894, 0.545876145362854, -0.3542955815792084, 0.5431081056594849, -0.5322620272636414, -0.2618899643421173, -0.1333252638578415, -0.07833724468946457, 0.10847558081150055, -0.5588335394859314, 0.5537971258163452, -0.4004956781864166, -0.2339211106300354, 0.3923344314098358, -0.4474574625492096, 0.07401415705680847, 0.27474045753479004, -0.9687479138374329, 0.4744199812412262, 0.247579425573349, -0.720759928226471, 0.1456678956747055, -0.3596510887145996, -0.649320662021637, 0.00028613160247914493, -0.1684383898973465, -0.44779834151268005, 0.09632112085819244, 0.7412227988243103, 0.3609704375267029, -0.4449426531791687, 0.2932957708835602, 0.1340222805738449, -0.2564717233181, 0.2711776793003082, -0.3043075203895569, 0.4451405704021454, 0.24368202686309814, -0.25602781772613525, 0.03028382547199726, -0.7328037023544312, -0.017560169100761414, -0.16326816380023956, -0.16811835765838623, -0.2789941430091858, -0.20341452956199646, 0.1979956328868866, -0.012228487059473991, -0.05912245437502861, -0.5941941738128662, 0.49265727400779724, -0.29908642172813416, 0.3920389413833618, 0.38928624987602234, 0.19733066856861115, 0.45048052072525024, -0.6328979730606079, 0.7650247812271118, 0.11143303662538528, 0.2739849388599396, -0.3955737352371216, -0.28443971276283264, -0.4205010235309601, -0.3726186454296112, 0.499607115983963, 0.6398167014122009, -0.6964089870452881, 0.40928199887275696, -0.6394189596176147, -0.5612635016441345, -0.769402027130127, -0.17862170934677124, 0.25881192088127136, 0.420792818069458, 0.5384953022003174, -0.5689222812652588, -0.028580965474247932, -0.7288994193077087, 0.19210898876190186, 0.08172597736120224, -0.2782094180583954, 0.2517654001712799, 0.4617880582809448, -0.5821471214294434, 0.80902099609375, -0.615790843963623, -0.3972526490688324, -0.14124231040477753, 0.160935640335083, 0.17475742101669312, 0.7432581782341003, 0.39538660645484924, -0.700744092464447, -0.5826401114463806, 0.2772427201271057, -0.4153033494949341, -0.12207016348838806, -0.48748326301574707, 0.1546781212091446, -0.16523733735084534, 0.3511771261692047, -0.2785806357860565, 0.6584814190864563, 0.44025635719299316, 0.09807318449020386, 0.3043758273124695, -0.770311176776886, 0.23097223043441772, -0.9326012134552002, 0.002640903927385807, -0.024381157010793686, -0.26780569553375244, -0.521960437297821, 0.1093657985329628, 0.6864221096038818, 0.05711179971694946, -0.37018486857414246, 0.4854044020175934, -0.36463475227355957, 0.3324558436870575, -0.030659984797239304, -0.35970696806907654, 0.07872157543897629, 0.32765135169029236, 0.004891879856586456, 0.28340980410575867, 0.4542046785354614, -0.40993475914001465, 0.7109324932098389, 0.19460800290107727, -0.24318543076515198, 0.6304915547370911, -0.6673055291175842, 0.312071830034256, -0.17093205451965332, 0.7523499131202698, -0.5534590482711792, -0.2980734705924988, 0.2494441121816635, -0.18739528954029083, 0.35221216082572937, -0.2969408631324768, -0.6492267847061157, -0.7124163508415222, -0.036309562623500824, 1.3176528215408325, 0.5993700623512268, -0.7454711198806763, 0.6978914737701416, 0.34431102871894836, -0.08967271447181702, 0.07025725394487381, -0.7840448617935181, 0.0804101899266243, -0.1973666548728943, -0.13348010182380676, 0.8485551476478577, -0.14736568927764893, 0.08928196132183075, -0.22562028467655182, -0.0945713147521019, -0.2782067358493805, -0.3675488233566284, 0.40722134709358215, 0.0034000473096966743, -0.25130707025527954, 0.24463295936584473, 0.1570666879415512, -0.38439542055130005, -0.1029665619134903, -0.29686465859413147, 0.38107314705848694, 0.4214918911457062, -0.7780390977859497, -0.814082682132721, 0.5683369636535645, 0.990872323513031, -0.5256118774414062, 0.19258777797222137, 0.31550833582878113, -0.9264412522315979, -0.28646689653396606, -0.47347012162208557, 0.0244074035435915, -0.36171776056289673, 0.2923215329647064, -0.2256821244955063, -0.3165772259235382, 0.5432018637657166, -0.12599724531173706, -0.1868446320295334, 0.24416029453277588, 0.5228967666625977, 0.13252772390842438, 1.4013258218765259, 0.6581322550773621, -0.2014947235584259, -0.2652318775653839, -0.02619578316807747, 0.4074653387069702, -0.9376344680786133, -0.42587316036224365, -0.6085436940193176, -0.26106053590774536, -0.33209893107414246, -0.6887898445129395, 0.4434822201728821, -0.0714099332690239, -0.21793894469738007, -0.11210395395755768, -0.8966928124427795, 0.3613165020942688, 0.1515340805053711, 0.4099560081958771, 0.1951749622821808, -0.10089240223169327, -0.05088524892926216, -0.20328021049499512, -0.6755041480064392, -0.44023656845092773, 1.210518479347229, 0.5254312753677368, 1.2518469095230103, -0.05207345634698868, 0.7275422811508179, 0.27089545130729675, 0.6915162801742554, -0.7648768424987793, -0.2243582159280777, -0.2390574961900711, -0.04207024723291397, 0.32443705201148987, 0.05233088880777359, -0.7919475436210632, -0.4204912781715393, 0.25732892751693726, -0.6798608899116516, 0.27948758006095886, 0.15034621953964233, -0.6845229268074036, 0.28926634788513184, -0.5933122038841248, 0.851242184638977, -0.5812127590179443, 0.18335653841495514, -0.08216972649097443, -0.543514609336853, -0.034625131636857986, -0.5026839971542358, 0.35295501351356506, 0.31346219778060913, -0.08921470493078232, 0.7872098684310913, -0.6779413223266602, 0.792988657951355, 0.1753530204296112, -0.30496594309806824, 0.01590675301849842, -0.013430333696305752, 0.5821239352226257, 0.18235717713832855, 0.12540669739246368, -0.1826993077993393, 0.17332056164741516, -0.3576470613479614, -0.7464613914489746, 0.48099929094314575, -0.7531030178070068, -0.0030262565705925226, -0.3947984278202057, -0.43620720505714417, -0.10309156030416489, 0.12822766602039337, 0.35163456201553345, 1.0946098566055298, -0.04993801563978195, -0.16950136423110962, 0.4651183784008026, -0.48194003105163574, 0.011040239594876766, -0.039577826857566833, -0.028783170506358147, -0.6693480014801025, 0.9544796347618103, -0.03614858537912369, 0.3268062174320221, 0.6262043714523315, -0.05572502315044403, 0.05488376319408417, -0.5265851616859436, -0.6435703635215759, 0.25674548745155334, -0.8503227233886719, -0.457085520029068, -0.6961873173713684, -0.19451794028282166, -0.3264929950237274, -0.7560083866119385, -0.41275936365127563, 0.10449929535388947, -0.44245773553848267, -0.020782925188541412, 0.2023572474718094, 0.8197977542877197, 0.16906967759132385, 0.3045540452003479, -0.9423174858093262, 0.7249652147293091, 0.20084692537784576, 0.6335293054580688, -0.015208764933049679, -0.27652353048324585, -0.36313408613204956, 0.15916061401367188, -0.11200399696826935, -1.0630615949630737, 0.4582558274269104, -0.005828761495649815, 0.5354027152061462, 0.33828967809677124, 0.3877566158771515, 0.8390575647354126, -0.7442100644111633, 0.6043855547904968, 0.42375648021698, -0.9071406126022339, 0.5854767560958862, 0.02588523179292679, 0.6153384447097778, 0.2708189785480499, 0.4216424822807312, -0.6078575849533081, -0.3817801773548126, -0.5025306940078735, -0.8165640830993652, 0.5074925422668457, -0.0715731605887413, 0.2208050638437271, -0.15288139879703522, 0.4308338463306427, 0.34916484355926514, -0.23190343379974365, -0.42757388949394226, -0.2914150059223175, -0.14515122771263123, -0.9043315052986145, -0.07257930934429169, -0.15295177698135376, -0.2658798098564148, -0.39456331729888916, 0.2900647222995758, -0.34752485156059265, 0.7150718569755554, 0.4586300253868103, -0.4309230446815491, -0.15476788580417633, 0.07513818889856339, 0.3935486674308777, 0.7946330904960632, 0.006607025396078825, 0.3213101327419281, 0.08736774325370789, -0.6658154129981995, 0.29664304852485657, 0.3151453733444214, -0.00862844754010439, 0.023199276998639107, 0.3779313862323761, 0.5215896964073181, 0.04834071174263954, -0.7772237062454224, 0.7594258189201355, -0.18744274973869324, -0.09038729965686798, 0.02005903422832489, -0.20682206749916077, -0.153791144490242, 0.06268543750047684, 0.4930656850337982, 0.19311979413032532, -0.02344418503344059, -0.18706920742988586, 0.609333872795105, -0.07287482172250748, -0.6503114104270935, -0.35588276386260986, 0.7900584936141968, 0.3870502710342407, -0.5000202059745789, 0.5642425417900085, 0.01907174289226532, -0.6566635370254517, 1.0592306852340698, 0.966792643070221, 0.7330411076545715, -0.2234710454940796, 0.23656973242759705, 0.16887669265270233, 0.21802067756652832, -0.13039585947990417, -0.02165156416594982, -0.036676254123449326, -0.5082646012306213, -0.5912650227546692, -0.38696563243865967, -0.2129533886909485, -0.02322390489280224, -1.1182893514633179, 0.36524373292922974, -0.5012787580490112, 0.07499711215496063, 0.10754606872797012, -0.4944089651107788, -0.8104867339134216, 0.47423315048217773, 0.43668967485427856, 0.9970370531082153, -0.5522291660308838, 0.6965747475624084, 0.7187235951423645, 0.04220511019229889, -0.7363718748092651, 0.16220369935035706, -0.10223742574453354, -0.4816450774669647, 0.4071996510028839, 0.4262286126613617, 0.15256839990615845, 0.15419429540634155, -0.1710829883813858, -0.7965048551559448, 0.9146245121955872, 0.23192784190177917, -0.6516149640083313, -0.05040948837995529, 0.10501381009817123, 0.6206624507904053, -0.5675475597381592, 0.31157317757606506, 0.3670480251312256, 0.1352221667766571, -0.025853218510746956, -1.482263445854187, 0.24104228615760803, -0.45869436860084534, -0.3289712965488434, 0.16854237020015717, -0.32142308354377747, 0.22409561276435852, -0.45078667998313904, -0.15504230558872223, 0.1365414559841156, 0.3041093945503235, -0.09808885306119919, 0.2982179522514343, 0.24197323620319366, 0.4244171380996704, 0.6374647617340088, -0.00005163618698134087, 1.0948225259780884, -0.551973283290863, 0.2900180220603943, 0.886978268623352, -0.22237472236156464, 0.3448338508605957, 0.22205905616283417, -0.22574256360530853, 0.25501590967178345, 0.49735745787620544, -0.1514427810907364, 0.7478926777839661, 0.27868708968162537, -0.21007558703422546, -0.170888751745224, -0.030840005725622177, -0.4353087246417999, 0.21227297186851501, 0.3184172809123993, -0.5643423795700073, -0.2581952214241028, 0.5780720710754395, -0.263744056224823, -0.08284389972686768, -0.368511825799942, 0.6969448328018188, -0.021244946867227554, -0.7328546047210693, 0.5145403146743774, 0.24820667505264282, 0.42788755893707275, -0.24434728920459747, -0.2070450484752655, 0.04289180412888527, 0.38203495740890503, -0.1459142565727234, -0.40656957030296326, 0.1061076819896698, 0.05138659477233887, -0.0925404354929924, -0.5029380917549133, 0.2004566788673401, -0.3953765630722046, -0.7463868856430054, -0.04876747727394104, 0.02632381208240986, -0.12580959498882294, 0.29568731784820557, -0.2440701723098755, 0.08284346759319305, 0.05563611909747124, 0.275508850812912, 0.16671748459339142, 0.5778117775917053, -0.16403669118881226, 0.6035383939743042, 0.24745023250579834, 0.10243827849626541, -0.0371750071644783, 0.3259167969226837, 0.9016062021255493, -0.5607189536094666, -0.9571250677108765, -0.5375300645828247, 0.5435515642166138, 0.26433905959129333, -0.34826427698135376, 0.168228417634964, 0.7204669713973999, 0.612704873085022, -0.010169888846576214, 0.7621751427650452, 0.2226932942867279, 0.334547221660614, -0.36083629727363586, 0.6287926435470581, -0.3539975881576538, 0.15844009816646576, -0.220115065574646, -0.5406548976898193, -0.9508593082427979, 0.574667751789093, -0.02695564366877079, -0.18697768449783325, 0.7075452208518982, 0.5238097310066223, -0.31834256649017334, -0.06957735866308212, -0.2553921341896057, 0.08660126477479935, 0.5479239821434021, 0.6066690683364868, 0.37499430775642395, -0.37290599942207336, 0.38472655415534973, -0.6059935688972473, -0.32440146803855896, -0.32313182950019836, -0.6772722601890564, -0.6394065022468567, -0.4648773968219757, -0.7606732249259949, -0.27074992656707764, 0.12761427462100983, 0.9563829302787781, 0.6437425017356873, -0.8170618414878845, 0.2305297553539276, 0.22767430543899536, -0.025704966858029366, -0.39839938282966614, -0.06744346767663956, 0.7692246437072754, 0.03781644254922867, -0.6544316411018372, -0.08420863002538681, 0.3341812491416931, 0.34522372484207153, 0.2227432131767273, -0.206598162651062, 0.4809879958629608, -0.338074266910553, 0.326968252658844, 0.06551946699619293, -0.6656274199485779, -0.36134228110313416, -0.07504945993423462, -0.4512665271759033, 0.252956360578537, 0.8597564101219177, -0.966849148273468, 0.7623392343521118, 0.11993653327226639, 0.845176637172699, 0.5496333241462708, 0.18022185564041138, 0.576356053352356, -0.33896929025650024, -0.09315090626478195, 0.5628701448440552, 0.012131181545555592, 0.15775160491466522, -0.38801324367523193, 0.05030328035354614, -0.06057518720626831, -0.43534350395202637, -0.9713907837867737, -0.05664507672190666, -1.1788960695266724, -0.022587960585951805, 1.1240447759628296, 0.009755385108292103, -0.1839609593153, -0.34430748224258423, -0.42629921436309814, 0.3012012243270874, -0.05096842348575592, 0.889310896396637, 0.31709498167037964, -0.18849916756153107, -0.010437055490911007, -0.2692597508430481, 0.3487096130847931, 0.03927388787269592, -0.7301815748214722, -0.173699289560318, 0.4250732362270355, 0.16875895857810974, 0.33292344212532043, 0.5830798745155334, -0.20204229652881622, 0.5318063497543335, -0.32202616333961487, 0.18075062334537506, 0.14444643259048462, -0.2733353078365326, -0.3915901780128479, 0.155669704079628, -0.22554077208042145, -0.22867876291275024 ]
http://arxiv.org/abs/2402.03171v1
http://arxiv.org/pdf/2402.03171v1
Homograph Attacks on Maghreb Sentiment Analyzers
2024-02-05T16:39:15
2024-02-05T16:39:15
Fatima Zahra Qachfar, Rakesh M. Verma
cs.CL
cs.CL, cs.CR, cs.LG
We examine the impact of homograph attacks on the Sentiment Analysis (SA) task of different Arabic dialects from the Maghreb North-African countries. Homograph attacks result in a 65.3% decrease in transformer classification from an F1-score of 0.95 to 0.33 when data is written in "Arabizi". The goal of this study is to highlight LLMs weaknesses' and to prioritize ethical and responsible Machine Learning.
[ -0.7248587012290955, -0.4520949721336365, 0.1514776647090912, 0.22163282334804535, -0.1025724858045578, 0.07451723515987396, 0.26021116971969604, -0.7242807149887085, 0.38778939843177795, 0.28961631655693054, -0.7380606532096863, -0.5570973753929138, -0.802872896194458, 0.28359872102737427, -0.3395727872848511, 1.0641684532165527, 0.1807755082845688, 0.3918438255786896, 0.1291007399559021, -0.15968984365463257, 0.05660473555326462, -0.7709091901779175, -0.4747013747692108, -0.31814372539520264, 0.45754024386405945, 0.3893255293369293, 1.1089917421340942, 0.020271124318242073, 0.7825738787651062, 0.25242772698402405, -0.27499526739120483, -0.23113270103931427, -0.3878016173839569, -0.021225739270448685, 0.10596946626901627, -0.5442383289337158, -0.45889002084732056, 0.15604615211486816, 0.4516901671886444, 0.6677309274673462, 0.29152992367744446, 0.3060190975666046, -0.1449233591556549, 1.0115087032318115, -0.47960928082466125, 0.06833241879940033, -0.4019472002983093, 0.15091851353645325, -0.31958284974098206, 0.11496837437152863, -0.35691913962364197, -0.5361155867576599, 0.12422863394021988, 0.19786860048770905, 0.6080464124679565, 0.04490424692630768, 1.0036898851394653, 0.13032512366771698, -0.47601622343063354, -0.47884273529052734, -0.46402740478515625, 0.9146355986595154, -0.5851903557777405, 0.40428823232650757, 0.3220096826553345, 0.29390349984169006, -0.07532212138175964, -0.37884798645973206, -0.3762395977973938, 0.14497001469135284, -0.2585930824279785, 0.005045454949140549, -0.17953380942344666, -0.1044263169169426, 0.14014901220798492, 0.6216751933097839, -0.0769348219037056, -0.14710800349712372, -0.4738297164440155, -0.4466589093208313, 1.0498168468475342, 0.18579339981079102, 0.11522869020700455, -0.4536781907081604, -0.30697083473205566, -0.007553497329354286, -0.7987133264541626, 0.2230134904384613, 0.6389850974082947, 0.33093199133872986, 0.12435437738895416, 0.5533024668693542, 0.10354581475257874, 0.5701732635498047, 0.13436052203178406, -0.31032195687294006, 0.4680420756340027, -0.09701338410377502, -0.23438072204589844, 0.08039188385009766, 0.7231131196022034, 0.6415234804153442, 0.33514609932899475, -0.1490487903356552, -0.2784269154071808, 0.1643441915512085, 0.3341960608959198, -0.8958775997161865, 0.059438131749629974, -0.009604359045624733, -0.34319111704826355, -0.47263267636299133, 0.48555025458335876, -0.9131379127502441, -0.691328763961792, 0.4351077377796173, -0.016679711639881134, -0.3178316056728363, 0.24891197681427002, -0.3016826808452606, -0.18987350165843964, 0.8774473071098328, 0.2741874158382416, -0.48762598633766174, 0.24522963166236877, 0.3665388524532318, 0.8803303837776184, -0.09809207171201706, -0.0028366895858198404, -0.1670011729001999, -0.06870090216398239, -0.2703944742679596, 0.6991249322891235, -0.42470085620880127, -1.0471653938293457, 0.04372787848114967, 0.08607442677021027, -0.12693627178668976, -0.45723989605903625, 0.7682494521141052, -0.6926547884941101, 0.07232814282178879, -0.49652138352394104, -0.3418081998825073, -0.6013144254684448, 0.132536381483078, -0.8135287761688232, 1.0792919397354126, 0.452796995639801, -0.978974461555481, 0.2315736711025238, -0.6018562316894531, -0.9210379719734192, -0.220070481300354, -0.12124118208885193, -0.5903208255767822, -0.027600694447755814, 0.2551780343055725, 0.5009976029396057, -0.5286138653755188, -0.19752785563468933, -0.10027328133583069, -0.606879472732544, 0.43281686305999756, -0.19557976722717285, 0.8647822141647339, 0.25764578580856323, -0.7164779901504517, 0.10141296684741974, -0.6069615483283997, -0.025514578446745872, 0.14632028341293335, -0.08119155466556549, 0.0871446505188942, 0.1335519552230835, 0.3489042818546295, 0.46126943826675415, -0.06656361371278763, -0.9205098748207092, 0.12449939548969269, -0.715884268283844, 0.27171385288238525, 0.8102842569351196, 0.23409923911094666, 0.20098964869976044, -0.6392316818237305, 0.7352443337440491, 0.05797363817691803, 0.245082825422287, 0.4497075378894806, -0.7219315767288208, -0.8315727710723877, -0.2829192280769348, -0.035309452563524246, 0.720154345035553, -0.5530166625976562, 0.3945472836494446, -0.2518171966075897, -0.9353058338165283, -0.7089231014251709, -0.007423532661050558, 0.24021178483963013, 0.41289079189300537, 0.21540868282318115, -0.026762649416923523, -0.3859370946884155, -1.0708353519439697, -0.5845491886138916, -0.20043715834617615, 0.12401546537876129, 0.13926170766353607, 0.6226952075958252, -0.894067108631134, 0.9630768299102783, -0.47613653540611267, -0.8022411465644836, -0.3206298053264618, -0.02888435870409012, 0.31539568305015564, 0.04499455541372299, 0.9680739641189575, -0.9640082716941833, -0.7410433888435364, -0.2559433877468109, -0.4451790153980255, -0.1875254511833191, 0.1360735148191452, 0.1183556616306305, 0.6257692575454712, 0.49548399448394775, -0.18850386142730713, 0.8841633200645447, 0.5438150763511658, -0.5713883638381958, 0.30532658100128174, 0.6099305748939514, 0.29036960005760193, -0.891449511051178, -0.26091599464416504, 0.1039118692278862, -0.23837979137897491, -0.6770968437194824, -0.12648339569568634, -0.22479215264320374, 0.044700413942337036, -0.63236403465271, 0.27417948842048645, -0.15986794233322144, 0.004109151195734739, 0.024952253326773643, -0.3159388303756714, 0.015157099813222885, 0.16948731243610382, -0.2972814738750458, 1.0689910650253296, 0.523544430732727, -0.09703817218542099, 0.11657129228115082, 0.3261389136314392, -0.2557808756828308, 0.21731752157211304, -0.6808013916015625, 0.34931114315986633, -0.11804695427417755, 0.07325790822505951, -1.3773728609085083, -0.31965798139572144, 0.32301878929138184, -0.4609854221343994, 0.15036845207214355, 0.18639902770519257, -0.26424869894981384, -0.252186119556427, -0.9400306344032288, 0.06815697252750397, 0.46267595887184143, -0.41445133090019226, 0.9353784322738647, 0.3987976312637329, 0.15194013714790344, -0.8096480369567871, -1.0867652893066406, -0.17028184235095978, -0.12261808663606644, -0.7983988523483276, 0.10609034448862076, 0.19216643273830414, -0.44581133127212524, -0.07343064993619919, -0.3241040110588074, -0.044537752866744995, 0.1895507276058197, 0.854121744632721, 0.20663651823997498, 0.04995333403348923, -0.29990148544311523, -0.023088162764906883, 0.11830368638038635, 0.6040729284286499, 0.3674325942993164, 0.9061411619186401, -0.7042223215103149, -0.49077439308166504, -0.7526902556419373, 0.46291688084602356, 0.7775483131408691, 0.03512349724769592, 1.2327078580856323, 0.5079126358032227, -0.06133647635579109, 0.25132590532302856, -0.3403526544570923, -0.03084670566022396, -0.5900633335113525, 0.26466619968414307, -0.44135579466819763, -0.8951714634895325, 0.5681919455528259, -0.17577853798866272, -0.012969213537871838, 1.0884945392608643, 0.5171797275543213, -0.5078546404838562, 1.005449652671814, 0.6006152629852295, -0.6345618367195129, 0.21992027759552002, -0.3518346846103668, 0.31699448823928833, -0.5298507809638977, -0.4583394229412079, -0.5042259693145752, -0.4696689546108246, -0.8011265397071838, -0.07379327714443207, 0.5841023325920105, -0.09603162854909897, -0.09432186931371689, -0.12806588411331177, -0.26888400316238403, 0.4224727153778076, 0.37430787086486816, 0.15285179018974304, -0.027222435921430588, 0.1462889462709427, 0.11177889257669449, -0.06183435767889023, -0.6286191940307617, -0.7091729044914246, 0.9669012427330017, 0.3505810797214508, 0.7410970330238342, 0.24058778584003448, 1.0074269771575928, 0.8051509857177734, 0.826033353805542, -1.0133179426193237, 0.5367797613143921, 0.15148335695266724, -0.6620122790336609, -0.3898681700229645, -0.16420018672943115, -0.6667518019676208, -0.10000232607126236, -0.11361084878444672, -0.5027533173561096, 0.3590586483478546, -0.13807839155197144, 0.11523513495922089, 0.3847498297691345, -0.32283949851989746, 0.5938326120376587, 0.04761003330349922, 0.07359793782234192, 0.1787131428718567, -0.9086593389511108, 0.17683790624141693, -0.2989880442619324, 0.7610507011413574, -0.09828656166791916, 0.2906002402305603, 0.9592046737670898, -0.5717135071754456, 1.0195350646972656, -0.36361539363861084, -0.1685195416212082, 0.42612430453300476, 0.14486630260944366, 0.2527771294116974, -0.048211898654699326, -0.6185024976730347, 0.6594915390014648, -0.20352022349834442, -0.47273749113082886, -0.31436559557914734, 0.3253258168697357, -1.1465966701507568, -0.7857390642166138, -0.8633959293365479, -0.5712570548057556, -0.3082142174243927, -0.18122605979442596, 0.7186279892921448, 0.09865719079971313, -0.37354210019111633, -0.07823943346738815, 0.2594625651836395, -0.014263780787587166, 0.45514196157455444, 0.007518846541643143, -0.39987707138061523, -0.5064671039581299, 0.6885957717895508, 0.048816241323947906, 0.30109524726867676, -0.2432587444782257, -0.025948984548449516, -0.08654772490262985, -0.3690277338027954, -0.3060053586959839, 0.4408373236656189, -1.0989325046539307, -0.4630233347415924, -0.2518855631351471, -0.3083716034889221, -0.6333343386650085, -0.5202111601829529, -0.01947454735636711, -0.3235582113265991, -0.08831554651260376, -0.04763241857290268, 0.43492037057876587, 0.8739620447158813, 0.19805701076984406, 0.9926504492759705, -0.8585935831069946, -0.01650429144501686, 0.16133658587932587, 0.032914578914642334, -0.41472917795181274, -0.805517852306366, -0.13015227019786835, -0.10489185899496078, -0.23410123586654663, -1.4080240726470947, 0.47122058272361755, 0.3915562927722931, 0.21635498106479645, 0.6644684076309204, -0.004081811290234327, 0.44715431332588196, -0.4375031590461731, 0.9268208742141724, 0.08931420743465424, -1.3279095888137817, 0.5886074900627136, 0.03702516481280327, 0.11073319613933563, 0.6221269965171814, 0.9461638927459717, -0.4616509675979614, -0.46022501587867737, -0.5524460673332214, -0.6651090979576111, 0.7169086933135986, 0.2692568004131317, -0.0050167967565357685, -0.20971465110778809, 0.6957476139068604, -0.06667664647102356, 0.06800819933414459, -0.5979836583137512, -0.9186384081840515, -0.2748040556907654, -0.11121749877929688, -0.05775095894932747, -0.6324560046195984, -0.23858200013637543, -0.7520326375961304, 0.8520617485046387, 0.07028613239526749, 0.4215644598007202, 0.41828805208206177, -0.2904443144798279, -0.215157613158226, 0.18899869918823242, 0.4077588617801666, 0.5248353481292725, -0.11272643506526947, 0.04041416570544243, 0.318348228931427, -0.8027442693710327, 0.3916202783584595, -0.18192008137702942, -0.29216721653938293, 0.20398013293743134, 0.6122176647186279, 0.5722222328186035, -0.3696465492248535, -0.5408042669296265, 0.6622664928436279, -0.03548285365104675, -0.32803550362586975, -0.3719938397407532, 0.06542555242776871, -0.04412798210978508, 0.11856414377689362, 0.4628389775753021, 0.18924351036548615, 0.4038271903991699, -0.5854040384292603, 0.27445948123931885, 0.6223843693733215, -0.7473447322845459, -0.22834908962249756, 0.32440415024757385, 0.05595416575670242, -0.46122556924819946, 0.6860179901123047, -0.1356043666601181, -1.2154475450515747, 0.6451482772827148, 0.7606127858161926, 0.6913052797317505, -0.8141656517982483, 0.2843180298805237, -0.12276240438222885, 0.7775387763977051, 0.44281768798828125, 0.791126012802124, 0.4107359051704407, -0.8606153130531311, -0.15199759602546692, -0.7554722428321838, -0.5593410730361938, -0.3485928475856781, -0.9750496745109558, 0.14635752141475677, -0.6530866622924805, -0.431615948677063, 0.11542695015668869, -0.05380445346236229, -0.48101791739463806, 0.6331505179405212, 0.07005868852138519, 0.7383924722671509, -1.1066757440567017, 0.8201668858528137, 1.0659871101379395, -0.1534961760044098, -0.6141396164894104, 0.1300404667854309, 0.1166142076253891, -0.7542343139648438, 0.9392321705818176, 0.3602322041988373, -0.7007617950439453, -0.1617744415998459, -0.6558351516723633, -0.8520519733428955, 0.8156970739364624, 0.2571978271007538, -0.3597392737865448, 0.2724727690219879, 0.7489252090454102, 0.46277540922164917, -0.08185408264398575, -0.020633524283766747, 0.7851415872573853, 0.6160338521003723, -0.06110767275094986, -0.6285825371742249, -0.05426999554038048, -0.26975610852241516, -0.3813319206237793, 0.5967947840690613, -0.9169208407402039, 1.0419772863388062, 0.022943146526813507, -0.2371344119310379, -0.5507103204727173, 0.6619253754615784, -0.3024340271949768, 0.301820307970047, 0.7191432118415833, 0.34442421793937683, 0.7892764210700989, -0.13278374075889587, 1.2447651624679565, -0.35651201009750366, 0.36164405941963196, 0.48295968770980835, -0.3090493381023407, 0.5624935626983643, 0.6204968690872192, -0.3760225474834442, 0.8753181099891663, 0.5077297687530518, -0.09396833926439285, 0.3764903247356415, 0.11243915557861328, -0.34377822279930115, 0.01588900201022625, -0.013295827433466911, -0.3695564568042755, 0.7758809328079224, 0.4932001829147339, -0.2896258234977722, -0.0577823743224144, 0.15379458665847778, 0.33042773604393005, -0.09485401958227158, -0.4260401129722595, 0.5122626423835754, 0.01154680922627449, 0.2007371485233307, 0.5729172825813293, 0.18292374908924103, 0.7348929047584534, -0.3544130325317383, 0.3301149606704712, -0.25572264194488525, 0.07785817235708237, -0.6284645199775696, -0.6348263025283813, 0.8896998763084412, 0.025092288851737976, -0.3719308078289032, 0.2297595590353012, 0.7639886736869812, 0.05628468468785286, -0.795689582824707, 0.44534850120544434, 0.44590139389038086, 0.14046716690063477, -0.12971942126750946, -0.6490345597267151, 0.17129428684711456, 0.2622597813606262, -0.514102041721344, 0.27117952704429626, -0.036432597786188126, -0.14421206712722778, 0.6168131232261658, 0.49151742458343506, -0.12922072410583496, 0.06374125182628632, -0.040213748812675476, 1.1397268772125244, -0.9484586715698242, -0.24355392158031464, -1.1563400030136108, -0.15029019117355347, -0.2122693806886673, 0.02754388004541397, 1.2653878927230835, 0.5009939074516296, 0.6798774600028992, -0.013751863501966, 0.7474597692489624, -0.07720361649990082, 0.5019146800041199, -0.16257627308368683, 1.0657331943511963, -0.3122488558292389, 0.2365720123052597, -0.45207881927490234, -1.0510807037353516, -0.4940076172351837, 0.808392345905304, -0.4016934335231781, -0.10122134536504745, 0.6536586880683899, 0.7160959839820862, 0.48442840576171875, 0.4232126474380493, -0.009374273009598255, 0.10122987627983093, 0.34269869327545166, 0.1427064687013626, 0.8743502497673035, -0.7111133933067322, 0.12229570746421814, -0.5726084113121033, -0.13271453976631165, 0.07257995754480362, -0.7351047992706299, -1.2883813381195068, -0.17461368441581726, -0.29882651567459106, -0.5960558652877808, -0.16168220341205597, 0.8310928344726562, 0.11080744862556458, -1.1245503425598145, -0.4207133948802948, 0.42337682843208313, 0.15485471487045288, 0.13830937445163727, -0.3145415186882019, 0.7021637558937073, -0.27762293815612793, -0.5482226610183716, 0.3138045072555542, -0.07662765681743622, -0.01786772720515728, -0.07032954692840576, 0.0443657785654068, -0.34636521339416504, 0.28015878796577454, 0.6609044671058655, -0.19307158887386322, -0.5367317795753479, -0.4753323793411255, 0.1767139732837677, -0.20419469475746155, 0.28724589943885803, 0.6117787957191467, -0.7072532176971436, -0.08717446029186249, 0.17936095595359802, 0.5371508002281189, 0.13691237568855286, 0.02819623425602913, 0.1935727596282959, -0.8436636924743652, 0.40205180644989014, 0.4262648820877075, 0.3484865427017212, 0.22278326749801636, -0.6578713655471802, 0.657433271408081, 0.4148516058921814, -0.537009596824646, -0.7617636322975159, 0.11488177627325058, -0.7822176814079285, -0.24212536215782166, 1.14434814453125, -0.09050553292036057, -0.45752012729644775, -0.13577809929847717, -0.4175359010696411, 0.15336211025714874, -0.2837522327899933, 0.6875227689743042, 0.729710042476654, -0.34940969944000244, 0.39099323749542236, -0.18874575197696686, 0.6457346081733704, 0.5094318389892578, -0.7412480115890503, -0.43180933594703674, 0.5324700474739075, 0.2139129638671875, 0.2981319725513458, 0.2850154638290405, -0.0848359614610672, 0.09110831469297409, -0.21665434539318085, 0.033528219908475876, 0.19426479935646057, -0.4082367420196533, -0.5358121395111084, 0.4972689747810364, 0.003326474456116557, -0.08387771248817444 ]
http://arxiv.org/abs/2402.03163v1
http://arxiv.org/pdf/2402.03163v1
Linguistic features for sentence difficulty prediction in ABSA
2024-02-05T16:31:03
2024-02-05T16:31:03
Adrian-Gabriel Chifu, Sébastien Fournier
cs.CL
cs.CL, cs.IR
One of the challenges of natural language understanding is to deal with the subjectivity of sentences, which may express opinions and emotions that add layers of complexity and nuance. Sentiment analysis is a field that aims to extract and analyze these subjective elements from text, and it can be applied at different levels of granularity, such as document, paragraph, sentence, or aspect. Aspect-based sentiment analysis is a well-studied topic with many available data sets and models. However, there is no clear definition of what makes a sentence difficult for aspect-based sentiment analysis. In this paper, we explore this question by conducting an experiment with three data sets: "Laptops", "Restaurants", and "MTSC" (Multi-Target-dependent Sentiment Classification), and a merged version of these three datasets. We study the impact of domain diversity and syntactic diversity on difficulty. We use a combination of classifiers to identify the most difficult sentences and analyze their characteristics. We employ two ways of defining sentence difficulty. The first one is binary and labels a sentence as difficult if the classifiers fail to correctly predict the sentiment polarity. The second one is a six-level scale based on how many of the top five best-performing classifiers can correctly predict the sentiment polarity. We also define 9 linguistic features that, combined, aim at estimating the difficulty at sentence level.
[ -0.48847514390945435, -1.0064719915390015, 0.6288660764694214, 0.4967958629131317, -0.3471498191356659, 0.12227217853069305, -0.2495669424533844, -0.4003692865371704, 0.0908212661743164, 0.3782571256160736, -0.6169910430908203, -0.6324977874755859, -0.8187066912651062, 0.6353896856307983, 0.06882814317941666, 1.3717238903045654, -0.0976245105266571, 0.09323407709598541, -0.27859964966773987, -0.46183064579963684, -0.9382580518722534, -0.776006281375885, -0.04813380539417267, -0.1325572282075882, 0.39358216524124146, 0.5119187831878662, 0.8357224464416504, -0.03737577795982361, 0.8356788158416748, 0.36070001125335693, -0.36915722489356995, -0.11735616624355316, 0.07249518483877182, 0.26681214570999146, -0.25942397117614746, -0.7368777394294739, -0.10057252645492554, -0.16451536118984222, 0.03353044018149376, 1.04696524143219, 0.10804106295108795, -0.3689267039299011, 0.12453223764896393, 0.9517074227333069, -0.23174181580543518, 0.36363187432289124, -0.5569370985031128, 0.12064886093139648, -0.4689629077911377, 0.21995672583580017, -0.031467244029045105, -0.39558637142181396, 0.22670412063598633, -0.1323988139629364, 0.34407466650009155, 0.1913032978773117, 0.8175990581512451, 0.22702695429325104, -0.6798120141029358, -0.5635623931884766, -0.6248680353164673, 0.857370913028717, -0.495261013507843, 0.07240600138902664, 0.35434210300445557, 0.02096174843609333, -0.008214203640818596, -0.05259038135409355, -0.6063293218612671, -0.17943687736988068, -0.18389266729354858, 0.0013298516860231757, -0.31049975752830505, 0.10230351984500885, 0.028389809653162956, 0.5295633673667908, -0.46215689182281494, -0.03959515690803528, -0.4409008324146271, 0.13108156621456146, 0.5640237927436829, 0.28744229674339294, 0.2695857286453247, -0.9006218314170837, -0.07547633349895477, -0.033964723348617554, -0.36760082840919495, 0.4330054521560669, 0.48412954807281494, 0.5499650239944458, -0.06823991984128952, 0.7557072043418884, -0.3231216371059418, 0.5785505175590515, -0.2047913521528244, -0.01827918365597725, 0.6546509265899658, -0.31321242451667786, -0.05153343081474304, -0.12673991918563843, 0.8647844791412354, 0.1803358495235443, 0.06175968050956726, 0.18486323952674866, -0.34177109599113464, 0.21364004909992218, 0.4003112316131592, -0.3480776846408844, -0.0983683317899704, 0.4254944920539856, -0.45392102003097534, -0.39115244150161743, 0.1781684309244156, -0.9208212494850159, -0.48539572954177856, -0.11906396597623825, 0.13046389818191528, -0.7450025081634521, -0.005794723518192768, -0.1742638796567917, 0.02948884665966034, 0.09939047694206238, 0.14340974390506744, -0.6166300773620605, 0.2998976707458496, 0.8452462553977966, 0.9135491251945496, -0.2210402488708496, -0.28352028131484985, -0.11727001518011093, -0.5532599687576294, -0.008633146062493324, 0.8493479490280151, -0.6563004851341248, -0.4697994291782379, -0.11379674077033997, -0.2241935282945633, -0.17690257728099823, -0.4035896360874176, 0.9728670716285706, -0.06044543534517288, 0.3447272777557373, -0.23239800333976746, -0.44988420605659485, -0.5348942875862122, 0.1702907383441925, -0.64944988489151, 0.7900639176368713, 0.5971832871437073, -0.9175441265106201, 0.30326101183891296, -0.6309123039245605, -1.045669436454773, 0.07820123434066772, -0.08895912021398544, -0.522047758102417, 0.5855509042739868, 0.15432436764240265, 0.543458878993988, -0.10303959995508194, 0.25268426537513733, -0.21718120574951172, 0.0807855948805809, 0.6964403986930847, -0.1289825290441513, 0.48727676272392273, 0.08689487725496292, -0.44580620527267456, 0.041848793625831604, -0.5227002501487732, -0.22385135293006897, -0.06627114117145538, -0.24940936267375946, -0.6194196343421936, 0.08549424260854721, 0.1096925288438797, 0.14118942618370056, 0.009475315921008587, -0.4497074484825134, 0.21627210080623627, -0.7520627379417419, 0.34119483828544617, 0.6025040745735168, 0.21152439713478088, 0.26085364818573, -0.11115345358848572, 0.8031958937644958, 0.35747018456459045, 0.17388519644737244, 0.09305296838283539, -0.8261608481407166, -0.5726054310798645, 0.03274508938193321, 0.18545374274253845, 0.8237304091453552, -0.7990233898162842, 0.6045999526977539, -0.0695115402340889, -0.45736995339393616, -0.721200704574585, 0.4127459228038788, 0.49670639634132385, 0.18037909269332886, 0.34844839572906494, -0.38828232884407043, -0.3190537393093109, -0.9231202602386475, -0.2537122666835785, -0.12704353034496307, 0.27595674991607666, 0.38615983724594116, 0.526324987411499, -0.0486765019595623, 0.8284043669700623, -0.6580764651298523, -0.744935929775238, -0.8685654401779175, 0.4818885028362274, 0.3681277632713318, 0.22276800870895386, 0.43926313519477844, -1.0126405954360962, -0.3901819586753845, -0.0423424206674099, -0.5907624363899231, -0.12425287812948227, 0.11002819985151291, 0.30429235100746155, 0.5561270713806152, 0.10125495493412018, -0.6546768546104431, 0.35258761048316956, 0.572932779788971, -0.4587153494358063, 0.4044468104839325, 0.013055041432380676, 0.2069585770368576, -1.0661433935165405, -0.356332391500473, 0.3288915753364563, 0.30883437395095825, -0.650088369846344, -0.04954426735639572, -0.19770368933677673, -0.13835927844047546, -0.3817838728427887, -0.15524598956108093, -0.26209211349487305, 0.08099159598350525, -0.29781702160835266, -0.14643284678459167, 0.20655249059200287, 0.6073557734489441, -0.0362231619656086, 0.500609278678894, 0.5232458710670471, -0.3764537572860718, 0.32430505752563477, 0.13448573648929596, -0.3892681300640106, 0.6743213534355164, -0.5781846046447754, -0.08234748989343643, -0.23535911738872528, -0.14305634796619415, -1.0402880907058716, -0.23757658898830414, 0.12739405035972595, -0.3439640402793884, 0.060478854924440384, 0.18733328580856323, -0.10060923546552658, -0.3015235960483551, -0.33839911222457886, 0.4051920771598816, 0.13339950144290924, 0.19981540739536285, 0.7752305269241333, 0.26818737387657166, -0.5813407897949219, -0.5157986283302307, -0.6983494162559509, 0.11070774495601654, -0.35873275995254517, -0.5018230676651001, 0.2662850022315979, 0.017551835626363754, -0.640303373336792, 0.0664677545428276, 0.188521146774292, -0.17356567084789276, 0.2784968614578247, 0.7178442478179932, 0.22420717775821686, -0.08344406634569168, 0.18951930105686188, 0.23176166415214539, 0.13131295144557953, 0.10281448066234589, 0.33840376138687134, 0.5839435458183289, -0.634046733379364, -0.040677957236766815, -0.3920062482357025, 0.4796539545059204, 0.4378145635128021, -0.20677617192268372, 0.6960039138793945, 0.2355959415435791, -0.2789466679096222, -0.1642281711101532, -0.2787192761898041, 0.16099920868873596, -0.40145647525787354, 0.4328244924545288, -0.5032603740692139, -0.7061981558799744, 0.4830819070339203, 0.3559264838695526, -0.20654554665088654, 0.5523976683616638, 0.24528054893016815, -0.131015807390213, 0.6574669480323792, 0.606619656085968, -0.14256642758846283, 0.22564077377319336, -0.0197589211165905, 0.3692038655281067, -0.5138412714004517, -0.445151150226593, -0.8032328486442566, -0.3802388310432434, -0.7108184099197388, -0.1993410587310791, 0.3158104419708252, -0.06854250282049179, 0.27887481451034546, 0.25604280829429626, -0.27197811007499695, 0.21352259814739227, 0.4859444797039032, 0.135310560464859, 0.0993000790476799, -0.07188840955495834, 0.027282927185297012, -0.3497390151023865, -0.2939958870410919, -0.30290448665618896, 0.8179844617843628, 0.25473159551620483, 0.6194177865982056, 0.3504868745803833, 0.7290820479393005, 0.3932403028011322, 0.1298702508211136, -1.233188509941101, 0.48207342624664307, -0.6708706021308899, -0.32885080575942993, -0.24660083651542664, -0.7293872237205505, -0.9901639819145203, 0.0030071011278778315, -0.4148328900337219, -0.5109774470329285, 0.2751288115978241, -0.27674421668052673, -0.30391472578048706, 0.017445938661694527, -0.7633021473884583, 0.8539206385612488, -0.3845442831516266, -0.027416538447141647, 0.045022230595350266, -0.7046384811401367, 0.30876803398132324, -0.048289719969034195, 0.7651339173316956, -0.10397743433713913, 0.18539495766162872, 0.7046673893928528, -0.294647216796875, 0.886518120765686, -0.062274087220430374, 0.17025168240070343, 0.2414117306470871, 0.3319033086299896, 0.04934428259730339, -0.11600982397794724, -0.15589168667793274, 0.28469061851501465, -0.3103714883327484, -0.11821097135543823, -0.5991967916488647, 0.6330888271331787, -0.8774129748344421, -0.5199761390686035, -0.5548553466796875, -0.5055708885192871, -0.40859562158584595, 0.010864210315048695, 0.27928775548934937, 0.39168864488601685, -0.2379719614982605, 0.30866578221321106, 0.333074688911438, -0.3093734681606293, 0.45721548795700073, 0.23318631947040558, 0.01975303515791893, -0.48417699337005615, 1.0655611753463745, 0.19548992812633514, -0.012709427624940872, 0.4136025905609131, 0.41804906725883484, -0.16492898762226105, -0.8139215111732483, -0.13840404152870178, 0.03235034644603729, -0.580237865447998, -0.4259529113769531, -0.7737979888916016, -0.0874304249882698, -0.4043036997318268, -0.16205857694149017, -0.21773630380630493, -0.5247206687927246, -0.4131503105163574, -0.2807040810585022, 0.3710441291332245, 0.9020576477050781, 0.2954671382904053, 0.48462533950805664, -0.8272836804389954, 0.3075445294380188, -0.0267539843916893, 0.19462940096855164, -0.4540550708770752, -0.43146032094955444, 0.043924957513809204, -0.33231887221336365, -0.471920907497406, -1.0679864883422852, 0.703586220741272, 0.31786561012268066, 0.20722104609012604, 0.26465892791748047, 0.22095607221126556, 0.12287218123674393, -0.12019677460193634, 0.954990029335022, 0.22904790937900543, -1.2746986150741577, 0.9401389956474304, 0.03084789402782917, 0.14856861531734467, 0.8843711018562317, 0.39842164516448975, -0.3037576675415039, -0.86790531873703, -0.5999384522438049, -1.1876392364501953, 0.6531302332878113, 0.36784154176712036, 0.2805052101612091, -0.06244694069027901, 0.5172178149223328, 0.47566765546798706, 0.3549231290817261, -1.013514757156372, -0.24733351171016693, -0.4960345923900604, -0.6728605031967163, -0.16471856832504272, -0.23226743936538696, 0.0994618758559227, -0.09686332195997238, 0.4238895773887634, 0.060131411999464035, -0.06650153547525406, 0.09152043610811234, -0.11448070406913757, -0.1016916036605835, 0.7711620926856995, 0.2544057369232178, 0.5277846455574036, -0.42982593178749084, 0.06163373962044716, 0.027427133172750473, -0.3993966579437256, 0.022279886528849602, 0.23509731888771057, -0.1841319352388382, 0.12833595275878906, 0.6108402609825134, 0.95406174659729, 0.03554445877671242, -0.6183918714523315, 0.6477704644203186, -0.07274752110242844, -0.16765984892845154, -0.20467719435691833, 0.146419957280159, -0.3984418213367462, 0.08557426929473877, 0.4301559031009674, 0.1423603594303131, 0.46060097217559814, -0.9048997163772583, 0.023059243336319923, 0.26586347818374634, -0.5943916440010071, -0.31906428933143616, 0.10708893090486526, 0.3602255880832672, -0.35195836424827576, 0.6291841864585876, -0.4147833585739136, -0.8749910593032837, 0.6588405966758728, 0.12379880249500275, 0.9597258567810059, -0.22630023956298828, 0.4289894998073578, -0.010519128292798996, 0.456627756357193, 0.09791797399520874, 0.4509989619255066, 0.48270076513290405, -0.765507698059082, -0.23052598536014557, -0.9176846146583557, -0.5807579755783081, -0.1020272970199585, -0.747309684753418, 0.12420818209648132, -0.5070974230766296, -0.25457486510276794, 0.17814335227012634, 0.17610806226730347, -0.6273084282875061, 0.4939083456993103, -0.04589712992310524, 0.37318697571754456, -1.1572797298431396, 0.4347083568572998, 1.009771466255188, -0.5315335392951965, -0.6761751770973206, 0.17390070855617523, -0.08144433051347733, -0.295404314994812, 0.5576786398887634, 0.5959452390670776, 0.11154957115650177, -0.6720556020736694, -0.24438783526420593, -0.24806538224220276, 0.6067928671836853, -0.02401949279010296, -0.39949142932891846, 0.2236230969429016, 0.3444634675979614, 0.8627467155456543, -0.6047317981719971, 0.020171474665403366, 0.5298359990119934, 0.36692801117897034, -0.17541159689426422, -0.8537243008613586, 0.1096886619925499, -0.19864948093891144, -0.015281068161129951, 0.20732946693897247, -0.47078806161880493, 1.1668459177017212, -0.16657744348049164, -0.04039749875664711, -0.24943406879901886, 0.9062037467956543, -0.12078885734081268, 0.6673436164855957, 0.7961528301239014, 0.3971739411354065, 0.6756328344345093, -0.3052264153957367, 1.0411463975906372, -0.1398920863866806, 0.3238499164581299, 0.886590301990509, -0.35934194922447205, 0.9671525955200195, 0.3770464360713959, -0.29645588994026184, 1.1058757305145264, 0.47852787375450134, 0.09286370128393173, 0.5161466598510742, 0.28777915239334106, -0.11401359736919403, 0.03416617959737778, -0.1756696105003357, -0.17414310574531555, 0.8533855080604553, 0.5052546262741089, -0.2774057984352112, 0.10327310860157013, 0.4755931794643402, -0.10033275187015533, 0.2738095223903656, -0.30253341794013977, 0.8351889252662659, 0.07548036426305771, -0.7113404870033264, -0.05871229246258736, 0.36903873085975647, 0.6868995428085327, -0.4866867959499359, 0.1242125853896141, -0.4828443229198456, -0.07297927886247635, -0.2942924499511719, -1.3187065124511719, 0.6576412320137024, 0.03682895749807358, -0.191407710313797, 0.16144773364067078, 0.6417489051818848, -0.12579534947872162, -0.7191815376281738, 0.34700918197631836, 0.7177135348320007, 0.09321705251932144, -0.43567150831222534, -0.742348849773407, 0.19310396909713745, 0.13105785846710205, -0.35490691661834717, 0.250307559967041, 0.8365955948829651, 0.09958404302597046, 0.5683156251907349, 0.1863039880990982, -0.08096934109926224, -0.3726733326911926, 0.19634424149990082, 0.8638718724250793, -1.0815614461898804, -0.5259240865707397, -0.8660833835601807, 0.33594852685928345, 0.1094026118516922, -0.60304856300354, 0.4184668958187103, 0.36180388927459717, 0.3491196632385254, 0.024979636073112488, 0.9323456287384033, -0.404297411441803, 0.4758499264717102, -0.548923134803772, 0.20717397332191467, -0.48911380767822266, 0.5338581800460815, -0.36036601662635803, -0.8930278420448303, -0.3150641620159149, 0.5242498517036438, -0.4173169434070587, 0.07708199322223663, 0.9304436445236206, 0.6229519844055176, 0.08622433245182037, 0.1660662740468979, 0.003593632485717535, 0.30113348364830017, 0.068475641310215, 0.6708211302757263, 0.745807945728302, -0.0905069038271904, 0.7442523837089539, -0.8191419839859009, -0.3169924318790436, -0.16808952391147614, -0.5946203470230103, -0.9210751056671143, -0.610223114490509, -0.37180909514427185, -0.5527862906455994, -0.08364415168762207, 0.8274081945419312, 0.05843108519911766, -1.0453953742980957, -0.15190701186656952, -0.17708872258663177, 0.46508654952049255, -0.36260443925857544, -0.39098846912384033, 0.41613221168518066, -0.4553077816963196, -0.7123540639877319, 0.22900494933128357, 0.22584804892539978, -0.024979520589113235, -0.22074970602989197, 0.25835105776786804, -0.010277642868459225, 0.09711165726184845, 0.6047207117080688, -0.08585499227046967, -0.5698820352554321, -0.43738776445388794, -0.11104883253574371, -0.09206852316856384, 0.14347177743911743, 0.8694138526916504, -0.4123179018497467, 0.28008028864860535, 0.32098522782325745, 0.29210156202316284, -0.07847539335489273, 0.3005627691745758, 0.49821507930755615, -0.9842456579208374, -0.10602536797523499, 0.29490405321121216, 0.4538742005825043, 0.6605189442634583, -0.47013354301452637, 0.33023062348365784, 0.42678409814834595, -0.24904288351535797, -0.5361053943634033, 0.244948610663414, -1.4087449312210083, -0.6343566179275513, 1.202439308166504, -0.27237269282341003, -0.27375125885009766, -0.4976119101047516, -0.2562211751937866, -0.05274698883295059, -0.5547935366630554, 1.0551137924194336, 0.9426212310791016, -0.49218541383743286, -0.18806491792201996, -0.3771370053291321, 0.41873252391815186, 0.6623937487602234, -0.8719372153282166, -0.03393326699733734, 0.6212729215621948, 0.11422454565763474, 0.3683944642543793, 0.13208013772964478, 0.21171164512634277, 0.019998572766780853, -0.19540545344352722, -0.0325070321559906, 0.06526044756174088, -0.30230650305747986, -0.5431429743766785, 0.8216964602470398, 0.15102185308933258, 0.13607631623744965 ]
http://arxiv.org/abs/2402.03161v3
http://arxiv.org/pdf/2402.03161v3
Video-LaVIT: Unified Video-Language Pre-training with Decoupled Visual-Motional Tokenization
2024-02-05T16:30:49
2024-06-03T08:09:09
Yang Jin, Zhicheng Sun, Kun Xu, Kun Xu, Liwei Chen, Hao Jiang, Quzhe Huang, Chengru Song, Yuliang Liu, Di Zhang, Yang Song, Kun Gai, Yadong Mu
cs.CV
cs.CV, cs.CL
In light of recent advances in multimodal Large Language Models (LLMs), there is increasing attention to scaling them from image-text data to more informative real-world videos. Compared to static images, video poses unique challenges for effective large-scale pre-training due to the modeling of its spatiotemporal dynamics. In this paper, we address such limitations in video-language pre-training with an efficient video decomposition that represents each video as keyframes and temporal motions. These are then adapted to an LLM using well-designed tokenizers that discretize visual and temporal information as a few tokens, thus enabling unified generative pre-training of videos, images, and text. At inference, the generated tokens from the LLM are carefully recovered to the original continuous pixel space to create various video content. Our proposed framework is both capable of comprehending and generating image and video content, as demonstrated by its competitive performance across 13 multimodal benchmarks in image and video understanding and generation. Our code and models are available at https://video-lavit.github.io.
[ -0.20526166260242462, -0.6774501800537109, 0.3502340018749237, 0.16230252385139465, -0.8488378524780273, 0.11230173707008362, -0.4397636651992798, 0.22840414941310883, 0.2825741469860077, 0.27792179584503174, -0.4714142978191376, -0.4029662013053894, -0.6161136627197266, -0.4334259331226349, -0.6052322387695312, 0.8685458302497864, -0.19088362157344818, 0.1515074372291565, -0.032539792358875275, -0.15487074851989746, -0.17625001072883606, -0.5694804191589355, -0.36212754249572754, 0.04405563697218895, 0.2517624497413635, 0.017581112682819366, 0.4474712908267975, 0.5889002680778503, 0.5042552947998047, 0.3842036724090576, 0.11111544072628021, 0.09480234235525131, -0.4950904846191406, 0.055262595415115356, 0.15792213380336761, -0.02628333680331707, -0.38178473711013794, -0.3586830794811249, 0.9488677382469177, 0.4917960464954376, -0.13192012906074524, 0.4311315417289734, -0.08124629408121109, 0.38509172201156616, -0.707116961479187, 0.16041718423366547, -0.58147132396698, 0.1485644429922104, -0.3658442199230194, -0.3822573125362396, -0.11757437884807587, -0.06748274713754654, -0.09489962458610535, -0.7310259342193604, 0.3663591146469116, -0.4225570261478424, 0.7607502341270447, 0.5293525457382202, -0.2726805508136749, 0.25219208002090454, -0.7851916551589966, 0.3403775691986084, -0.20292429625988007, 0.6423944234848022, 0.01792743243277073, 0.38847464323043823, 0.15863369405269623, -1.0849097967147827, -0.6735759973526001, 0.2441873848438263, 0.26633480191230774, 0.034566525369882584, -0.033344220370054245, 0.22221267223358154, 0.08753819763660431, 0.29486608505249023, -0.6989844441413879, 0.09044831246137619, -0.23217865824699402, -0.0522320419549942, 0.2324279397726059, 0.19775933027267456, 0.49440011382102966, -0.018455317243933678, -0.39290347695350647, -0.3033210337162018, -0.6239420771598816, 0.06963258981704712, 0.08664052188396454, 0.0720643624663353, -0.3548029363155365, 0.5043646693229675, 0.16984575986862183, 0.49183890223503113, -0.031412310898303986, -0.3288765847682953, 0.25128278136253357, -0.45294564962387085, -0.5179899334907532, -0.09551768004894257, 0.934205174446106, 0.43028780817985535, 0.20527124404907227, -0.10056613385677338, 0.05694827437400818, 0.28849512338638306, 0.11978324502706528, -1.164984941482544, -0.1889352649450302, -0.12862877547740936, -0.30884209275245667, 0.08064813166856766, 0.28470274806022644, -0.817424476146698, -0.11388656497001648, -0.2937842607498169, 0.5198634266853333, -0.07701894640922546, -0.35223913192749023, 0.1836821585893631, 0.2379923313856125, 0.20955593883991241, 0.40880587697029114, -0.9728404879570007, -0.08658275008201599, 0.3690602481365204, 0.7310975193977356, -0.30162787437438965, -0.3974566161632538, -0.9855874180793762, 0.3794512152671814, -0.2673906981945038, 0.4947870373725891, -0.33827322721481323, -0.1885790228843689, 0.46672406792640686, 0.04506254196166992, 0.01081536803394556, -0.20507392287254333, 0.08070818334817886, -0.6100776195526123, -0.00023858208442106843, -0.10230712592601776, -0.18719539046287537, 0.17873331904411316, 0.3044934868812561, -0.6281775236129761, 0.7142253518104553, -0.25529253482818604, -0.7645495533943176, 0.6128673553466797, -0.7835606932640076, -0.3939589560031891, 0.1039801761507988, -0.3465343415737152, -0.4208541810512543, 0.08472506701946259, 0.4213128387928009, 0.6000616550445557, 0.016285860911011696, 0.5932527184486389, -0.17006337642669678, -0.3218149244785309, 0.13466596603393555, -0.8774062991142273, 0.11327364295721054, 0.24597038328647614, -0.18063949048519135, 0.19241352379322052, -0.8802635669708252, -0.09369772672653198, -0.04989808425307274, -0.3553100824356079, 0.2875860631465912, -0.047446537762880325, 0.12377502024173737, 0.02097315341234207, 0.05356841906905174, -0.20066896080970764, 0.05028288811445236, -0.14492809772491455, 0.4486117362976074, 0.8598793745040894, -0.1850980818271637, 0.6417261958122253, 0.45919176936149597, 0.679794430732727, 0.07066082954406738, 0.08413545787334442, -0.8307453393936157, 0.11228138208389282, -0.7972209453582764, -0.44253402948379517, -0.06990784406661987, 0.15598233044147491, -1.054439663887024, 0.06507721543312073, -0.8944194912910461, -0.04201525077223778, -0.21501901745796204, 0.23656173050403595, 0.3296937942504883, 0.2290390133857727, 0.3370583951473236, -0.44422197341918945, -0.5112975239753723, -0.257152259349823, 0.019583024084568024, -0.1255655586719513, -0.11637833714485168, -0.14505210518836975, 0.404629111289978, -0.2380629926919937, 0.7821667194366455, -0.5605884194374084, -0.18740056455135345, -0.09902767837047577, 0.293413370847702, -0.0770348533987999, 0.20418575406074524, 0.5585137009620667, -0.8844725489616394, -0.31895485520362854, 0.09161578118801117, -0.7338112592697144, 0.21563518047332764, -0.1343139410018921, 0.13035912811756134, -0.08259454369544983, 0.8811134696006775, -0.6025372743606567, 0.6121443510055542, 0.5948540568351746, -0.14107848703861237, 0.2840675115585327, -0.41315141320228577, 0.2234591841697693, -1.1746282577514648, 0.08620826154947281, -0.3596472442150116, -0.3053903877735138, -0.5146844983100891, 0.08529956638813019, -0.34431955218315125, -0.4509173035621643, -0.9031447768211365, 0.4864200949668884, -0.46437570452690125, -0.2542513608932495, -0.10234473645687103, 0.13755296170711517, -0.21884538233280182, 0.5393195152282715, 0.35519832372665405, 0.8131095767021179, 0.7140095233917236, -0.6411277651786804, 0.4050790071487427, 0.08090950548648834, -0.5084500312805176, 0.3625701069831848, -0.4283079504966736, -0.10432210564613342, -0.36828380823135376, 0.1978410929441452, -0.757506251335144, -0.6539334654808044, -0.08400499820709229, -0.21812009811401367, 0.19883136451244354, -0.27547407150268555, -0.42155835032463074, -0.2006101757287979, -0.24475377798080444, 0.8376820683479309, 0.438920795917511, -0.7681986093521118, 0.7765777111053467, 0.3543550968170166, -0.1267586499452591, -0.7878475189208984, -0.6499058604240417, 0.03375548496842384, -0.2873067259788513, -0.39889246225357056, 0.35769450664520264, -0.26666802167892456, -0.008969416841864586, -0.03851858526468277, -0.18993070721626282, -0.2480497509241104, -0.2751941978931427, 0.4153505265712738, -0.0769357979297638, -0.16567976772785187, 0.2092452198266983, -0.1831691861152649, -0.0769374743103981, -0.10679975152015686, -0.14215585589408875, 0.7468893527984619, -0.21306389570236206, -0.4891916513442993, -0.4078567922115326, 0.2593625783920288, 0.7696675658226013, -0.40355193614959717, 0.4302072525024414, 1.276602864265442, -0.059848200529813766, 0.16324080526828766, -0.37750962376594543, 0.09868830442428589, -0.48723599314689636, 0.7689081430435181, -0.13518519699573517, -1.021990418434143, 0.26758241653442383, -0.1675555408000946, -0.07110540568828583, -0.11263757944107056, 0.8053492903709412, -0.16524314880371094, 0.6372779607772827, 0.6572481989860535, 0.1432839035987854, 1.028115153312683, -0.4684135913848877, 0.1546984612941742, -0.2771666347980499, -0.27143773436546326, -0.03848112002015114, -0.031176399439573288, -0.3380957543849945, -0.710059404373169, 0.3928213119506836, 0.17920611798763275, -0.4309084415435791, 0.12147179245948792, -0.012288954108953476, 0.7874065041542053, 0.08725501596927643, -0.09543431550264359, -0.010073680430650711, 0.3724929392337799, -0.10247249901294708, -0.07417707145214081, -0.5515002608299255, -0.2129097282886505, 0.9094608426094055, 0.15099868178367615, 0.7824556231498718, 0.24637432396411896, 0.607536256313324, 0.16257090866565704, 0.18502989411354065, -0.5991389751434326, 0.8133572936058044, -0.4305097162723541, -0.1962081789970398, -0.10565520077943802, -0.24043987691402435, -0.9290404915809631, 0.33477917313575745, -0.3833375573158264, -0.5509932041168213, -0.3362973630428314, 0.43351924419403076, -0.42305082082748413, 0.5536007881164551, -0.5228379368782043, 0.9979949593544006, -0.5118905305862427, -0.574742317199707, -0.15303029119968414, -0.6443629264831543, 0.15682858228683472, -0.08005405962467194, 0.5182531476020813, 0.19646546244621277, 0.06492948532104492, 0.5193877220153809, -0.5737931132316589, 0.9024904370307922, -0.26203790307044983, -0.04356638714671135, 0.44916096329689026, 0.06243179738521576, 0.19411185383796692, 0.28988218307495117, 0.8143165111541748, -0.017316700890660286, -0.08292979747056961, -0.19641779363155365, -0.6281386613845825, 0.2886938154697418, -0.6478897333145142, -0.34480005502700806, -0.11362051963806152, -0.14370784163475037, 0.10044177621603012, 0.23053108155727386, 0.2834503650665283, 0.5968093276023865, -0.5083763003349304, 0.44982805848121643, 0.5468878746032715, -0.16695594787597656, 0.8950572609901428, 0.24190112948417664, -0.6439095735549927, -0.7683966755867004, 0.9537956118583679, -0.3981497883796692, 0.12666165828704834, 0.6858644485473633, -0.2885156273841858, -0.258364737033844, -0.5152108669281006, -0.2692215144634247, -0.06269394606351852, -0.859110951423645, -0.09553928673267365, -0.352433979511261, 0.022905925288796425, -0.29933756589889526, -0.3070192039012909, -0.5875189900398254, -0.12581075727939606, -0.49507105350494385, -0.3439944386482239, -0.10578067600727081, 0.33870646357536316, -0.0784798413515091, 0.8117375373840332, -0.9951526522636414, 0.6576076745986938, 0.7191989421844482, 0.24410824477672577, -0.36607062816619873, -0.4332057237625122, -0.4073348641395569, -0.23554004728794098, -0.205756276845932, -0.36529916524887085, 0.4277254343032837, 0.42210593819618225, 0.2847002148628235, 0.880316436290741, -0.5642678141593933, 1.1656831502914429, -0.6627841591835022, 1.2336708307266235, 0.8335258960723877, -0.918119490146637, 0.29207509756088257, -0.38029056787490845, 0.3492712676525116, 0.24755410850048065, 0.18907329440116882, -0.317218154668808, 0.24513956904411316, -0.40383484959602356, -1.0004123449325562, 0.31544914841651917, 0.1470867544412613, 0.41183170676231384, -0.04305993393063545, 0.18121054768562317, -0.07726138085126877, 0.1757299154996872, -1.0884246826171875, 0.05937972292304039, -0.6873395442962646, -0.09228809177875519, -0.3392241597175598, -0.17707958817481995, -0.026949642226099968, -0.37700626254081726, 0.0818224847316742, -0.40338370203971863, 0.145722433924675, -0.20320014655590057, -0.6961602568626404, 0.11521174758672714, 0.29190918803215027, 0.7699587941169739, 0.45700690150260925, -0.03372492268681526, 0.30690452456474304, 0.06014816835522652, -0.6919008493423462, 0.5042796730995178, -0.17209097743034363, -0.005809749010950327, -0.011129485443234444, 0.6456143856048584, 1.127536416053772, 0.46535518765449524, -0.8079351186752319, 0.82082200050354, -0.1718158721923828, -0.16664515435695648, -0.3985092043876648, -0.24789880216121674, -0.2839483320713043, 0.2848771810531616, 0.2413521707057953, 0.15795272588729858, -0.3717910647392273, -0.5003458261489868, 0.1613837331533432, 0.45369061827659607, -0.15696118772029877, -0.9750100374221802, 0.9263184070587158, 0.33973023295402527, -0.23472866415977478, 0.31780916452407837, -0.20251038670539856, -0.48085257411003113, 0.10623472929000854, 0.3191329538822174, 0.9773837924003601, 0.056533750146627426, 0.443291574716568, 0.37575796246528625, 0.0002592426317278296, -0.2144727110862732, 0.1948145627975464, -0.4275110960006714, -0.7516708374023438, -0.8022208213806152, -0.7060831189155579, 0.16429565846920013, 0.24260684847831726, -0.5714025497436523, 0.22477461397647858, -0.3334985077381134, -0.39029476046562195, -0.34368929266929626, -0.5476914644241333, -0.9036117196083069, 0.16381768882274628, 0.3483058214187622, 0.2629280686378479, -0.736001193523407, 0.8695838451385498, 0.7780943512916565, -0.4533195197582245, -0.519548237323761, 0.009857199154794216, -0.2793145775794983, -0.6605623364448547, 1.0585353374481201, 0.12238195538520813, -0.26519259810447693, -0.1987961381673813, -0.44082438945770264, -0.6775579452514648, 1.0785164833068848, 0.8235788941383362, -0.4932365417480469, -0.3338242471218109, 0.458211749792099, 0.38745054602622986, -0.2364177703857422, 0.07421361654996872, 0.22129778563976288, 0.20089936256408691, 0.2713620364665985, -0.8008463382720947, -0.6086137294769287, -0.09305532276630402, 0.05140224099159241, 0.255869060754776, -0.5400923490524292, 0.8472327589988708, -0.23930269479751587, -0.298728346824646, 0.004842492286115885, 0.7540252804756165, -0.20342642068862915, 0.15494133532047272, 0.4474901556968689, 0.7034564018249512, 0.3747960031032562, -0.10214118659496307, 0.5476918816566467, -0.1814168393611908, 0.19379229843616486, 1.2163922786712646, 0.1151617094874382, 0.8388352990150452, 0.7488333582878113, -0.1090339943766594, 0.32398611307144165, 0.3344751298427582, 0.26375770568847656, 0.6529151201248169, -0.07287238538265228, -0.4250338673591614, -0.587736189365387, -0.002662196522578597, -0.31458625197410583, 0.8899956345558167, 0.2576085329055786, -0.25518012046813965, -0.38265329599380493, 0.19794932007789612, -0.11486655473709106, 0.058997683227062225, -0.6277928352355957, 0.6564264297485352, -0.14025971293449402, -0.44548940658569336, 0.4526940882205963, -0.32967057824134827, 0.5343470573425293, -0.7684471011161804, 0.10710671544075012, -0.23513750731945038, 0.2551761567592621, 0.006603233516216278, -0.5413051843643188, 0.03730132803320885, 0.3185807168483734, 0.05267513543367386, -0.44404682517051697, 0.33006590604782104, -0.6663640737533569, -0.23960210382938385, 0.1064065471291542, 0.3409370481967926, 0.15138375759124756, -0.030380401760339737, -0.31562280654907227, 0.4840604066848755, -0.08547811955213547, -0.20455345511436462, 0.4179365038871765, 0.37649211287498474, -0.07449958473443985, 0.5115677118301392, 0.5297979116439819, -0.05503424257040024, 0.16806484758853912, 0.3398972153663635, 0.9119465947151184, -0.4679183065891266, -0.4359736144542694, -1.0008697509765625, 0.7367520928382874, 0.24278780817985535, 0.07932771742343903, 0.41873863339424133, 0.4543159604072571, 0.8660427927970886, -0.2566052973270416, 0.48311978578567505, 0.15029631555080414, -0.34818539023399353, -0.9752604961395264, 0.49830177426338196, -0.6382240056991577, -0.018323101103305817, -0.4197387099266052, -0.9474250078201294, -0.4716893434524536, 0.3516189157962799, 0.14310353994369507, -0.09774114191532135, 0.5972207188606262, 0.586030900478363, -0.12625570595264435, -0.43211159110069275, 0.4283237159252167, 0.16355891525745392, 0.6475787162780762, 0.3376973271369934, 0.7835685014724731, -0.35211482644081116, 0.9219915866851807, 0.18741430342197418, 0.1435919851064682, -0.0869886577129364, -1.180219054222107, -1.0338808298110962, -0.7399358749389648, -0.2262933999300003, 0.20881260931491852, -0.042994361370801926, 0.8324815034866333, 0.8611270785331726, -0.3117818236351013, -0.18562625348567963, -0.05982964485883713, -0.364464670419693, 0.16105417907238007, -0.10779798030853271, 0.5141032338142395, -0.029333829879760742, -0.5854426026344299, 0.4762478470802307, 0.42777490615844727, 0.32427769899368286, -0.28579697012901306, -0.32404226064682007, 0.2077307552099228, -0.17410387098789215, 0.9906743168830872, 0.43481767177581787, -0.5986987352371216, -0.3605298697948456, -0.16921775043010712, 0.4578937888145447, 0.17685049772262573, 1.256239414215088, -0.6128595471382141, 0.6639618873596191, 0.4121842384338379, 0.5714706182479858, 1.0813982486724854, 0.09608741104602814, 0.3329693377017975, -1.0601719617843628, 0.7761024236679077, -0.08889881521463394, 0.564914345741272, 0.3035344183444977, 0.27484285831451416, 0.2785082161426544, 0.2667902410030365, -0.24402371048927307, -0.9632206559181213, 0.3748556971549988, -1.054723858833313, -0.1330718845129013, 0.8850340843200684, -0.2507552206516266, -0.1882942020893097, 0.4344812035560608, -0.05725574865937233, 0.310472309589386, -0.09421088546514511, 0.4059200882911682, 0.35262250900268555, 0.24919825792312622, -0.5098069310188293, -0.13149312138557434, 0.41376793384552, 0.15105587244033813, -0.7445248365402222, 0.08802071213722229, 0.5675288438796997, 0.1458115428686142, 0.13330700993537903, 0.8618855476379395, -0.1419258564710617, 0.3241153657436371, 0.03224143758416176, 0.11766967177391052, -0.1701454520225525, -0.602851152420044, -0.31564733386039734, 0.3880399465560913, -0.16918161511421204, -0.3337578773498535 ]
http://arxiv.org/abs/2402.03142v2
http://arxiv.org/pdf/2402.03142v2
Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Models
2024-02-05T16:11:43
2024-06-09T10:32:03
Michele Mastromattei, Fabio Massimo Zanzotto
cs.LG
cs.LG, cs.CL
Neural network pruning has become increasingly crucial due to the complexity of these models and their widespread use in various fields. Existing pruning algorithms often suffer from limitations such as architecture specificity, excessive complexity and reliance on demanding calculations, rendering them impractical for real-world applications. This paper introduces KEN: a straightforward, universal and unstructured pruning algorithm based on Kernel Density Estimation (KDE). KEN aims to construct optimized transformers by selectively preserving the most significant parameters while restoring others to their pre-training state. This strategy preserves model performance while enabling storage of only the optimized subnetwork, leading to substantial memory savings. Extensive evaluations across seven different LLMs demonstrate that KEN achieves equal or better performance than their original unpruned versions, with a minimum parameter reduction of 25%. Furthermore, in-depth comparisons with established pruning and PEFT algorithms confirm KEN effectiveness. We further introduce KEN$_{viz}$, an explainable tool that visualizes the optimized model composition achieved by KEN from different points of view.
[ -0.531602144241333, -0.8067396879196167, 0.6259188652038574, 0.08296482264995575, -0.4674709737300873, -0.25636786222457886, -0.5457243919372559, -0.03811994940042496, 0.6035370230674744, 0.41067567467689514, -0.7610751986503601, -0.6279016733169556, -0.32586604356765747, -0.27490636706352234, -0.5116685032844543, 0.6425462365150452, 0.231089785695076, -0.35024315118789673, -0.3316648602485657, -0.22799646854400635, -0.3062928318977356, -0.11435108631849289, -0.5311479568481445, -0.3781750798225403, 0.6842634081840515, 0.7328712344169617, 0.2836698293685913, 0.4797671139240265, 0.31254562735557556, 0.3203064501285553, -0.24692970514297485, -0.08648224174976349, -0.6337876915931702, 0.25589436292648315, 0.45621851086616516, -0.4698862135410309, -0.12585186958312988, -0.23262882232666016, 0.7838980555534363, 0.9291636943817139, -0.41420790553092957, 0.17868748307228088, 0.003449207404628396, 1.0415468215942383, -0.9437312483787537, 0.000050807910156436265, -0.7031605839729309, 0.1687726080417633, -0.021238991990685463, 0.11030665040016174, -0.361092746257782, -0.09154809266328812, 0.06895172595977783, -0.7452433109283447, 0.1556439995765686, -0.38960352540016174, 0.907792329788208, 0.28628265857696533, -0.29682374000549316, 0.4624437391757965, -0.9087692499160767, 1.2589035034179688, -0.7844823002815247, 0.7673314809799194, 0.16676545143127441, 0.4489165246486664, 0.0547664612531662, -0.7043807506561279, -0.5460442900657654, -0.25249361991882324, 0.10653141885995865, 0.30924996733665466, -0.18566292524337769, 0.30573078989982605, 0.08204621076583862, 0.051947567611932755, -0.2544861435890198, 0.15776431560516357, -0.45868194103240967, -0.20261980593204498, 0.5830527544021606, -0.017231235280632973, -0.0798996239900589, -0.22998309135437012, -0.2197788655757904, -0.43934765458106995, -0.6292440891265869, 0.09535084664821625, 0.4363950788974762, -0.025604337453842163, -0.02790205366909504, 0.4155885875225067, -0.18781201541423798, 0.627549409866333, -0.21256287395954132, -0.33603644371032715, -0.24137239158153534, 0.061693303287029266, -0.46293601393699646, -0.00723994430154562, 0.8425659537315369, 0.5538106560707092, 0.46480220556259155, -0.20951275527477264, -0.0007929125567898154, 0.18462145328521729, 0.5053059458732605, -0.5667796730995178, -0.7125293612480164, -0.1072193905711174, -0.7420135736465454, -0.5009145736694336, -0.10802286863327026, -0.8540326356887817, -0.14539022743701935, -0.40295082330703735, 0.029808437451720238, -0.3211817145347595, -0.36491817235946655, -0.10803055018186569, 0.009736938402056694, 0.15817053616046906, 0.5009490251541138, -0.6486769318580627, 0.29846298694610596, 0.7519203424453735, 0.757172167301178, 0.1677805781364441, -0.008640569634735584, -0.33760228753089905, 0.03288775682449341, -0.6206175088882446, 0.32067328691482544, -0.6048551797866821, -0.359211266040802, -0.3836618661880493, -0.060665808618068695, 0.12671220302581787, -0.37917762994766235, 0.7737141251564026, -0.4128556549549103, -0.37630587816238403, -0.3616728186607361, -0.4536155164241791, -0.634775698184967, 0.20600618422031403, -0.7626705169677734, 0.89597088098526, 0.15055176615715027, -0.6365396976470947, 0.2389131784439087, -0.40887534618377686, -0.36618030071258545, 0.030847836285829544, -0.07932548969984055, -0.6507018804550171, 0.6710512042045593, 0.1451444774866104, 0.5752694010734558, -0.2538440227508545, 0.4481324851512909, -0.3901601731777191, -0.16170500218868256, -0.36770981550216675, -0.4207986891269684, 0.5839705467224121, 0.22236138582229614, 0.04444783926010132, 0.14894692599773407, -0.8610104918479919, 0.11912654340267181, 0.27426645159721375, -0.5109198093414307, -0.6434441208839417, 0.2082781195640564, 0.1020694151520729, -0.07534875720739365, 0.06272105872631073, -1.066692590713501, 0.02278813160955906, -0.5547057390213013, 0.7742305994033813, 0.7369128465652466, -0.07170112431049347, 0.7845581769943237, -0.2200535088777542, 0.5713412165641785, 0.05342629924416542, 0.32909658551216125, 0.11635243147611618, -0.46616214513778687, -1.1526011228561401, 0.06138359755277634, 0.5940582156181335, 0.24724316596984863, -0.45628541707992554, 0.43226978182792664, -0.5433880090713501, -0.6447388529777527, -0.5288191437721252, 0.480594664812088, 0.15219596028327942, 0.8857949376106262, 0.11344847083091736, -0.37028270959854126, -0.6709020137786865, -1.5040873289108276, 0.17941570281982422, -0.2923261821269989, 0.07757803052663803, 0.35151734948158264, 0.16934438049793243, -0.054917093366384506, 0.9669697880744934, -0.3200593590736389, -0.166193887591362, -0.4590356647968292, -0.14860326051712036, 0.22895213961601257, 0.5638805627822876, 0.17531119287014008, -0.6047762632369995, -0.8046936988830566, 0.2067296802997589, -0.5742266774177551, 0.26794126629829407, -0.1964181363582611, -0.0024099242873489857, -0.06433884054422379, 0.5646304488182068, -0.6021966338157654, 0.2721163034439087, 0.5065708756446838, 0.34292617440223694, 0.5274161100387573, -0.30037349462509155, -0.6520383358001709, -0.6937282681465149, 0.19926616549491882, 0.2982345223426819, -0.37466496229171753, -0.6678581833839417, 0.05774267390370369, 0.34107327461242676, -0.27174636721611023, -0.2958712577819824, 0.2943710684776306, -0.3178008198738098, -0.0509796068072319, 0.03357047587633133, -0.30293190479278564, 0.1893898844718933, 0.7105638980865479, -0.020632151514291763, 0.5597715377807617, 0.38200074434280396, -0.6684985160827637, 0.1866127848625183, 0.2505433261394501, -0.7912828922271729, 0.4492943584918976, -0.6584575772285461, -0.021401019766926765, -0.46760979294776917, 0.14397935569286346, -0.7589346170425415, 0.057436972856521606, 0.01916773058474064, -0.12788403034210205, 0.4089865982532501, -0.36773011088371277, -0.26625877618789673, -0.2508851885795593, -0.38346385955810547, 0.005507725290954113, 0.9130808711051941, -0.42148083448410034, 0.5882395505905151, 0.4573286175727844, -0.21627506613731384, -0.2710716724395752, -0.5733223557472229, 0.15928050875663757, -0.3428349792957306, -0.8256096839904785, 0.4430799186229706, -0.11623485386371613, -0.20157429575920105, 0.06426942348480225, -0.4146275222301483, -0.30936551094055176, 0.33013954758644104, 0.06416743248701096, 0.06702416390180588, -0.4061190187931061, -0.023001737892627716, 0.27038344740867615, -0.30400583148002625, -0.07551360130310059, -0.10720431059598923, 0.4039233326911926, 0.16604584455490112, -0.23984664678573608, -0.6745357513427734, 0.4388573467731476, 0.5458848476409912, 0.036248959600925446, 0.4962030351161957, 0.4500008225440979, -0.022636929526925087, -0.5276374220848083, -0.5379207134246826, -0.33421021699905396, -0.5523809194564819, 0.49383285641670227, -0.3286002576351166, -0.6317874193191528, 0.3332473933696747, -0.23971663415431976, 0.2894997298717499, 0.34811845421791077, 0.08622951060533524, -0.41544580459594727, 1.1592001914978027, 0.7142403721809387, -0.16032561659812927, 0.3810514211654663, -0.5190091729164124, 0.36619219183921814, -1.0825939178466797, -0.11517191678285599, -0.2486724704504013, -1.0896642208099365, -0.2719326615333557, -0.06494691967964172, 0.4193764925003052, 0.3087407648563385, 0.057910289615392685, 0.39951077103614807, -0.8970959186553955, 0.7698534727096558, 0.8988932967185974, -0.15833377838134766, -0.04303247109055519, 0.2630620002746582, -0.2596789598464966, -0.30362629890441895, -1.0336823463439941, -0.16328762471675873, 1.20159912109375, 0.3827633559703827, 0.7153401970863342, -0.27590733766555786, 0.7628002762794495, -0.08819771558046341, 0.21877111494541168, -0.9567263722419739, 0.7386177182197571, -0.24117065966129303, -0.40190064907073975, -0.3778584599494934, -0.5902394652366638, -0.9627480506896973, 0.05667298287153244, -0.010105053894221783, -0.7399678230285645, 0.41927531361579895, 0.161025732755661, -0.4778361916542053, 0.5377054214477539, -0.8949511647224426, 0.511204183101654, 0.025557417422533035, 0.052787698805332184, -0.09574553370475769, -0.6409786939620972, 0.5671347975730896, -0.20157626271247864, -0.12742280960083008, -0.14922644197940826, 0.097439706325531, 0.9169324040412903, -0.7237796187400818, 0.6616005897521973, -0.47399869561195374, -0.01853223703801632, 0.1570434272289276, 0.3457213342189789, 0.8195510506629944, -0.07424131035804749, 0.1645727902650833, 0.20402246713638306, 0.12815415859222412, -0.15184266865253448, -0.72048020362854, 1.1606189012527466, -0.7685916423797607, -0.4106787145137787, 0.35109642148017883, -0.5617055892944336, -0.20715543627738953, -0.0792509987950325, 0.10470809042453766, 0.27798992395401, -0.07768670469522476, 0.614424467086792, 0.6547025442123413, -0.46138864755630493, 0.6496577858924866, 0.35598281025886536, 0.23124480247497559, -0.45597395300865173, 1.388104796409607, 0.43904373049736023, -0.030521368607878685, 0.5222513675689697, 0.31976261734962463, -0.24323676526546478, -0.5874505043029785, -0.11363724619150162, 0.3324087858200073, -0.7526547908782959, -0.1888219118118286, -0.7266281247138977, -0.237730473279953, -0.11990930140018463, -0.41870981454849243, -0.5581628680229187, -0.7289940714836121, 0.1718979775905609, -0.051592033356428146, 0.30357858538627625, 0.5081512928009033, -0.1060752123594284, 0.8819057941436768, -0.6459174156188965, 0.2365630865097046, 0.6329030990600586, 0.4718383550643921, 0.29803499579429626, 0.12378185987472534, 0.0223722942173481, -0.017967751249670982, -0.3355235159397125, -0.5565088391304016, 0.5720486044883728, 0.45664525032043457, 0.2979702055454254, 0.6385274529457092, 0.2228745073080063, 0.7239227294921875, -0.4449107348918915, 0.42231711745262146, 0.5652495622634888, -0.5996547341346741, 0.2869264781475067, -0.16351287066936493, 0.2969733476638794, 0.9716383814811707, -0.1381087601184845, -0.7590756416320801, -0.027791891247034073, -0.9040257334709167, -0.9831769466400146, 0.8336834907531738, 0.27304187417030334, 0.23602990806102753, 0.11179559677839279, 0.15160655975341797, 0.11952820420265198, 0.19308306276798248, -0.5797221064567566, -0.45780640840530396, -0.0765327587723732, -0.48484885692596436, -0.1700962483882904, -0.5475386381149292, -0.0681939572095871, -0.6062378883361816, 0.8571821451187134, 0.23295941948890686, 0.47871389985084534, 0.06872742623090744, -0.2739414870738983, -0.04224921762943268, 0.11522475630044937, 0.5703045129776001, 0.4914328455924988, -0.3284679353237152, 0.135995551943779, 0.10346189886331558, -0.5174047350883484, 0.1281803399324417, -0.1848500669002533, -0.5839779376983643, 0.4174036979675293, 0.07107415050268173, 0.8598776459693909, 0.31993839144706726, -0.4791349768638611, 0.497329980134964, -0.17188911139965057, -0.6687563061714172, -0.3832670748233795, 0.07384134083986282, 0.20750753581523895, -0.07632289081811905, 0.02259024977684021, 0.05240092799067497, -0.18853439390659332, 0.20917187631130219, 0.04865860939025879, 0.509551465511322, -0.5999625325202942, -0.4488370716571808, 0.5687370300292969, 0.4579198658466339, -0.3538462519645691, 0.844338595867157, 0.13340641558170319, -0.2073039561510086, 0.7609715461730957, 0.1514660120010376, 0.899052619934082, -0.0007780459709465504, 0.42144089937210083, 0.353371262550354, 0.5642820596694946, 0.09974616020917892, 0.20100921392440796, -0.5438404083251953, -0.679658055305481, -0.7850586175918579, -0.977448582649231, 0.07722391933202744, 0.6756349802017212, -0.45514965057373047, 0.05950305238366127, -0.9768546223640442, -0.07791555672883987, 0.18224479258060455, 0.02843637205660343, -0.6129066944122314, 0.007244899403303862, -0.15998360514640808, 1.0521107912063599, -0.8130194544792175, 0.998944878578186, 0.5795571208000183, -0.03440718352794647, -0.7901275753974915, -0.537801206111908, -0.1778385490179062, -0.6922309994697571, 0.6235501170158386, 0.1704460233449936, 0.5444014668464661, 0.5228779315948486, -0.559832751750946, -0.7956973910331726, 0.9066675305366516, 0.6927149295806885, -1.1638883352279663, -0.08724252134561539, -0.061254970729351044, -0.1509120911359787, 0.17246611416339874, -0.11056048423051834, 0.501843273639679, 0.8462867140769958, -0.07488417625427246, -0.6104872822761536, -0.30644282698631287, -0.44661664962768555, 0.09907183796167374, 0.9650249481201172, -0.3748341202735901, 0.6235196590423584, 0.29923713207244873, -0.30527520179748535, 0.058991771191358566, 0.3214402198791504, -0.03066464327275753, -0.0003161212080158293, 0.8399388194084167, 1.1548219919204712, 0.45255202054977417, 0.03265762701630592, 1.1000336408615112, -0.3566346764564514, 0.17733733355998993, 0.8344326615333557, -0.11281481385231018, 0.4343456029891968, 0.7913366556167603, -0.3157537281513214, 0.29775097966194153, 0.3551984131336212, 0.008841194212436676, 0.7523996233940125, 0.07192141562700272, -0.264978289604187, -0.606764018535614, -0.1133328303694725, -0.09730719774961472, 0.3619925081729889, 0.12200788408517838, -0.267183780670166, -0.7188101410865784, -0.07057345658540726, 0.05350128188729286, -0.09944760799407959, -0.13167335093021393, 0.7647132277488708, 0.29664546251296997, -0.5685396790504456, 0.6632969975471497, 0.46192067861557007, 0.5658072233200073, -0.8292595744132996, 0.0911203920841217, -0.28752627968788147, 0.12234475463628769, 0.1305713802576065, -0.12828046083450317, 0.3536771833896637, -0.28753748536109924, -0.31614622473716736, -0.44568607211112976, 0.8712978959083557, -0.1857171505689621, -0.815657377243042, 0.10134723782539368, 0.22886109352111816, 0.06224382668733597, -0.1752627193927765, -0.7829965353012085, 0.046116989105939865, 0.08242826163768768, -0.18088671565055847, 0.425732284784317, 0.15082912147045135, -0.05973628908395767, 0.7000570297241211, 0.9097622036933899, 0.2915692627429962, 0.03609583154320717, -0.08441581577062607, 0.7924230694770813, -0.42385217547416687, -0.5186521410942078, -0.7143973708152771, 0.5217717289924622, -0.13323314487934113, -0.26589885354042053, 0.6293165683746338, 0.4086807370185852, 0.594496488571167, 0.09596647322177887, 0.6170060038566589, 0.19353744387626648, 0.32915377616882324, -0.30583953857421875, 0.844879150390625, -0.6266554594039917, 0.08706191927194595, -0.11503022909164429, -1.2775901556015015, -0.023808471858501434, 0.8923292756080627, -0.20485538244247437, -0.18810251355171204, 0.4496610760688782, 0.6804252862930298, -0.5821272134780884, -0.09028524905443192, 0.6571663618087769, 0.2028827965259552, 0.14551293849945068, 0.4929440915584564, 0.5484602451324463, -0.15045814216136932, 0.519515872001648, -0.8679875731468201, 0.22599424421787262, 0.02954249642789364, -0.7362825870513916, -0.5195654034614563, -0.5230355262756348, -0.3820599317550659, 0.22548434138298035, -0.24422107636928558, 0.4298000931739807, 1.2110639810562134, -0.6405422687530518, -0.0845043882727623, -0.6733798384666443, 0.10801373422145844, -0.14182785153388977, -0.2086532562971115, 0.2227145880460739, -0.1570320576429367, -0.49596133828163147, 0.8954662084579468, 0.3507351577281952, -0.24583043158054352, -0.4095665514469147, -0.3026905357837677, -0.1906801462173462, 0.01590782403945923, 0.48239192366600037, 0.37152475118637085, -0.6176824569702148, -0.04101923853158951, -0.15355385839939117, 0.37631475925445557, 0.1205584928393364, 0.6653676629066467, -1.00911283493042, 0.5763747096061707, 0.497690349817276, 0.7876455783843994, 0.6040185689926147, -0.04602552577853203, 0.7207414507865906, -1.2649223804473877, 0.2840169370174408, 0.38825929164886475, 0.37734749913215637, 0.19909097254276276, 0.025760704651474953, 0.2312229424715042, 0.22152823209762573, -0.2836189866065979, -1.0527890920639038, 0.3888646960258484, -0.857352077960968, -0.40913838148117065, 1.009526014328003, 0.1505313217639923, -0.5991556644439697, -0.017231304198503494, 0.060683537274599075, 0.01504223421216011, -0.4629164934158325, 0.5918623805046082, 0.6477599143981934, 0.5819608569145203, -0.48863619565963745, -0.853740394115448, 0.3035784661769867, 0.7802481651306152, -0.3308786451816559, -0.14424842596054077, 0.3078896105289459, 0.244953915476799, 0.008689358830451965, 0.3969281315803528, 0.25856295228004456, -0.06569130718708038, -0.2562634348869324, 0.05459652468562126, -0.34455519914627075, -0.5890584588050842, -0.3177487552165985, 0.2986299693584442, 0.006900324020534754, -0.20924967527389526 ]
http://arxiv.org/abs/2402.03137v1
http://arxiv.org/pdf/2402.03137v1
Sociolinguistically Informed Interpretability: A Case Study on Hinglish Emotion Classification
2024-02-05T16:05:32
2024-02-05T16:05:32
Kushal Tatariya, Heather Lent, Johannes Bjerva, Miryam de Lhoneux
cs.CL
cs.CL, cs.LG
Emotion classification is a challenging task in NLP due to the inherent idiosyncratic and subjective nature of linguistic expression, especially with code-mixed data. Pre-trained language models (PLMs) have achieved high performance for many tasks and languages, but it remains to be seen whether these models learn and are robust to the differences in emotional expression across languages. Sociolinguistic studies have shown that Hinglish speakers switch to Hindi when expressing negative emotions and to English when expressing positive emotions. To understand if language models can learn these associations, we study the effect of language on emotion prediction across 3 PLMs on a Hinglish emotion classification dataset. Using LIME and token level language ID, we find that models do learn these associations between language choice and emotional expression. Moreover, having code-mixed data present in the pre-training can augment that learning when task-specific data is scarce. We also conclude from the misclassifications that the models may overgeneralise this heuristic to other infrequent examples where this sociolinguistic phenomenon does not apply.
[ -0.11802847683429718, -0.45009538531303406, 0.3225724399089813, 0.5769752264022827, -0.08411332964897156, 0.3798788785934448, -0.3813284933567047, -0.8437849283218384, 0.13725414872169495, 0.34035947918891907, -0.16150452196598053, -0.42047223448753357, -0.7289189100265503, 0.11074452102184296, 0.08808793872594833, 0.8565186262130737, 0.024073036387562752, 0.09945090860128403, 0.05645088478922844, -0.4544367790222168, -0.3820238411426544, -0.9028469324111938, -0.5347614288330078, -0.5927127599716187, 0.531738817691803, 0.41879504919052124, 0.7208480834960938, 0.1734735518693924, 0.3218129277229309, 0.21216310560703278, -0.2662038505077362, -0.2470589280128479, -0.5544442534446716, 0.041056327521800995, -0.16968269646167755, -0.7311480641365051, -0.24209243059158325, 0.20165911316871643, 0.16789071261882782, 0.575133204460144, -0.2749646008014679, 0.13092371821403503, 0.179690420627594, 0.8362765908241272, -0.7192670702934265, 0.5195705890655518, -0.4805431365966797, 0.267465204000473, -0.2286517322063446, -0.26773181557655334, -0.5074118375778198, -0.2933160364627838, 0.35314688086509705, -0.3424831032752991, -0.23988699913024902, 0.10645128041505814, 0.8870633244514465, 0.25708454847335815, -0.492116779088974, -0.3890094757080078, -0.6734863519668579, 0.6725829839706421, -0.7324651479721069, 0.4030960500240326, 0.5098283886909485, 0.31555330753326416, 0.4177352786064148, -0.2591438889503479, -0.5321571230888367, -0.05942405387759209, -0.3151683807373047, 0.3744099736213684, -0.020066028460860252, 0.2450595498085022, 0.2194187343120575, 0.22205276787281036, -0.5957445502281189, 0.16504187881946564, -0.24219629168510437, -0.05843951180577278, 0.6747770309448242, -0.03467675298452377, 0.33403512835502625, -0.8415831923484802, -0.18839587271213531, 0.30145952105522156, -0.7708442807197571, 0.14901641011238098, 0.5061408281326294, 0.29950112104415894, -0.5066121220588684, 0.5112012624740601, -0.025754040107131004, 0.45959508419036865, 0.14472654461860657, -0.05799631029367447, 0.4714711904525757, 0.17934085428714752, -0.17006410658359528, 0.2770337164402008, 0.5451491475105286, 0.30628910660743713, 0.7412379384040833, 0.034124381840229034, -0.014471620321273804, 0.4497222900390625, 0.05583859607577324, -0.6110740900039673, -0.1875283420085907, 0.32539132237434387, -0.6210049390792847, -0.2804652452468872, -0.23299159109592438, -1.0241105556488037, -0.6146461367607117, -0.23680463433265686, 0.3196963369846344, -0.30677032470703125, -0.650701105594635, 0.3391382098197937, 0.10693974047899246, 0.13942588865756989, 0.015524080954492092, -0.7878307104110718, 0.040985092520713806, 0.4437108039855957, 0.5605365037918091, 0.016048841178417206, -0.41211366653442383, -0.16319289803504944, -0.10830090939998627, -0.24873043596744537, 0.5178699493408203, -0.6802527904510498, -0.23715859651565552, 0.20942579209804535, 0.030426595360040665, -0.32090309262275696, -0.6284294724464417, 0.28968390822410583, -0.4558987617492676, 0.19742842018604279, 0.013181118294596672, -0.42991921305656433, -0.24641117453575134, 0.01217668130993843, -0.49707654118537903, 1.0396606922149658, 0.21110862493515015, -0.7788117527961731, 0.4674428701400757, -0.44484609365463257, -0.759373664855957, 0.1691032499074936, 0.01660483330488205, -0.23967303335666656, 0.22089791297912598, -0.2753579020500183, 0.6349220871925354, 0.016678432002663612, 0.42620566487312317, -0.42389458417892456, -0.2630106508731842, 0.13172771036624908, 0.019131192937493324, 0.5858008861541748, 0.37892529368400574, -0.4937939941883087, 0.012720038183033466, -0.8140429258346558, -0.050421494990587234, 0.09275630861520767, -0.43188777565956116, -0.5017809271812439, 0.13328517973423004, -0.0861932784318924, 0.5785030722618103, 0.20675088465213776, -0.3349977731704712, -0.1990959495306015, -0.6407841444015503, 0.15597869455814362, 0.6625634431838989, -0.03147413954138756, 0.42620915174484253, -0.032341647893190384, 0.9270431399345398, 0.09880182892084122, 0.05790301039814949, 0.20123307406902313, -0.5206770300865173, -0.6544268131256104, 0.04682181030511856, 0.16049864888191223, 0.6955283284187317, -0.8059118986129761, 0.2805050313472748, 0.11250211298465729, -0.43521201610565186, -0.8929728269577026, -0.03004264272749424, 0.4199548661708832, 0.34265169501304626, 0.22236180305480957, -0.11489164084196091, -0.796508252620697, -0.598761260509491, -0.5541951060295105, -0.43161913752555847, 0.24322988092899323, 0.556780219078064, 0.15841837227344513, -0.24897810816764832, 0.6890879273414612, -0.28387588262557983, 0.1022525206208229, -0.6652427315711975, 0.5996052622795105, 0.08886393159627914, 0.14837409555912018, 0.6410942673683167, -0.8684221506118774, -0.8514115810394287, 0.18462635576725006, -0.7571485638618469, -0.3865583539009094, -0.16521908342838287, -0.09203937649726868, 0.4426560401916504, 0.22367875277996063, -0.58535236120224, 0.6055733561515808, 0.6806753873825073, -0.3582966923713684, 0.6571685075759888, -0.09566592425107956, 0.15387949347496033, -1.0697672367095947, -0.24794024229049683, 0.12757036089897156, 0.08719952404499054, -0.6467440128326416, -0.05209188535809517, 0.10436464846134186, -0.14166156947612762, -0.5488578081130981, 0.5939218997955322, -0.552004873752594, -0.14223918318748474, -0.24650093913078308, -0.0869501605629921, -0.11612268537282944, 0.5183623433113098, 0.4367736279964447, 0.37949371337890625, 0.7773816585540771, -0.47962242364883423, 0.10433997213840485, 0.1131744459271431, -0.4456430673599243, 0.45961910486221313, -0.4550583064556122, -0.0981733500957489, -0.3787495791912079, -0.22454284131526947, -0.7828378677368164, -0.43224257230758667, 0.06267274916172028, -0.4234327971935272, 0.39010047912597656, -0.3180462121963501, -0.2573202848434448, -0.06196759641170502, 0.12026873230934143, 0.15696945786476135, 0.7420443296432495, -0.6564841866493225, 0.6560238599777222, 0.42983123660087585, -0.3977113962173462, -0.5271701216697693, -0.6042687296867371, 0.07775215059518814, -0.49899810552597046, -0.2939893305301666, -0.15149854123592377, -0.090456023812294, -0.4315476715564728, -0.18388819694519043, 0.013483408838510513, -0.18678800761699677, 0.27366673946380615, 0.47007524967193604, 0.17816513776779175, -0.1319475919008255, 0.3966527283191681, -0.24196229875087738, -0.008677969686686993, 0.26363351941108704, 0.2868990898132324, 0.6550732851028442, -0.16300253570079803, -0.2550608515739441, -0.06788339465856552, 0.3107233941555023, 0.5055006742477417, -0.41989806294441223, 0.8572071194648743, 0.565182626247406, -0.4165024757385254, -0.18628063797950745, -0.2291851043701172, 0.25563865900039673, -0.4177580773830414, 0.42667001485824585, -0.38744327425956726, -0.7104100584983826, 0.5165688395500183, -0.04847246780991554, -0.4218885004520416, 0.4396454393863678, 0.5357336401939392, -0.2825746238231659, 1.2878003120422363, 0.7567468285560608, -0.21815969049930573, 0.6108769774436951, 0.17849813401699066, 0.5949167609214783, -0.3088635802268982, 0.021268868818879128, -0.593847393989563, -0.14334742724895477, -0.9217764735221863, 0.07834363728761673, 0.22170495986938477, 0.11259804666042328, 0.05172952264547348, 0.05362588167190552, -0.2661493122577667, 0.47961685061454773, 0.03233547881245613, 0.16554899513721466, -0.11021117866039276, -0.16779743134975433, 0.26729708909988403, -0.1858985871076584, -0.6889604926109314, -0.42403167486190796, 0.8229964971542358, 0.4129679799079895, 0.8523730635643005, 0.1971636414527893, 0.8797856569290161, 0.00575780076906085, 0.6221497058868408, -0.9142681956291199, 0.33721476793289185, -0.004629909992218018, -0.5870367288589478, -0.05377431586384773, -0.4752160608768463, -0.8605791926383972, 0.036663684993982315, -0.3324020206928253, -0.7866978049278259, 0.30885350704193115, 0.13631181418895721, -0.25580310821533203, -0.0686647817492485, -1.0432487726211548, 0.9490239024162292, -0.3894599378108978, -0.30769234895706177, -0.3701581358909607, -0.8490341305732727, 0.1582941710948944, -0.26474013924598694, 0.5130714774131775, -0.13618029654026031, 0.4988514482975006, 0.7352883815765381, -0.0911615863442421, 1.0582880973815918, -0.3461413085460663, -0.0075880433432757854, 0.25091853737831116, 0.021955063566565514, 0.23177318274974823, -0.16251255571842194, -0.38522255420684814, 0.1219094842672348, 0.029648490250110626, -0.45726102590560913, -0.7513982653617859, 0.2554517984390259, -0.6779350638389587, -0.5630807876586914, -0.4254266917705536, -0.3768962323665619, -0.37480753660202026, -0.002785073360428214, 0.2549951672554016, 0.18216080963611603, -0.02821141481399536, 0.05607886612415314, 0.36560019850730896, -0.32969558238983154, 0.17181845009326935, 0.5759894251823425, -0.2808443605899811, 0.15247321128845215, 0.9162374138832092, 0.21181747317314148, 0.3703747093677521, 0.19325639307498932, 0.5089727640151978, -0.15879803895950317, -0.4015171229839325, -0.06293531507253647, 0.15055878460407257, -0.8708385229110718, 0.17352157831192017, -0.4549773037433624, -0.10126685351133347, -0.42995917797088623, -0.23907622694969177, -0.15616045892238617, -0.3408089578151703, -0.3330344557762146, -0.36459705233573914, 0.2679170072078705, 1.097643256187439, -0.12269827723503113, 0.3124368488788605, -0.8474389314651489, 0.2042362242937088, 0.1301468163728714, 0.44784805178642273, 0.011357615701854229, -0.5551249384880066, -0.48385727405548096, -0.06323399394750595, 0.13334637880325317, -1.307083010673523, 0.7474029064178467, 0.34131383895874023, 0.42791280150413513, 0.4097990095615387, 0.07690457999706268, 0.564235270023346, -0.18923503160476685, 0.6685164570808411, 0.03397072106599808, -0.9614747166633606, 0.5476035475730896, -0.16548290848731995, 0.2819127142429352, 0.42554154992103577, 0.7804738879203796, -0.6931101679801941, -0.28387895226478577, -0.6616522073745728, -0.7749863862991333, 0.449678510427475, -0.31974565982818604, 0.00010559832298895344, -0.1468845009803772, 0.41564318537712097, 0.268181711435318, 0.31348398327827454, -1.007776141166687, -0.0790327787399292, -0.21453912556171417, -0.5796945691108704, -0.45581430196762085, -0.4671383500099182, 0.2226167768239975, -0.2808602452278137, 0.48726457357406616, -0.1814134418964386, 0.016757385805249214, -0.10048802196979523, -0.4517723619937897, -0.23721566796302795, 0.5539674162864685, 0.09626657515764236, 0.42791005969047546, -0.3613947629928589, 0.3354963958263397, -0.08531911671161652, -0.2128104567527771, 0.06207604333758354, -0.016416477039456367, 0.29407161474227905, -0.046957120299339294, 0.4885598421096802, 0.9476335048675537, 0.361608624458313, -0.7039022445678711, 0.4486747682094574, 0.17083008587360382, 0.05245336517691612, -0.021410347893834114, -0.2552536427974701, 0.14512649178504944, 0.2085498869419098, -0.05257994309067726, 0.15740923583507538, 0.22884204983711243, -0.9070428013801575, -0.04471588134765625, 0.046164870262145996, -0.43139034509658813, -0.5752815008163452, 0.3302684426307678, 0.1388946920633316, -0.34748682379722595, 0.29714077711105347, -0.3324645459651947, -0.9523699283599854, 0.5220708250999451, 0.38682788610458374, 0.9361769556999207, -0.5746389627456665, 0.33996644616127014, 0.1606406420469284, 0.20876768231391907, 0.08234275877475739, 0.6452957987785339, 0.02240953966975212, -0.9351614713668823, -0.41174042224884033, -0.6540642380714417, -0.4818080961704254, -0.2513340413570404, -1.0066756010055542, 0.031431060284376144, -0.22605904936790466, 0.0009098947048187256, -0.030882565304636955, -0.23253005743026733, -0.8081781268119812, 0.47869160771369934, 0.1443852037191391, 0.6125752329826355, -1.2884422540664673, 0.8198463916778564, 0.8178926706314087, -0.24965263903141022, -0.9622613787651062, -0.013993836008012295, -0.01833992823958397, -0.7174492478370667, 0.8991798758506775, 0.2847679555416107, -0.027322376146912575, -0.2592476010322571, -0.5178307294845581, -0.5966718792915344, 0.3745812475681305, 0.1091926097869873, -0.2052784264087677, 0.09395858645439148, 0.1517161726951599, 1.029377818107605, -0.38710054755210876, 0.17742480337619781, 0.595634400844574, 0.3976745903491974, -0.10298920422792435, -0.8691675662994385, -0.3243005573749542, -0.3672432601451874, -0.39935189485549927, -0.0019818178843706846, -0.43210628628730774, 0.7995894551277161, -0.16971054673194885, -0.45969676971435547, -0.32803240418434143, 0.4491095542907715, -0.017719119787216187, 0.4856793284416199, 0.5932042598724365, 0.2726956605911255, 0.7171596884727478, 0.0035573462955653667, 1.0512930154800415, -0.4534333348274231, 0.3714081645011902, 1.0089470148086548, -0.8131797313690186, 1.0611941814422607, 0.5118443965911865, -0.21019667387008667, 0.47529956698417664, 1.0960029363632202, 0.5078577995300293, 0.5854261517524719, 0.0593695230782032, -0.2015611231327057, -0.3206241726875305, -0.22581109404563904, -0.04307689517736435, 0.5795052647590637, 0.433862566947937, -0.11901836842298508, 0.04168016463518143, 0.1188020333647728, -0.0814066231250763, 0.09841296076774597, -0.24138760566711426, 0.757197380065918, 0.08841034770011902, -0.5331743955612183, 0.5650690793991089, -0.37260550260543823, 0.7914513349533081, -0.47529104351997375, -0.09117969125509262, -0.05863442271947861, -0.04639342799782753, -0.6019218564033508, -0.8592720627784729, 0.44157838821411133, -0.054807793349027634, -0.04075418785214424, -0.4114888608455658, 0.9431959390640259, -0.6323385834693909, -0.1412467062473297, 0.6210651397705078, 0.6900666952133179, 0.26079654693603516, -0.01023969054222107, -0.5294935703277588, -0.18178674578666687, 0.04838673397898674, -0.45119985938072205, 0.394398957490921, 0.5283294916152954, 0.04624079912900925, 0.6738525032997131, 0.19796784222126007, 0.336004376411438, 0.0011455175699666142, 0.21304483711719513, 0.39881834387779236, -0.5779361724853516, -0.6273911595344543, -0.6515880227088928, 0.5155459046363831, 0.14676086604595184, -0.18730328977108002, 0.6793756484985352, 0.2174673229455948, 0.7586010694503784, -0.1671167016029358, 1.0362603664398193, 0.012076673097908497, 0.6531861424446106, -0.5865195989608765, 0.6088677644729614, -0.6352938413619995, 0.04410065338015556, -0.35120657086372375, -0.5664359927177429, -0.052214913070201874, 0.7070710062980652, -0.6543999910354614, 0.09394355118274689, 0.6625638604164124, 0.5700110793113708, 0.2795799672603607, 0.2848270535469055, 0.4569486975669861, 0.5033161044120789, -0.13863082230091095, 0.39548712968826294, 1.0731209516525269, 0.19293241202831268, 0.11582624912261963, -0.3205640912055969, -0.3264627456665039, -0.14045517146587372, -0.805995762348175, -0.7895494103431702, -0.4027443826198578, -0.3087022602558136, -0.4242193400859833, 0.09222082793712616, 0.9205309152603149, 0.5841835141181946, -0.6916893124580383, -0.3490142822265625, 0.2634955942630768, 0.29430246353149414, 0.001036492525599897, -0.33704042434692383, 0.030177287757396698, -0.258262038230896, -0.4903274178504944, 0.18035775423049927, 0.39017876982688904, 0.16699862480163574, -0.09717440605163574, -0.2757187485694885, -0.15860062837600708, 0.2414546012878418, 0.726746141910553, 0.33369675278663635, -0.4455936551094055, -0.5231981873512268, -0.12783417105674744, -0.09757786244153976, 0.30242449045181274, 0.5811567902565002, -0.4490222632884979, 0.46477261185646057, 0.4385472536087036, 0.5093647241592407, 0.3706928789615631, -0.15937811136245728, 0.5818159580230713, -0.7267852425575256, 0.24467557668685913, 0.15564003586769104, 0.657748281955719, 0.37599459290504456, -0.6060822010040283, 0.4658247232437134, 0.18845219910144806, -0.43989309668540955, -0.7189419865608215, 0.3567771315574646, -0.7890723347663879, -0.25562453269958496, 1.2250293493270874, -0.3633103668689728, -0.24721811711788177, -0.17131097614765167, -0.28432074189186096, 0.3106936812400818, -0.06503281742334366, 0.9101470112800598, 0.9299277663230896, -0.20144249498844147, -0.41469889879226685, -0.5075395703315735, 0.651687741279602, 0.7526369094848633, -0.9107463955879211, 0.25662150979042053, 0.4031360447406769, 0.07771995663642883, 0.08627782762050629, 0.4487367570400238, 0.09090548008680344, 0.27787917852401733, -0.26113203167915344, 0.5117475390434265, 0.6229254007339478, -0.3416700065135956, -0.7124773859977722, 0.13737381994724274, 0.31204432249069214, 0.25451740622520447 ]
http://arxiv.org/abs/2402.03131v1
http://arxiv.org/pdf/2402.03131v1
Constrained Decoding for Cross-lingual Label Projection
2024-02-05T15:57:32
2024-02-05T15:57:32
Duong Minh Le, Yang Chen, Alan Ritter, Wei Xu
cs.CL
cs.CL, cs.LG
Zero-shot cross-lingual transfer utilizing multilingual LLMs has become a popular learning paradigm for low-resource languages with no labeled training data. However, for NLP tasks that involve fine-grained predictions on words and phrases, the performance of zero-shot cross-lingual transfer learning lags far behind supervised fine-tuning methods. Therefore, it is common to exploit translation and label projection to further improve the performance by (1) translating training data that is available in a high-resource language (e.g., English) together with the gold labels into low-resource languages, and/or (2) translating test data in low-resource languages to a high-source language to run inference on, then projecting the predicted span-level labels back onto the original test data. However, state-of-the-art marker-based label projection methods suffer from translation quality degradation due to the extra label markers injected in the input to the translation model. In this work, we explore a new direction that leverages constrained decoding for label projection to overcome the aforementioned issues. Our new method not only can preserve the quality of translated texts but also has the versatility of being applicable to both translating training and translating test data strategies. This versatility is crucial as our experiments reveal that translating test data can lead to a considerable boost in performance compared to translating only training data. We evaluate on two cross-lingual transfer tasks, namely Named Entity Recognition and Event Argument Extraction, spanning 20 languages. The results demonstrate that our approach outperforms the state-of-the-art marker-based method by a large margin and also shows better performance than other label projection methods that rely on external word alignment.
[ -0.23774589598178864, -0.1762624979019165, 0.2880305051803589, 0.2140878587961197, -0.4239778220653534, 0.12000710517168045, -0.25125160813331604, -0.7429974675178528, 0.26181498169898987, 0.4934093654155731, -0.41847777366638184, -0.6642705202102661, -0.6444299221038818, 0.32228511571884155, -0.06844353675842285, 1.1280969381332397, -0.3606491684913635, 0.06229553744196892, 0.0012294150656089187, -0.16913561522960663, -0.34831133484840393, -0.538037896156311, -0.21533790230751038, -0.44882524013519287, 0.415515273809433, 0.5191555619239807, 0.4339085817337036, 0.7628383040428162, 0.016831740736961365, 0.09669095277786255, -0.0544499009847641, 0.4873824715614319, -0.5359752774238586, -0.16742761433124542, -0.2944807708263397, -0.3576773703098297, -0.3156368136405945, -0.07001251727342606, 0.6070369482040405, 0.8234189748764038, 0.3257894814014435, 0.042907241731882095, 0.23911890387535095, 0.2552013099193573, -0.8710074424743652, 0.3608008325099945, -0.5476772785186768, 0.39244988560676575, -0.10821328312158585, -0.4103700518608093, -0.7097116708755493, -0.003222016617655754, -0.15580329298973083, -0.8370499014854431, 0.09504599124193192, 0.02187187969684601, 1.0220500230789185, 0.16160637140274048, -0.5565398335456848, -0.3064550459384918, -0.6935572028160095, 0.9432151317596436, -0.4809390604496002, 0.6041534543037415, 0.3592558205127716, 0.0806904137134552, 0.13323231041431427, -0.4785585403442383, -0.22705495357513428, 0.03573758900165558, -0.20674124360084534, 0.1659853607416153, -0.0654699057340622, 0.0012361770495772362, 0.11784105747938156, 0.16730748116970062, -0.46245262026786804, 0.2987143397331238, -0.20160840451717377, -0.5491586923599243, 0.5642207264900208, -0.05592425912618637, 0.18614187836647034, -0.24351637065410614, -0.6567922830581665, -0.24355711042881012, -0.6973920464515686, -0.13339975476264954, 0.04127541184425354, 0.6252997517585754, -0.058941297233104706, 0.5210567712783813, -0.24041110277175903, 0.8029171228408813, -0.007698381785303354, -0.33660995960235596, 0.2236255407333374, -0.5106931328773499, -0.13328491151332855, 0.4070751667022705, 0.707057774066925, 0.42284470796585083, 0.2206166684627533, -0.39109423756599426, -0.03707924112677574, 0.004740735050290823, -0.29130688309669495, -0.7265965938568115, -0.006282662972807884, -0.27438512444496155, -0.0708925724029541, 0.2348356693983078, -0.3628414273262024, -0.8729696273803711, -0.1912732571363449, -0.021486502140760422, 0.18048052489757538, -0.421882301568985, 0.13637685775756836, 0.287557989358902, 0.17359374463558197, 0.1441350132226944, 0.16954421997070312, -0.9405332207679749, -0.04663435369729996, 0.38641902804374695, 0.6854738593101501, -0.3723461627960205, -0.11491076648235321, -0.8387146592140198, 0.5862468481063843, -0.44018852710723877, 0.6219651699066162, -0.4289427399635315, -0.39032891392707825, 0.23875267803668976, -0.004749210551381111, -0.20653748512268066, -0.439785897731781, 0.6553370952606201, -0.4852869510650635, 0.024765020236372948, -0.12856918573379517, -0.42263805866241455, -0.10959503799676895, 0.4079801142215729, -0.39189550280570984, 0.7757119536399841, 0.1107456311583519, -0.39068084955215454, 0.4174703061580658, -0.05858522653579712, -0.5911301374435425, 0.18369773030281067, -0.08040362596511841, -0.147800475358963, -0.14482474327087402, 0.6299425959587097, 0.5738982558250427, -0.39174914360046387, 0.09972558170557022, -0.09328041970729828, -0.12961068749427795, 0.17950677871704102, -0.3812435269355774, 0.5368668437004089, 0.2279118448495865, -0.1928943693637848, -0.23469874262809753, -0.8673129081726074, 0.22409547865390778, -0.1939026117324829, -0.5795539617538452, -0.39999788999557495, -0.38095641136169434, -0.064335398375988, 0.2853582799434662, 0.0951874628663063, -0.6309742331504822, 0.32412484288215637, -0.33050110936164856, 0.03466760739684105, 0.37656643986701965, -0.08299919217824936, 0.6758134961128235, -0.012743198312819004, 0.7598827481269836, -0.05480126664042473, -0.18421241641044617, -0.05553251504898071, -0.44818606972694397, -0.7063541412353516, -0.3127373456954956, 0.5270037055015564, 0.8644468784332275, -1.2488924264907837, 0.11121349036693573, -0.45690518617630005, -0.12508711218833923, -0.7265768647193909, 0.3489907383918762, 0.6897791028022766, 0.7120712995529175, 0.7252297401428223, -0.27211976051330566, -0.5716882348060608, -0.8480081558227539, -0.19817277789115906, -0.1969721019268036, -0.08879829198122025, 0.20865875482559204, 0.16169732809066772, -0.14422966539859772, 0.45280155539512634, -0.42935287952423096, -0.567657470703125, -0.5014739632606506, 0.1727055311203003, 0.08709536492824554, 0.5575827956199646, 0.44572415947914124, -0.6830481886863708, -0.7895570993423462, 0.3434980511665344, -0.5196380019187927, -0.40433040261268616, -0.46152248978614807, -0.2244926542043686, 0.4440820515155792, 0.48241668939590454, -0.3461100161075592, 0.26157933473587036, 0.9005994200706482, -0.3516605794429779, 0.46724894642829895, -0.09296038746833801, 0.034317176789045334, -0.8868248462677002, -0.16739706695079803, -0.00853513553738594, -0.32049399614334106, -0.6043473482131958, -0.17876015603542328, 0.12488909810781479, 0.09526017308235168, -0.6668091416358948, 0.6029155850410461, -0.7665776610374451, 0.03648239001631737, -0.13464650511741638, 0.2686539888381958, 0.3679668605327606, 0.459788978099823, 0.2615821957588196, 0.5047787427902222, 0.4138006865978241, -0.45245540142059326, 0.17212823033332825, 0.40092170238494873, -0.40459567308425903, 0.7174948453903198, -0.12437351047992706, -0.04555090516805649, 0.026583142578601837, 0.21961116790771484, -0.7434940338134766, 0.08557071536779404, 0.5926656723022461, -0.2747128903865814, 0.8303743600845337, -0.2639097273349762, -0.24506868422031403, 0.10025615990161896, 0.07246999442577362, 0.6067087650299072, 0.35635170340538025, -0.6791446805000305, 0.397158682346344, 0.2376142144203186, 0.09219279885292053, -0.7540729641914368, -1.1931562423706055, 0.1782289743423462, -0.11769847571849823, -0.3320270776748657, 0.6616187691688538, 0.17516614496707916, 0.29782894253730774, 0.14494197070598602, -0.23702789843082428, -0.039668548852205276, -0.2538463771343231, -0.07253789901733398, 0.2233462929725647, -0.1809334009885788, -0.1434154212474823, 0.09357524663209915, -0.2822936475276947, -0.1964714229106903, -0.42866748571395874, 0.14715476334095, 0.1243056207895279, -0.29341939091682434, -0.2595987319946289, 0.5416417717933655, 0.274443656206131, -0.17540588974952698, 0.7026568055152893, 0.6748064756393433, -0.1795218586921692, -0.36926397681236267, -0.2767474949359894, 0.18232931196689606, -0.40166717767715454, 0.4056644141674042, -0.6741344928741455, -0.7191983461380005, 0.3584093749523163, -0.18586397171020508, -0.2541157305240631, 0.28379911184310913, 0.385848730802536, 0.13756778836250305, 0.9076256155967712, 0.7520127892494202, -0.044473446905612946, 0.2530606687068939, -0.3342597484588623, 0.22993843257427216, -0.9266766905784607, -0.3714541792869568, -0.306443452835083, -0.3367273211479187, -0.4591243863105774, -0.8221590518951416, 0.20343062281608582, 0.3385903537273407, 0.3507704436779022, 0.42783358693122864, -0.48696908354759216, 0.2956925332546234, 0.37463781237602234, -0.06566523015499115, 0.40209969878196716, 0.1338338553905487, -0.35867810249328613, -0.39633747935295105, -1.0827829837799072, -0.25318479537963867, 0.7563328742980957, 0.0713689923286438, 0.6509583592414856, -0.1508457213640213, 0.7468241453170776, 0.00825116503983736, 0.37248292565345764, -0.8238608837127686, 0.643231987953186, -0.2870180010795593, -0.44612985849380493, -0.1433219313621521, -0.5212908387184143, -1.054099440574646, 0.5002442002296448, -0.296051025390625, -0.8689205646514893, 0.521360456943512, 0.046522051095962524, 0.003775200806558132, 0.5755847096443176, -0.5699386596679688, 0.8571252226829529, -0.369455486536026, -0.42922744154930115, 0.20893442630767822, -0.5301464200019836, 0.24443423748016357, -0.1245817020535469, 0.23214104771614075, -0.19832761585712433, -0.10917557030916214, 0.6828052997589111, -0.06898844987154007, 0.936732292175293, -0.04471580684185028, -0.4398937523365021, 0.23683080077171326, 0.24140162765979767, 0.5718190670013428, -0.10001672804355621, -0.13616782426834106, 0.12678547203540802, 0.15518932044506073, -0.4110628664493561, -0.5145371556282043, 0.5914519429206848, -0.615585446357727, -0.4451376795768738, -0.37601473927497864, -0.9935476183891296, -0.4314025342464447, 0.10425988584756851, 0.39072132110595703, 0.07129505276679993, -0.07116685807704926, -0.015687506645917892, 0.38314110040664673, -0.4241343140602112, 0.23135949671268463, 0.5863677263259888, -0.12322646379470825, -0.4065292775630951, 1.2145437002182007, 0.286695659160614, 0.41453734040260315, 0.7862945795059204, -0.06245679035782814, -0.34302350878715515, -0.6371062397956848, -0.7124922275543213, 0.4096463620662689, -0.7938776612281799, -0.4759880304336548, -0.31636250019073486, 0.019838955253362656, -0.4858241677284241, -0.38421738147735596, -0.6043305993080139, -0.6559290885925293, -0.45398229360580444, -0.16012701392173767, -0.10465215891599655, 0.12914404273033142, -0.5071990489959717, 0.14161765575408936, -0.9527239203453064, 0.40138763189315796, -0.08906988054513931, 0.0837748721241951, -0.4218320846557617, -0.5825074315071106, -0.4851061999797821, 0.01801319792866707, -0.13374502956867218, -1.1269659996032715, 0.7353118062019348, 0.36975863575935364, 0.45548194646835327, 0.23606863617897034, 0.5264354348182678, 0.8012389540672302, -0.35753995180130005, 0.39785563945770264, 0.19497278332710266, -0.9053996801376343, 0.37931662797927856, 0.07027601450681686, 0.3889337480068207, 0.3947063684463501, 0.6264270544052124, -0.6092904210090637, -0.33986321091651917, -0.1459999829530716, -0.9788680672645569, 0.7582303881645203, -0.038218799978494644, -0.0926351547241211, 0.1489448845386505, 0.2684057056903839, 0.2580871880054474, -0.16343820095062256, -0.7997937798500061, -0.28717178106307983, -0.047106772661209106, 0.08014275878667831, -0.39891937375068665, -0.3637957274913788, -0.20509208738803864, -0.27544206380844116, 0.6960441470146179, -0.40137335658073425, 0.06843886524438858, 0.26541945338249207, -0.25095266103744507, -0.03567255288362503, 0.48293209075927734, 0.3446618616580963, 0.2071262001991272, -0.06878883391618729, 0.3328644931316376, 0.4073704779148102, -0.09518926590681076, 0.39613160490989685, 0.401406466960907, -0.5070866942405701, 0.25524914264678955, 0.40524372458457947, 1.0509381294250488, 0.19509075582027435, -0.5148628950119019, 0.15812644362449646, 0.35253772139549255, -0.2994767427444458, 0.26246291399002075, -0.33070504665374756, -0.19022150337696075, 0.26491421461105347, 0.2819090485572815, -0.2955991327762604, 0.04738568142056465, -0.4534907042980194, 0.22182992100715637, 0.3709321916103363, -0.4414825141429901, -0.347890704870224, 0.7146333456039429, 0.07051806896924973, 0.0563630536198616, 0.48450392484664917, -0.3318219482898712, -0.5749111175537109, 0.29550403356552124, 0.9641745090484619, 0.6652233004570007, -0.1589365303516388, 0.6212503910064697, 0.3929384648799896, 0.42784029245376587, 0.06066690385341644, 0.07877402752637863, -0.33779895305633545, -0.8722392916679382, -0.9223207831382751, -0.6424344778060913, -0.4577861428260803, -0.04023332521319389, -0.817142128944397, 0.003890005638822913, 0.05927788093686104, -0.0036611713003367186, -0.32094547152519226, -0.139129176735878, -0.6403290033340454, 0.17418846487998962, 0.6814196705818176, 0.7793615460395813, -0.9054098129272461, 1.0709129571914673, 0.657952070236206, -0.03074786812067032, -0.720969021320343, -0.31044602394104004, -0.1354338824748993, -0.8333063721656799, 0.8186215162277222, 0.11800941079854965, -0.16633537411689758, -0.07261497527360916, -0.06892753392457962, -1.0039222240447998, 0.7696291208267212, 0.7776089906692505, -0.45602354407310486, -0.1362762153148651, 0.6621543169021606, 0.48189759254455566, -0.3423347473144531, -0.19736546277999878, 0.5956228971481323, 0.5785356163978577, 0.27020302414894104, -0.9923564791679382, 0.29020175337791443, -0.09548775851726532, -0.009773341938853264, 0.18893957138061523, -0.36774030327796936, 0.3365592062473297, -0.24306902289390564, -0.5872992277145386, 0.025769703090190887, 0.7084150910377502, 0.13428446650505066, 0.3960864841938019, 0.2061864286661148, 0.4825127422809601, 0.4948303699493408, -0.18609458208084106, 1.0874159336090088, -0.33405372500419617, 0.35254961252212524, 0.9538218975067139, -0.2002432942390442, 0.6767579913139343, 0.8597232699394226, 0.1552400141954422, 0.2658187747001648, 0.46908262372016907, 0.056073784828186035, 0.8059531450271606, 0.09996771067380905, -0.10414569824934006, -0.39033275842666626, -0.7219701409339905, -0.29152655601501465, 0.5007373690605164, 0.5924040675163269, -0.20075342059135437, -0.4292024075984955, 0.2819836139678955, -0.06273891031742096, 0.11295866966247559, -0.23092785477638245, 0.31924280524253845, 0.17501063644886017, -0.7308757901191711, 1.1466962099075317, 0.04674912616610527, 0.6880801320075989, -0.5729450583457947, -0.009248998947441578, -0.2224111258983612, 0.2972056567668915, -0.1412891000509262, -0.6607269644737244, 0.3755398690700531, -0.2115764617919922, 0.2061372697353363, -0.8427993059158325, 0.6225087642669678, -0.8293471336364746, -0.4465717673301697, 0.6754393577575684, 0.5243193507194519, 0.3396095037460327, 0.3899020850658417, -0.5200139880180359, 0.1582113802433014, 0.33251112699508667, -0.22610682249069214, 0.5226578116416931, 0.5848398804664612, 0.07148768752813339, 0.5683925747871399, 0.2817941904067993, 0.43080389499664307, 0.3323488235473633, -0.2249833196401596, 0.5744619369506836, -0.4381476640701294, -0.23787446320056915, -0.551240861415863, 0.33589068055152893, 0.2640764117240906, -0.29689136147499084, 0.8228398561477661, 0.5088347792625427, 1.285366415977478, -0.12087413668632507, 0.5953624248504639, 0.11646300554275513, 0.1825052797794342, -0.7399324178695679, 0.2419886440038681, -0.6181712746620178, 0.21615125238895416, -0.1692616492509842, -0.7025675177574158, -0.757202684879303, 0.41143152117729187, -0.3115617036819458, -0.4051130414009094, 0.5041921138763428, 0.6545665860176086, 0.021500108763575554, -0.5306721925735474, 0.6471637487411499, -0.135393887758255, 0.2779267430305481, 1.1521363258361816, 0.6980136632919312, -0.4479300081729889, 1.1973137855529785, -0.5849233269691467, 0.0076609402894973755, -0.26776495575904846, -0.7999374866485596, -0.7534151673316956, -0.4689730703830719, -0.6354041695594788, -0.2983626127243042, 0.0953962504863739, 0.3431681990623474, 0.7391114234924316, -0.8847861289978027, -0.17309823632240295, 0.3047391474246979, 0.1762819141149521, -0.3752180337905884, -0.18387342989444733, 0.3168909251689911, -0.32089993357658386, -1.0572229623794556, 0.6590859293937683, 0.19872726500034332, 0.22210794687271118, 0.04362281784415245, -0.31260356307029724, -0.39583250880241394, -0.1572790890932083, 0.6186416149139404, 0.7447929978370667, -0.540645182132721, -0.3279522657394409, -0.08140780031681061, -0.21767716109752655, 0.1492491513490677, 0.6181163787841797, -0.7627214789390564, 0.6015480756759644, 0.49905794858932495, 0.9273124933242798, 0.9712925553321838, -0.09323102980852127, 0.6804695725440979, -1.0243104696273804, 0.3671588599681854, 0.2678995728492737, 0.2600945830345154, 0.4419778287410736, -0.23110823333263397, 0.5971750617027283, 0.14133045077323914, -0.217019721865654, -0.951019287109375, 0.4163699746131897, -0.9286855459213257, -0.31127244234085083, 1.2690668106079102, -0.35109737515449524, -0.09353592991828918, 0.002051373478025198, -0.09427821636199951, 0.5549429655075073, -0.11609764397144318, 0.4766850769519806, 0.5223897695541382, -0.32808348536491394, -0.32224786281585693, -0.4476804733276367, 0.39387235045433044, 0.6683952808380127, -0.45397260785102844, -0.10904254019260406, 0.4873969256877899, -0.056394513696432114, 0.43343019485473633, 0.39593306183815, 0.00342644564807415, -0.04200855270028114, -0.02789527364075184, 0.07904934883117676, -0.0715750977396965, -0.336353600025177, -0.20117589831352234, 0.30619585514068604, -0.1505296379327774, -0.5995245575904846 ]
http://arxiv.org/abs/2402.05129v1
http://arxiv.org/pdf/2402.05129v1
Best Practices for Text Annotation with Large Language Models
2024-02-05T15:43:50
2024-02-05T15:43:50
Petter Törnberg
cs.CL
cs.CL
Large Language Models (LLMs) have ushered in a new era of text annotation, as their ease-of-use, high accuracy, and relatively low costs have meant that their use has exploded in recent months. However, the rapid growth of the field has meant that LLM-based annotation has become something of an academic Wild West: the lack of established practices and standards has led to concerns about the quality and validity of research. Researchers have warned that the ostensible simplicity of LLMs can be misleading, as they are prone to bias, misunderstandings, and unreliable results. Recognizing the transformative potential of LLMs, this paper proposes a comprehensive set of standards and best practices for their reliable, reproducible, and ethical use. These guidelines span critical areas such as model selection, prompt engineering, structured prompting, prompt stability analysis, rigorous model validation, and the consideration of ethical and legal implications. The paper emphasizes the need for a structured, directed, and formalized approach to using LLMs, aiming to ensure the integrity and robustness of text annotation practices, and advocates for a nuanced and critical engagement with LLMs in social scientific research.
[ -0.049685776233673096, -0.7110497951507568, 0.8457317352294922, 0.3703804910182953, -0.463100790977478, -0.025102416053414345, -0.5122166872024536, -0.6893776655197144, 0.10167402774095535, 0.819605827331543, -0.10303894430398941, -0.684718132019043, -0.749252200126648, 0.43883100152015686, -0.4418199062347412, 1.0744765996932983, -0.26198437809944153, 0.16632840037345886, -0.2559965252876282, -0.340299516916275, -0.10751021653413773, -0.7203165888786316, -0.405368834733963, -0.49104106426239014, 0.7782934308052063, 0.04348801076412201, 0.7960249185562134, 0.8259777426719666, 0.6065952181816101, 0.16165949404239655, -0.561764657497406, 0.29747873544692993, -0.48219311237335205, 0.3752239942550659, 0.04162698984146118, -0.13922475278377533, -0.5558584332466125, 0.26825955510139465, 0.5872960090637207, 0.7090243101119995, -0.07865121960639954, 0.3908863365650177, 0.006169447209686041, 0.26707035303115845, -0.4496917128562927, 0.2277461439371109, -0.5725517272949219, 0.022177401930093765, -0.3142267167568207, -0.2817135453224182, -0.5289345383644104, -0.732510507106781, -0.028325999155640602, -0.576919436454773, -0.33162572979927063, 0.0641392320394516, 0.6925886869430542, 0.06204240769147873, -0.40513888001441956, -0.29408344626426697, -0.7018249034881592, 0.8190438747406006, -0.8324054479598999, 0.25463396310806274, 0.510193407535553, 0.16773636639118195, -0.23540426790714264, -0.6332162618637085, -0.3533594310283661, -0.35788044333457947, 0.022896308451890945, -0.40031591057777405, 0.334770530462265, 0.1455080658197403, 0.5090296864509583, 0.21733255684375763, -0.10114241391420364, 0.4824737012386322, -0.21653829514980316, -0.20109058916568756, 0.8472642302513123, 0.09410267323255539, 0.13790497183799744, -0.11692051589488983, -0.38000980019569397, 0.14391642808914185, -1.1714409589767456, -0.24380488693714142, 0.3796735405921936, 0.497345507144928, 0.023183615878224373, 0.6750788688659668, 0.028981897979974747, 0.41378355026245117, -0.4973849058151245, -0.31267955899238586, 0.23849345743656158, -0.29587653279304504, -0.16679874062538147, -0.12762196362018585, 0.9083774089813232, 0.60511714220047, 0.7189064025878906, -0.2805691063404083, -0.5045967102050781, -0.2187851369380951, 0.11178823560476303, -0.6808128356933594, 0.12796103954315186, 0.11354701220989227, -0.482982873916626, -0.41627588868141174, -0.217773899435997, -0.7686622738838196, -0.56069016456604, -0.6385962963104248, 0.17570728063583374, -0.1835441142320633, -0.22731414437294006, -0.10167235136032104, 0.154237300157547, 0.30759939551353455, 0.535254180431366, -0.9196383953094482, 0.3566596508026123, 0.749306321144104, 0.935126006603241, -0.008748363703489304, -0.14915812015533447, -0.3788885176181793, 0.3362818956375122, -0.6508021354675293, 0.5172825455665588, -0.5561249256134033, -0.517902672290802, 0.46341750025749207, -0.13389965891838074, 0.5100058317184448, -0.22774669528007507, 0.7622504830360413, -0.4723929762840271, -0.09336354583501816, -0.45759084820747375, -0.6592540740966797, -0.16884000599384308, 0.15547789633274078, -0.6123960614204407, 1.193008542060852, -0.34360408782958984, -0.6966865658760071, 0.16720736026763916, -0.6821396350860596, -0.3639601767063141, 0.20392857491970062, -0.2830427289009094, -0.3293910026550293, 0.22857609391212463, -0.03020257130265236, 0.7930405735969543, -0.2458040565252304, 0.5712604522705078, -0.38856884837150574, -0.3377465605735779, 0.35321393609046936, -0.3637285828590393, 0.6628895998001099, 0.22286036610603333, -0.2254806011915207, 0.14626401662826538, -0.6737508773803711, -0.07988549023866653, 0.2763892114162445, -0.37084609270095825, -0.4881783127784729, 0.1490541696548462, 0.433042973279953, -0.16763600707054138, 0.248153418302536, -0.5005389451980591, 0.08520926535129547, -0.18177589774131775, 0.5942525267601013, 0.818105936050415, -0.10522263497114182, 0.28874748945236206, -0.2904700040817261, 0.2986791431903839, -0.6142252087593079, 0.12282245606184006, -0.372210830450058, -0.27540478110313416, -0.37951338291168213, -0.2047160118818283, 0.36411887407302856, 0.3517889380455017, -0.3563251495361328, 0.4716312885284424, -0.1708831787109375, -0.653049647808075, -0.41478613018989563, 0.17811721563339233, 0.12611861526966095, 0.2258521467447281, 0.37837228178977966, 0.13237978518009186, -0.4945300221443176, -0.8552667498588562, -0.2735133767127991, -0.32665756344795227, 0.19163230061531067, 0.13108062744140625, 0.6789746284484863, -0.3024064600467682, 0.8413890600204468, -0.1596578061580658, -0.0782104879617691, -0.15435189008712769, 0.28459906578063965, -0.13453859090805054, 0.3281707465648651, 0.34188467264175415, -0.8045824766159058, -0.206046000123024, -0.07077200710773468, -0.8541982769966125, -0.3617536127567291, -0.024792885407805443, -0.06387268006801605, 0.39316725730895996, 0.6661866307258606, -0.5225932002067566, 0.22093616425991058, 0.7252323627471924, 0.019628610461950302, 0.48719245195388794, -0.10725580900907516, 0.09540154039859772, -0.9403852224349976, 0.29054948687553406, 0.2865423858165741, -0.5174123644828796, -0.5652704238891602, 0.15889546275138855, 0.10392758995294571, 0.25166112184524536, -0.2282484769821167, 0.6307843923568726, -0.41476017236709595, 0.2756550908088684, -0.41809242963790894, 0.20286698639392853, -0.05184577777981758, -0.2595765292644501, 0.04655389115214348, 0.7120398283004761, 0.2746870815753937, -0.34174150228500366, 0.33409664034843445, 0.1623566448688507, -0.21506313979625702, 0.31515270471572876, -0.8165671825408936, 0.1603010892868042, -0.26099225878715515, 0.29114511609077454, -0.6164583563804626, -0.14972557127475739, 0.2052869349718094, -0.285911500453949, 0.3899783790111542, -0.14055044949054718, -1.0303781032562256, 0.13416045904159546, -0.44291460514068604, 0.3040790855884552, 0.6324191689491272, -0.4337350130081177, 0.6344178318977356, 0.6729341149330139, -0.27911630272865295, -0.6407527923583984, -0.7722901701927185, 0.4655841588973999, -0.2954230308532715, -0.4320984184741974, 0.25371718406677246, 0.08554410189390182, -0.6107933521270752, -0.20617564022541046, 0.25717300176620483, -0.009383478201925755, 0.33492961525917053, 0.31445255875587463, 0.31271159648895264, 0.00634112348780036, 0.18671603500843048, -0.031684838235378265, -0.009023980237543583, 0.06830053776502609, 0.21832895278930664, 0.29068422317504883, 0.14827115833759308, -0.16121706366539001, -0.18306270241737366, 0.5474207997322083, 0.6014700531959534, -0.26524871587753296, 0.61454176902771, 0.3750186264514923, -0.7072364687919617, -0.1419292688369751, -0.8501540422439575, -0.3376308083534241, -0.39362576603889465, 0.29673463106155396, 0.10037995129823685, -1.1123542785644531, 0.44774192571640015, -0.31389373540878296, 0.3597034215927124, 0.33455580472946167, 0.5435262322425842, -0.20624184608459473, 0.6762053966522217, 0.9782525300979614, 0.12129226326942444, 0.33652690052986145, 0.22036509215831757, 0.29160743951797485, -0.9682984352111816, -0.2974589467048645, -0.7662485241889954, 0.22967614233493805, -0.6730253100395203, -0.5705522894859314, 0.17654316127300262, 0.06987964361906052, -0.2117341011762619, 0.023849356919527054, -0.3155226707458496, 0.5635940432548523, 0.1909995973110199, -0.3687324821949005, 0.4418354630470276, -0.04127345606684685, -0.1275245100259781, -0.2877970039844513, -0.2887445092201233, -1.4620821475982666, 0.9468883872032166, 0.7885558605194092, 1.0139251947402954, -0.12469909340143204, 0.6601457595825195, 0.06308122724294662, 0.6013567447662354, -0.6250070929527283, 0.7218612432479858, -0.07156402617692947, -0.7631411552429199, -0.40858474373817444, -0.3508777916431427, -0.7077706456184387, 0.3190647065639496, -0.272834450006485, -0.8886463642120361, -0.19707146286964417, 0.13831865787506104, -0.19635410606861115, 0.28916144371032715, -0.2851896584033966, 0.5378806591033936, -0.19592639803886414, -0.23467257618904114, 0.09341608732938766, -0.6457569003105164, 0.36347758769989014, -0.2795761227607727, 0.49251678586006165, -0.324963241815567, -0.23240700364112854, 0.7811611890792847, -0.10209333896636963, 1.1958732604980469, 0.13097944855690002, -0.24257148802280426, 0.2895776331424713, 0.06882639229297638, 0.8067097663879395, 0.0034296729136258364, -0.05496012419462204, 0.41785693168640137, 0.1520131379365921, -0.11760862916707993, -0.10784339159727097, 0.5963535308837891, -0.5921974182128906, -0.5601861476898193, -0.6213172674179077, -0.5896942615509033, -0.06439394503831863, 0.09761080890893936, -0.13728900253772736, 0.2501625120639801, -0.26111099123954773, 0.27908259630203247, 0.8976707458496094, -0.18501196801662445, 0.3796757161617279, 0.2619003355503082, -0.43357202410697937, -0.456306517124176, 0.5487521886825562, 0.3302001953125, 0.2635425627231598, 0.09280887246131897, 0.1943434327840805, -0.337130606174469, -0.8512471318244934, -0.22348521649837494, 0.6031898856163025, -1.0912808179855347, -0.054179538041353226, -0.609521210193634, -0.16373108327388763, -0.4675087034702301, -0.231024831533432, -0.2944403886795044, -0.12194055318832397, -0.4787898063659668, -0.2262994945049286, 0.6362802386283875, 0.7344253063201904, 0.16549792885780334, 0.10459131747484207, -0.7090121507644653, -0.07337740808725357, -0.09419222176074982, 0.25688695907592773, -0.22686989605426788, -0.4036560654640198, -0.10811109840869904, -0.20528662204742432, -0.005510194227099419, -0.7505947947502136, 0.17922617495059967, -0.0404515378177166, 0.7627086639404297, 0.11782734096050262, 0.13156358897686005, 0.35680827498435974, -0.8361756801605225, 0.8448368310928345, 0.13874010741710663, -0.9473378658294678, 0.30554884672164917, -0.5720946192741394, -0.14022044837474823, 0.5637102723121643, 0.6218680739402771, -0.9212812185287476, -0.6313260197639465, -0.25893357396125793, -1.0174248218536377, 0.12791608273983002, 0.04835426062345505, 0.5848368406295776, 0.08620613068342209, 0.5410987734794617, 0.334869384765625, 0.24049679934978485, -1.1906400918960571, -0.15234453976154327, 0.12297199666500092, -0.48089563846588135, 0.013956292532384396, -0.5372329950332642, -0.3427952527999878, 0.07800094038248062, 0.6057534217834473, -0.322571337223053, -0.23621204495429993, 0.17437081038951874, -0.06582190096378326, -0.22743922472000122, 0.27130618691444397, 0.557087779045105, 1.0640017986297607, 0.020914340391755104, 0.26218181848526, 0.21236540377140045, -0.38483721017837524, 0.07237062603235245, 0.07537632435560226, -0.4662174880504608, 0.0007163455593399704, 0.4365408718585968, 0.3692776560783386, 0.15756434202194214, -0.7466060519218445, 0.4014468193054199, 0.11725255101919174, -0.14348824322223663, -0.5280756950378418, -0.1825941801071167, 0.2994835078716278, 0.13436196744441986, 0.3239170014858246, -0.3934163749217987, -0.0684070810675621, -0.314825177192688, -0.33013758063316345, 0.44119352102279663, -0.19528323411941528, -0.14679911732673645, 0.4769064784049988, 0.31719180941581726, -0.3010079562664032, 0.14519941806793213, 0.08727265894412994, -0.3611588776111603, 0.2367865890264511, 0.32789355516433716, 0.7223708033561707, -0.09736327826976776, 0.2310994565486908, 0.1362318992614746, 0.7890961766242981, -0.5582892894744873, 0.23475919663906097, 0.22789990901947021, -0.4209311902523041, -0.831055223941803, -0.6785579323768616, -0.5411514639854431, 0.15327712893486023, -0.3783479332923889, 0.4462902843952179, -0.5569800138473511, -0.17650821805000305, -0.023728612810373306, 0.020274752750992775, -0.18660631775856018, 0.09905578941106796, 0.3910858929157257, 1.0518217086791992, -0.9242356419563293, 0.7596218585968018, 0.7299099564552307, -0.39021480083465576, -0.5878852605819702, -0.16014240682125092, 0.16230879724025726, -0.5962554812431335, 0.6262515783309937, 0.17742523550987244, -0.09446261078119278, -0.29983335733413696, -0.9189491868019104, -0.7610249519348145, 0.9988608360290527, 0.2887732684612274, -0.7744834423065186, 0.12813135981559753, 0.12911926209926605, 0.6023434400558472, -0.39430898427963257, 0.12833945453166962, 0.2727803885936737, 0.5618003010749817, 0.12364431470632553, -0.8816038966178894, 0.33013466000556946, 0.15638887882232666, 0.3428727388381958, 0.12807001173496246, -0.5305050015449524, 0.6921607255935669, -0.12077690660953522, -0.06730829179286957, 0.22995932400226593, 0.5294464826583862, 0.33402588963508606, 0.37009087204933167, 0.25540855526924133, 0.23796196281909943, 0.8558998703956604, -0.10810275375843048, 0.8776314854621887, -0.07198955118656158, 0.3234376907348633, 0.8625996708869934, -0.5011874437332153, 0.938353955745697, 0.7882551550865173, 0.03935357555747032, 0.10888439416885376, 0.799734890460968, -0.09299885481595993, 0.04346949979662895, 0.43669238686561584, -0.13044103980064392, -0.30864280462265015, -0.4273262321949005, -0.2058299481868744, 0.1680186688899994, 0.4219728112220764, -0.6346287131309509, -0.09655336290597916, -0.269718736410141, 0.558052122592926, 0.3819102346897125, -0.23438842594623566, 0.6968700289726257, 0.34666526317596436, -0.2838926911354065, 0.11418670415878296, 0.11782374978065491, 0.7552415132522583, -0.5324651002883911, -0.12958572804927826, -0.043655987828969955, -0.3540709614753723, -0.19787263870239258, -0.8398393392562866, 0.1893574446439743, 0.39020371437072754, -0.06871501356363297, -0.38038909435272217, 0.7297298908233643, -0.4373272657394409, -0.5994320511817932, 0.32247933745384216, 0.32826900482177734, 0.12283272296190262, 0.19043727219104767, -0.27018603682518005, 0.6114964485168457, -0.36153391003608704, -0.3701300024986267, 0.254970908164978, 0.5473564267158508, -0.13869324326515198, 0.6639511585235596, 0.6074020266532898, 0.47847288846969604, -0.07805383950471878, 0.12637938559055328, 0.7047044634819031, -0.7077686190605164, -0.024740226566791534, -1.082588791847229, 0.5113701820373535, -0.3266332745552063, -0.44781264662742615, 0.6830247640609741, 0.18853504955768585, 0.655040442943573, 0.4767317473888397, 0.807354211807251, 0.33688023686408997, 0.3557640016078949, -0.6100781559944153, 0.7633933424949646, -0.3188045918941498, 0.25835496187210083, -0.27052927017211914, -1.0306167602539062, -0.7592865228652954, 0.875356912612915, -0.3116392195224762, 0.21081794798374176, 0.649967610836029, 0.5251601934432983, 0.3946806788444519, 0.13168835639953613, 0.3688787519931793, 0.2524891495704651, 0.6702643632888794, -0.12048447132110596, 0.8668330907821655, -0.1886831521987915, 0.34103620052337646, -0.08736557513475418, -0.24593089520931244, -0.3761800527572632, -1.3197457790374756, -0.9521393179893494, -0.4384779930114746, -0.6250271201133728, -0.23169729113578796, 0.015693120658397675, 1.363646388053894, 0.6612336039543152, -0.408735066652298, -0.3494335412979126, 0.2918676435947418, -0.0694073885679245, 0.20355124771595, -0.13438592851161957, 0.061172980815172195, -0.481746643781662, -0.6890876293182373, 0.006098227109760046, 0.5530470013618469, 0.3254905045032501, -0.6581525802612305, 0.004901665262877941, -0.06831580400466919, 0.31751132011413574, 0.6665619611740112, 0.16953915357589722, -0.9339470863342285, -0.5226733684539795, -0.22869379818439484, -0.4769737124443054, -0.23878654837608337, 0.6757956147193909, -0.19238388538360596, 0.23334434628486633, 0.1957961916923523, 0.7798845767974854, -0.010971123352646828, -0.2837507426738739, 0.5642756819725037, -0.3581346571445465, -0.14519169926643372, 0.679179310798645, 0.4830666482448578, 0.7611151337623596, -0.2523084878921509, 0.4638718068599701, -0.04076434299349785, -0.9273958206176758, -1.3173563480377197, 0.007829966023564339, -0.8659358024597168, -0.12038532644510269, 1.539859414100647, -0.2875692546367645, -0.29722166061401367, -0.08444121479988098, -0.26007598638534546, 0.0625547543168068, -0.2894775867462158, 0.8761735558509827, 0.9278542399406433, 0.15565019845962524, -0.21650898456573486, -0.7436209321022034, 0.49295574426651, 0.12335240095853806, -0.821416974067688, 0.50710129737854, 0.46726059913635254, 0.20104749500751495, 0.15543368458747864, 0.31632736325263977, -0.41845399141311646, -0.1833968460559845, -0.3429376780986786, 0.13590683043003082, 0.05508958548307419, -0.16011300683021545, -0.39709505438804626, 0.031155159696936607, 0.5126283764839172, 0.3089580535888672 ]
http://arxiv.org/abs/2402.03099v1
http://arxiv.org/pdf/2402.03099v1
Intent-based Prompt Calibration: Enhancing prompt optimization with synthetic boundary cases
2024-02-05T15:28:43
2024-02-05T15:28:43
Elad Levi, Eli Brosh, Matan Friedmann
cs.CL
cs.CL, cs.AI, cs.LG
Prompt engineering is a challenging and important task due to the high sensitivity of Large Language Models (LLMs) to the given prompt and the inherent ambiguity of a textual task instruction. Automatic prompt engineering is essential to achieve optimized performance from LLMs. Recent studies have demonstrated the capabilities of LLMs to automatically conduct prompt engineering by employing a meta-prompt that incorporates the outcomes of the last trials and proposes an improved prompt. However, this requires a high-quality benchmark to compare different prompts, which is difficult and expensive to acquire in many real-world use cases. In this work, we introduce a new method for automatic prompt engineering, using a calibration process that iteratively refines the prompt to the user intent. During the optimization process, the system jointly generates synthetic data of boundary use cases and optimizes the prompt according to the generated dataset. We demonstrate the effectiveness of our method with respect to strong proprietary models on real-world tasks such as moderation and generation. Our method outperforms state-of-the-art methods with a limited number of annotated samples. Furthermore, we validate the advantages of each one of the system's key components. Our system is built in a modular way, facilitating easy adaptation to other tasks. The code is available $\href{https://github.com/Eladlev/AutoPrompt}{here}$.
[ -0.4044455885887146, -0.772501528263092, 0.8917970657348633, 0.4133435785770416, -0.07603082060813904, -0.2523671090602875, -0.3281969726085663, -0.0062781269662082195, -0.05904741957783699, 0.47917988896369934, -1.1170885562896729, -0.6521414518356323, -0.025085778906941414, 0.3659493327140808, 0.36314940452575684, 0.6623060703277588, -0.4533754885196686, -0.0031033584382385015, -0.23736587166786194, 0.07386836409568787, -1.068535566329956, -0.10097295045852661, -0.5302422046661377, -0.16093219816684723, 0.3893827497959137, 0.48923999071121216, 0.2792351543903351, 0.4849669337272644, 0.08935849368572235, 0.3021160364151001, 0.19556283950805664, 0.5449044108390808, -0.2700570821762085, 0.5634127259254456, -0.10160279273986816, -0.09553608298301697, -0.2942894399166107, 0.07291202247142792, 0.42835482954978943, 0.4801923632621765, 0.09543976932764053, 0.36985722184181213, 0.3012132942676544, 0.5236073732376099, -0.8940433859825134, 0.18194322288036346, -0.45096319913864136, -0.08215504139661789, 0.2093137502670288, -0.5700291991233826, -0.7499376535415649, -0.5984389781951904, 0.09957531094551086, -0.8231502175331116, -0.04833222180604935, 0.3184027373790741, 0.4228626489639282, 0.6299441456794739, -0.474714070558548, -0.27310460805892944, -0.48215192556381226, 0.9004812836647034, -0.6246427893638611, 0.39455437660217285, 0.1678536832332611, 0.551740825176239, -0.4310835897922516, -0.5384067893028259, -0.3762989044189453, -0.39140555262565613, 0.010882147587835789, 0.14692066609859467, 0.1623672991991043, 0.2765054702758789, 0.40505197644233704, -0.0945567861199379, -0.800693154335022, 0.08955748379230499, -0.04760979861021042, -0.6165875792503357, 0.5791443586349487, 0.3700902462005615, 0.4364832639694214, -0.2101278007030487, -0.4152604341506958, -0.14156588912010193, -0.574257493019104, 0.4132479727268219, 0.5025154948234558, 0.5725170373916626, 0.14790739119052887, 0.4947112798690796, -0.3318992853164673, 0.8573570847511292, 0.250078946352005, 0.11149115115404129, 0.3429052531719208, -0.2687479853630066, -0.040975429117679596, 0.0767042487859726, 0.7732705473899841, 0.6370161771774292, 0.05507677420973778, 0.14251962304115295, -0.32771944999694824, -0.09702122211456299, 0.27792617678642273, -0.8017403483390808, -0.0006524494965560734, 0.2683773636817932, -0.08006949722766876, 0.00029130105394870043, -0.07670444995164871, -0.5086200833320618, -0.27051860094070435, -0.7183664441108704, 0.5568477511405945, -0.1714220494031906, 0.1691172569990158, 0.16195040941238403, 0.01672567054629326, 0.14172367751598358, 0.5114229321479797, -0.6034606099128723, -0.02208620496094227, 0.5318238735198975, 0.6041020750999451, -0.2693404257297516, -0.11474210768938065, -0.9368578195571899, -0.13962610065937042, -0.22776417434215546, 0.8183594942092896, -0.4411846399307251, -0.6035770773887634, -0.15883803367614746, 0.03694763407111168, -0.14882230758666992, -0.4175281822681427, 0.9715562462806702, -0.5372232794761658, 0.30654382705688477, -0.32907402515411377, -0.317664235830307, -0.2169889509677887, 0.3248356282711029, -0.6009424328804016, 0.959875226020813, 0.07437082380056381, -0.23302152752876282, 0.1256660670042038, -0.7158312201499939, -0.1979074478149414, 0.1960180550813675, -0.14311887323856354, -0.15244925022125244, -0.04919029772281647, 0.271602988243103, 0.13295413553714752, -0.3640020489692688, 0.5977379679679871, -0.073857881128788, -0.17960216104984283, 0.0287379939109087, -0.4257434606552124, 0.7877897024154663, 0.2542385458946228, -0.3081568479537964, 0.34304890036582947, -0.4690682590007782, 0.32898861169815063, -0.26397138833999634, -0.08571942895650864, -0.22743478417396545, -0.24712663888931274, -0.15755769610404968, 0.09551853686571121, 0.4191054403781891, -0.7738138437271118, 0.17609398066997528, -0.43027809262275696, 0.12244078516960144, 0.764927327632904, 0.29831835627555847, 0.40815576910972595, -0.4442332983016968, 0.6991258263587952, -0.30119335651397705, 0.4629237651824951, -0.4442341923713684, -0.4466240108013153, -0.35686707496643066, -0.3067271113395691, 0.22866114974021912, 0.8127025961875916, -0.7157570719718933, 0.6742703914642334, 0.128697007894516, -0.38004976511001587, -0.3033342957496643, 0.0024076683912426233, 0.14995503425598145, 0.9366884827613831, 0.34689071774482727, -0.05726232752203941, -0.39098989963531494, -0.7792190909385681, -0.32561439275741577, -0.1532043218612671, -0.09400416165590286, 0.7253291606903076, 0.027774352580308914, -0.19720099866390228, 1.4073536396026611, -0.6474059820175171, -0.1498531550168991, 0.04274230822920799, 0.22290277481079102, 0.401104599237442, 0.46759602427482605, 0.5501015782356262, -0.6549742221832275, -0.6231475472450256, -0.25586602091789246, -0.5123962163925171, -1.0085740089416504, -0.30615222454071045, -0.47152581810951233, -0.03968246281147003, 0.36769726872444153, -0.39760005474090576, 0.30533871054649353, 0.3557978570461273, -0.31907758116722107, 0.8717626333236694, -0.23652619123458862, 0.4110037684440613, -0.7884302139282227, 0.15475043654441833, 0.1907266080379486, -0.2498970776796341, -0.49085909128189087, -0.021579615771770477, 0.28897610306739807, -0.18415895104408264, -0.5525345206260681, 0.9300345182418823, -0.3865680694580078, 0.4452279806137085, -0.49979010224342346, 0.06450218707323074, 0.31102466583251953, 0.49623578786849976, -0.03433512896299362, 0.8984460234642029, 0.4724700152873993, -0.7099202871322632, 0.5428908467292786, 0.1375519186258316, 0.022454462945461273, 0.6658304333686829, -0.6460282802581787, 0.014219429343938828, -0.053428471088409424, 0.4353693723678589, -1.1059088706970215, -0.1853415071964264, 0.3811999261379242, -0.23143233358860016, 0.05162075161933899, -0.04710453376173973, -0.34251073002815247, -0.2814779281616211, -0.4774653911590576, 0.6793457865715027, 0.5697811245918274, -0.5324694514274597, 0.8725613951683044, 0.12705104053020477, -0.4910220801830292, -0.29242345690727234, -0.19146974384784698, -0.005965852178633213, -0.15623904764652252, -0.6367992758750916, 0.48184630274772644, -0.5251509547233582, 0.06595383584499359, -0.4029708504676819, -0.11886550486087799, 0.12832358479499817, 0.021151147782802582, 0.327576220035553, 0.34987133741378784, -0.05490276962518692, 0.12905572354793549, 0.5148981809616089, -0.3344731032848358, 0.25836268067359924, -0.2426384836435318, 0.5003772377967834, 0.15461288392543793, -0.48009660840034485, -0.7614187598228455, 0.29076772928237915, 0.38520312309265137, -0.14633946120738983, 0.09971340745687485, 0.23203277587890625, -0.3701048791408539, -0.6656692028045654, -0.6336181163787842, -0.3921736776828766, -0.6386047005653381, -0.07132357358932495, -0.4883292615413666, -0.5005089044570923, 0.5604982376098633, -0.4882872998714447, 0.36734631657600403, 0.377000629901886, 0.34480616450309753, 0.1992470622062683, 1.1223727464675903, 0.39010509848594666, 0.34441864490509033, 0.48577192425727844, -0.04116274043917656, 0.07921074330806732, -1.0031747817993164, -0.2244943380355835, -0.5605969429016113, -0.2273821085691452, -0.2792382836341858, -0.2636995315551758, 0.6812214255332947, -0.3803156018257141, -0.26098063588142395, 0.30378201603889465, -0.6398465037345886, 0.5110384225845337, 0.5985994338989258, 0.19446714222431183, 0.2658216655254364, -0.19201859831809998, -0.44451284408569336, -0.21964940428733826, -0.47218188643455505, -0.7899118661880493, 0.8450599908828735, 0.19859644770622253, 0.8195109963417053, -0.3082772493362427, 0.6081722378730774, 0.4222068190574646, 0.24280555546283722, -0.7610027194023132, 0.7049130201339722, 0.23027318716049194, -0.25929948687553406, -0.2609575390815735, -0.511245608329773, -0.6964566707611084, 0.000019325838366057724, 0.0129814762622118, -0.6059447526931763, 0.38139793276786804, 0.347344309091568, -0.7819153666496277, -0.19642022252082825, -0.944926381111145, 0.9023570418357849, -0.3120535910129547, -0.45798635482788086, 0.2739226222038269, -0.5341708660125732, 0.021983912214636803, -0.22280439734458923, 0.08430380374193192, -0.23247495293617249, -0.14119940996170044, 0.44727692008018494, -0.43112465739250183, 0.912015438079834, -0.5223827958106995, -0.4935693144798279, 0.4089711010456085, 0.12446653842926025, 0.6820783019065857, 0.23991750180721283, -0.5494052767753601, -0.34793853759765625, -0.12024790048599243, -0.024692190811038017, -0.773980975151062, 0.788853108882904, -0.3424839377403259, -0.6787554025650024, -0.11887860298156738, -0.6080019474029541, -0.30577996373176575, 0.2992545962333679, 0.1963559091091156, 0.644003689289093, -0.13475185632705688, -0.24254915118217468, 0.4966503977775574, -0.32939064502716064, 0.44652581214904785, 0.511058509349823, -0.004141443874686956, -0.342563271522522, 0.7810376882553101, -0.16028855741024017, 0.057399943470954895, 0.14305022358894348, 0.21699680387973785, -0.5169203877449036, -0.36105212569236755, -0.6829774975776672, 0.027006668969988823, -0.680921733379364, -0.41649073362350464, -0.6451108455657959, -0.10096769034862518, -0.39338764548301697, -0.38924720883369446, -0.13309942185878754, -0.28770002722740173, -0.4669031798839569, 0.26357120275497437, 0.23912638425827026, 0.1683812141418457, 0.1420772224664688, 0.43843159079551697, -0.7400130033493042, 0.18910302221775055, 0.23526827991008759, 0.2495850920677185, -0.37079861760139465, -0.6148423552513123, 0.1524471491575241, 0.2288210690021515, -0.48036158084869385, -0.9062643647193909, 0.266379714012146, 0.12993749976158142, 0.7674255967140198, 0.06292656809091568, 0.6386474370956421, 0.33110108971595764, -0.6347684264183044, 0.6851770281791687, -0.17466886341571808, -0.9295413494110107, 0.7767913341522217, -0.24043188989162445, 0.46655797958374023, 0.928756594657898, 0.24881583452224731, -0.3767237365245819, -0.2195650339126587, -0.28142815828323364, -0.9813735485076904, 0.6259907484054565, 0.03231997787952423, 0.13512645661830902, 0.19955983757972717, 0.7538555264472961, 0.3836369812488556, 0.12098827958106995, -0.4572218358516693, -0.2232551872730255, 0.056764740496873856, -0.6682190299034119, 0.24037334322929382, -0.025383519008755684, -0.0840211734175682, -0.01654919795691967, 0.891627311706543, -0.4404045343399048, 0.0314544141292572, 0.30501362681388855, -0.33562156558036804, -0.18409781157970428, 0.11873140186071396, 0.6371943354606628, 0.4665236175060272, -0.06900675594806671, -0.13897596299648285, 0.3998548984527588, -0.5376342535018921, 0.4467340409755707, 0.2271634191274643, -0.4976883828639984, 0.03221762180328369, -0.06134166941046715, 0.8890736699104309, -0.13659848272800446, -0.7642751932144165, 0.5101447105407715, -0.18000175058841705, -0.08496886491775513, -0.07005342841148376, 0.3345637619495392, -0.5663380026817322, 0.2831643223762512, 0.4661405384540558, -0.04872621223330498, 0.5691280961036682, -0.06412266939878464, 0.19541025161743164, 0.4392029345035553, -0.21691235899925232, -0.3122653365135193, 0.4953504204750061, 0.5742203593254089, -0.48650306463241577, 0.22343650460243225, -0.37267178297042847, -0.47287848591804504, 0.5820615887641907, 0.4909575283527374, 1.2053617238998413, -0.40420955419540405, 0.28131404519081116, 0.5132408738136292, 0.2609507739543915, 0.1715441644191742, 0.40802398324012756, -0.2299027144908905, -0.4209739863872528, -0.6236168146133423, -0.5185526013374329, -0.6626057028770447, -0.10884905606508255, -0.28972765803337097, 0.5411463379859924, -0.26980993151664734, -0.4832640290260315, -0.3795478045940399, -0.011506311595439911, -0.5180023908615112, 0.2810579836368561, -0.014027277007699013, 0.9616526961326599, -0.8574895262718201, 0.016699692234396935, 0.8396384716033936, 0.24532082676887512, -0.6665846109390259, 0.06453938037157059, -0.08715490251779556, -0.5287284851074219, 0.5608211159706116, 0.4687274098396301, -0.2800702452659607, 0.27661463618278503, -0.2912728190422058, -0.6912783980369568, 0.9576653838157654, 0.5074769854545593, -0.5796340107917786, -0.0793265700340271, 0.06550673395395279, 0.23412872850894928, -0.5385560989379883, 0.5609132051467896, 0.24591247737407684, 0.6793795228004456, 0.09364369511604309, -0.9221982955932617, 0.45126500725746155, -0.2438134253025055, 0.019440753385424614, 0.16809393465518951, -0.3701491355895996, 0.2710244953632355, -0.1506742388010025, -0.38456499576568604, 0.05745171755552292, 0.5611653327941895, 0.5747221112251282, 0.4185810387134552, 0.7674722075462341, 0.1525559425354004, 0.5901907682418823, -0.19345587491989136, 0.5280622243881226, -0.5868903994560242, 0.24291348457336426, 1.0010558366775513, -0.5441023707389832, 0.2753516733646393, 0.5019787549972534, 0.28644654154777527, 0.44389116764068604, 0.8655554056167603, 0.18995103240013123, 0.5702442526817322, 0.3470832407474518, -0.4196898341178894, -0.3204253911972046, -0.31637340784072876, -0.13515199720859528, 0.006928130518645048, 0.33125537633895874, -0.17125080525875092, -0.4193878769874573, 0.36273133754730225, -0.41600897908210754, 0.026405110955238342, -0.17295275628566742, 0.7078198194503784, -0.14946770668029785, -0.9662864804267883, 0.38162723183631897, -0.05105412006378174, 0.507084846496582, -0.43829092383384705, 0.00620871689170599, -0.0538066066801548, -0.1533822864294052, -0.10461646318435669, -0.6309685707092285, -0.045796092599630356, 0.003483295440673828, 0.06457627564668655, -0.4881909489631653, 0.6881667375564575, -0.2667228579521179, -0.2226879745721817, -0.09992890805006027, 0.3975887894630432, -0.1470654159784317, -0.21331752836704254, -0.5353611707687378, 0.18170325458049774, -0.020372629165649414, -0.5493602156639099, -0.37415894865989685, 0.5495685935020447, -0.0623563788831234, 0.5592530965805054, 0.6374838948249817, 0.027172677218914032, -0.13845038414001465, 0.1342085897922516, 0.8672294020652771, -0.48201653361320496, -0.6447358727455139, -0.8459487557411194, 0.7439590096473694, -0.038275595754384995, -0.3385108411312103, 0.46489641070365906, 0.6776765584945679, 0.4342708885669708, 0.07172609120607376, 0.7529237270355225, 0.21617460250854492, 0.3383568525314331, -0.6087921857833862, 0.2451028972864151, -0.4056384563446045, 0.3293493390083313, -0.08946747332811356, -1.1502493619918823, -0.3460324704647064, 0.546090304851532, -0.5330968499183655, 0.24509553611278534, 0.6051202416419983, 0.940822184085846, -0.11911410838365555, 0.05526411533355713, -0.026016563177108765, -0.25402429699897766, 0.42696866393089294, 0.44995275139808655, 0.729762613773346, -0.3125886917114258, 0.263153076171875, -0.14329443871974945, -0.6306591629981995, -0.33032166957855225, -1.1473912000656128, -0.5936083793640137, -0.6296582221984863, -0.49972108006477356, -0.08128133416175842, -0.021563945338129997, 1.3085782527923584, 0.6805891394615173, -0.6193298697471619, -0.09715107828378677, -0.10358470678329468, -0.0919480249285698, 0.04977262392640114, -0.2696235477924347, 0.16644129157066345, -0.6231213808059692, -0.7936540842056274, 0.5016257762908936, 0.2897527515888214, 0.2513464689254761, -0.2102506011724472, -0.04096866399049759, 0.2311021387577057, 0.3203153610229492, 0.47602829337120056, 0.23233500123023987, -0.47902798652648926, -0.18030084669589996, 0.41191503405570984, -0.19766107201576233, -0.1089259460568428, 0.7352247834205627, -0.9349938631057739, 0.5095415115356445, 0.750266969203949, 0.6662662029266357, 0.08058622479438782, 0.23520687222480774, 0.824154257774353, -0.8172231912612915, -0.25270798802375793, 0.4066295921802521, 0.2648814022541046, 0.2867596447467804, -0.6466663479804993, 0.23041406273841858, -0.07152808457612991, -0.7408818602561951, -0.980067253112793, 0.27768415212631226, -0.9506687521934509, 0.0043670362792909145, 1.2129528522491455, 0.05321134254336357, -0.30101343989372253, -0.0066430941224098206, -0.8513023853302002, 0.3486972153186798, -0.6403716206550598, 0.7592088580131531, 0.470151424407959, -0.21344797313213348, 0.041060250252485275, -0.5428785681724548, 0.4923720061779022, 0.49696874618530273, -0.9779247641563416, 0.17213432490825653, 0.7046881914138794, 0.02076021023094654, 0.0684628039598465, 0.3241420090198517, 0.2340402752161026, 0.49464529752731323, -0.7358037829399109, 0.1588502675294876, -0.18608668446540833, -0.3820321261882782, -0.2878580391407013, 0.04663803428411484, -0.12543486058712006, -0.22835375368595123 ]
http://arxiv.org/abs/2402.03407v1
http://arxiv.org/pdf/2402.03407v1
Enhancing the Stability of LLM-based Speech Generation Systems through Self-Supervised Representations
2024-02-05T15:08:19
2024-02-05T15:08:19
Álvaro Martín-Cortinas, Daniel Sáez-Trigueros, Iván Vallés-Pérez, Biel Tura-Vecino, Piotr Biliński, Mateusz Lajszczak, Grzegorz Beringer, Roberto Barra-Chicote, Jaime Lorenzo-Trueba
eess.AS
eess.AS, cs.CL, cs.LG
Large Language Models (LLMs) are one of the most promising technologies for the next era of speech generation systems, due to their scalability and in-context learning capabilities. Nevertheless, they suffer from multiple stability issues at inference time, such as hallucinations, content skipping or speech repetitions. In this work, we introduce a new self-supervised Voice Conversion (VC) architecture which can be used to learn to encode transitory features, such as content, separately from stationary ones, such as speaker ID or recording conditions, creating speaker-disentangled representations. Using speaker-disentangled codes to train LLMs for text-to-speech (TTS) allows the LLM to generate the content and the style of the speech only from the text, similarly to humans, while the speaker identity is provided by the decoder of the VC model. Results show that LLMs trained over speaker-disentangled self-supervised representations provide an improvement of 4.7pp in speaker similarity over SOTA entangled representations, and a word error rate (WER) 5.4pp lower. Furthermore, they achieve higher naturalness than human recordings of the LibriTTS test-other dataset. Finally, we show that using explicit reference embedding negatively impacts intelligibility (stability), with WER increasing by 14pp compared to the model that only uses text to infer the style.
[ -0.3220446705818176, -0.4850107431411743, 0.3515872359275818, 0.3198237121105194, -0.2706112265586853, 0.05941758677363396, -0.45115548372268677, -0.08088111877441406, 0.1592569351196289, 0.5848482847213745, -0.3927415907382965, -0.38763323426246643, -0.4740915596485138, 0.3113838732242584, -0.5483766198158264, 0.6390036940574646, 0.4408424198627472, 0.21200431883335114, -0.44624292850494385, 0.12035462260246277, -0.19346611201763153, -0.7314265370368958, -0.46881741285324097, -0.2649083733558655, 0.17146846652030945, 0.1856660097837448, 0.4212261438369751, 0.5211532711982727, 0.05426530912518501, 0.4384114742279053, -0.009904338046908379, 0.326788991689682, -0.6280028820037842, 0.4720478951931, 0.0426265150308609, -0.13768045604228973, -0.2956644594669342, -0.12442681938409805, 0.7319422960281372, 0.32471907138824463, -0.4582587480545044, 0.031620532274246216, 0.4626235365867615, 0.4453376233577728, -0.3899381160736084, 0.290554940700531, -0.8234275579452515, -0.1335468292236328, -0.1950976550579071, -0.4063068628311157, -0.8673315048217773, -0.15363362431526184, 0.057626549154520035, -0.3075082004070282, 0.024218663573265076, -0.23641757667064667, 0.49993467330932617, 0.6889913082122803, -0.2651812434196472, -0.1455310434103012, -0.8293362259864807, 0.40148231387138367, -0.7541963458061218, 0.6426013708114624, 0.3859140872955322, 0.28487181663513184, -0.36918511986732483, -0.471250057220459, -0.5281939506530762, -0.16156862676143646, 0.06907392293214798, 0.34813758730888367, -0.029254894703626633, 0.10997427999973297, -0.0033476960379630327, 0.04608668386936188, -0.278687983751297, 0.3254929780960083, -0.24828460812568665, -0.3085908591747284, 0.6627877950668335, -0.10844995081424713, -0.10094231367111206, -0.3619881570339203, -0.2853708863258362, -0.24577032029628754, -0.7724716067314148, -0.1402529925107956, 0.3664427697658539, 0.5671725869178772, -0.12410728633403778, 0.32023683190345764, 0.1118483692407608, 0.37626203894615173, 0.680989682674408, -0.2935319244861603, 0.3691047430038452, 0.049666889011859894, -0.10262030363082886, 0.650085985660553, 0.96761155128479, 0.2741594910621643, 0.12004686146974564, -0.21623125672340393, 0.028674686327576637, -0.1404157131910324, 0.1814320832490921, -0.9050925970077515, -0.027165671810507774, 0.09381777048110962, -0.38590705394744873, -0.08310721814632416, 0.12029416114091873, -0.5194563269615173, -0.2738170325756073, -0.1896733194589615, 0.2887520492076874, -0.4517498016357422, -0.3377995193004608, 0.14502139389514923, 0.28870245814323425, 0.0638989806175232, 0.18045710027217865, -1.21732497215271, 0.1958509236574173, 0.2805453836917877, 0.6162209510803223, -0.13383162021636963, -0.23317451775074005, -0.6815947890281677, 0.550180196762085, -0.4574786424636841, 0.2235027402639389, -0.1950618326663971, -0.47961676120758057, 0.0918428972363472, 0.005105435848236084, 0.07240121811628342, -0.5920683145523071, 0.1927252560853958, -0.4494525194168091, 0.03512610122561455, 0.03835270553827286, -0.6389262676239014, 0.2154344618320465, -0.1553260087966919, -0.4890355169773102, 0.7634855508804321, -0.2244049310684204, -0.5564931035041809, 0.10572975873947144, -0.12204835563898087, -0.21222876012325287, -0.12184000015258789, -0.546676516532898, -0.5437623858451843, 0.2857798933982849, 0.2169361710548401, 0.7333284616470337, 0.04423762857913971, 0.4744436740875244, -0.2602579593658447, -0.3553670048713684, 0.18358640372753143, -0.6149029731750488, 0.4567900598049164, 0.21436887979507446, -0.43655475974082947, -0.2574954628944397, -0.8801851868629456, -0.15133793652057648, 0.0802660584449768, -0.5065187215805054, -0.1954132467508316, 0.24228134751319885, -0.25229743123054504, 0.15258190035820007, 0.2151591032743454, -0.5618327260017395, 0.04926253482699394, -0.3847278356552124, 0.5392125248908997, 0.7510867118835449, -0.023432429879903793, 0.3170432150363922, -0.03531990945339203, 0.25525030493736267, 0.2267187535762787, -0.20221784710884094, -0.2427232265472412, -0.3411009907722473, -0.8373527526855469, -0.05137602984905243, 0.29111447930336, 0.2780655324459076, -0.7707193493843079, 0.7147735357284546, -0.48924463987350464, -0.2993422746658325, -0.7024210095405579, 0.15373335778713226, 0.2880663275718689, 0.46096283197402954, 0.28279799222946167, -0.09572280198335648, -0.5244489312171936, -0.7342995405197144, 0.18204282224178314, -0.46057283878326416, -0.009571600705385208, -0.06465215235948563, 0.05761159583926201, -0.382535845041275, 0.9874542951583862, 0.12411924451589584, -0.28864216804504395, 0.060582734644412994, 0.049767620861530304, 0.045545998960733414, 0.5521650910377502, 0.5006164312362671, -0.637667715549469, -0.28414177894592285, -0.12118565291166306, -0.5133546590805054, -0.16012728214263916, -0.17676793038845062, 0.17263343930244446, 0.35728904604911804, 0.6855902075767517, -0.42635688185691833, 0.25110241770744324, 0.9777845144271851, -0.04218399524688721, 0.14216136932373047, -0.28179481625556946, -0.023739583790302277, -1.1458607912063599, -0.31795233488082886, -0.08896782994270325, -0.43014776706695557, -0.4721795320510864, -0.5314032435417175, 0.053430937230587006, -0.07257416099309921, -0.4427608847618103, -0.004517694003880024, -0.4342834949493408, 0.00874218251556158, -0.19734470546245575, 0.3258972764015198, 0.014232903718948364, 0.24070769548416138, 0.1595889776945114, 0.9465674161911011, 0.5990458130836487, -0.6608151793479919, 0.3264630138874054, 0.34651851654052734, 0.08755568414926529, 0.32434985041618347, -0.4330644905567169, 0.4234992265701294, -0.2920193076133728, 0.18078619241714478, -0.7876789569854736, -0.07006389647722244, -0.08623642474412918, -0.6620469689369202, 0.7138884663581848, -0.15203645825386047, -0.6056836247444153, -0.050512902438640594, -0.11690115183591843, 0.03870757296681404, 0.6210213303565979, -0.8779920935630798, 0.622380256652832, 0.4115988612174988, 0.10712572187185287, -0.3079635500907898, -0.975385308265686, 0.14628075063228607, -0.15897855162620544, -0.5700215101242065, 0.5700432062149048, -0.10259721428155899, -0.0018844386795535684, -0.024574363604187965, -0.10431070625782013, 0.25574979186058044, -0.05621897056698799, 0.4585874378681183, -0.015923870727419853, -0.06042923033237457, 0.4598138928413391, 0.17350567877292633, -0.2020135521888733, 0.08206871151924133, -0.28963813185691833, 0.49576303362846375, -0.10940790921449661, -0.36767977476119995, -0.47953224182128906, 0.23904329538345337, 0.5653507709503174, -0.2096087634563446, 0.6723188161849976, 0.5233444571495056, -0.1318994164466858, -0.4192346930503845, -0.5815677046775818, -0.1919260174036026, -0.5961834192276001, 0.379186749458313, -0.41045644879341125, -1.251805067062378, 0.4252552092075348, -0.16642238199710846, -0.19814327359199524, 0.3946188986301422, 0.8129720091819763, -0.30356931686401367, 0.8281921744346619, 0.45001429319381714, -0.17450734972953796, 0.3663387596607208, -0.2160438597202301, 0.028469154611229897, -0.7532049417495728, -0.3546026945114136, -0.26295337080955505, 0.10172850638628006, -0.9040948152542114, -0.5600483417510986, 0.21959523856639862, -0.0700099915266037, -0.29276955127716064, 0.23531635105609894, -0.7594611048698425, 0.0017811021534726024, 0.4128870368003845, 0.019766848534345627, 0.22766467928886414, 0.18598222732543945, 0.10727426409721375, -0.20999200642108917, -0.6306741833686829, -0.6264703273773193, 0.898897647857666, 0.542998731136322, 1.0524578094482422, 0.09505259990692139, 1.1197608709335327, 0.2839290499687195, -0.1842726469039917, -0.432077556848526, 0.6035043001174927, -0.5039058923721313, -0.334879070520401, -0.4081619083881378, -0.5228343605995178, -0.8027894496917725, 0.127640038728714, -0.2887543737888336, -0.6768574714660645, 0.24627645313739777, 0.2049005776643753, -0.3591565787792206, 0.14322230219841003, -0.5815476775169373, 0.27804312109947205, -0.4732564389705658, -0.468382328748703, -0.054514698684215546, -0.45837321877479553, 0.019971057772636414, -0.04358454421162605, 0.07954569160938263, 0.008793615736067295, 0.17343682050704956, 0.7380329966545105, -0.23023687303066254, 1.0130717754364014, -0.17502908408641815, -0.463797390460968, 0.46151483058929443, 0.04638102650642395, 0.3153798580169678, 0.20793594419956207, -0.3281216323375702, 0.25858160853385925, -0.1332118660211563, 0.13549388945102692, -0.6670165657997131, 0.951832115650177, -1.0827959775924683, -0.8773179650306702, -0.1804136335849762, -0.16737021505832672, -0.33485928177833557, 0.04416108876466751, 0.2197064906358719, 0.48229143023490906, -0.08326661586761475, 0.6314882040023804, 0.8636012673377991, 0.08762338757514954, 0.5117254257202148, 0.3182089030742645, -0.3126119375228882, -0.627879798412323, 0.8241112232208252, 0.3012148439884186, 0.47782060503959656, 0.27095943689346313, 0.07971721887588501, -0.6428530216217041, -0.6985552906990051, -0.46294477581977844, 0.13201215863227844, -0.6857175827026367, -0.13876113295555115, -0.3368966281414032, -0.5334317088127136, -0.5686752200126648, 0.31892839074134827, -0.701974093914032, -0.25388917326927185, -0.7687142491340637, -0.26413801312446594, 0.2731465697288513, 0.6808317303657532, -0.18764430284500122, 0.40320470929145813, -0.7792505025863647, 0.25509029626846313, 0.6091166734695435, 0.2013716846704483, -0.3203718066215515, -0.758728563785553, -0.36696094274520874, -0.09145446121692657, -0.3212800621986389, -0.918968677520752, 0.3011222779750824, 0.434072345495224, 0.5387202501296997, 0.4451931118965149, 0.19107352197170258, 0.8971904516220093, -0.6464288234710693, 0.6798062920570374, 0.29682284593582153, -1.088521122932434, 0.5473498106002808, -0.43516066670417786, 0.09288724511861801, 0.653895378112793, -0.05370058864355087, -0.2375004142522812, -0.3675196170806885, -0.4414029121398926, -0.5267223119735718, 0.6554898619651794, 0.2755628824234009, 0.4595474898815155, -0.06636672466993332, 0.46702131628990173, -0.041445836424827576, 0.16615772247314453, -0.7986094355583191, -0.34817972779273987, -0.7303516864776611, -0.2750447988510132, -0.10365447402000427, -0.4322682321071625, 0.06530997902154922, -0.1279609501361847, 0.6269285678863525, -0.2839090824127197, 0.1730085015296936, 0.34641700983047485, 0.2711602747440338, -0.12900570034980774, 0.21152321994304657, 0.42183831334114075, 0.30679038166999817, -0.31161195039749146, 0.4679461121559143, 0.17861437797546387, -0.3060614764690399, 0.4346935749053955, 0.05830051749944687, -0.05694964528083801, 0.11631893366575241, 0.1600533425807953, 0.8885723352432251, 0.19422867894172668, -0.41224610805511475, 0.3866112232208252, -0.16963070631027222, -0.09271471947431564, -0.449499249458313, 0.06593793630599976, 0.43739357590675354, 0.1977231204509735, 0.370747447013855, -0.20223239064216614, -0.03952997550368309, -0.37697485089302063, 0.22727636992931366, 0.34941568970680237, -0.22377637028694153, -0.2718459367752075, 0.7717076539993286, 0.49972978234291077, -0.2903707027435303, 0.4657956659793854, -0.15902280807495117, -0.11195638030767441, 0.11548130959272385, 0.9406422972679138, 0.9934697151184082, -0.6155845522880554, 0.18455564975738525, 0.24048180878162384, 0.2652161717414856, -0.05390934646129608, -0.06911402940750122, -0.1955525428056717, -0.6738386154174805, -0.27579465508461, -0.6309741735458374, -0.2871769070625305, 0.07225354015827179, -0.6016568541526794, 0.2487230747938156, -0.3908737599849701, -0.5904152989387512, -0.6413334608078003, -0.38030925393104553, -0.2480686902999878, 0.1530325561761856, 0.6140779256820679, 0.3988451063632965, -0.6862548589706421, 1.0803500413894653, 0.3604065775871277, 0.023697305470705032, -0.8494941592216492, 0.09411369264125824, -0.20709969103336334, -0.5388590693473816, 0.6573586463928223, 0.26314833760261536, -0.6545867919921875, 0.11995793133974075, -0.43063852190971375, -1.1196341514587402, 1.2731335163116455, 0.9817416071891785, -1.106083869934082, 0.04677984490990639, 0.3076978623867035, 0.4894264042377472, -0.4805554747581482, -0.05071413144469261, 0.39988765120506287, 0.06266213953495026, 0.2946890890598297, -1.0187201499938965, -0.07945463061332703, -0.15256264805793762, 0.26773276925086975, -0.209732785820961, -0.7961664199829102, 0.6460613012313843, 0.1448359340429306, -0.3751722276210785, -0.13476505875587463, 0.985127866268158, 0.6126267910003662, 0.023333823308348656, 0.4490691125392914, 0.5735337138175964, 0.6241317987442017, -0.0804678350687027, 0.48178011178970337, -0.5127492547035217, 0.41620349884033203, 1.2138453722000122, -0.11219239234924316, 0.9046235084533691, 0.6997327208518982, -0.043829545378685, 0.5500715374946594, 0.35242459177970886, 0.015735691413283348, 0.7493617534637451, 0.19747920334339142, -0.03963245823979378, -0.6507672667503357, 0.06399542838335037, -0.5335096120834351, 0.798596978187561, 0.3296956419944763, -0.5165067911148071, -0.04277295246720314, 0.0576884001493454, -0.126379132270813, 0.41293203830718994, -0.06867945194244385, 0.6993400454521179, 0.26141899824142456, -0.22767439484596252, 0.7954796552658081, -0.38855573534965515, 0.7142379879951477, -0.6773205995559692, -0.054197996854782104, 0.17232809960842133, 0.12715989351272583, -0.2490977793931961, -0.5186300277709961, 0.1420789361000061, -0.059531137347221375, -0.22129939496517181, -0.3383817672729492, 0.5938313603401184, -0.5013716220855713, -0.5266480445861816, 0.6600867509841919, 0.3950626850128174, 0.025716863572597504, 0.37322792410850525, -0.37388136982917786, 0.44636815786361694, -0.00134404341224581, -0.29417091608047485, 0.2918570935726166, 0.6189458966255188, 0.2812388837337494, 0.6272595524787903, 0.3511471748352051, 0.17179569602012634, 0.31098470091819763, 0.21817921102046967, 0.9402713179588318, -0.4046188294887543, -0.4747580289840698, -1.0627353191375732, 0.40680572390556335, -0.0344303622841835, 0.09016596525907516, 0.9818847179412842, 0.39233389496803284, 0.6982544660568237, 0.10247449576854706, 0.721635103225708, 0.09738347679376602, 0.20247361063957214, -0.7533036470413208, 0.9010013937950134, -0.4137955605983734, 0.4193269908428192, -0.2947230637073517, -0.7084417939186096, -0.05680723860859871, 0.5755820870399475, 0.009545008651912212, 0.13015742599964142, 0.1668606996536255, 0.6303354501724243, 0.3591928780078888, -0.24402037262916565, 0.6572812795639038, 0.31197285652160645, 0.5861437320709229, 0.20904111862182617, 0.9070459604263306, -0.3093665838241577, 0.5915807485580444, -0.28019416332244873, 0.030086379498243332, -0.13762398064136505, -0.8332775831222534, -1.0967333316802979, -0.7495753765106201, -0.37610432505607605, -0.3082454204559326, 0.1443113386631012, 0.8809657096862793, 0.9278663396835327, -0.6020990014076233, -0.269481897354126, -0.03934751823544502, -0.3468317985534668, 0.2241084724664688, -0.11299055814743042, 0.31724411249160767, -0.2819373905658722, -0.7106092572212219, 0.7168295383453369, 0.4798089861869812, 0.3157200813293457, -0.6745308041572571, -0.46106621623039246, 0.22090497612953186, 0.02314513735473156, 0.44511348009109497, -0.03941217064857483, -0.8458729386329651, -0.43837302923202515, -0.07710906118154526, -0.044442396610975266, 0.2505247890949249, 0.3187047243118286, -0.869123101234436, 0.8014883399009705, 0.14144794642925262, 0.6863462924957275, 0.6897947192192078, 0.23068781197071075, 0.35215693712234497, -0.8109940886497498, 0.23641987144947052, 0.2918022871017456, 0.39914020895957947, 0.5577650666236877, -0.3899563252925873, -0.03590012714266777, 0.0320369154214859, -0.6926771402359009, -0.5860564112663269, 0.10519805550575256, -1.0240567922592163, 0.10231700539588928, 1.0497329235076904, -0.1695360243320465, -0.3891240060329437, 0.10269998759031296, -0.06447573751211166, 0.42034995555877686, -0.642579197883606, 0.8305878639221191, 0.28860190510749817, -0.2289385348558426, -0.3902001678943634, -0.09323263168334961, 0.4467964470386505, 0.2961159646511078, -0.4962541162967682, 0.25786155462265015, 0.43932273983955383, 0.09692088514566422, 0.611369788646698, 0.6714461445808411, -0.1325877457857132, 0.031481169164180756, -0.08955644816160202, 0.07604765892028809, -0.3506523072719574, -0.3016435503959656, -0.40584081411361694, 0.09089254587888718, 0.21612463891506195, -0.479694128036499 ]
http://arxiv.org/abs/2402.03067v1
http://arxiv.org/pdf/2402.03067v1
Multilingual transformer and BERTopic for short text topic modeling: The case of Serbian
2024-02-05T14:59:29
2024-02-05T14:59:29
Darija Medvecki, Bojana Bašaragin, Adela Ljajić, Nikola Milošević
cs.CL
cs.CL, cs.AI
This paper presents the results of the first application of BERTopic, a state-of-the-art topic modeling technique, to short text written in a morphologi-cally rich language. We applied BERTopic with three multilingual embed-ding models on two levels of text preprocessing (partial and full) to evalu-ate its performance on partially preprocessed short text in Serbian. We also compared it to LDA and NMF on fully preprocessed text. The experiments were conducted on a dataset of tweets expressing hesitancy toward COVID-19 vaccination. Our results show that with adequate parameter setting, BERTopic can yield informative topics even when applied to partially pre-processed short text. When the same parameters are applied in both prepro-cessing scenarios, the performance drop on partially preprocessed text is minimal. Compared to LDA and NMF, judging by the keywords, BERTopic offers more informative topics and gives novel insights when the number of topics is not limited. The findings of this paper can be significant for re-searchers working with other morphologically rich low-resource languages and short text.
[ -0.5376806259155273, -0.8717684149742126, 0.4520385265350342, 0.33078569173812866, -0.6185502409934998, -0.048971474170684814, -0.40664297342300415, -0.4359354078769684, 0.7103541493415833, 0.27585989236831665, -0.5609579086303711, -0.47359561920166016, -0.6056602001190186, 0.15328504145145416, -0.34540390968322754, 1.1616599559783936, 0.05282524600625038, -0.044178519397974014, -0.09932515025138855, 0.14588730037212372, -0.18157422542572021, -0.6438484191894531, -0.14638665318489075, -0.1460292786359787, 0.5313763618469238, 0.5879095196723938, 0.6882898807525635, -0.030359050258994102, 0.44916412234306335, 0.15214446187019348, -0.1959838718175888, -0.35511690378189087, -0.2972947061061859, 0.3689296245574951, -0.38367554545402527, -0.3291674852371216, -0.30936306715011597, -0.12144830822944641, 0.5567103028297424, 0.47597846388816833, 0.054598383605480194, 0.09432120621204376, -0.23647308349609375, 0.4340781271457672, -0.37295204401016235, 0.03867814689874649, -0.6060656905174255, 0.11046530306339264, -0.49411919713020325, -0.24686333537101746, -0.42585670948028564, -0.13689441978931427, 0.5957083702087402, -0.3318589925765991, 0.21524301171302795, -0.1631467491388321, 0.8153753876686096, 0.09410195052623749, -0.269777774810791, -0.4022110104560852, -0.4685766398906708, 0.932757556438446, -0.8535154461860657, 0.13864204287528992, 0.271345317363739, 0.12213670462369919, 0.10284502059221268, -0.6802058815956116, -0.3554842472076416, -0.09324926137924194, 0.04466160759329796, 0.16110625863075256, -0.48929563164711, 0.05743774399161339, 0.007986600510776043, 0.05470508337020874, -0.6380487084388733, 0.07403504103422165, -0.5258255004882812, -0.23708680272102356, 0.4642846882343292, -0.10438890010118484, 0.36344417929649353, -0.5164206027984619, -0.1008610874414444, 0.10194680094718933, -0.4887513518333435, -0.13677728176116943, 0.4129900336265564, 0.5347648859024048, -0.07537582516670227, 0.6786583662033081, -0.128198504447937, 0.70191890001297, -0.17995360493659973, -0.3422636091709137, 0.32730722427368164, -0.5323861837387085, 0.04765557125210762, -0.004672119859606028, 0.49075037240982056, -0.0984577015042305, 0.16024191677570343, -0.15104757249355316, 0.1572679728269577, -0.19038093090057373, 0.43759211897850037, -1.0168135166168213, -0.3960113525390625, 0.003456713631749153, -0.7745355367660522, -0.13717021048069, 0.021551530808210373, -1.184309720993042, 0.10058973729610443, 0.06715427339076996, 0.3345949947834015, -0.36351341009140015, 0.15609578788280487, 0.0013469633413478732, 0.0583740696310997, -0.023273516446352005, 0.25956615805625916, -1.0065228939056396, 0.10733945667743683, 0.5958876609802246, 0.950751006603241, -0.22093498706817627, -0.12070878595113754, -0.18024656176567078, 0.009650825522840023, -0.1954421103000641, 0.9126508235931396, -0.7197425365447998, -0.17879438400268555, 0.20342876017093658, -0.03537581115961075, 0.02755291759967804, -0.2152121514081955, 0.9409474730491638, -0.5087450742721558, 0.5245360732078552, -0.1051831990480423, -0.27874141931533813, -0.1659121960401535, 0.32674640417099, -0.7967972755432129, 0.9429267644882202, -0.05156523361802101, -1.2256609201431274, 0.4380357265472412, -0.7304174900054932, -0.5443381667137146, -0.00031541375210508704, -0.05599866434931755, -0.4788295030593872, -0.02243313565850258, 0.3015645444393158, 0.6301376223564148, -0.23748569190502167, 0.4260108470916748, -0.1876363903284073, -0.2294710874557495, -0.08146483451128006, -0.3970790207386017, 0.37762439250946045, 0.13194774091243744, -0.20802222192287445, 0.28095096349716187, -0.4277295172214508, -0.01728261075913906, -0.07833720743656158, -0.36516404151916504, -0.5876599550247192, 0.21736888587474823, 0.3482264280319214, 0.4781157076358795, 0.39201825857162476, -0.5625647902488708, 0.31914806365966797, -0.6167146563529968, 0.40578722953796387, 0.26334479451179504, 0.0829700231552124, 0.4565746784210205, -0.16455502808094025, 0.6191985011100769, 0.024196360260248184, 0.13657470047473907, -0.23531214892864227, -1.0181198120117188, -0.47299402952194214, -0.39167550206184387, 0.5429505705833435, 0.5776097774505615, -1.1057560443878174, 0.14059798419475555, -0.05474146828055382, -0.5777235627174377, -0.4623189866542816, -0.2689730226993561, 0.19613759219646454, 0.25168734788894653, 0.17219646275043488, -0.1965743899345398, -0.6388030052185059, -1.1284070014953613, 0.041824646294116974, -0.24798326194286346, 0.2047479897737503, 0.24799925088882446, 0.6553142666816711, -0.377246618270874, 0.8576943278312683, -0.4207651913166046, -0.03819895163178444, -0.5900810956954956, 0.5597279667854309, 0.43392765522003174, 0.34493711590766907, 1.1000858545303345, -1.0935025215148926, -0.7062615156173706, -0.21596704423427582, -0.06995128095149994, -0.22418834269046783, 0.07381331920623779, -0.0992867574095726, 0.5180466771125793, -0.08111920207738876, -0.46336978673934937, 0.4257930517196655, 0.7893524169921875, -0.3066633343696594, 0.5664829611778259, -0.3809104859828949, 0.1258918195962906, -1.408556342124939, 0.1235489696264267, 0.03099403716623783, -0.2202213704586029, -0.9759778380393982, -0.05408233776688576, -0.09031584858894348, -0.5020913481712341, -0.5688554644584656, 0.515566349029541, -0.08357954770326614, -0.08795209974050522, -0.3915185332298279, 0.07139310240745544, -0.12156619876623154, 0.18741822242736816, 0.13297736644744873, 0.9854776859283447, 0.5032979249954224, -0.37790191173553467, 0.1919563114643097, 0.43447592854499817, -0.4008793532848358, -0.08541195839643478, -0.574558675289154, -0.30138951539993286, -0.09793391823768616, 0.12484463304281235, -0.8956581354141235, -0.27414488792419434, 0.5967976450920105, -0.22262004017829895, 0.13233019411563873, -0.28552764654159546, -0.6907360553741455, -0.3528542220592499, -0.41823476552963257, 0.5047694444656372, 0.4249446988105774, -0.2613492012023926, 0.27721214294433594, 0.33285409212112427, -0.8747138977050781, -0.5191680788993835, -0.6507177352905273, 0.12512177228927612, -0.2297356277704239, -0.8032040596008301, 0.7122983932495117, -0.20821721851825714, -0.16847646236419678, 0.03189008682966232, 0.1344449520111084, -0.6195088624954224, 0.18270567059516907, -0.15079151093959808, 0.16600975394248962, -0.11724187433719635, 0.2781471908092499, 0.2719595730304718, -0.06256607919931412, -0.178168386220932, -0.12652432918548584, 0.712119996547699, -0.14337396621704102, -0.09094168990850449, -0.269944429397583, 0.803462028503418, 0.35815250873565674, -0.12108391523361206, 0.911557137966156, 0.6288118958473206, -0.31091272830963135, 0.1085861325263977, -0.32537323236465454, -0.07006862759590149, -0.26437249779701233, 0.37919020652770996, -0.2530626952648163, -0.7778906226158142, 0.6560720801353455, 0.08589178323745728, -0.1904309093952179, 0.6411908268928528, 0.761803150177002, -0.041086792945861816, 0.5653813481330872, 1.0979570150375366, -0.16483666002750397, 0.6376269459724426, -0.0026964738499373198, 0.5170010328292847, -0.21889628469944, -0.24219992756843567, -0.6904043555259705, -0.06306874006986618, -0.8841919898986816, -0.5113097429275513, 0.34938883781433105, -0.036106426268815994, 0.39696845412254333, 0.3874299228191376, -0.29180407524108887, 0.12713873386383057, 0.5847821831703186, 0.004629100207239389, -0.10753615945577621, -0.004844835493713617, 0.054321885108947754, -0.38970547914505005, -0.9409643411636353, -0.6885724067687988, 0.7324666380882263, 0.19740381836891174, 0.7224006652832031, -0.03245426341891289, 0.8287944793701172, 0.3355702757835388, 0.15184496343135834, -0.8849270939826965, 0.2812228500843048, -0.5184297561645508, -0.8239756226539612, -0.4757908582687378, -0.07799074053764343, -0.6088362336158752, 0.4332750737667084, -0.2827904522418976, -0.7448796033859253, 0.3796069622039795, 0.05915103107690811, -0.22608625888824463, 0.27118563652038574, -0.5300446152687073, 1.014865517616272, -0.24601002037525177, -0.01888250932097435, -0.26095518469810486, -0.6953068971633911, 0.1239352896809578, -0.30496901273727417, 0.10913688689470291, -0.3187350630760193, -0.11901992559432983, 0.9624239802360535, 0.04226278141140938, 0.7124223113059998, -0.048281967639923096, -0.0697857066988945, 0.1141800656914711, -0.2968975007534027, 0.09753517806529999, 0.31380942463874817, -0.2502693831920624, 0.1995226889848709, 0.1547337770462036, -0.4785570800304413, -0.36703649163246155, 0.43255794048309326, -0.42908424139022827, -0.6511079668998718, -0.6305863261222839, -0.4368349015712738, 0.09390982985496521, 0.3908345699310303, 0.36006805300712585, 0.2598370313644409, -0.4162377715110779, 0.25144872069358826, 0.6947316527366638, -0.4475937783718109, 0.5150160789489746, 0.3365189731121063, -0.0581497997045517, -0.20344474911689758, 0.691940426826477, 0.04539306461811066, -0.03113637864589691, 0.6470863819122314, 0.31846001744270325, 0.2129490077495575, -0.5531325340270996, -0.23563076555728912, 0.24040062725543976, -0.5520607829093933, -0.28255555033683777, -0.671775758266449, -0.11495129764080048, -0.46380433440208435, -0.28642866015434265, -0.3868906795978546, -0.5052434802055359, -0.6231824159622192, 0.20001237094402313, 0.12278018146753311, 0.4635050296783447, -0.21900859475135803, 0.26873189210891724, -0.7070423364639282, 0.5094602108001709, 0.006429015658795834, 0.14051838219165802, -0.31976789236068726, -0.4133853614330292, -0.4260365068912506, 0.13905441761016846, -0.3113841414451599, -1.0161337852478027, 0.8480632305145264, 0.40249869227409363, 0.6435836553573608, 0.2998928427696228, 0.11013579368591309, 0.3758830428123474, -0.6322193741798401, 0.8868528008460999, 0.002723365556448698, -1.0754565000534058, 0.811290442943573, -0.3033943176269531, 0.1710604429244995, 0.5654601454734802, 0.7147142887115479, -0.5415135025978088, -0.3092070519924164, -0.460508793592453, -1.1067148447036743, 0.8372313976287842, 0.3785203993320465, 0.29133841395378113, -0.0872359350323677, 0.18956194818019867, 0.5211407542228699, 0.25741925835609436, -0.7023587226867676, -0.26224589347839355, -0.37929508090019226, -0.06349054723978043, -0.1303333342075348, -1.0840867757797241, 0.05644216015934944, -0.19346390664577484, 0.8072346448898315, -0.11065540462732315, 0.5685539841651917, 0.012186473235487938, -0.15819688141345978, 0.23349250853061676, 0.7590063810348511, 0.9709895849227905, 0.8950799107551575, -0.3817801773548126, -0.004829883575439453, -0.07912780344486237, -0.3369256258010864, -0.0680462196469307, 0.36377623677253723, -0.24023421108722687, 0.6023243069648743, 0.4235631823539734, 0.5920516848564148, 0.5765810608863831, -0.6417601704597473, 0.66026371717453, -0.06447430700063705, -0.1825527399778366, -0.26876726746559143, -0.49512895941734314, -0.11811232566833496, 0.24098265171051025, 0.46434569358825684, -0.11842064559459686, 0.35721448063850403, -0.7805464267730713, 0.34399980306625366, 0.19686101377010345, -0.046772394329309464, -0.5898699164390564, 0.35189324617385864, 0.3427944481372833, -0.04657430201768875, 0.3468281924724579, -0.021273331716656685, -0.8902032375335693, 0.5853926539421082, 0.5822675228118896, 0.6211047768592834, -0.018314704298973083, 0.6803012490272522, 0.08387809991836548, 0.2056025117635727, -0.0125538669526577, 0.5005933046340942, -0.19940583407878876, -0.5429851412773132, -0.5143055319786072, -0.36104393005371094, -0.5462026596069336, -0.14044271409511566, -0.8608870506286621, 0.050117310136556625, 0.1718585342168808, -0.3091559112071991, 0.27433010935783386, 0.2491534948348999, -0.28379786014556885, 0.023463603109121323, 0.08976650983095169, 1.0896804332733154, -1.0550832748413086, 1.0263382196426392, 0.8319902420043945, -0.3069651126861572, -0.07742756605148315, 0.529796302318573, -0.574961245059967, -0.3815937042236328, 0.8997559547424316, 0.020858798176050186, 0.2204073667526245, -0.48918119072914124, -0.21682649850845337, -1.03591787815094, 0.8639677166938782, 0.40380361676216125, -0.28002285957336426, -0.2774202823638916, 0.0438205860555172, 0.7648592591285706, -0.13357171416282654, -0.0286067146807909, 0.3283170163631439, 0.5488936305046082, 0.010664083063602448, -1.0294965505599976, -0.3753582537174225, -0.27325496077537537, -0.056359175592660904, 0.31193456053733826, -0.458839476108551, 0.8662536144256592, -0.11871412396430969, -0.09325966984033585, 0.42289507389068604, 0.5519996881484985, -0.04019848257303238, 0.42785465717315674, -0.0607617124915123, 0.2190641164779663, 0.479974627494812, -0.17684215307235718, 1.016158103942871, -0.46428245306015015, 0.520711362361908, 0.7157111167907715, -0.18208210170269012, 0.8070101737976074, 0.7444780468940735, 0.19354364275932312, 0.3341345489025116, 0.6625061631202698, 0.1503220498561859, 1.047986626625061, -0.00463135028257966, -0.1700037270784378, -0.12901082634925842, -0.0211363323032856, -0.31223711371421814, 0.48241284489631653, 0.31762707233428955, -0.34142759442329407, -0.4220429062843323, 0.6187776327133179, 0.05429527908563614, -0.019836170598864555, -0.22557376325130463, 0.6298775672912598, -0.1534009575843811, -0.3892871141433716, 0.0743621289730072, 0.42934346199035645, 0.914055347442627, -0.5929713249206543, 0.01640024594962597, -0.09535245597362518, -0.0521068312227726, 0.14691221714019775, -0.7792320251464844, 0.7045391201972961, 0.18156155943870544, -0.6088944673538208, -0.4803890883922577, 1.0755858421325684, -0.5010900497436523, -0.5444731712341309, 0.24812829494476318, 0.4631221890449524, 0.22869952023029327, 0.050985146313905716, -0.7383440136909485, -0.036407873034477234, -0.059969887137413025, -0.20878492295742035, 0.10969626158475876, 0.48974665999412537, -0.18542170524597168, 0.7383154034614563, 0.04298081994056702, 0.15159621834754944, 0.13832613825798035, 0.08563897758722305, 0.8712533116340637, -0.5969677567481995, -0.6813257932662964, -0.6148667335510254, 0.20959311723709106, 0.14146210253238678, -0.1764286905527115, 0.8049226999282837, 0.5016257166862488, 0.7971047759056091, -0.3610875606536865, 0.7611185312271118, -0.20065279304981232, 0.5997232794761658, -0.54476398229599, 0.8209023475646973, -0.37293216586112976, -0.22437065839767456, -0.4310237169265747, -0.815657377243042, -0.40960493683815, 0.604428231716156, -0.48526719212532043, -0.1821509152650833, 0.5794469118118286, 0.21251724660396576, 0.008247622288763523, -0.25703442096710205, 0.5589668154716492, -0.04823365807533264, 0.33284077048301697, 0.38545656204223633, 0.6660138964653015, -0.302438348531723, 0.4924471378326416, -0.6412145495414734, 0.03232412785291672, -0.5501673221588135, -0.8142265677452087, -1.0121732950210571, -0.7768122553825378, -0.12696388363838196, 0.2450251579284668, 0.3468720614910126, 0.8461297154426575, 0.7348510026931763, -0.9061340689659119, 0.14689961075782776, 0.2978183329105377, 0.1672038584947586, 0.18613672256469727, -0.21090760827064514, 0.34398066997528076, -0.2542790174484253, -0.6306183338165283, 0.22981694340705872, 0.3146151006221771, 0.06774604320526123, -0.22320783138275146, 0.2696588635444641, -0.43540632724761963, 0.19181521236896515, 0.7189794778823853, 0.1889546811580658, -0.8821006417274475, -0.2592363655567169, -0.18773320317268372, -0.10504020750522614, 0.20136843621730804, 1.070165753364563, -0.7139714956283569, 0.3594391644001007, 0.6477301716804504, 0.41707393527030945, 0.5255980491638184, 0.03671018034219742, 0.3926345109939575, -0.7869736552238464, 0.519396185874939, 0.5386824011802673, 0.42600104212760925, 0.15083113312721252, -0.2722921371459961, 0.17766501009464264, -0.00798459816724062, -0.3165821135044098, -0.6554021835327148, 0.20614606142044067, -1.031079888343811, -0.4017307758331299, 0.8959890007972717, -0.21277175843715668, -0.029495934024453163, -0.0194106362760067, -0.40241366624832153, 0.1952378749847412, -0.4728965759277344, 0.9834187626838684, 0.9393516778945923, -0.03893755003809929, -0.1349790394306183, -0.40594252943992615, 0.2734614610671997, 0.27918362617492676, -0.9751518368721008, -0.37416955828666687, 0.17774875462055206, 0.12275910377502441, 0.28954651951789856, 0.5000602602958679, 0.032799750566482544, 0.3535017669200897, -0.2774438261985779, 0.014006383717060089, 0.10650068521499634, -0.8539106845855713, -0.2890387773513794, 0.28461766242980957, -0.14877410233020782, -0.03648247942328453 ]
http://arxiv.org/abs/2402.03053v1
http://arxiv.org/pdf/2402.03053v1
Multi-Lingual Malaysian Embedding: Leveraging Large Language Models for Semantic Representations
2024-02-05T14:36:51
2024-02-05T14:36:51
Husein Zolkepli, Aisyah Razak, Kamarul Adha, Ariff Nazhan
cs.CL
cs.CL, cs.LG
In this work, we present a comprehensive exploration of finetuning Malaysian language models, specifically Llama2 and Mistral, on embedding tasks involving negative and positive pairs. We release two distinct models tailored for Semantic Similarity and Retrieval-Augmented Generation (RAG). For Semantic Similarity, our 600 million parameter Llama2 model outperforms OpenAI text-embedding-ada-002 across all recall@k metrics for b.cari.com.my, c.cari.com.my, Malay news, and Malaysian Twitter test sets. In the realm of RAG models, our approach proves competitive with OpenAI text-embedding-ada-002 in the Malaysian context. Notably, our 2 billion parameter Llama2 model achieves superior Recall@5, Recall@10 for the "Melayu" keyword research papers dataset and excels in Recall@3, Recall@5, and Recall@10 for the lom.agc.gov.my dataset. These findings underscore the effectiveness of our finetuning strategy and highlight the performance gains in both Semantic Similarity and RAG tasks. All models released at https://huggingface.co/collections/mesolitica/malaysian-embedding-6523612bfe5881ad35f81b99
[ -0.39080071449279785, -0.611926257610321, 0.26765480637550354, 0.4546113610267639, -0.41528812050819397, -0.19641828536987305, -0.25755396485328674, -0.5899820327758789, 0.40511348843574524, 0.6901368498802185, -0.13296188414096832, -0.5316866040229797, -0.6300087571144104, 0.24306343495845795, -0.3977123200893402, 0.704201340675354, -0.3184720575809479, 0.19085155427455902, -0.21986974775791168, -0.44107604026794434, -0.5984541177749634, -0.5813546180725098, -0.445809930562973, -0.33681780099868774, 0.5899220705032349, 0.495342880487442, 0.6280631422996521, 0.693069338798523, 0.47596853971481323, 0.23071078956127167, 0.005866135936230421, 0.02442226931452751, -0.6181261539459229, 0.26969510316848755, -0.25487998127937317, -0.4649096727371216, -0.17145439982414246, 0.034031376242637634, 0.6822490096092224, 0.5704583525657654, -0.27815917134284973, 0.17201091349124908, 0.06201484799385071, 0.3667026460170746, -0.5840744972229004, 0.364313542842865, -0.6446483731269836, -0.06021828576922417, -0.3152918517589569, -0.08970757573843002, -0.2957843542098999, -0.3191862404346466, -0.17483115196228027, -0.7190095782279968, -0.197468101978302, 0.006569931283593178, 0.974461019039154, 0.45991578698158264, -0.750890851020813, -0.730029821395874, -0.43999171257019043, 0.9539393186569214, -0.8239362239837646, 0.46176111698150635, 0.6984310746192932, 0.29034966230392456, 0.11388399451971054, -0.49457836151123047, -0.4901117980480194, -0.3650108277797699, -0.012192679569125175, 0.18013520538806915, 0.16859464347362518, -0.010520926676690578, 0.12350840121507645, 0.44082483649253845, -0.31254643201828003, 0.32881489396095276, -0.10027870535850525, -0.11518987268209457, 0.47293856739997864, 0.1270313560962677, 0.01437753438949585, -0.46738487482070923, -0.2933329939842224, -0.276167094707489, -1.0567436218261719, -0.26681649684906006, 0.43400225043296814, 0.4004165232181549, -0.14191724359989166, 1.0898088216781616, -0.19545535743236542, 0.3645610809326172, -0.20925073325634003, -0.3423086702823639, 0.2747943103313446, -0.46048590540885925, -0.008824064396321774, 0.1454048752784729, 0.3993690609931946, 0.34207069873809814, 0.2088702768087387, -0.05495138093829155, -0.36672070622444153, 0.36377301812171936, -0.07536948472261429, -0.8951528072357178, -0.034137021750211716, -0.13818635046482086, -0.46000829339027405, -0.24337886273860931, 0.26265570521354675, -0.5284082889556885, -0.5260629057884216, -0.5745872855186462, 0.7283498644828796, -0.1759684979915619, -0.534061849117279, 0.3563895523548126, -0.004570092540234327, 0.6920760869979858, 0.11582581698894501, -0.8098238110542297, 0.30912482738494873, 1.0098456144332886, 0.6782050728797913, 0.15166498720645905, -0.16999170184135437, -0.22984886169433594, 0.3756762146949768, -0.4278925061225891, 0.515051543712616, -0.6355315446853638, -0.34100469946861267, 0.2509307861328125, 0.0179666206240654, -0.013827163726091385, -0.9003702998161316, 0.5118438601493835, -0.5860426425933838, 0.25463879108428955, -0.31172439455986023, -0.6626282930374146, -0.49134740233421326, 0.364617258310318, -0.9684898257255554, 1.100487470626831, 0.12035165727138519, -0.7237246036529541, 0.26981377601623535, -0.43944135308265686, -0.3521042764186859, -0.3644843101501465, -0.12850898504257202, -0.41804391145706177, 0.035040512681007385, 0.07904369384050369, 0.88776695728302, -0.4626186490058899, 0.1960715502500534, -0.36093640327453613, -0.3228553831577301, -0.023125596344470978, -0.32565292716026306, 0.5865052342414856, 0.17011217772960663, -0.1271456629037857, -0.020083852112293243, -0.5524513721466064, -0.5456334352493286, 0.3936537802219391, -0.4894852042198181, -0.732654869556427, -0.34874075651168823, 0.30940189957618713, 0.4331814646720886, 0.5084903836250305, -0.7828214168548584, 0.20526395738124847, -0.3310682475566864, 0.2002493292093277, 0.564238965511322, 0.005265772342681885, 0.35369163751602173, -0.3876435458660126, 0.40381595492362976, 0.34265241026878357, -0.348781943321228, -0.2922026216983795, -0.4572311043739319, -0.8197894096374512, -0.11143440753221512, 0.4670715928077698, 0.6293497085571289, -0.6147845983505249, -0.1374201625585556, -0.245126873254776, -0.4546842873096466, -0.8718041777610779, 0.3531683683395386, 0.4600803852081299, 0.16141994297504425, 0.28750118613243103, -0.18560771644115448, -0.6103999018669128, -0.8751609921455383, 0.0017010362353175879, -0.015618346631526947, 0.05840872973203659, 0.5231423377990723, 0.4551725685596466, -0.563273549079895, 0.6154600977897644, -0.3065774738788605, -0.5440502762794495, -0.18588002026081085, 0.024407649412751198, 0.214686319231987, 0.36259934306144714, 0.6098678708076477, -0.8996939659118652, -0.6656491756439209, 0.10167066007852554, -0.745958685874939, -0.04539479315280914, -0.054261114448308945, 0.09070808440446854, 0.6419192552566528, 0.7283812761306763, -0.6650193929672241, 0.19235025346279144, 0.763950765132904, -0.4750465452671051, 0.5643253922462463, -0.20050811767578125, 0.04594173654913902, -1.559906005859375, 0.08222512155771255, -0.02286645770072937, -0.28098684549331665, -0.33355170488357544, 0.326151579618454, 0.11784925311803818, -0.013289880007505417, -0.3467969596385956, 0.7523189187049866, -0.3085942268371582, 0.053088169544935226, -0.11168942600488663, 0.146925151348114, -0.09561709314584732, 0.4296225905418396, -0.10008545219898224, 0.790671169757843, 0.3455258309841156, -0.5830384492874146, 0.2293773591518402, 0.23660139739513397, -0.5820218920707703, 0.2754758596420288, -0.7397705912590027, -0.12375319749116898, -0.18482637405395508, 0.1575968861579895, -1.0470504760742188, -0.3606342077255249, 0.2400069385766983, -0.12546496093273163, 0.4219798743724823, -0.06675141304731369, -0.8214575052261353, 0.044823333621025085, -0.5621210336685181, 0.6215418577194214, 0.3606078028678894, -0.5579480528831482, 0.4388016164302826, 0.6794931292533875, -0.4285566508769989, -0.6020904183387756, -0.7298650741577148, 0.17202717065811157, -0.5411199927330017, -0.3007824122905731, 0.543391764163971, 0.47795650362968445, -0.19331873953342438, 0.26547595858573914, 0.19295834004878998, 0.1409526914358139, 0.11332761496305466, 0.2716556191444397, 0.03935523331165314, -0.4719943702220917, 0.06953433901071548, 0.14925648272037506, -0.37202247977256775, -0.005501751787960529, -0.04213286191225052, 0.7128127217292786, -0.024309145286679268, -0.5547398328781128, -0.4180055856704712, 0.47769415378570557, 0.43023407459259033, -0.35137665271759033, 0.7806939482688904, 0.9947988390922546, -0.5862112641334534, 0.3716655969619751, -0.743589460849762, -0.15945671498775482, -0.4309450387954712, 0.5479527711868286, -0.5402947068214417, -1.169999599456787, 0.5545514225959778, -0.2832828462123871, 0.1017356663942337, 0.6250303983688354, 0.6812060475349426, 0.05793360248208046, 1.1192221641540527, 0.8047659993171692, -0.4000304639339447, 0.31877732276916504, -0.4773269295692444, 0.08587886393070221, -0.7840585708618164, -0.24410754442214966, -0.419997900724411, -0.1274564117193222, -0.9916407465934753, -0.6760540008544922, 0.0780099406838417, 0.40173667669296265, -0.3665061891078949, 0.4834202229976654, 0.04131174460053444, 0.290196031332016, 0.6392266154289246, -0.238280788064003, 0.2578226327896118, 0.003570742905139923, -0.33763644099235535, -0.13914528489112854, -0.5919422507286072, -0.6603580117225647, 1.097676396369934, 0.5258876085281372, 1.011999487876892, 0.4983370900154114, 1.00058913230896, 0.020356884226202965, 0.19355922937393188, -0.8443436622619629, 0.41520243883132935, -0.26814067363739014, -0.40237554907798767, -0.14572250843048096, -0.3362380862236023, -1.1191664934158325, 0.29997915029525757, -0.21521231532096863, -0.3697313368320465, -0.20460648834705353, -0.16335570812225342, -0.045598406344652176, 0.319728285074234, -0.5318382978439331, 0.7875304818153381, 0.22552809119224548, -0.03206656873226166, -0.745887041091919, -0.34996551275253296, 0.3306751847267151, -0.029684195294976234, 0.05337364971637726, -0.225656196475029, -0.4326585531234741, 0.8281319737434387, 0.09382902830839157, 0.8996410369873047, -0.2918737530708313, -0.396007239818573, 0.33244678378105164, 0.11766084283590317, 0.2684505879878998, 0.06987829506397247, -0.1625795215368271, 0.22262874245643616, 0.18713979423046112, -0.42848360538482666, -0.3772873878479004, 0.8440061807632446, -0.8101280927658081, -0.6270804405212402, -0.2071564793586731, -0.3371769189834595, -0.009259740822017193, 0.10773298889398575, -0.2741873264312744, 0.5818562507629395, -0.16654956340789795, 0.31188490986824036, 0.46189630031585693, -0.3507809638977051, 0.28420141339302063, 0.21478666365146637, -0.5104621648788452, -0.37969303131103516, 1.3528794050216675, 0.028234440833330154, 0.1005263552069664, 0.6002529859542847, 0.18582302331924438, -0.49037405848503113, -0.10448582470417023, -0.4227304756641388, 0.7278384566307068, -0.7812326550483704, -0.33642813563346863, -0.5489950180053711, -0.13392093777656555, -0.41367703676223755, 0.05753865838050842, -0.4055952727794647, -0.6997860670089722, -0.3662773668766022, 0.048468902707099915, 0.31576594710350037, 1.48007333278656, -0.2753458321094513, 0.2084299474954605, -0.6129167675971985, 0.3829353153705597, 0.2849285304546356, 0.42357540130615234, 0.2889297306537628, -0.4317605495452881, -0.4624684154987335, 0.01393087301403284, -0.34899866580963135, -0.7084679007530212, 0.3810561001300812, 0.21594731509685516, 0.5515279173851013, 0.4926278591156006, -0.25840991735458374, 0.6673623323440552, -0.5181918144226074, 0.6585444808006287, -0.16625118255615234, -0.6756668090820312, 0.17467878758907318, -0.3543412387371063, 0.26704370975494385, 0.35649335384368896, 0.7355489134788513, -0.8483458161354065, -0.2752513885498047, -0.32049909234046936, -0.8806566596031189, 0.46444055438041687, -0.13256408274173737, 0.4480777978897095, -0.10979396104812622, 0.3313601315021515, 0.25558868050575256, -0.018088465556502342, -0.6330110430717468, -0.30025714635849, -0.0823921337723732, -0.34820231795310974, -0.16507965326309204, -0.7728179693222046, 0.244264617562294, -0.14734023809432983, 0.6499704718589783, 0.0454498752951622, 0.4604978859424591, -0.04908743128180504, -0.3075267970561981, 0.20128405094146729, 0.13814522325992584, 0.6264575123786926, 0.25749829411506653, -0.15630429983139038, 0.11823679506778717, 0.18347781896591187, -0.49544569849967957, 0.05749811604619026, 0.19695083796977997, 0.223409503698349, 0.09272503852844238, 0.35889220237731934, 0.4574217200279236, 0.4985940456390381, -0.6391274333000183, 0.4903692305088043, 0.044668812304735184, -0.07199832797050476, -0.2831994891166687, -0.35356855392456055, 0.38379907608032227, 0.10364879667758942, 0.18541309237480164, -0.2028198540210724, 0.0016166786663234234, -0.36901846528053284, 0.2645168602466583, 0.338206946849823, -0.40078920125961304, -0.29182592034339905, 0.5745142102241516, 0.021457761526107788, 0.02353164553642273, 0.5270012617111206, -0.3360220193862915, -0.6387017369270325, 0.3809921145439148, 0.7992733716964722, 0.4375119209289551, -0.32682040333747864, 0.11728081107139587, 0.6796512603759766, 0.03194054961204529, -0.09819335490465164, 0.40407153964042664, -0.042976949363946915, -0.6447637677192688, -0.6346037983894348, -0.6293152570724487, -0.4722929298877716, -0.004075256641954184, -0.6640385985374451, 0.4334644377231598, -0.23589618504047394, 0.14546413719654083, -0.33403444290161133, 0.2597210705280304, -0.7841511964797974, -0.22469539940357208, 0.3124963343143463, 0.892403781414032, -0.8733180165290833, 0.9089682102203369, 0.8275196552276611, -0.41997867822647095, -0.6979771852493286, -0.17207369208335876, -0.002073958981782198, -0.8565670847892761, 0.4824483394622803, 0.5583929419517517, 0.0430944599211216, 0.04481493681669235, -0.08426682651042938, -1.1461846828460693, 1.280277132987976, 0.3239251673221588, -0.416206032037735, 0.13540101051330566, 0.40031832456588745, 0.3087487518787384, -0.20956499874591827, 0.038535501807928085, 0.46545183658599854, 0.3161311745643616, -0.11062199622392654, -1.0975773334503174, 0.10455788671970367, -0.11253467202186584, 0.03290877118706703, 0.20982171595096588, -0.511275589466095, 0.8149256110191345, -0.21959863603115082, -0.38075974583625793, 0.3829640746116638, 0.7110862135887146, 0.3141913414001465, 0.059759095311164856, 0.27994993329048157, 1.0612437725067139, 0.7052502632141113, 0.16867808997631073, 1.21575129032135, -0.25949251651763916, 0.246908038854599, 0.9451634883880615, -0.05601871386170387, 1.3258682489395142, 0.509806752204895, 0.05345865339040756, 0.5640383958816528, 0.6053531765937805, 0.31100186705589294, 0.7735811471939087, 0.04605397954583168, -0.23257924616336823, -0.11125500500202179, -0.5855957865715027, -0.4200625717639923, 0.6753643751144409, 0.6556810736656189, -0.22739194333553314, -0.4547499418258667, 0.06242432817816734, 0.15105494856834412, 0.07522129267454147, -0.26989346742630005, 0.945782482624054, 0.34051328897476196, -0.48765286803245544, 0.5857139229774475, 0.5007884502410889, 1.0507925748825073, -0.37950170040130615, -0.34491869807243347, -0.2095547616481781, 0.2703453600406647, 0.03981529176235199, -0.8453962206840515, 0.3007378876209259, -0.20912589132785797, 0.11524634808301926, -0.22258417308330536, 0.7616062164306641, -0.8161559104919434, -0.40528079867362976, 0.4230089485645294, 0.4847857654094696, 0.13664864003658295, 0.012617785483598709, -0.7163623571395874, 0.1361747831106186, -0.12239842861890793, -0.1824575811624527, 0.2769625782966614, 0.40270867943763733, -0.3024252951145172, 0.61302649974823, 0.45335593819618225, -0.07180164754390717, 0.08255523443222046, 0.4204036593437195, 0.7742500901222229, -0.8151540756225586, -0.27772560715675354, -0.8167847990989685, 0.11663137376308441, 0.19351370632648468, -0.3853802978992462, 0.8281627893447876, 0.6576330065727234, 1.156346321105957, -0.10763513296842575, 0.3928118944168091, 0.12164035439491272, 0.5545485615730286, -0.4580293297767639, 0.6865432262420654, -0.6016969680786133, -0.0676882416009903, -0.2622714042663574, -1.207897424697876, -0.44488370418548584, 0.6518052816390991, -0.06530299037694931, -0.0813373252749443, 0.24255327880382538, 1.1354150772094727, -0.3761809170246124, -0.12449890375137329, 0.24543574452400208, 0.3241879940032959, 0.2968445420265198, 0.6091779470443726, 0.9119476675987244, -0.6115511059761047, 0.32873550057411194, -0.43481898307800293, 0.03195296227931976, -0.31161656975746155, -0.8215867280960083, -0.8853799700737, -0.9334244132041931, -0.10389837622642517, -0.12241358309984207, -0.2841765880584717, 1.1089547872543335, 0.4521714448928833, -0.9480778574943542, -0.4219339191913605, 0.24431930482387543, 0.16175273060798645, 0.18050406873226166, -0.1919824331998825, 0.44533514976501465, -0.34093883633613586, -0.5396515130996704, 0.09781605750322342, 0.16576175391674042, 0.21626725792884827, -0.5620420575141907, -0.2905533015727997, -0.4618086516857147, -0.07427568733692169, 0.9209745526313782, 0.02770252712070942, -1.0241562128067017, -0.11644098907709122, -0.0883944183588028, -0.49249833822250366, -0.19058330357074738, 0.4812754690647125, -0.8160152435302734, 0.044753268361091614, 0.2938315272331238, 1.0242186784744263, 0.4904046356678009, -0.14042358100414276, 0.3911287486553192, -0.605506956577301, 0.28568530082702637, 0.10240352898836136, 0.44447049498558044, 0.7310811281204224, 0.029794510453939438, 0.5800450444221497, -0.0038037733174860477, -0.4493100047111511, -0.6898979544639587, 0.08064272999763489, -0.8471589088439941, -0.08834674209356308, 1.4063472747802734, -0.021262867376208305, -0.01422432903200388, -0.13547082245349884, -0.42335397005081177, 0.292359858751297, -0.14017269015312195, 0.7378073930740356, 0.6771334409713745, 0.2751125693321228, 0.07415328919887543, -0.6716572642326355, 0.35772669315338135, 0.6794299483299255, -0.34748849272727966, -0.16992293298244476, 0.15495331585407257, 0.2064114660024643, 0.17428891360759735, 0.2700935900211334, -0.1918553113937378, 0.17283934354782104, 0.042146652936935425, -0.2589499056339264, -0.03559884428977966, -0.2737044394016266, -0.4287054240703583, -0.09965895116329193, 0.2851128578186035, -0.10282804071903229 ]
http://arxiv.org/abs/2402.03050v1
http://arxiv.org/pdf/2402.03050v1
A Comprehensive Study of the Current State-of-the-Art in Nepali Automatic Speech Recognition Systems
2024-02-05T14:34:14
2024-02-05T14:34:14
Rupak Raj Ghimire, Bal Krishna Bal, Prakash Poudyal
cs.SD
cs.SD, cs.CL, eess.AS
In this paper, we examine the research conducted in the field of Nepali Automatic Speech Recognition (ASR). The primary objective of this survey is to conduct a comprehensive review of the works on Nepali Automatic Speech Recognition Systems completed to date, explore the different datasets used, examine the technology utilized, and take account of the obstacles encountered in implementing the Nepali ASR system. In tandem with the global trends of ever-increasing research on speech recognition based research, the number of Nepalese ASR-related projects are also growing. Nevertheless, the investigation of language and acoustic models of the Nepali language has not received adequate attention compared to languages that possess ample resources. In this context, we provide a framework as well as directions for future investigations.
[ -0.011791725642979145, -0.546237051486969, -0.2049310803413391, 0.579565167427063, -0.22881591320037842, 0.30634602904319763, -0.011746418662369251, -0.5369472503662109, 0.08608503639698029, 0.5492239594459534, 0.11654094606637955, 0.010030917823314667, -0.663684606552124, 0.3877089023590088, -1.046066403388977, 0.4749424159526825, -0.18598832190036774, 0.22502073645591736, 0.22897320985794067, -0.28894734382629395, -0.5504634380340576, -0.6689028143882751, -0.7615543007850647, -0.2984769344329834, 0.04825339466333389, 0.10845015197992325, 0.03290100768208504, 0.08385491371154785, 0.6081627607345581, 0.5183237195014954, -0.6016198992729187, -0.05833135545253754, -0.07743261754512787, 0.2489289939403534, 0.22384901344776154, -0.15962988138198853, -0.484491765499115, -0.244906947016716, 1.300744891166687, 0.5322240591049194, -0.5963578224182129, 0.2699960172176361, 0.08751603215932846, 0.5331820845603943, -0.4464429020881653, -0.022257598116993904, -0.35662028193473816, 0.12022022902965546, -0.3818388879299164, -0.3044085204601288, -0.06130042299628258, -0.39348745346069336, 0.29381445050239563, -0.26776444911956787, 0.048552077263593674, -0.03799177706241608, 0.49041417241096497, 0.19466933608055115, -0.4803338348865509, -0.46880218386650085, -1.0103963613510132, 0.7265864610671997, -0.4407821297645569, 0.45447343587875366, 0.5388787984848022, 0.6341628432273865, 0.1344364583492279, -0.4558432996273041, -0.477374404668808, -0.1565287858247757, 0.05776679515838623, -0.25539249181747437, -0.36620262265205383, -0.34639325737953186, -0.03473963215947151, 0.6466243863105774, -0.6710339188575745, 0.09491104632616043, -0.8601588606834412, -0.15976731479167938, 0.6036432385444641, 0.21953457593917847, 0.32701796293258667, -0.1720690280199051, -0.04911693185567856, 0.27782005071640015, -0.7579069137573242, 0.19940651953220367, 0.19306808710098267, 0.218583345413208, -0.19519208371639252, 0.6429848670959473, -0.5253644585609436, 1.1415777206420898, -0.13480187952518463, 0.08504026383161545, 0.29473456740379333, -0.6282289028167725, -0.4384293556213379, 0.5858482122421265, 0.7740250825881958, -0.2164967954158783, 0.22103221714496613, -0.06349769979715347, -0.27275508642196655, 0.06546483933925629, 0.147844597697258, -0.3309057354927063, 0.06553283333778381, 0.07283629477024078, -0.19397637248039246, -0.21973565220832825, -0.2793612778186798, -0.34317630529403687, -0.2746390700340271, -0.6005681157112122, 0.15434058010578156, -0.3947000801563263, -0.860163688659668, 0.25956112146377563, -0.2273714691400528, 0.3385208249092102, 0.38510462641716003, -0.4565883278846741, 0.5359487533569336, 0.551825225353241, 0.8623543977737427, -0.025654876604676247, -0.24863815307617188, -0.2832251489162445, 0.15655644237995148, -0.24667300283908844, 1.13540518283844, -0.6516886949539185, -0.68172287940979, 0.08631008118391037, 0.044461339712142944, -0.04079156368970871, -0.8275775909423828, 0.15192751586437225, -0.6841394305229187, -0.14333994686603546, -0.11354891955852509, -0.19010613858699799, -0.16340786218643188, 0.44873443245887756, -0.5393116474151611, 0.7165899872779846, -0.1402921974658966, -0.8510843515396118, 0.23307621479034424, -0.6853346824645996, -0.6247062683105469, 0.10862612724304199, -0.19073738157749176, -0.198533833026886, -0.029014458879828453, -0.11342749744653702, 0.25622618198394775, -0.4627569615840912, 0.4438982903957367, 0.33532074093818665, -0.6397873163223267, 0.42081186175346375, -0.28642457723617554, 1.2171317338943481, 0.315695583820343, -0.30882787704467773, 0.30925822257995605, -1.0638072490692139, -0.2044193297624588, -0.06705588847398758, -0.7110923528671265, -0.1310194432735443, 0.13033583760261536, 0.39711540937423706, -0.04676763340830803, 0.24637839198112488, -0.7862435579299927, -0.2493640035390854, -0.3098698556423187, 0.6630088686943054, 0.4696001708507538, -0.2716177999973297, 0.5022705793380737, -0.08271150290966034, 0.5465051531791687, -0.13430947065353394, 0.03177332878112793, 0.07532823830842972, -0.27997851371765137, -0.7788474559783936, -0.153629869222641, 0.7453385591506958, 0.6527888178825378, -0.30636245012283325, 0.5236982703208923, -0.2547335922718048, -0.2859242558479309, -0.5772994160652161, -0.27829509973526, 0.4563590884208679, 0.3331276476383209, 0.11634539067745209, -0.41778290271759033, -0.8633142709732056, -0.8384812474250793, 0.024739641696214676, -0.416855126619339, 0.04239914193749428, 0.027617737650871277, 0.23919323086738586, 0.13211140036582947, 0.8110615611076355, -0.2548074722290039, -0.20119965076446533, -0.22622795403003693, 0.061147481203079224, -0.13377852737903595, 0.7539957165718079, 0.19697155058383942, -1.120702862739563, -0.803052544593811, 0.21072357892990112, -0.696487545967102, 0.20472095906734467, 0.6662238836288452, 0.4256168603897095, 0.29430869221687317, 0.4618479013442993, -0.3105708062648773, 0.6006750464439392, 0.3577374517917633, -0.13646432757377625, 0.5664367079734802, -0.004119514022022486, 0.3197920024394989, -0.5813644528388977, 0.5875235795974731, -0.1371309906244278, 0.034619320183992386, -0.8207834362983704, -0.18621812760829926, -0.1045922189950943, -0.3305234909057617, -0.1386493742465973, 0.5514998435974121, -0.5208947062492371, -0.06603728979825974, -0.49069806933403015, -0.19913996756076813, -0.39277052879333496, -0.1367940455675125, 0.35377493500709534, 0.6291308403015137, 1.0437853336334229, -0.7179754972457886, 0.38623934984207153, 0.41506728529930115, -0.5724290013313293, 0.867761492729187, -0.8291233777999878, -0.07386733591556549, 0.0581134669482708, 0.3445155918598175, -0.8034639358520508, -0.04703538119792938, 0.18733333051204681, -0.7136273384094238, 0.6826642155647278, 0.15857307612895966, -0.5882071256637573, -0.30177944898605347, 0.2602548897266388, 0.5523171424865723, 0.6819092035293579, -0.14855605363845825, 0.39547908306121826, 0.9561428427696228, -0.5516189336776733, -0.5987802743911743, -0.5149536728858948, 0.36804643273353577, -0.2342270165681839, -0.28248265385627747, -0.18256685137748718, 0.12332834303379059, -0.5024908781051636, -0.2794851064682007, -0.08666461706161499, -0.37719377875328064, -0.20321477949619293, -0.08541128784418106, -0.33515551686286926, -0.1195325255393982, -0.20420792698860168, -0.25482288002967834, -0.12770476937294006, -0.0676414743065834, 0.1257690042257309, 0.6156374216079712, -0.09065721929073334, -0.21118003129959106, -0.9513124227523804, 0.6582491993904114, 0.2870205044746399, -0.5271919965744019, 0.039149314165115356, 0.3279147446155548, -0.4768044948577881, 0.07788407057523727, -0.870554506778717, 0.260858952999115, -0.4711715281009674, 0.32575029134750366, -0.2864081859588623, -0.74446702003479, 0.39627569913864136, -0.007631994783878326, -0.30977243185043335, 0.20089755952358246, 0.3415168225765228, -0.05528586730360985, 0.8219035267829895, 0.7449545860290527, -0.2128198891878128, 0.4466497600078583, -0.193928524851799, 0.20121033489704132, -1.2462451457977295, -0.5786618590354919, -1.0950957536697388, -0.03345710039138794, -0.384320467710495, -0.2450743019580841, 0.20964474976062775, -0.356618732213974, -0.35096731781959534, 0.3257407546043396, -1.010509967803955, -0.20437610149383545, 0.4524485766887665, -0.13843069970607758, 0.4282374978065491, -0.034760937094688416, 0.2931728959083557, 0.3132645785808563, -0.5817357897758484, -0.34717097878456116, 0.8134781122207642, -0.05945487692952156, 0.6364938020706177, -0.1266588717699051, 0.2324923723936081, 0.1271461397409439, 0.053070686757564545, -0.4376108646392822, 0.46325090527534485, -0.0829821228981018, -0.8332667350769043, -0.6630758047103882, -0.2867984175682068, -1.145133376121521, 0.2359006255865097, 0.4893643856048584, -0.5344438552856445, 0.4702766537666321, 0.16150936484336853, -0.10792818665504456, 0.2178833931684494, -0.07641171663999557, 0.30349886417388916, -0.15250565111637115, 0.30975401401519775, -0.41080448031425476, -0.8963552117347717, 0.1559327393770218, -0.10094155371189117, 0.16797944903373718, 0.0694214329123497, 0.20943206548690796, 1.0404564142227173, -0.17166997492313385, 0.7627540230751038, -0.30120790004730225, -0.13994605839252472, 0.5998578667640686, -0.22438843548297882, 0.14671911299228668, -0.38978034257888794, -0.48496583104133606, 0.18712159991264343, 0.11087477207183838, -0.362691730260849, -0.11022496968507767, 0.6285682916641235, -0.39608559012413025, -0.2541261911392212, -0.8181423544883728, -0.33658358454704285, -0.18488311767578125, 0.13390107452869415, 0.08343254774808884, 0.5223631262779236, -0.687605082988739, 0.13653461635112762, 0.394234299659729, -0.2601926624774933, 0.24517720937728882, 0.7696892023086548, 0.013225123286247253, -0.5879350304603577, 0.9589937925338745, 0.7046246528625488, -0.19576238095760345, 0.2493085265159607, -0.015355131588876247, -0.385904461145401, -0.8041711449623108, -0.5944792628288269, 0.015764597803354263, -0.3955267369747162, -0.06831752508878708, -0.5604698061943054, -0.4178526997566223, -0.4406060576438904, 0.11568623781204224, -0.09673105925321579, -0.4914489686489105, -0.38097578287124634, 0.26313987374305725, 0.32297956943511963, 1.119849681854248, -0.04848223924636841, 0.4198390245437622, -0.4300958216190338, 0.31783390045166016, 0.20897531509399414, 0.3312804698944092, 0.31580865383148193, -0.526084840297699, -0.21612025797367096, -0.011441727168858051, -0.27149060368537903, -0.4509028196334839, 0.3037220239639282, 0.15228530764579773, 0.47214475274086, 0.0798901617527008, -0.100278839468956, 0.7375006079673767, -0.8748940825462341, 0.838097870349884, 0.30960798263549805, -0.8850472569465637, 0.7558744549751282, -0.25309792160987854, 0.33990538120269775, 0.4937555193901062, 0.15388962626457214, -0.4893893897533417, -0.10933448374271393, -0.6122958660125732, -0.6417410969734192, 0.6165563464164734, 0.1022181436419487, -0.13917872309684753, 0.4744679033756256, 0.12042216956615448, -0.06749087572097778, 0.6904749870300293, -0.11484687030315399, 0.08350959420204163, -0.1513885110616684, 0.031117528676986694, -0.23441389203071594, 0.02575775794684887, -0.0612509548664093, -0.5203408598899841, 0.4411469101905823, 0.1632758378982544, 0.24935828149318695, 0.04103931412100792, 0.033664096146821976, -0.17937272787094116, 0.3199025094509125, 0.4579310715198517, 0.6429789662361145, 0.03605903312563896, -0.029738925397396088, 0.2716307044029236, -0.42713281512260437, 0.408285528421402, 0.16519451141357422, -0.34059321880340576, 0.062285635620355606, 0.09583073854446411, 0.7001947164535522, 0.1470726579427719, -0.5780537128448486, 0.5113617777824402, 0.10455546528100967, -0.022654283791780472, -0.7070499062538147, -0.15955568850040436, -0.01817140355706215, 0.08172822743654251, 0.3341878354549408, 0.33036696910858154, 0.5308243036270142, -0.613050639629364, -0.11878703534603119, 0.6159875988960266, -0.7486151456832886, -0.6204073429107666, 0.2981460690498352, 0.2443762868642807, -0.7077144980430603, 0.707364559173584, 0.171092227101326, -0.7031311392784119, 0.6717191338539124, 0.7644068002700806, 0.6215721368789673, -0.8004502058029175, -0.020729202777147293, 0.33583855628967285, 0.18505863845348358, -0.3002103865146637, 0.8715113997459412, -0.3656156659126282, -0.17093659937381744, -0.3366391360759735, -0.9356893301010132, -0.41093772649765015, -0.07177265733480453, -0.676745593547821, 0.3043360412120819, -0.25667640566825867, -0.20621320605278015, -0.31008464097976685, -0.09910549968481064, -0.4975934624671936, 0.4497085511684418, -0.313474178314209, 0.9011731147766113, -0.5101996660232544, 0.7951993346214294, 0.802784264087677, -0.24555064737796783, -0.35392457246780396, -0.30526673793792725, 0.03463156521320343, -0.8380246162414551, 0.8588705658912659, -0.16749021410942078, -0.5710776448249817, 0.060448482632637024, -0.452907919883728, -0.9389364719390869, 0.8754240870475769, 0.07007811218500137, -0.3614632189273834, -0.08217541128396988, 0.030832991003990173, 0.6043509840965271, -0.0004383451887406409, -0.2598998248577118, 0.5444790124893188, 0.7729403972625732, 0.13872575759887695, -1.5750722885131836, -0.051537733525037766, -0.6926895976066589, -0.19007807970046997, 0.2217705398797989, -0.8672276139259338, 0.5149391889572144, 0.09271472692489624, -0.26390889286994934, 0.42070770263671875, 0.5995068550109863, 0.40195560455322266, 0.3404756188392639, 0.5038619637489319, 0.3510625958442688, 0.5197478532791138, 0.16105103492736816, 0.6908217668533325, -0.015178683213889599, -0.1496436446905136, 0.6466906070709229, -0.49352777004241943, 1.2197545766830444, 0.4332068860530853, -0.5137208104133606, 0.2265397012233734, 0.6032660603523254, -0.12375060468912125, 0.4514923095703125, 0.7800424098968506, -0.28886890411376953, -0.08642920106649399, -0.4139074981212616, -0.6355447769165039, 0.5827407836914062, 0.5530047416687012, 0.09522811323404312, 0.054707009345293045, 0.035274259746074677, -0.46093836426734924, -0.19641061127185822, -0.2137170433998108, 0.9519009590148926, 0.2398359626531601, -0.43595167994499207, 0.7675805687904358, -0.3087386190891266, 0.879485547542572, -0.7826713919639587, -0.08923622220754623, 0.5028278827667236, -0.0823410153388977, -0.2941676378250122, -0.3890666365623474, 0.5770965814590454, 0.2403702288866043, -0.058510102331638336, -0.07945244759321213, 0.677078366279602, -0.24047328531742096, -0.5489557385444641, 0.15571168065071106, 0.2920803129673004, 0.4573158621788025, -0.11529815942049026, -0.28320106863975525, 0.5369865894317627, -0.20183363556861877, 0.14707547426223755, 0.31641024351119995, 0.3035079836845398, 0.09416943788528442, 0.632966935634613, 0.3285004496574402, 0.626969039440155, 0.08975586295127869, -0.059767331928014755, 0.7487999796867371, -0.7312712073326111, -0.6877940893173218, -0.31673958897590637, 0.71873539686203, -0.0996217131614685, -0.40158843994140625, 0.6434621810913086, 0.6705471873283386, 0.5978436470031738, 0.24230168759822845, 1.0733109712600708, -0.2027312070131302, 0.8775482177734375, 0.004850135184824467, 1.0076444149017334, -0.7262839078903198, 0.04605300724506378, -0.14878986775875092, -0.6265560984611511, -0.47051453590393066, 0.7669981122016907, -0.07217167317867279, -0.015734203159809113, 0.49561089277267456, 0.4547868072986603, -0.15181879699230194, 0.511928915977478, 0.044959016144275665, 0.17444591224193573, 0.10137016326189041, -0.21979106962680817, 1.2025443315505981, -0.45838814973831177, 0.380355566740036, 0.03390521928668022, -0.3333718776702881, -0.2157459259033203, -0.39585575461387634, -0.33670774102211, -1.009175181388855, -0.2666659653186798, 0.03423469141125679, 0.274636834859848, 0.3779977560043335, 0.7353147864341736, -1.034578800201416, -0.8855946063995361, 0.026163335889577866, -0.2739216387271881, -0.16564781963825226, -0.07777462899684906, 0.6112619042396545, 0.056120775640010834, -0.6987046003341675, 0.755588948726654, 0.1700989156961441, -0.12217309325933456, -0.3168274462223053, -0.13231691718101501, -0.3420494496822357, -0.1838921308517456, 0.6309340596199036, 0.5877928137779236, -0.7370859980583191, 0.003073349827900529, 0.0953214094042778, 0.21488921344280243, 0.2649647295475006, 0.9887146949768066, -0.7258822321891785, 0.4273362457752228, 0.7691575884819031, 0.30062276124954224, 0.5252005457878113, -0.20144426822662354, 0.7210597991943359, -0.2893301546573639, -0.1628877818584442, 0.4662210941314697, 0.2669861614704132, 0.8566960096359253, -0.0224395003169775, 0.43005165457725525, -0.12351330369710922, -0.8623411059379578, -1.4078847169876099, 0.18242508172988892, -0.9864451885223389, 0.04732758179306984, 0.9554013609886169, 0.19317302107810974, 0.12434887886047363, -0.7498321533203125, -0.40241774916648865, 0.44983866810798645, -0.25793513655662537, 0.5098258852958679, 0.488649845123291, -0.5614508986473083, 0.13857078552246094, -0.30226102471351624, 0.4049087166786194, -0.0107200276106596, -0.3376856744289398, 0.04956389591097832, 0.2959076762199402, 0.4789198935031891, 0.3593398630619049, 1.005722165107727, -0.4071957767009735, 0.09245778620243073, 0.12942518293857574, -0.019153261557221413, 0.2591804563999176, -0.4445361793041229, -0.9083959460258484, 0.40287071466445923, 0.3128327429294586, -0.025789877399802208 ]
http://arxiv.org/abs/2402.03049v4
http://arxiv.org/pdf/2402.03049v4
EasyInstruct: An Easy-to-use Instruction Processing Framework for Large Language Models
2024-02-05T14:33:56
2024-06-24T02:10:23
Yixin Ou, Ningyu Zhang, Honghao Gui, Ziwen Xu, Shuofei Qiao, Yida Xue, Runnan Fang, Kangwei Liu, Lei Li, Zhen Bi, Guozhou Zheng, Huajun Chen
cs.CL
cs.CL, cs.AI, cs.HC, cs.IR, cs.LG
In recent years, instruction tuning has gained increasing attention and emerged as a crucial technique to enhance the capabilities of Large Language Models (LLMs). To construct high-quality instruction datasets, many instruction processing approaches have been proposed, aiming to achieve a delicate balance between data quantity and data quality. Nevertheless, due to inconsistencies that persist among various instruction processing methods, there is no standard open-source instruction processing implementation framework available for the community, which hinders practitioners from further developing and advancing. To facilitate instruction processing research and development, we present EasyInstruct, an easy-to-use instruction processing framework for LLMs, which modularizes instruction generation, selection, and prompting, while also considering their combination and interaction. EasyInstruct is publicly released and actively maintained at https://github.com/zjunlp/EasyInstruct, along with an online demo app and a demo video for quick-start, calling for broader research centered on instruction data and synthetic data.
[ -0.29472973942756653, -0.7926539182662964, 0.5555037260055542, 0.15036049485206604, 0.09795556962490082, -0.13621626794338226, -0.3244816064834595, -0.12443212419748306, -0.13269229233264923, 0.5534915924072266, -0.6791404485702515, -0.7770497798919678, -0.3496759533882141, -0.27459385991096497, -0.618668794631958, 0.9086728096008301, 0.021930031478405, 0.21635346114635468, -0.38829267024993896, 0.12277595698833466, -0.17610709369182587, -0.07087906450033188, -0.6578393578529358, -0.24291403591632843, 0.0727100819349289, 0.8954539895057678, 0.5377642512321472, 1.2480074167251587, 0.2273283749818802, 0.2869599759578705, -0.12225167453289032, 0.3911780118942261, -0.3082539141178131, 0.13085366785526276, -0.2100285142660141, -0.28417202830314636, -0.6410132050514221, -0.18238677084445953, 0.7864029407501221, 0.9794643521308899, -0.5490885972976685, 0.37031620740890503, 0.2892744839191437, 0.7649206519126892, -0.5837221145629883, 0.31961867213249207, -0.41874435544013977, -0.07187546044588089, -0.20584143698215485, 0.059219177812337875, -0.8218051195144653, -0.5432066917419434, -0.20668376982212067, -0.367370069026947, 0.4619022011756897, -0.013825342059135437, 0.20760585367679596, 0.2305489033460617, -0.4357147514820099, -0.4889853298664093, -0.4412296414375305, 0.6011424660682678, -0.6593879461288452, 0.40500321984291077, 0.3629668653011322, 0.2190437614917755, -0.4467836320400238, -0.7947317361831665, -0.14728961884975433, -0.0031927700620144606, 0.060314055532217026, -0.24104683101177216, 0.19489654898643494, 0.38250961899757385, 0.2926315367221832, 0.536881685256958, -0.6076670289039612, 0.45917028188705444, -0.22885911166667938, -0.17848120629787445, 0.38560399413108826, 0.36644530296325684, 0.28965356945991516, -0.11769630759954453, -0.21615301072597504, 0.0029529284220188856, -1.119730830192566, 0.29308363795280457, 0.44687414169311523, 0.573671281337738, -0.18106739223003387, 0.5095227360725403, -0.49374476075172424, 1.0579978227615356, 0.2801615595817566, -0.12861430644989014, 0.1392267793416977, -0.07031838595867157, -0.2784586548805237, 0.30672159790992737, 0.4908032715320587, 0.10180331021547318, -0.1347895711660385, 0.10508549958467484, -0.33356502652168274, -0.34452351927757263, 0.015092871151864529, -1.1639138460159302, -0.45892858505249023, 0.15657158195972443, -0.3889557123184204, 0.045181065797805786, 0.09164252877235413, -0.7240983843803406, -0.3519160747528076, -0.5552468299865723, 0.2695149779319763, -0.28498122096061707, 0.24427039921283722, 0.40422502160072327, 0.35268619656562805, 0.3971659541130066, 0.4977562427520752, -0.9629403948783875, 0.4875553846359253, 0.943171501159668, 0.6076420545578003, -0.1406887322664261, -0.1659972220659256, -0.9897366762161255, 0.2816494107246399, -0.13226532936096191, 0.7899379134178162, -0.6158215403556824, -0.3426523506641388, 0.09782622754573822, 0.31415197253227234, -0.05967766419053078, -0.41763535141944885, 0.5712854862213135, -0.3443002998828888, 0.13645228743553162, 0.3087552785873413, -1.0371813774108887, -0.053529102355241776, 0.05658332630991936, -0.8314996361732483, 0.852297842502594, 0.0759722888469696, -0.31397199630737305, -0.19202156364917755, -0.5707562565803528, -0.8289252519607544, 0.08801546692848206, -0.20922666788101196, -0.5451655387878418, 0.14999982714653015, 0.3356335461139679, 0.5614407658576965, -0.3257494270801544, 0.049004729837179184, -0.11003168672323227, -0.5852588415145874, -0.22156871855258942, -0.551796019077301, 0.9202916622161865, 0.10384608060121536, -0.3615033030509949, 0.09705518186092377, -0.9464975595474243, 0.44541630148887634, -0.11359777301549911, -0.5695686340332031, -0.16873541474342346, 0.1964968591928482, -0.29183733463287354, -0.25814566016197205, 0.29819512367248535, -0.40648943185806274, 0.6302379965782166, -0.6086633801460266, 0.2579113245010376, 0.846152663230896, -0.14043521881103516, 0.7132550477981567, 0.17495322227478027, 0.43680596351623535, -0.20288881659507751, 0.32924240827560425, -0.4370921552181244, -0.20305190980434418, -0.8867620229721069, -0.37878042459487915, 0.31260064244270325, 0.457859069108963, -0.9470848441123962, 0.13820314407348633, -0.21502751111984253, -0.4653172194957733, -0.8246477246284485, 0.6477826833724976, 0.5676078796386719, 0.30177098512649536, 0.24467109143733978, -0.13827642798423767, -0.3792375326156616, -0.9819356203079224, -0.012188350781798363, 0.3530677855014801, -0.0812157616019249, -0.06122487783432007, 0.12323235720396042, -0.08524923026561737, 0.6085140705108643, -0.922429084777832, -0.08118587732315063, -0.18563514947891235, 0.11804579943418503, 0.2736315429210663, 0.5593627095222473, 0.3411492705345154, -0.39373978972435, -0.6129106879234314, -0.10977930575609207, -0.3611868917942047, 0.19516712427139282, 0.4132481813430786, -0.145541250705719, 0.006091632880270481, 0.7202093601226807, -0.5952277183532715, 0.23301337659358978, 0.5789396166801453, -0.1846136450767517, 0.4456668496131897, -0.10662425309419632, 0.15837892889976501, -0.9306380748748779, -0.2869752049446106, -0.15330414474010468, -0.27089449763298035, -0.567488431930542, 0.36294060945510864, 0.23538616299629211, -0.25824978947639465, -0.6240269541740417, 0.2624470889568329, -0.6153786778450012, 0.24083875119686127, -0.09706428647041321, -0.3222366273403168, -0.06321988254785538, 0.3135928213596344, -0.10326260328292847, 0.7767781615257263, 0.6536743640899658, -0.6206035017967224, 0.3000774681568146, 0.16873370110988617, -1.0335350036621094, 0.5203614234924316, -0.6943058967590332, 0.4128163158893585, -0.1972542256116867, 0.15727727115154266, -0.8624179363250732, -0.7962890863418579, 0.40423622727394104, 0.031977470964193344, 0.5321618914604187, -0.6467266082763672, -0.6066652536392212, 0.0652972161769867, -0.3932109773159027, 0.3377065658569336, 0.17688114941120148, -0.8204626441001892, 0.4708459973335266, 0.2589799761772156, -0.3448844850063324, -0.45325779914855957, -0.574234127998352, -0.1494595855474472, 0.14231836795806885, -0.3159524202346802, 0.34514519572257996, -0.4604637026786804, -0.048742737621068954, 0.06279277056455612, 0.023920131847262383, -0.36841312050819397, -0.005676266271620989, 0.26951295137405396, 0.1745341420173645, -0.4143216013908386, 0.16916903853416443, 0.5540961623191833, -0.13893574476242065, -0.08103140443563461, 0.0742158591747284, 0.3574889004230499, 0.07176227122545242, -0.6319993138313293, -0.42565077543258667, 0.35062071681022644, 0.4973265528678894, -0.22080500423908234, 0.543595016002655, 0.3051401674747467, -0.24240930378437042, -0.8259923458099365, -0.3536113500595093, -0.1681184321641922, -0.5400494933128357, 0.39173683524131775, -0.06122271344065666, -0.9233158230781555, -0.17346732318401337, -0.14141809940338135, 0.36507290601730347, -0.04550419747829437, 0.2781059741973877, -0.2695283591747284, 1.3612573146820068, 0.390807181596756, 0.13592588901519775, 0.4573322832584381, -0.13999879360198975, -0.031463880091905594, -0.589021623134613, -0.06836660206317902, -0.5027329325675964, -0.06694933027029037, -0.36287951469421387, -0.4578254222869873, 0.09792924672365189, -0.2321183830499649, -0.4638635218143463, 0.20007579028606415, -0.7765769958496094, 0.8760533928871155, 0.4963172674179077, 0.2775506377220154, 0.2192133367061615, 0.21551388502120972, 0.6188228130340576, 0.04505793750286102, -0.7466933131217957, -0.46115222573280334, 0.9013217091560364, 0.17792364954948425, 1.0212233066558838, 0.1598421037197113, 0.8276830911636353, 0.2704055607318878, 0.346529096364975, -1.0395585298538208, 0.7586617469787598, -0.5394893884658813, -0.5358656048774719, -0.21014168858528137, -0.48145219683647156, -0.8687034845352173, -0.14609721302986145, -0.07385371625423431, -0.46686387062072754, -0.10596557706594467, 0.39631858468055725, -0.562376856803894, 0.2650167942047119, -1.059809684753418, 0.8730443716049194, -0.3305477797985077, -0.3728941082954407, -0.15067937970161438, -0.37210607528686523, 0.5154796838760376, 0.32545873522758484, 0.37334010004997253, 0.019219819456338882, -0.014150272123515606, 0.531929075717926, -0.5375662446022034, 1.1035133600234985, -0.24105150997638702, -0.27404844760894775, 0.5083478689193726, 0.40426525473594666, 0.665946364402771, -0.11585833132266998, -0.23752109706401825, -0.32622671127319336, 0.014372340403497219, -0.2208741307258606, -0.7593033313751221, 0.9955348968505859, -0.4905115067958832, -0.5908101797103882, -0.04085702821612358, -0.42496153712272644, -0.09872224181890488, 0.12601961195468903, 0.09264771640300751, 0.6897187232971191, -0.1457296907901764, 0.4276658892631531, 1.0195029973983765, -0.11227059364318848, 0.4108760952949524, 0.44877439737319946, -0.13876605033874512, -0.44501471519470215, 1.1281538009643555, 0.22851812839508057, 0.16770268976688385, 0.3673557639122009, 0.006511695217341185, 0.05581315606832504, -0.4932551085948944, -0.6028047800064087, -0.19896404445171356, -0.6941454410552979, -0.30199486017227173, -0.01681464910507202, -0.25639545917510986, -0.1590343862771988, -0.1849210262298584, -0.8341391682624817, -0.32265540957450867, -0.13188710808753967, -0.14247071743011475, 0.2200407236814499, 0.9007173776626587, 0.22400611639022827, 0.4114611744880676, -0.7485078573226929, 0.23671771585941315, 0.5016332268714905, 0.615700900554657, 0.1353299766778946, -0.37384745478630066, -0.6407037973403931, 0.17186497151851654, -0.20656412839889526, -0.34460005164146423, -0.13439908623695374, 0.48793238401412964, 0.48161277174949646, 0.38393306732177734, 0.1189090758562088, 0.564356803894043, -0.7147257328033447, 0.5424213409423828, 0.10202731192111969, -1.0120455026626587, 0.5777794122695923, 0.039229921996593475, 0.5554871559143066, 0.7075399160385132, 0.2475198358297348, -0.10436290502548218, 0.024020971730351448, -0.2688004970550537, -1.0695747137069702, 0.9114848375320435, -0.120052270591259, 0.17318545281887054, 0.05590440705418587, 0.31733307242393494, 0.5450735092163086, 0.11941495537757874, -0.6024450063705444, -0.4635254740715027, 0.051840346306562424, -0.526686429977417, 0.09051842242479324, -0.3586300015449524, -0.10433999449014664, -0.32809513807296753, 0.5631328821182251, -0.09331672638654709, 0.11762520670890808, -0.4075164198875427, -0.31511062383651733, -0.003631817176938057, 0.2918858528137207, 0.39085257053375244, 0.47237589955329895, -0.09956562519073486, 0.24490457773208618, -0.08646972477436066, -0.297195166349411, 0.3684035837650299, 0.04648853465914726, -0.4432840645313263, -0.15769252181053162, 0.4074072241783142, 0.6562228202819824, 0.7039710879325867, -0.5770793557167053, 0.40338796377182007, 0.00503940973430872, -0.014846141450107098, -0.16515901684761047, 0.44500109553337097, 0.14171245694160461, 0.11746595054864883, -0.008577186614274979, -0.07471707463264465, 0.3503733277320862, -0.43453434109687805, 0.082480788230896, 0.04701871797442436, -0.3226906359195709, -0.2720738649368286, 0.4555774927139282, 0.5532956719398499, -0.5865201950073242, 0.9125587344169617, -0.49141794443130493, -0.0564335361123085, 0.565247654914856, 0.37873539328575134, 0.8114599585533142, -0.31043505668640137, 0.2833738327026367, 0.44649532437324524, 0.1951838582754135, -0.29705390334129333, 0.14148317277431488, -0.10326032340526581, -0.30798816680908203, -0.8985637426376343, -0.4942159354686737, -0.4327464699745178, 0.1256132274866104, -0.8055709600448608, 0.28773030638694763, -0.6336822509765625, 0.28098568320274353, -0.1097375899553299, -0.5319210886955261, -0.6890143156051636, 0.12191540002822876, 0.10903099179267883, 0.9540001749992371, -0.5846225619316101, 0.8606594204902649, 0.7634809017181396, -0.07638128846883774, -0.6593520045280457, -0.04253823682665825, 0.3382263481616974, -0.3806621730327606, 0.47341156005859375, 0.24893732368946075, -0.37927573919296265, 0.19206832349300385, -1.0210574865341187, -0.5609577894210815, 0.7032719850540161, 0.7379481792449951, -0.7233363389968872, -0.016969852149486542, 0.036812931299209595, 0.23652519285678864, -0.26149675250053406, -0.10430515557527542, 0.3872326910495758, 0.3900512456893921, -0.07245035469532013, -0.4546387195587158, -0.03178664669394493, -0.14962579309940338, -0.3877536654472351, 0.35750484466552734, -0.6540354490280151, 0.6029015779495239, -0.10634218156337738, -0.21873833239078522, 0.2764745056629181, 0.7090367674827576, 0.04088462516665459, 0.3119536340236664, 0.4419603943824768, 0.4417807161808014, 0.5601123571395874, -0.047319233417510986, 0.7485395073890686, -0.4334467053413391, 0.3031974732875824, 1.6502779722213745, 0.08849552273750305, 0.9248802065849304, 0.21568287909030914, -0.2387332022190094, 0.4413679242134094, 0.6108640432357788, 0.16513951122760773, 0.45869213342666626, 0.08554644137620926, -0.2741541266441345, -0.4635361433029175, 0.029145309701561928, -0.2698359191417694, 0.6351248621940613, 0.4288307726383209, -0.1677914261817932, -0.19822047650814056, -0.20913399755954742, 0.05282166227698326, 0.11048722267150879, -0.6108670234680176, 0.6049006581306458, 0.030602827668190002, -0.526394784450531, 0.21381093561649323, 0.04952297359704971, 0.49191346764564514, -0.7512858510017395, -0.46744969487190247, -0.1528952568769455, 0.09108191728591919, -0.5420651435852051, -1.0118597745895386, 0.051348283886909485, -0.09635403007268906, -0.35835158824920654, -0.2650606334209442, 0.45316439867019653, -0.6679413914680481, -0.46724143624305725, -0.04789403825998306, 0.385044664144516, 0.012023433111608028, 0.23379570245742798, -0.4916718602180481, 0.1730068027973175, 0.2234427034854889, -0.4491278827190399, 0.4035220742225647, 0.3214176893234253, 0.24396438896656036, 0.6769097447395325, 0.42699185013771057, -0.0010465651284903288, -0.1379537731409073, 0.0816807746887207, 0.5355815887451172, -0.5017092227935791, -0.11847183853387833, -0.6807525157928467, 0.7405738234519958, -0.1229213997721672, -0.2335899919271469, 0.7264805436134338, 0.7398352026939392, 0.9978066086769104, -0.376401424407959, 0.6216325163841248, -0.12568072974681854, 0.4623573422431946, -0.8294341564178467, 0.6011545062065125, -0.39569735527038574, 0.3765963912010193, -0.11570137739181519, -1.015794038772583, -0.2439688742160797, 0.468780517578125, -0.14901548624038696, -0.17492511868476868, 0.2707122564315796, 1.0246635675430298, -0.47583863139152527, -0.1417081505060196, 0.011902909725904465, 0.1403217762708664, 0.24406856298446655, 0.39014190435409546, 0.5616816878318787, -0.20301438868045807, 0.6251511573791504, -0.4260084927082062, -0.15738177299499512, -0.19832384586334229, -0.8913791179656982, -0.752242922782898, -0.37510186433792114, -0.5159763097763062, -0.08656936883926392, 0.07736269384622574, 1.4518976211547852, 0.640552282333374, -0.9583996534347534, -0.47835901379585266, 0.08238659799098969, 0.3268949091434479, -0.33452901244163513, -0.20705899596214294, 0.7203139662742615, -0.20498913526535034, -1.1032137870788574, 0.8824105858802795, 0.3025410771369934, -0.08174087107181549, -0.15300512313842773, -0.0951421856880188, 0.01606070250272751, -0.028961237519979477, 0.829343318939209, 0.506763219833374, -0.24929119646549225, -0.2674972712993622, -0.241008460521698, -0.29935869574546814, -0.08399716764688492, 0.6978047490119934, -0.23047436773777008, 0.7124657034873962, 0.3690696954727173, 0.8167584538459778, 0.3733784854412079, -0.250610888004303, 0.5604456067085266, -0.744393527507782, 0.17452506721019745, -0.09700164943933487, 0.32912659645080566, 0.405999094247818, -0.20781144499778748, 0.5632217526435852, -0.07146502286195755, -0.44381511211395264, -0.9146187901496887, 0.4186916649341583, -0.6008461117744446, -0.2764705419540405, 0.9459268450737, -0.12206994742155075, -0.30150946974754333, 0.06281767785549164, -0.40028396248817444, 0.05032190680503845, -0.41185635328292847, 0.7754318118095398, 0.6457889080047607, -0.25778308510780334, -0.17173349857330322, -0.5873610973358154, 0.3917787969112396, 0.08521562069654465, -0.7595964670181274, 0.1392318308353424, 0.6428396701812744, 0.29438358545303345, -0.3230327367782593, 0.04467295482754707, 0.20286878943443298, 0.4363635182380676, 0.019681284204125404, 0.37188977003097534, -0.4183632433414459, -0.3440251648426056, -0.1267022043466568, 0.4401521682739258, 0.2694181203842163, -0.20464900135993958 ]
http://arxiv.org/abs/2402.03043v1
http://arxiv.org/pdf/2402.03043v1
SIDU-TXT: An XAI Algorithm for NLP with a Holistic Assessment Approach
2024-02-05T14:29:54
2024-02-05T14:29:54
Mohammad N. S. Jahromi, Satya. M. Muddamsetty, Asta Sofie Stage Jarlner, Anna Murphy Høgenhaug, Thomas Gammeltoft-Hansen, Thomas B. Moeslund
cs.CL
cs.CL, cs.LG
Explainable AI (XAI) aids in deciphering 'black-box' models. While several methods have been proposed and evaluated primarily in the image domain, the exploration of explainability in the text domain remains a growing research area. In this paper, we delve into the applicability of XAI methods for the text domain. In this context, the 'Similarity Difference and Uniqueness' (SIDU) XAI method, recognized for its superior capability in localizing entire salient regions in image-based classification is extended to textual data. The extended method, SIDU-TXT, utilizes feature activation maps from 'black-box' models to generate heatmaps at a granular, word-based level, thereby providing explanations that highlight contextually significant textual elements crucial for model predictions. Given the absence of a unified standard for assessing XAI methods, this study applies a holistic three-tiered comprehensive evaluation framework: Functionally-Grounded, Human-Grounded and Application-Grounded, to assess the effectiveness of the proposed SIDU-TXT across various experiments. We find that, in sentiment analysis task of a movie review dataset, SIDU-TXT excels in both functionally and human-grounded evaluations, demonstrating superior performance through quantitative and qualitative analyses compared to benchmarks like Grad-CAM and LIME. In the application-grounded evaluation within the sensitive and complex legal domain of asylum decision-making, SIDU-TXT and Grad-CAM demonstrate comparable performances, each with its own set of strengths and weaknesses. However, both methods fall short of entirely fulfilling the sophisticated criteria of expert expectations, highlighting the imperative need for additional research in XAI methods suitable for such domains.
[ -0.4385910630226135, -0.6340680718421936, 0.5240586996078491, 0.01220595184713602, -0.48321861028671265, 0.22828546166419983, -0.22380563616752625, -0.34959203004837036, 0.14742882549762726, -0.01783245988190174, -0.48910272121429443, -0.47292593121528625, -0.5832025408744812, -0.003605964593589306, -0.4972667396068573, 1.0699801445007324, -0.07518575340509415, -0.23702138662338257, -0.2783884108066559, -0.4401991069316864, -0.6219497323036194, -0.40058624744415283, -0.5549439787864685, -0.2849154472351074, 0.4280856251716614, 0.06824135035276413, 1.0040022134780884, 0.6396059393882751, 0.7332131862640381, 0.22217051684856415, -0.025758538395166397, -0.22874829173088074, -0.178480327129364, -0.03479546681046486, -0.5423716306686401, -0.511768102645874, -0.4069509506225586, -0.05421580374240875, 0.38077694177627563, 0.3566480278968811, -0.06511503458023071, 0.002325482200831175, -0.08331399410963058, 0.5546866059303284, -0.552051305770874, 0.17242318391799927, -0.6663342118263245, 0.1614539474248886, -0.040611643344163895, -0.4433300197124481, -0.1351233571767807, 0.0682782381772995, 0.4532241225242615, -0.5214025974273682, 0.49314984679222107, 0.16561003029346466, 0.8662127256393433, 0.4106462895870209, -0.23214901983737946, -0.3293576240539551, -0.6600782871246338, 0.8578316569328308, -0.6311606764793396, 0.040609996765851974, 0.2886737585067749, 0.24892941117286682, 0.23269934952259064, -0.2942046523094177, -0.8673296570777893, -0.1325283795595169, -0.1631176620721817, 0.357276976108551, -0.17865638434886932, 0.02922743931412697, 0.2032655030488968, 0.5236067175865173, -0.7301304936408997, 0.0727250799536705, 0.06430307030677795, 0.2640576958656311, 0.7154732942581177, -0.035433486104011536, 0.5190656185150146, -0.5371742844581604, -0.4275940954685211, -0.0877416655421257, -0.3173946142196655, 0.22062449157238007, 0.054797954857349396, 0.09156212955713272, -0.18127906322479248, 0.2696174085140228, 0.09467078000307083, 0.2614486813545227, -0.39181411266326904, -0.14803113043308258, 0.13180649280548096, -0.08754318207502365, -0.30746227502822876, 0.15648314356803894, 0.6453113555908203, 0.5627683401107788, -0.02719852142035961, -0.2113466113805771, -0.24944539368152618, 0.5267729759216309, 0.46068212389945984, -0.43317052721977234, 0.11737839132547379, 0.4273378252983093, -0.659660816192627, -0.5520564317703247, -0.050264570862054825, -0.8751042485237122, -0.4698677062988281, -0.2563273012638092, 0.3810757100582123, -0.40843474864959717, -0.5031747817993164, -0.1766095906496048, -0.27509647607803345, 0.6648478507995605, 0.34501731395721436, -0.6832508444786072, 0.26317936182022095, 0.7952169179916382, 1.0450984239578247, -0.5882351398468018, -0.19272936880588531, -0.2712111175060272, -0.0810023844242096, -0.18342247605323792, 0.7553877234458923, -0.6999171376228333, -0.2567062973976135, -0.09172596782445908, -0.22415323555469513, -0.04294935613870621, -0.2538089454174042, 0.9084903597831726, -0.36910000443458557, 0.20462749898433685, -0.17261721193790436, -0.2913479804992676, -0.47301000356674194, 0.38339927792549133, -0.5472605228424072, 0.7764708995819092, 0.3013981878757477, -0.8510774970054626, 0.4883214831352234, -1.102170705795288, -0.4439519941806793, 0.23800890147686005, -0.36818236112594604, -0.4056445062160492, 0.16902026534080505, 0.2599720358848572, 0.5714405179023743, -0.5011808276176453, 0.6280754208564758, -0.12857672572135925, -0.5046057105064392, 0.29132309556007385, -0.6639456152915955, 0.7833181023597717, 0.10821494460105896, -0.91597580909729, 0.20307937264442444, -0.7336153388023376, -0.14677414298057556, 0.2508051097393036, 0.08172129839658737, -0.5734793543815613, 0.05058453604578972, 0.1850094497203827, 0.23708301782608032, -0.4583510756492615, -0.5039452314376831, 0.01874459721148014, -0.35942378640174866, 0.5732923746109009, 0.5950706601142883, -0.25944432616233826, 0.3125649690628052, -0.5248176455497742, 0.7686648964881897, -0.03773820400238037, -0.21820004284381866, -0.6707112193107605, -0.6836073398590088, -0.39924517273902893, -0.24963237345218658, 0.1672724187374115, 0.6274502277374268, -0.8352347612380981, 0.3964378237724304, -0.48819881677627563, -0.3967176675796509, -0.7703170776367188, -0.15665610134601593, 0.3925679326057434, 0.6372776627540588, 0.28316959738731384, -0.2889689803123474, -0.2876232862472534, -0.5333348512649536, -0.23448830842971802, -0.4473112225532532, 0.04317346215248108, 0.39585280418395996, 0.5702602863311768, -0.48921632766723633, 0.9278921484947205, -0.16859139502048492, -0.31576356291770935, -0.19556951522827148, 0.3097308874130249, 0.05529303103685379, 0.32008570432662964, 0.5639417767524719, -1.1097631454467773, -0.19181519746780396, 0.2851198613643646, -1.12649405002594, 0.2045532763004303, -0.5098294615745544, -0.00781842228025198, 0.2319369614124298, 0.022058818489313126, -0.4850997030735016, 0.8242732882499695, 0.2478606402873993, -0.3353480100631714, 0.33593255281448364, -0.1890137642621994, 0.3874218165874481, -0.8593170642852783, 0.17555005848407745, 0.24958570301532745, -0.2966744899749756, -0.5296436548233032, 0.4944482743740082, -0.13299278914928436, -0.20865648984909058, -0.25012052059173584, 0.6476877927780151, -0.17874079942703247, 0.030125247314572334, -0.22614525258541107, 0.4793214201927185, 0.119576096534729, 0.7152158617973328, 0.18365299701690674, 0.39811643958091736, 0.6893469095230103, -0.2068661004304886, 0.23085545003414154, 0.2569181025028229, -0.3329477608203888, 0.6668686270713806, -0.7722852230072021, 0.04828883334994316, -0.3045579493045807, 0.017455799505114555, -1.08807373046875, 0.03170129284262657, 0.21015363931655884, -0.3790615499019623, 0.10857688635587692, -0.05269626900553703, -0.04191690683364868, -0.1360410898923874, -0.48214972019195557, 0.47122353315353394, 0.5908666253089905, -0.5895920991897583, 0.5806653499603271, 0.23337852954864502, -0.3272342383861542, -0.6340550184249878, -0.5789788961410522, 0.306945264339447, -0.5783613324165344, -0.5264397263526917, 0.6135429739952087, -0.07247235625982285, -0.42933937907218933, -0.008589078672230244, -0.06605791300535202, -0.10594481229782104, 0.33665722608566284, 0.5449725985527039, 0.3126024603843689, -0.378678560256958, -0.18527847528457642, 0.2915830910205841, -0.3265153765678406, 0.2457764446735382, -0.04829881340265274, 0.10765527933835983, -0.28190720081329346, -0.14946451783180237, -0.5890311002731323, 0.5266720652580261, 0.5649325847625732, -0.13663987815380096, 0.46062034368515015, 0.7519699335098267, -0.3747985064983368, -0.011156431399285793, -0.13191436231136322, 0.21527373790740967, -0.3381951153278351, 0.113541379570961, -0.42454755306243896, -0.5352144837379456, 0.38840189576148987, 0.11523111909627914, 0.1167275533080101, 0.485171377658844, 0.607677698135376, -0.08403504639863968, 0.7940660715103149, 0.6668741106987, 0.004850148689001799, 0.19768139719963074, -0.44090208411216736, 0.48774242401123047, -0.6734863519668579, -0.0207145344465971, -0.40767285227775574, -0.2970372438430786, -0.6567702889442444, -0.16434285044670105, 0.1362963616847992, -0.2017616182565689, 0.40859857201576233, 0.15564629435539246, -0.6464969515800476, 0.3899238705635071, 0.5191377997398376, -0.0011045514838770032, 0.3343737721443176, 0.1070651262998581, 0.031874023377895355, -0.014932082034647465, -0.5675531029701233, -0.6868063807487488, 0.7965330481529236, 0.43222859501838684, 0.4848974943161011, 0.02029125951230526, 0.5308687686920166, 0.7677924633026123, 0.49076008796691895, -0.9571067094802856, 0.3113899230957031, 0.04575527831912041, -0.41512149572372437, -0.40187373757362366, -0.19805723428726196, -0.980816125869751, 0.38143107295036316, -0.22229641675949097, -0.6161291599273682, 0.2497623711824417, -0.1829155832529068, -0.4415266811847687, 0.4002269208431244, -0.8644772171974182, 0.6580565571784973, -0.23594193160533905, -0.28924205899238586, -0.1865876019001007, -0.7639163732528687, 0.2863104045391083, -0.3276788294315338, 0.3487323820590973, -0.13985903561115265, 0.03643321618437767, 0.9513366222381592, -0.2733064889907837, 0.4765191376209259, -0.2554919421672821, -0.15820851922035217, 0.1935630440711975, -0.06981785595417023, -0.1332453042268753, 0.29590046405792236, -0.37974539399147034, 0.5064023733139038, 0.41094139218330383, -0.46913179755210876, -0.9732753038406372, 0.7024703025817871, -0.8591731190681458, -0.7165988683700562, -0.48741424083709717, -0.49704793095588684, 0.20758359134197235, 0.25184640288352966, 0.25565874576568604, 0.612563967704773, -0.2092386782169342, 0.1208871379494667, 0.3957783877849579, -0.4036768078804016, 0.5216867327690125, 0.09253427386283875, -0.07433030009269714, -0.1542433351278305, 1.0716216564178467, 0.1196618378162384, -0.3322610855102539, 0.618075966835022, 0.3382817506790161, -0.1608840674161911, -0.6416943669319153, -0.3817175328731537, -0.02388954348862171, -0.6380621194839478, -0.16922320425510406, -0.7042052745819092, -0.09827279299497604, -0.29773664474487305, -0.4831632077693939, 0.0662672370672226, -0.36627671122550964, 0.18236877024173737, -0.10002206265926361, 0.06766974925994873, 0.6593255400657654, 0.2471417933702469, 0.4248931407928467, -0.4226163327693939, 0.8619336485862732, 0.011914574541151524, 0.44739601016044617, 0.0337037667632103, -0.45930081605911255, -0.14440615475177765, 0.09236686676740646, -0.16934873163700104, -0.7526135444641113, 0.352384090423584, 0.1726338118314743, 0.5247688889503479, 0.6029061079025269, 0.2873079478740692, 0.46942567825317383, -0.08231908082962036, 0.8427351117134094, -0.08029158413410187, -1.003373146057129, 0.8778541684150696, -0.3240317702293396, 0.09861687570810318, 0.3568626940250397, 0.6333372592926025, -0.34867265820503235, -0.10713884979486465, -0.8844098448753357, -0.8648630380630493, 0.721725344657898, 0.6662241220474243, 0.2355722188949585, 0.09108449518680573, 0.6239520907402039, 0.47923633456230164, 0.13280758261680603, -0.6202892661094666, -0.4156462848186493, -0.16965121030807495, -0.11491167545318604, -0.13209199905395508, -0.21106113493442535, -0.05103841796517372, -0.1307440847158432, 0.6276595592498779, -0.1734541356563568, 0.5673559904098511, 0.3447725772857666, -0.245854914188385, 0.08308237791061401, 0.4325217306613922, 0.37315550446510315, 0.728601336479187, -0.42627471685409546, 0.11017332971096039, -0.1919535994529724, -0.41720396280288696, 0.3221367597579956, 0.13968928158283234, -0.23630079627037048, 0.19823437929153442, 0.7430452108383179, 0.7573519945144653, -0.23242002725601196, -0.5817515850067139, 0.6423754692077637, -0.5326691269874573, -0.093956857919693, -0.0817849263548851, 0.13161267340183258, -0.6229112148284912, -0.1057320237159729, 0.27251917123794556, 0.38630253076553345, 0.2549647092819214, -0.6803062558174133, 0.11800773441791534, 0.2855101227760315, -0.5946229100227356, -0.3095097541809082, 0.5547181963920593, 0.20690160989761353, -0.5095206499099731, 0.49860745668411255, -0.2569975256919861, -0.253536194562912, 0.563878059387207, 0.2568756341934204, 1.0636513233184814, -0.11526143550872803, 0.5049154758453369, 0.010553563944995403, 0.2987765073776245, 0.20884549617767334, 0.1656903177499771, -0.4694395363330841, -0.7963709235191345, -0.13030953705310822, -0.29050275683403015, -0.4473872780799866, -0.02566865086555481, -1.0492537021636963, 0.1950024664402008, -0.47260400652885437, -0.039572812616825104, 0.29462018609046936, -0.004337984137237072, -0.6969332098960876, 0.4400089681148529, 0.0527784563601017, 0.7524216771125793, -0.8117045760154724, 0.6970834136009216, 0.8055748343467712, -0.4107469320297241, -0.2946924567222595, 0.21665996313095093, 0.01869179494678974, -0.6847409009933472, 0.029398275539278984, 0.3126050531864166, -0.06327083706855774, -0.22223250567913055, -0.366685152053833, -0.3613402247428894, 1.0525643825531006, 0.2585938572883606, -0.25889843702316284, -0.12979288399219513, -0.07335003465414047, 0.7652100324630737, -0.49507755041122437, 0.5747541785240173, 0.9360488057136536, 0.23990115523338318, 0.0028788188938051462, -0.3675440549850464, 0.1705121099948883, -0.7585623860359192, 0.19822528958320618, -0.2614539563655853, -0.3411911725997925, -0.031503837555646896, -0.4423517882823944, -0.2207234799861908, -0.06544392555952072, 0.6336754560470581, 0.18306401371955872, 0.8074390888214111, 0.5831974744796753, 0.33134108781814575, 0.9035822153091431, -0.19465026259422302, 1.3063656091690063, -0.09263170510530472, 0.19790740311145782, 1.0230822563171387, -0.3325318396091461, 0.7678017020225525, 0.4200100600719452, -0.01594340056180954, 0.6911341547966003, 0.4330713748931885, -0.038884878158569336, 0.37218132615089417, 0.05488423630595207, -0.08482852578163147, 0.19877338409423828, -0.2829592227935791, -0.057671502232551575, 0.3855975866317749, 0.44188281893730164, -0.2683520019054413, -0.13435162603855133, 0.4520776867866516, -0.000014898912013450172, 0.11602523177862167, -0.14106376469135284, 0.7905055284500122, 0.0323156900703907, -0.7219158411026001, 0.5568209886550903, 0.2373478263616562, 0.6139995455741882, -0.3074285387992859, -0.16073556244373322, -0.28259605169296265, 0.02499345876276493, -0.33582115173339844, -1.0026534795761108, 0.5131389498710632, 0.19471944868564606, -0.3085381090641022, -0.42175421118736267, 0.6810865998268127, -0.07185345143079758, -0.31841620802879333, 0.321496844291687, 0.3381510376930237, 0.3172438144683838, -0.14525337517261505, -0.9763578176498413, 0.16987083852291107, -0.041200533509254456, -0.05713943392038345, 0.02104036696255207, 0.5718284845352173, -0.3987882137298584, 0.7386983633041382, 0.44264358282089233, -0.08014906942844391, -0.3303165137767792, 0.12416611611843109, 0.5792519450187683, -0.7943517565727234, -0.6507596373558044, -0.8730199933052063, 0.6347898244857788, 0.0977073609828949, -0.36784154176712036, 0.45379117131233215, 0.3007637560367584, 0.5810927152633667, 0.09295587241649628, 1.1992518901824951, -0.2384711652994156, 0.1742735058069229, -0.4583468735218048, 0.6393049955368042, -0.4750744700431824, 0.4374149441719055, -0.7556975483894348, -0.9938705563545227, -0.47606509923934937, 0.636929988861084, -0.257971853017807, 0.20381715893745422, 0.8754140734672546, 0.7129361033439636, -0.06343655288219452, 0.22870226204395294, 0.6207112669944763, 0.2568937838077545, 0.4239594042301178, 0.1844928115606308, 0.9056850671768188, -0.6972264647483826, 0.21834824979305267, -0.3079758584499359, -0.6406968235969543, 0.04918939992785454, -0.8312633633613586, -0.8872804045677185, -0.8342974185943604, -0.7815508842468262, -0.16955597698688507, -0.04940570890903473, 0.8180661797523499, 0.7708222270011902, -0.7547024488449097, -0.023804225027561188, 0.16982540488243103, 0.5240902304649353, -0.5176162719726562, -0.2802531123161316, 0.5580076575279236, -0.09158744663000107, -0.45809611678123474, 0.1461174488067627, 0.5760884284973145, -0.0687335655093193, -0.37030893564224243, -0.03530481085181236, -0.09750598669052124, 0.14546804130077362, 0.7610929608345032, 0.019749362021684647, -0.9266349077224731, 0.04384111613035202, -0.19083833694458008, 0.2258109599351883, 0.2893159091472626, 1.1253806352615356, -0.8737845420837402, 0.5449232459068298, 0.4917755424976349, 0.8092174530029297, 0.07950503379106522, 0.049712538719177246, 0.6211686730384827, -0.5287312865257263, -0.0459369532763958, -0.0939558669924736, 0.4935199022293091, 0.4456849694252014, -0.7255058884620667, 0.6777217984199524, 0.17552007734775543, -0.352614164352417, -0.7278579473495483, -0.2413923591375351, -1.3227680921554565, -0.2095259726047516, 0.9178134202957153, -0.44752028584480286, -0.3755311369895935, -0.27032655477523804, -0.5149474143981934, -0.024523794651031494, -0.3475116789340973, 1.0360974073410034, 0.5994074940681458, -0.024135835468769073, -0.4422803521156311, -0.3151964545249939, 0.4188763499259949, 0.42094722390174866, -0.9023597836494446, 0.03319113701581955, -0.1243729367852211, -0.12142941355705261, 0.3132864236831665, 0.468176007270813, -0.25295087695121765, 0.22314101457595825, -0.23627609014511108, -0.15871509909629822, 0.3089452385902405, -0.3995152413845062, -0.7917472124099731, 0.19248336553573608, -0.022484751418232918, 0.08724642544984818 ]
http://arxiv.org/abs/2402.03038v1
http://arxiv.org/pdf/2402.03038v1
Automatic Combination of Sample Selection Strategies for Few-Shot Learning
2024-02-05T14:23:43
2024-02-05T14:23:43
Branislav Pecher, Ivan Srba, Maria Bielikova, Joaquin Vanschoren
cs.LG
cs.LG, cs.AI, cs.CL
In few-shot learning, such as meta-learning, few-shot fine-tuning or in-context learning, the limited number of samples used to train a model have a significant impact on the overall success. Although a large number of sample selection strategies exist, their impact on the performance of few-shot learning is not extensively known, as most of them have been so far evaluated in typical supervised settings only. In this paper, we thoroughly investigate the impact of 20 sample selection strategies on the performance of 5 few-shot learning approaches over 8 image and 6 text datasets. In addition, we propose a new method for automatic combination of sample selection strategies (ACSESS) that leverages the strengths and complementary information of the individual strategies. The experimental results show that our method consistently outperforms the individual selection strategies, as well as the recently proposed method for selecting support examples for in-context learning. We also show a strong modality, dataset and approach dependence for the majority of strategies as well as their dependence on the number of shots - demonstrating that the sample selection strategies play a significant role for lower number of shots, but regresses to random selection at higher number of shots.
[ -0.7615134119987488, -0.477172315120697, 0.4044092297554016, -0.28435105085372925, -0.4741678535938263, -0.1344885379076004, -0.17964637279510498, -0.46108564734458923, 0.11820323765277863, 0.05989797040820122, -0.5494167804718018, -0.5289837121963501, -0.6346930861473083, 0.6064954996109009, -0.04426015168428421, 0.8411988615989685, 0.09967481344938278, 0.45763739943504333, -0.08383449912071228, -0.36526989936828613, -0.5566532611846924, -0.0006415377138182521, -0.6692900061607361, -0.2791367471218109, 0.30263879895210266, 0.7872830033302307, -0.09314817935228348, 0.4816419184207916, 0.850243330001831, 0.2945738732814789, 0.0020720718894153833, 0.2728487253189087, -0.3762426972389221, 0.05319172143936157, 0.08015640825033188, -0.6725317239761353, 0.13927902281284332, 0.08288204669952393, 0.710229218006134, 0.3523286283016205, 0.28170520067214966, 0.266839861869812, 0.32697030901908875, 0.39299288392066956, -1.1480956077575684, -0.25052255392074585, -0.6450665593147278, 0.3490118682384491, -0.38128024339675903, -0.23980224132537842, -0.437643826007843, -0.041799817234277725, 0.1978769153356552, -0.4486668109893799, 0.3060206174850464, -0.06242071092128754, 0.3130926787853241, 0.2450622022151947, -0.31328457593917847, -0.19043377041816711, -0.5972817540168762, 0.9837855696678162, -0.5335164666175842, -0.16211532056331635, 0.5216310024261475, 0.8052902221679688, 0.09188801795244217, -0.41738608479499817, -0.24589642882347107, 0.003308223094791174, -0.12443889677524567, 0.2927260100841522, -0.03271857649087906, 0.14804382622241974, 0.38532137870788574, -0.1880704164505005, -0.28673499822616577, 0.2815898358821869, -0.4031113386154175, -0.10231569409370422, 0.6645607948303223, 0.15442438423633575, -0.11255188286304474, -0.29300591349601746, -0.26183971762657166, -0.4732608199119568, -0.5448240041732788, 0.2702268064022064, 0.33229196071624756, 0.5391108989715576, -0.036126211285591125, 0.4169172942638397, -0.3952561616897583, 0.9508495330810547, 0.28649264574050903, -0.5404462814331055, 0.1607825756072998, -0.3193444311618805, -0.26226991415023804, -0.15841755270957947, 0.8479028940200806, 0.000022552145310328342, -0.0882849171757698, 0.14803700149059296, -0.2984757721424103, -0.24226370453834534, -0.04536399617791176, -0.67792147397995, -0.1570085883140564, -0.13478682935237885, -0.5833094716072083, -0.5140907764434814, 0.25539863109588623, -0.771257758140564, -0.012551646679639816, -0.07787945121526718, 0.5907233357429504, -0.5571802258491516, 0.4387742280960083, -0.3982577621936798, -0.538366973400116, 0.2645253837108612, 0.5092583894729614, -0.7801194787025452, 0.6127765774726868, 0.07911748439073563, 0.9165329337120056, -0.5475531220436096, -0.43163278698921204, -0.9377306699752808, -0.02828471176326275, -0.3312961459159851, 1.262532114982605, -0.8353816866874695, -0.6326414346694946, -0.2599286437034607, -0.45630979537963867, 0.05217767506837845, -0.574929416179657, 0.20077115297317505, -0.33795303106307983, 0.08517346531152725, -0.3102160096168518, -0.6356338858604431, -0.3874336779117584, 0.26599985361099243, -0.9140446782112122, 0.7792348265647888, -0.0919640064239502, -0.5238803625106812, 0.7562133073806763, -0.5231760144233704, -0.5628867745399475, 0.04717966541647911, -0.4260506331920624, -0.7146634459495544, 0.04763984680175781, 0.2868073880672455, 0.6532991528511047, 0.06365306675434113, -0.6765656471252441, -0.6137149333953857, -0.7327228784561157, 0.14225979149341583, -0.4426490068435669, 0.6689884066581726, 0.06774765253067017, -0.3443552851676941, -0.31925827264785767, -0.7768389582633972, 0.1322770118713379, 0.066543810069561, -0.3289770185947418, -0.29220351576805115, -0.3037298321723938, -0.10971541702747345, 0.19258907437324524, -0.5216344594955444, -0.1412048488855362, 0.3137851655483246, -0.24570459127426147, -0.0036091250367462635, 0.4183029532432556, 0.5597312450408936, 0.7462105751037598, -0.4883379340171814, 0.6678422093391418, -0.0221481304615736, -0.0070531838573515415, -0.44588202238082886, -0.2526446580886841, -0.32475781440734863, -0.5989198684692383, 0.5039300918579102, 0.41957083344459534, -0.7441536784172058, 0.2251623272895813, 0.15734955668449402, -0.34579020738601685, -0.3278858959674835, 0.7284343242645264, 0.5079421401023865, 0.35964688658714294, 0.6254196166992188, -0.5880701541900635, -0.561979353427887, -0.560325562953949, -0.0634574219584465, 0.08911971002817154, 0.19833876192569733, 0.5124924778938293, 0.7715741991996765, 0.25854209065437317, 1.3206511735916138, -0.5173138380050659, -0.6968725919723511, -0.44087573885917664, 0.24424947798252106, -0.1682010442018509, 0.20268280804157257, 1.1008154153823853, -0.36151835322380066, -0.5811226963996887, -0.5009084343910217, -0.5306539535522461, 0.12960845232009888, -0.23123799264431, 0.09671938419342041, 0.14389392733573914, 0.2708304524421692, -0.14158006012439728, 0.506953239440918, 0.17664563655853271, 0.3993408679962158, 0.33752238750457764, 0.0923205316066742, 0.06306785345077515, -0.7262216806411743, -0.3199135363101959, 0.5742201805114746, -0.27328574657440186, -0.19447579979896545, -0.17246633768081665, 0.06747180223464966, 0.224116250872612, -1.052842140197754, 0.6259093880653381, -0.49828794598579407, -0.07603518664836884, -0.424376517534256, -0.14615663886070251, 0.004461232107132673, 0.46987658739089966, 0.16068081557750702, 0.3953378200531006, 0.7557395100593567, -0.6203302145004272, 0.3224315941333771, 0.4466901123523712, -0.1967461109161377, 0.6102516651153564, -0.3394545614719391, 0.25909459590911865, -0.19610072672367096, 0.9003524780273438, -0.9590367674827576, -0.31523728370666504, 0.03819306567311287, -0.17993009090423584, 0.43579381704330444, -0.37133267521858215, -0.4510529935359955, -0.2793036103248596, -0.5460935831069946, 0.3680092692375183, 0.13646994531154633, -0.3996621370315552, 0.3466447591781616, 0.07139749825000763, 0.26610153913497925, -0.5515584349632263, -0.8281413316726685, -0.1584058701992035, -0.3706483244895935, -0.04533957690000534, 0.2446838617324829, 0.1705915480852127, -0.15837620198726654, -0.16294753551483154, -0.036452509462833405, 0.09183170646429062, 0.06976909935474396, -0.020166825503110886, 0.3997495770454407, 0.05365132912993431, 0.1415501981973648, 0.19271314144134521, -0.17722013592720032, -0.6660064458847046, -0.157739520072937, 0.31652265787124634, 0.0397014245390892, -0.5011960864067078, -0.4256110191345215, 0.40768963098526, -0.09137467294931412, -0.2215053141117096, 0.5446270108222961, 0.7279326915740967, -0.15844514966011047, -0.5166699886322021, -0.4445738196372986, -0.796888530254364, -0.3788919150829315, 0.19032225012779236, -0.3104773163795471, -0.4844150245189667, 0.2700214684009552, -0.20060600340366364, -0.052313100546598434, 0.3750317692756653, 0.3949691951274872, -0.6755287051200867, 0.7517940998077393, 0.4302009046077728, -0.28133031725883484, 0.7207004427909851, -0.808464765548706, -0.3485710918903351, -0.5550694465637207, 0.05411405488848686, -0.27410903573036194, -0.9772833585739136, -0.5012189745903015, -0.13162386417388916, 0.7888900637626648, -0.10933053493499756, 0.009686390869319439, 0.34026679396629333, -0.2123599350452423, 0.8656092286109924, 0.9214757084846497, 0.6311214566230774, 0.3958395719528198, -0.010350308381021023, -0.3363957405090332, 0.15033142268657684, -0.905482292175293, -0.21978335082530975, 1.3942482471466064, -0.016309911385178566, 0.8292355537414551, -0.12359986454248428, 1.2935359477996826, 0.0961267352104187, -0.10841970145702362, -1.0018205642700195, 0.49614232778549194, -0.33592191338539124, -0.6534960269927979, -0.4274604618549347, -0.2023477852344513, -0.8500905632972717, 0.17773599922657013, -0.925287127494812, -0.3730233907699585, 0.3873852789402008, 0.12925611436367035, -1.0139209032058716, 0.03022153675556183, -0.7922475934028625, 0.476784884929657, -0.42838144302368164, -0.3944564759731293, -0.23688320815563202, -0.9086695909500122, 0.16806766390800476, -0.021545177325606346, -0.17598506808280945, 0.25746411085128784, -0.015196124091744423, 0.6704913973808289, -0.053825512528419495, 1.2262681722640991, -0.07181164622306824, 0.6845284700393677, 0.6137794852256775, -0.07232639193534851, 0.4449503421783447, -0.19948072731494904, 0.13389374315738678, 0.07156559079885483, 0.09202330559492111, -0.3649091422557831, -0.411641925573349, 0.24064379930496216, -0.6983450055122375, -0.11477898061275482, -0.3319450914859772, -0.1786315143108368, -0.42381390929222107, 0.2508089244365692, 0.9193329811096191, 0.5076615214347839, -0.3270781338214874, 0.39767906069755554, 0.47346609830856323, 0.05229716747999191, 0.9582281112670898, 0.2520310580730438, 0.39293935894966125, -0.6036174893379211, 0.5639709830284119, 0.34403377771377563, 0.34188225865364075, 0.2714952230453491, 0.2653878629207611, 0.0353102870285511, -0.6653071045875549, -0.10822135955095291, 0.05935581028461456, -0.8223106265068054, -0.7463846802711487, -0.2580064535140991, 0.04352639243006706, -0.38878291845321655, -0.20876173675060272, -0.21178625524044037, -0.3074324429035187, -0.4325621724128723, -0.10771650075912476, 0.08546518534421921, 0.28811296820640564, -0.0027065712492913008, 0.5962746739387512, -0.8564147353172302, 0.5189091563224792, 0.5298559069633484, 0.1171082928776741, -0.16060619056224823, -0.3270547688007355, -0.31300848722457886, -0.18905450403690338, -0.7848087549209595, -1.0890127420425415, 0.12107393890619278, 0.5144792795181274, 0.7229982614517212, 0.6221317052841187, -0.06657100468873978, 0.6350030899047852, -0.3726728558540344, 0.30078479647636414, 0.2309591919183731, -0.4514990448951721, 0.7210994958877563, -0.09861885011196136, 0.3668138086795807, 1.2555148601531982, 0.4451511800289154, 0.07719318568706512, -0.1471557468175888, -0.7532273530960083, -0.3447166979312897, 0.8052764534950256, 0.22685930132865906, -0.13082052767276764, 0.2634774446487427, 0.01087648794054985, 0.20687538385391235, -0.031279634684324265, -0.4194425940513611, -0.24930863082408905, 0.11465348303318024, -0.2205306589603424, 0.22391945123672485, 0.32550114393234253, -0.43870192766189575, -0.2928411662578583, 0.4214504361152649, -0.5953760743141174, 0.031226756051182747, 0.03748295083642006, -0.2425462007522583, -0.32470643520355225, 0.09404149651527405, 0.3004932701587677, 0.14964179694652557, -0.15910205245018005, -0.22609366476535797, 0.5312891602516174, -0.293382853269577, 0.1982886642217636, -0.07596653699874878, -0.39339521527290344, -0.07910790294408798, 0.7029508352279663, 0.8780834078788757, 0.3192952573299408, -0.4024790823459625, 0.46293333172798157, 0.2705032229423523, -0.3310948312282562, -0.09326667338609695, 0.526149332523346, -0.7680379152297974, 0.5065773725509644, 0.7413948774337769, 0.40759116411209106, 0.34906530380249023, -0.5859829783439636, 0.48979660868644714, 0.8105689883232117, -0.10451097786426544, 0.0372285433113575, 0.1074938029050827, 0.1309082806110382, 0.005543229635804892, 0.15228389203548431, -0.2880237102508545, -0.24298380315303802, 0.7269290089607239, 0.40240412950515747, 0.8698042631149292, 0.037102583795785904, 0.4447353184223175, 0.3903069794178009, 0.09119214117527008, -0.6309822201728821, -0.2915697693824768, -0.22464391589164734, -0.8212639093399048, -0.1742229461669922, -0.1805516630411148, -0.6030822396278381, 0.00603033322840929, -0.49775785207748413, 0.9437921643257141, -0.4132261574268341, -0.30226001143455505, -0.1463777869939804, 0.4797569811344147, -0.9767642021179199, 0.2846228778362274, 0.38685324788093567, 0.8767915964126587, -1.1131302118301392, 0.7073662877082825, 0.8005132675170898, -0.5553193092346191, -0.6282916069030762, 0.20681235194206238, 0.564769446849823, -0.5175350904464722, 0.5937760472297668, -0.011847599409520626, -0.14415496587753296, 0.0455404557287693, -0.8380074501037598, -0.671740710735321, 1.2580440044403076, 0.11432118713855743, -0.45329466462135315, -0.06036800518631935, -0.24843154847621918, 0.3616551458835602, -0.5886059999465942, 0.54554283618927, 0.645479142665863, 0.31403928995132446, 0.7423359155654907, -0.6585308909416199, -0.37118878960609436, 0.12868262827396393, -0.07584177702665329, -0.18906009197235107, -0.8399659395217896, 0.17303268611431122, -0.2914294898509979, -0.060707055032253265, -0.11913155019283295, 0.5792974829673767, 0.600963830947876, 0.5518243312835693, 0.6156155467033386, 0.5254653096199036, 0.435602068901062, 0.31432339549064636, 0.7845559120178223, 0.10101591795682907, 0.2876472771167755, 1.0501748323440552, -0.1440972536802292, 0.9297743439674377, 0.327425479888916, -0.30991819500923157, 0.1112603023648262, 0.6776331663131714, -0.3677869737148285, 0.9240425825119019, -0.3118036389350891, -0.10147181898355484, -0.23836620151996613, 0.352220743894577, 0.09603848308324814, 1.0201404094696045, 0.16287140548229218, -0.2150842398405075, -0.5455731749534607, 0.45240113139152527, -0.31585896015167236, -0.326172798871994, -0.10327214002609253, 1.2700382471084595, 0.1606215238571167, -0.5666683912277222, 0.2069614678621292, -0.25050562620162964, 0.9165199995040894, -0.5284889340400696, -0.2056736946105957, -0.07721634954214096, -0.07246706634759903, -0.46442100405693054, -0.5693625807762146, 0.0004675707605201751, -0.04868098348379135, 0.10480744391679764, 0.07820011675357819, 0.9622106552124023, -0.1936097890138626, -0.6200454831123352, -0.096722811460495, 0.45414164662361145, -0.2624858617782593, 0.11663863807916641, -0.5829488039016724, -0.15973235666751862, -0.2879020571708679, -0.06474687904119492, 0.6189165711402893, 0.2263367474079132, 0.06513027846813202, 0.3574985861778259, 0.509817898273468, 0.3263107240200043, -0.1956215500831604, -0.26167425513267517, 0.6947137713432312, -0.4350275993347168, -0.38020363450050354, -0.957499086856842, 0.3473345935344696, -0.06108996644616127, -0.328800767660141, 0.5808013677597046, 0.48433998227119446, 0.8461519479751587, 0.061982739716768265, 1.09467613697052, 0.16600154340267181, 0.45255225896835327, -0.6494895219802856, 0.2365759015083313, -0.38381919264793396, 0.3848685920238495, -0.5222024321556091, -0.9729235172271729, -0.5427423715591431, 0.6939260363578796, -0.48250526189804077, 0.21374082565307617, 0.7553069591522217, 0.3912588655948639, -0.12839755415916443, -0.17043161392211914, 0.207021102309227, -0.3666015565395355, 0.08987662196159363, 0.4661080241203308, 0.33357924222946167, -0.4179379940032959, 0.6581119298934937, -0.692014753818512, -0.3528057932853699, -0.5030631422996521, -0.8853381872177124, -0.944698691368103, -0.5262152552604675, -0.16973327100276947, 0.02965940721333027, -0.2248150259256363, 1.2369892597198486, 0.8891995549201965, -0.7750483155250549, -0.11343880742788315, 0.22387845814228058, -0.07242054492235184, -0.5241305828094482, -0.14666999876499176, 0.13784873485565186, -0.6627147793769836, -0.7453752756118774, 0.4068742096424103, 0.2698785364627838, 0.19769611954689026, 0.03320091590285301, 0.10235816985368729, -0.170643612742424, -0.18307004868984222, 0.47266581654548645, 0.42302635312080383, -0.20613151788711548, 0.14126676321029663, 0.15835770964622498, -0.23644980788230896, 0.2032889574766159, 0.8773488998413086, -1.2105679512023926, 0.4391244351863861, 0.790202796459198, 0.6247662305831909, 0.7389010787010193, 0.1360023021697998, 0.3375871479511261, -0.9651703238487244, 0.30089178681373596, 0.449026882648468, 0.3279328942298889, 0.024911558255553246, -0.14447732269763947, 0.5090738534927368, 0.46922507882118225, -0.21451233327388763, -0.48169732093811035, 0.03938603773713112, -0.871202826499939, -0.4312267601490021, 1.3554966449737549, 0.22106264531612396, -0.08025159686803818, 0.26859569549560547, -0.14869321882724762, 0.22368204593658447, -0.46763911843299866, 0.8322319984436035, 0.6394962668418884, -0.5085632801055908, -0.48322904109954834, -0.4318488836288452, 0.5161216259002686, 0.18379303812980652, -0.6478520035743713, -0.8215115070343018, 0.6870558857917786, 0.08199106901884079, -0.1769244223833084, 0.486113041639328, 0.22879092395305634, 0.32221493124961853, -0.27891266345977783, -0.4619346559047699, 0.04174097999930382, -0.5324153900146484, -0.4218676686286926, 0.16528867185115814, -0.14537672698497772, -0.5258529186248779 ]
http://arxiv.org/abs/2402.03009v1
http://arxiv.org/pdf/2402.03009v1
UniMem: Towards a Unified View of Long-Context Large Language Models
2024-02-05T13:47:53
2024-02-05T13:47:53
Junjie Fang, Likai Tang, Hongzhe Bi, Yujia Qin, Si Sun, Zhenyu Li, Haolun Li, Yongjian Li, Xin Cong, Yukun Yan, Xiaodong Shi, Sen Song, Yankai Lin, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI
Long-context processing is a critical ability that constrains the applicability of large language models. Although there exist various methods devoted to enhancing the long-context processing ability of large language models (LLMs), they are developed in an isolated manner and lack systematic analysis and integration of their strengths, hindering further developments. In this paper, we introduce UniMem, a unified framework that reformulates existing long-context methods from the view of memory augmentation of LLMs. UniMem is characterized by four key dimensions: Memory Management, Memory Writing, Memory Reading, and Memory Injection, providing a systematic theory for understanding various long-context methods. We reformulate 16 existing methods based on UniMem and analyze four representative methods: Transformer-XL, Memorizing Transformer, RMT, and Longformer into equivalent UniMem forms to reveal their design principles and strengths. Based on these analyses, we propose UniMix, an innovative approach that integrates the strengths of these algorithms. Experimental results show that UniMix achieves superior performance in handling long contexts with significantly lower perplexity than baselines.
[ -0.5012435913085938, -0.578665554523468, 0.7486363053321838, 0.3419608175754547, -0.39644864201545715, 0.10552812367677689, -0.7366645336151123, -0.3701136112213135, -0.034691959619522095, 0.9046107530593872, -0.31724151968955994, -0.5139166712760925, -0.1663838028907776, -0.07034042477607727, -0.21658113598823547, 0.694012463092804, -0.22159935534000397, -0.06392370909452438, -0.374444842338562, -0.4215385317802429, -0.5405306816101074, -0.6645246744155884, -0.12663646042346954, -0.811348557472229, 0.12509894371032715, 0.35724297165870667, 0.4853459596633911, 0.5237265825271606, 0.27253520488739014, 0.35046935081481934, -0.27147555351257324, 0.07155296206474304, -0.11792243272066116, -0.15793006122112274, -0.3652620315551758, -0.4066424071788788, -0.7836645245552063, -0.21069040894508362, 0.9846911430358887, 1.145628809928894, 0.011897546239197254, -0.02339870110154152, 0.4649105370044708, 0.7139483690261841, -0.6384037137031555, -0.066135935485363, -0.3153228461742401, -0.0656229704618454, -0.3187272846698761, -0.22778090834617615, -0.3417179584503174, 0.28879764676094055, 0.017254315316677094, -0.34577760100364685, -0.08505845814943314, -0.18672791123390198, -0.029379315674304962, 0.06919202208518982, -0.6523023247718811, 0.08735408633947372, -1.071244716644287, 1.1025505065917969, -0.8735129833221436, 0.2723383903503418, -0.07675141841173172, 0.1564650684595108, -0.4640829861164093, -0.5737255811691284, -0.326105535030365, 0.16051611304283142, 0.013271808624267578, -0.05634845420718193, -0.30325838923454285, 0.31442463397979736, 0.09114772081375122, 0.41071388125419617, -0.2728431522846222, 0.37567830085754395, -0.2474684864282608, -0.0753917247056961, 0.45793211460113525, 0.2035374939441681, 0.08604320883750916, 0.04378770664334297, -0.8326323628425598, 0.3057391047477722, -0.7418605089187622, 0.09867777675390244, 0.01805717870593071, 0.09661228209733963, 0.18731921911239624, 0.350791335105896, -0.2734183371067047, 0.5572008490562439, -0.3323362469673157, -0.07319028675556183, 0.12013278156518936, -0.1719420701265335, -0.38055747747421265, -0.13938719034194946, 0.7970709800720215, 0.3054650127887726, 0.1490621566772461, -0.42144763469696045, -0.4102976620197296, -0.2043941169977188, 0.06085315719246864, -0.851094663143158, 0.07222344726324081, 0.17450955510139465, -0.2808105945587158, 0.09548252820968628, 0.09046352654695511, -0.9490633010864258, -0.04139084368944168, -0.5928927063941956, 0.3095216155052185, -0.5496217608451843, -0.11250390112400055, 0.3554302453994751, 0.1716114580631256, 0.014294655062258244, 0.2855352461338043, -0.5102426409721375, 0.5124496221542358, 0.7259950041770935, 0.4513525664806366, -0.5326654314994812, -0.4564994275569916, -0.30853164196014404, 0.3800611197948456, -0.1406470090150833, 0.9305909276008606, -0.6900840401649475, -0.36973807215690613, -0.003949744626879692, 0.052509553730487823, 0.1503189355134964, -0.5786191821098328, 0.48411795496940613, -0.5367627143859863, 0.370509535074234, -0.04866468533873558, -0.7104128003120422, -0.5120928287506104, -0.09075547754764557, -0.5521107912063599, 0.892777144908905, 0.1489369124174118, -0.49742695689201355, 0.1460908204317093, -1.172650933265686, -0.3823345899581909, 0.12622007727622986, -0.06122779846191406, -0.064967080950737, 0.5807517170906067, 0.41452065110206604, 0.5186018347740173, -0.533962070941925, 0.49791595339775085, -0.11186344176530838, -0.5232843160629272, 0.453088641166687, -0.689028263092041, 0.7349084615707397, 0.19153326749801636, -0.29097384214401245, 0.1787962019443512, -0.7365086078643799, 0.29630210995674133, -0.08700795471668243, -0.5971347093582153, -0.4689778685569763, -0.12943579256534576, 0.23502305150032043, -0.026279393583536148, 0.33507221937179565, -0.5300100445747375, 0.24869771301746368, -0.1661141812801361, 0.5491204857826233, 0.6182456612586975, -0.23873409628868103, 0.82232266664505, 0.01680372655391693, 0.24281533062458038, 0.22081851959228516, 0.16729861497879028, -0.6195902228355408, 0.17680704593658447, -0.7434519529342651, -0.33902207016944885, 0.19557200372219086, 0.433224081993103, -0.23677107691764832, 0.5092431306838989, -0.3426077365875244, 0.18609684705734253, -0.12649093568325043, 0.7060734629631042, 0.5306531190872192, 0.15501531958580017, 0.5026240944862366, -0.5677462816238403, -0.5873352885246277, -0.8138413429260254, -0.3158232867717743, 0.12313677370548248, -0.28393757343292236, 0.07320763915777206, 0.32986411452293396, -0.7649174332618713, 1.043015480041504, -0.2433994859457016, -0.22821785509586334, -0.33744117617607117, 0.2060278207063675, 0.2592921555042267, 0.4233822226524353, 0.2669961154460907, -0.5472407937049866, -0.10112392157316208, -0.14075128734111786, -0.801857590675354, -0.17514483630657196, -0.028822684660553932, 0.2125522792339325, 0.4142235219478607, 0.7103955149650574, -0.42132219672203064, 0.4134066104888916, 0.2925074100494385, -0.24272610247135162, 0.32046422362327576, -0.4932399094104767, -0.04474368691444397, -1.2409734725952148, 0.1090705469250679, -0.0888330489397049, -0.2665848135948181, -0.6144883036613464, 0.2604493498802185, 0.31566449999809265, -0.01682664081454277, -0.4523318111896515, 0.5931072235107422, -0.8849966526031494, -0.031399205327034, -0.6505457162857056, -0.01833276078104973, 0.15665777027606964, 0.46251043677330017, -0.07350520044565201, 0.6692597270011902, 0.44521117210388184, -0.526496946811676, 0.49995458126068115, -0.23346367478370667, -0.26515325903892517, 0.7128881812095642, -0.5521464347839355, 0.25582703948020935, -0.30883845686912537, 0.299170583486557, -0.9257739782333374, -0.012335984036326408, -0.47705501317977905, -0.10842204838991165, 0.5542213916778564, -0.027892954647541046, -0.5374451875686646, -0.4278525710105896, -0.3105258345603943, 0.6906949877738953, 0.39309796690940857, -0.7805633544921875, 0.7178018093109131, 0.3650418817996979, 0.02828359790146351, -0.48113763332366943, -0.4317319095134735, 0.33909299969673157, -0.6036137342453003, -0.6170675158500671, 0.5255609750747681, -0.25373533368110657, -0.40357881784439087, -0.18966536223888397, -0.03764902427792549, -0.08134405314922333, 0.03864393010735512, 0.28661394119262695, 0.1444479376077652, -0.3449089229106903, 0.09777623414993286, -0.16110265254974365, -0.48206907510757446, 0.030747007578611374, -0.46843597292900085, 0.6002817749977112, -0.28954246640205383, -0.218967467546463, -0.46992895007133484, 0.7228754162788391, 0.7157318592071533, -0.24782763421535492, 0.28863146901130676, 0.5500501990318298, -0.3504025340080261, -0.26127293705940247, -0.803728461265564, -0.11962133646011353, -0.471454918384552, 0.33733931183815, -0.273291677236557, -1.1732203960418701, 0.6076631546020508, -0.7311453819274902, 0.2149762064218521, 0.19177022576332092, 0.34656763076782227, -0.037653643637895584, 0.946565568447113, 1.0407036542892456, -0.5292861461639404, 0.2821989357471466, -0.06081599369645119, -0.017358554527163506, -1.3758167028427124, -0.2577572166919708, -0.14295177161693573, -0.3256378471851349, -0.11890505254268646, -0.6697505116462708, 0.23626190423965454, 0.4841614365577698, -0.31157973408699036, 0.3444575369358063, -0.13921420276165009, 0.7865920066833496, 0.33679068088531494, -0.3907400369644165, 0.5648509860038757, 0.17653197050094604, -0.48512816429138184, -0.047407642006874084, -0.4672955572605133, -0.5985041260719299, 1.0665966272354126, 0.3940422832965851, 1.0227755308151245, 0.056680288165807724, 0.4184744358062744, -0.08846380561590195, 0.305260568857193, -0.6291812658309937, 0.6311728954315186, -0.16973450779914856, -0.48997020721435547, -0.4135689437389374, -0.3044683635234833, -1.0145260095596313, 0.2504190504550934, 0.08472692966461182, -1.105172872543335, -0.0862017571926117, -0.24490705132484436, -0.5277653336524963, 0.5772929191589355, -0.4331985116004944, 0.5878880620002747, -0.38717004656791687, -0.3111979365348816, -0.1700815111398697, -0.44336211681365967, 0.3220468759536743, -0.20947985351085663, 0.24241292476654053, -0.011722113005816936, -0.09064926207065582, 0.6752738356590271, -0.19305875897407532, 0.8665483593940735, 0.17923137545585632, -0.24246108531951904, 0.3098197877407074, 0.10382045060396194, 0.19905804097652435, 0.3700946271419525, 0.07226696610450745, 0.35079461336135864, 0.07563412189483643, -0.2939354479312897, -0.5840916037559509, 0.9103137850761414, -0.5763009190559387, -0.5776844620704651, -0.20388692617416382, -0.9691556096076965, -0.2899055778980255, 0.3723125457763672, 0.10483888536691666, 0.5389422178268433, -0.5243638753890991, 0.3882262408733368, 0.6688203811645508, -0.14499254524707794, 0.8795206546783447, 0.8756960034370422, -0.5051230788230896, -0.4652896225452423, 0.34479033946990967, -0.09296345710754395, 0.0554303303360939, 0.5407701730728149, 0.1320970058441162, -0.4469216763973236, -0.49463579058647156, -0.24053530395030975, 0.17909455299377441, -0.5105457901954651, -0.11045803874731064, -0.395008385181427, -0.12510907649993896, -0.3716990351676941, -0.029738763347268105, -0.5842819809913635, -0.11714111268520355, -0.16164176166057587, 0.24152399599552155, 0.23372381925582886, 0.5310240983963013, -0.27122926712036133, 0.5969967246055603, -0.8146987557411194, 0.1652020812034607, 0.3409882187843323, 0.5612961053848267, -0.14185185730457306, -0.47583839297294617, -0.12238730490207672, 0.06689802557229996, -0.4133092761039734, -0.3933872878551483, 0.3344113826751709, 0.018747199326753616, 0.4855685532093048, 0.7094570398330688, -0.10803543031215668, 0.8809924721717834, -0.5623464584350586, 0.35309988260269165, 0.3118033707141876, -0.9818934202194214, 0.2129582315683365, -0.18730489909648895, 0.556305468082428, 0.47349750995635986, 0.001012813183479011, -0.6494836211204529, 0.051859572529792786, -0.4557027518749237, -0.9089055061340332, 0.3530654311180115, 0.012436500750482082, 0.3344418704509735, 0.2027430683374405, 0.5028547644615173, 0.06685955822467804, 0.030182041227817535, -0.5196759104728699, -0.09807096421718597, 0.2763233184814453, 0.12572607398033142, -0.46119940280914307, -0.5018811225891113, -0.19953203201293945, -0.4028201103210449, 0.1482585072517395, -0.2327808141708374, 0.2368459701538086, -0.06839966773986816, -0.23482611775398254, -0.19124826788902283, 0.7293376326560974, 0.3496078550815582, 1.030728816986084, -0.22525353729724884, 0.4244024157524109, 0.40484461188316345, -0.15115986764431, -0.045298442244529724, 0.030002368614077568, -0.01691662333905697, -0.18187345564365387, 0.291296124458313, 0.4971216917037964, 0.6311338543891907, -0.6237519979476929, 0.3204942047595978, -0.08475899696350098, 0.08368219435214996, -0.5545759797096252, 0.0664604976773262, 0.2240872085094452, 0.37357887625694275, 0.46967583894729614, -0.34640762209892273, 0.0020177143160253763, -0.8910185694694519, 0.33398497104644775, 0.6495522260665894, -0.46327438950538635, -0.5507320165634155, 0.48328495025634766, 0.034464236348867416, -0.26622623205184937, 0.6329270601272583, 0.10125862061977386, -0.45942893624305725, 0.24408909678459167, 0.9979027509689331, 0.7335274815559387, -0.51130211353302, -0.031005293130874634, 0.004438112489879131, 0.12606020271778107, -0.11326625198125839, 0.18366317451000214, -0.18426840007305145, -0.5988554358482361, -0.7357437610626221, -0.6683177947998047, -0.03746563196182251, 0.5907568335533142, -0.6905109286308289, -0.09309834241867065, -0.23969487845897675, -0.018577758222818375, -0.09253775328397751, 0.2725616991519928, -0.5830878019332886, 0.03406117856502533, -0.0434245690703392, 0.8519220948219299, -0.4484536945819855, 0.9115728735923767, 0.8558277487754822, 0.13123241066932678, -0.36635351181030273, -0.03804134950041771, 0.1751248985528946, -0.6745725870132446, 0.2641427218914032, 0.3392826318740845, -0.012957576662302017, -0.12185793370008469, -0.42676249146461487, -0.7717618346214294, 1.1161774396896362, 0.267405241727829, -0.5553451776504517, 0.08848520368337631, 0.44752535223960876, 0.4389267563819885, -0.614447832107544, 0.07920591533184052, 0.7887738347053528, 0.452115535736084, -0.03463234007358551, -0.7635208964347839, 0.14015652239322662, -0.10958021134138107, 0.2525045573711395, 0.6116944551467896, -0.49121204018592834, 0.7078620791435242, -0.45094528794288635, -0.35117316246032715, 0.36245113611221313, 0.8656170964241028, -0.030401861295104027, 0.3170328736305237, 0.32939431071281433, 0.7107135653495789, 0.5067931413650513, 0.22583481669425964, 0.670265793800354, -0.32110151648521423, 0.23735573887825012, 1.0256776809692383, -0.20260639488697052, 0.7179536819458008, 0.6623362898826599, -0.19995808601379395, 0.35347074270248413, 0.017034558579325676, 0.35088786482810974, 0.10576685518026352, 0.18785861134529114, -0.4669247567653656, -0.4634890556335449, 0.02096431888639927, -0.10876653343439102, 0.6411297917366028, 0.36426204442977905, -0.14373041689395905, -0.6317929625511169, 0.023765549063682556, 0.3106114864349365, 0.16028304398059845, -0.3659549355506897, 0.7578645348548889, 0.4051226079463959, -0.6033475995063782, 0.4430287182331085, 0.3819226920604706, 0.8171809911727905, -0.21146883070468903, 0.12909018993377686, -0.37070372700691223, 0.6146052479743958, 0.0714750587940216, -0.965967059135437, 0.27475154399871826, -0.05209408327937126, -0.19242431223392487, -0.036061301827430725, 0.5961765646934509, -0.4176028072834015, -0.5156960487365723, 0.6054167747497559, 0.6166535019874573, 0.065321184694767, -0.4409750699996948, -0.4701092839241028, -0.02449222095310688, -0.18084365129470825, -0.11035895347595215, 0.6623749732971191, 0.6815336346626282, -0.29998454451560974, 0.5378387570381165, 0.7364583015441895, -0.16272078454494476, -0.3149053156375885, 0.06071627885103226, 0.8318830132484436, -0.9935958385467529, -0.14305029809474945, -1.0438458919525146, 0.42010366916656494, -0.008034801110625267, -0.22908514738082886, 0.7200170755386353, 0.6388733386993408, 0.6939589977264404, 0.27557891607284546, 0.46362847089767456, 0.48888638615608215, 0.36303776502609253, -0.4439152181148529, 0.5993994474411011, -0.5344900488853455, 0.4769199788570404, -0.1053222194314003, -1.2925972938537598, -0.46707668900489807, 0.2519761025905609, -0.08618395030498505, -0.04586578533053398, 0.6773988008499146, 0.5140659809112549, -0.3739009201526642, -0.09281796962022781, 0.4725877642631531, 0.12481677532196045, 0.3138667345046997, 0.9230867624282837, 0.6449764370918274, -0.17738954722881317, 0.29822632670402527, -0.3672337830066681, -0.40946391224861145, -0.08715534955263138, -1.0568548440933228, -1.1210201978683472, -0.5828511714935303, 0.04909843951463699, 0.04679259657859802, -0.223781555891037, 0.6622488498687744, 0.6274023652076721, -0.49813392758369446, -0.4722326397895813, 0.11959987878799438, 0.014141648076474667, 0.007111504208296537, -0.17010819911956787, 0.37054315209388733, -0.26609623432159424, -0.6584933996200562, 0.6115902066230774, 0.7756764888763428, -0.07244937121868134, -0.40036246180534363, -0.09044882655143738, 0.35598790645599365, 0.29622092843055725, 0.8861952424049377, 0.4816228151321411, -0.5436645746231079, -0.11999712139368057, -0.08326572924852371, 0.19547757506370544, 0.24868541955947876, 1.0413798093795776, -0.788668155670166, 0.39546486735343933, 0.2949385344982147, 0.4132704734802246, 0.23335187137126923, -0.011931754648685455, 0.5886394381523132, -0.5199674963951111, 0.21003662049770355, 0.08690785616636276, 0.6754172444343567, 0.2697426378726959, -0.10329041630029678, 0.259920597076416, -0.003045442048460245, -0.5168951153755188, -0.7970441579818726, 0.32978832721710205, -1.046385645866394, -0.5996148586273193, 1.3229143619537354, -0.026994533836841583, -0.3935811519622803, -0.13331174850463867, 0.03349164128303528, 0.09543705731630325, -0.23175252974033356, 0.848526656627655, 0.4329439401626587, -0.04702058807015419, -0.08689897507429123, -0.4896116256713867, 0.0641438439488411, 0.378983736038208, -0.777418851852417, 0.2830051779747009, 0.45047080516815186, 0.5778622031211853, 0.21966876089572906, 0.5235007405281067, -0.5804707407951355, 0.008632251992821693, -0.6535353660583496, 0.12872594594955444, -0.2070751041173935, -0.6339618563652039, -0.5305332541465759, 0.07674507051706314, -0.0976991131901741, 0.26525235176086426 ]
http://arxiv.org/abs/2402.02992v2
http://arxiv.org/pdf/2402.02992v2
Decoding-time Realignment of Language Models
2024-02-05T13:31:28
2024-05-24T08:39:07
Tianlin Liu, Shangmin Guo, Leonardo Bianco, Daniele Calandriello, Quentin Berthet, Felipe Llinares, Jessica Hoffmann, Lucas Dixon, Michal Valko, Mathieu Blondel
cs.LG
cs.LG, cs.AI, cs.CL
Aligning language models with human preferences is crucial for reducing errors and biases in these models. Alignment techniques, such as reinforcement learning from human feedback (RLHF), are typically cast as optimizing a tradeoff between human preference rewards and a proximity regularization term that encourages staying close to the unaligned model. Selecting an appropriate level of regularization is critical: insufficient regularization can lead to reduced model capabilities due to reward hacking, whereas excessive regularization hinders alignment. Traditional methods for finding the optimal regularization level require retraining multiple models with varying regularization strengths. This process, however, is resource-intensive, especially for large models. To address this challenge, we propose decoding-time realignment (DeRa), a simple method to explore and evaluate different regularization strengths in aligned models without retraining. DeRa enables control over the degree of alignment, allowing users to smoothly transition between unaligned and aligned models. It also enhances the efficiency of hyperparameter tuning by enabling the identification of effective regularization strengths using a validation dataset.
[ -0.2408508062362671, -0.6125558614730835, 0.44776347279548645, 0.20414787530899048, -0.2362360805273056, 0.4212002456188202, -0.38539132475852966, -0.41693681478500366, 0.1383868008852005, 0.2026214450597763, -0.7832400798797607, -0.27387624979019165, -0.41216742992401123, 0.07564443349838257, -0.10276435315608978, 0.9154413938522339, -0.19214515388011932, -0.07328556478023529, -0.01687934249639511, -0.2179490476846695, -0.6404016017913818, -0.5400575995445251, -0.5098091959953308, -0.34520792961120605, 0.6421830058097839, 0.3565816879272461, 1.0363469123840332, 1.2353928089141846, 0.4505954384803772, 0.2601095139980316, -0.04382764548063278, 0.07720325887203217, -0.49710819125175476, 0.06791254878044128, -0.1423567235469818, -0.4188603460788727, -0.518952488899231, -0.01586299203336239, 0.8013195395469666, 0.7823779582977295, -0.4422968924045563, 0.35796743631362915, -0.12814122438430786, 0.8110635876655579, -0.783096194267273, 0.006122330203652382, -0.45677149295806885, 0.2390335351228714, -0.0868261456489563, -0.1705140918493271, -0.35573652386665344, -0.5468604564666748, 0.09876986593008041, -0.6750086545944214, 0.20264272391796112, 0.13691207766532898, 1.5385286808013916, 0.5616692304611206, -0.22556985914707184, 0.49846306443214417, -1.088698148727417, 1.2045421600341797, -0.8732107281684875, 0.6949833631515503, 0.29854875802993774, 0.540230393409729, -0.010718376375734806, -0.13943509757518768, -0.581219494342804, 0.1524207442998886, -0.1387801319360733, -0.11360900849103928, 0.04833068326115608, 0.15768638253211975, 0.2684994339942932, 0.10935483127832413, -0.5941681861877441, 0.2865757346153259, -0.12444747984409332, -0.23604467511177063, 0.5082231163978577, 0.23209241032600403, 0.38183486461639404, 0.20287324488162994, -0.14201708137989044, -0.38162457942962646, -0.4200516939163208, 0.11140413582324982, 0.6494709253311157, 0.49796342849731445, -0.09927845746278763, 0.3643066883087158, -0.20851179957389832, 1.0798956155776978, 0.37170156836509705, -0.37979257106781006, 0.23783570528030396, -0.37517648935317993, -0.2026507556438446, 0.25020238757133484, 0.5378537774085999, 0.4147481322288513, 0.2437445968389511, -0.2189851552248001, -0.40973374247550964, 0.0798933133482933, 0.4600425362586975, -0.6701136231422424, 0.1765882521867752, 0.17215068638324738, -0.6708952784538269, -0.5736598968505859, -0.10089774429798126, -0.9003370404243469, 0.049209024757146835, -0.4818466603755951, 0.11326157301664352, 0.10286257416009903, -0.34493282437324524, 0.20859019458293915, 0.11091741174459457, 0.28469085693359375, -0.05543231591582298, -1.3541918992996216, 0.27584102749824524, 0.731952428817749, 0.7153871655464172, 0.09136392921209335, -0.37008628249168396, -0.5482364296913147, 0.1649884283542633, -0.4362075924873352, 0.4718078374862671, -0.7560492753982544, 0.007184240501374006, -0.09076228737831116, 0.034611187875270844, -0.1923789381980896, -0.42660197615623474, 0.4827994704246521, -0.8417780995368958, 0.2649592161178589, -0.1667865514755249, -0.3402295708656311, -0.09449557214975357, 0.27458345890045166, -0.6826275587081909, 0.7968615889549255, 0.4051536023616791, -0.5761444568634033, 0.46214747428894043, -0.35624000430107117, -0.13579176366329193, -0.41493093967437744, -0.039560478180646896, -0.7990896105766296, -0.007608239538967609, 0.43958115577697754, 0.0728958249092102, 0.012527665123343468, 0.42574572563171387, -0.1547739952802658, -0.4309787452220917, 0.18287073075771332, -0.3164718747138977, 0.40898919105529785, 0.4440736770629883, -0.3599381148815155, 0.3957558572292328, -0.7672504782676697, 0.028348611667752266, 0.2001240849494934, -0.5087664127349854, -0.358058363199234, 0.09992921352386475, -0.10601650923490524, 0.2355043739080429, 0.3234226107597351, -0.5595922470092773, 0.4273761212825775, -0.8398924469947815, 0.3559931218624115, 0.9292392730712891, -0.11961846798658371, 0.6071359515190125, -0.33099135756492615, 0.8276975750923157, -0.006398205645382404, 0.3080275058746338, 0.4271303117275238, -0.15629951655864716, -0.6372872591018677, -0.1848745197057724, 0.803436815738678, 0.5552906394004822, -0.20561477541923523, 0.6693000197410583, -0.5058767795562744, -0.15838609635829926, -1.109018325805664, 0.048452749848365784, 0.6470534205436707, 0.5110535621643066, 0.39062264561653137, -0.23207378387451172, -0.49266451597213745, -0.9944165945053101, -0.19469912350177765, 0.12022291123867035, 0.05143992230296135, 0.17972314357757568, -0.10718583315610886, -0.28315919637680054, 1.000815749168396, -0.48514777421951294, -0.20026803016662598, -0.17571121454238892, 0.08164648711681366, 0.08759116381406784, 0.420242577791214, 0.4214393198490143, -0.6556359529495239, -0.37361907958984375, 0.010890834033489227, -0.42131030559539795, -0.12149021774530411, -0.36614444851875305, -0.21445010602474213, 0.29300493001937866, 0.2674398124217987, -0.05023539066314697, 0.23955607414245605, 0.8383873105049133, -0.4112926423549652, 0.40820199251174927, -0.15374617278575897, 0.2952723801136017, -0.8656477928161621, 0.11767884343862534, -0.18538953363895416, -0.31629809737205505, -0.5739189982414246, -0.11130852997303009, 0.18752016127109528, -0.1485908180475235, -0.1956830471754074, 0.7396565675735474, -0.5141720175743103, -0.27955523133277893, -0.1281464397907257, 0.19681617617607117, 0.07152711600065231, 0.690295934677124, 0.14765019714832306, 0.7468863725662231, 0.07948573678731918, -0.5325959920883179, 0.2633383870124817, 0.24337968230247498, -0.1859900951385498, 0.2276235818862915, -0.46368318796157837, 0.164450541138649, -0.1618410050868988, 0.11472364515066147, -0.7585428953170776, -0.15271064639091492, 0.2222890406847, -0.317899614572525, 0.35290905833244324, -0.3264198899269104, -0.1383827179670334, -0.0018157390877604485, -0.16603554785251617, 1.0170350074768066, 0.3957561254501343, -0.7303421497344971, 0.5851374864578247, 0.337461918592453, 0.043290507048368454, -1.1091866493225098, -0.3194763660430908, -0.05998896062374115, -0.23806677758693695, -0.5237784385681152, 0.43977785110473633, 0.11688713729381561, -0.325175017118454, -0.04347384721040726, -0.11749975383281708, 0.10007917881011963, 0.2159499078989029, 0.1513378918170929, 0.4411698877811432, -0.08760566264390945, -0.1856023073196411, 0.1153288334608078, -0.4001314640045166, -0.32902246713638306, -0.18893353641033173, 0.5334900617599487, 0.06714747101068497, -0.3548603653907776, -0.7516543865203857, 0.07904080301523209, 0.4802820086479187, -0.5484192967414856, 0.7762553691864014, 0.591204047203064, -0.34703630208969116, 0.09211759269237518, -0.5278518795967102, -0.4463677704334259, -0.4188164174556732, 0.2165837287902832, -0.3377235233783722, -0.7307265996932983, 0.5564631223678589, 0.2608794569969177, 0.25790202617645264, 0.12010452896356583, 0.437038779258728, 0.21439658105373383, 1.6603647470474243, 0.6938532590866089, -0.26401299238204956, 0.6988005042076111, 0.011096757836639881, 0.5245143175125122, -0.717679500579834, -0.18804076313972473, -0.6189663410186768, -0.7454354166984558, -0.2971368432044983, -0.040947798639535904, 0.015278371050953865, 0.03863878548145294, -0.14462728798389435, 0.3171290457248688, -0.6169776916503906, 0.6380425691604614, 0.41437289118766785, 0.002172473119571805, 0.19584250450134277, 0.09502213448286057, -0.015683120116591454, -0.3320498764514923, -0.6513392925262451, -0.4780944883823395, 0.934548020362854, 0.5931342840194702, 0.8472037315368652, 0.1900579333305359, 0.7497636675834656, 0.0063338144682347775, 0.05051217973232269, -0.8547804951667786, 0.2866871953010559, 0.011070480570197105, -0.3434734344482422, -0.6236345171928406, -0.5652981400489807, -0.9793612360954285, 0.1828395575284958, -0.31528910994529724, -0.43245866894721985, 0.47178757190704346, 0.27887025475502014, -0.8660879731178284, 0.3873589038848877, -0.6125908493995667, 1.0353835821151733, -0.17967478930950165, -0.1923574060201645, -0.32843008637428284, -0.7957731485366821, 0.21997545659542084, 0.11638890206813812, 0.2936430275440216, -0.21703611314296722, 0.12315356731414795, 0.9171164035797119, -0.2634994685649872, 0.6916380524635315, -0.17354488372802734, -0.37756210565567017, -0.3078344464302063, 0.38510027527809143, 0.5258686542510986, -0.20972692966461182, 0.08615623414516449, -0.12931199371814728, 0.2410575896501541, -0.5574692487716675, -0.8315969109535217, 0.6875649690628052, -0.9248207807540894, -0.44492799043655396, -0.33813729882240295, -0.6925902366638184, -0.32192525267601013, 0.12845106422901154, -0.1937226951122284, 0.46232783794403076, -0.16257773339748383, -0.2745896279811859, 0.6813040375709534, 0.007603618782013655, 0.20530486106872559, 0.46096542477607727, -0.24269452691078186, -0.18810558319091797, 1.237667202949524, -0.06536503881216049, 0.45940664410591125, 0.6431235074996948, 0.12325336039066315, -0.32628166675567627, -0.4318515956401825, -0.5599654912948608, 0.40124398469924927, -0.2879610061645508, -0.09725120663642883, -0.3742322325706482, -0.10166103392839432, -0.41567933559417725, -0.40049463510513306, -0.5684912204742432, -0.5858110785484314, -0.3411768078804016, -0.08583708852529526, -0.13289643824100494, 0.41695746779441833, -0.0743483304977417, 0.2784520387649536, -0.9898175001144409, 0.31582584977149963, 0.44309401512145996, 0.5798309445381165, -0.06889136135578156, -0.6600287556648254, -0.45081955194473267, 0.001215102500282228, 0.06379808485507965, -0.6767138242721558, 0.4827021658420563, -0.12422637641429901, 0.35587331652641296, 0.6243770718574524, -0.17619813978672028, 0.7377439737319946, -0.287321537733078, 0.581145167350769, -0.003745777066797018, -0.7288729548454285, 0.2964388430118561, -0.1639242321252823, 0.27775806188583374, 0.5227457880973816, 0.14327655732631683, -0.8312989473342896, -0.2072625458240509, -0.5636510252952576, -0.611332356929779, 0.8155691027641296, -0.1878868043422699, -0.04204903170466423, 0.22450344264507294, 0.4811909794807434, -0.17216576635837555, -0.07103287428617477, -0.3948523700237274, -0.15100476145744324, -0.2425883561372757, -0.4216657876968384, 0.10400918126106262, -0.43346527218818665, -0.5147687196731567, -0.0661313459277153, 0.7223163843154907, -0.17998740077018738, 0.07102949917316437, -0.10481695085763931, -0.1193271204829216, -0.6057406067848206, 0.41787153482437134, 0.8656193017959595, 0.9691605567932129, -0.5947964191436768, 0.07351978123188019, 0.014344035647809505, -0.12561769783496857, 0.4720662236213684, -0.10987317562103271, -0.19317908585071564, -0.22981679439544678, 0.27507585287094116, 0.8899221420288086, 0.269849956035614, -0.6798104643821716, 0.45579323172569275, -0.3384844958782196, -0.12141553312540054, 0.320278137922287, 0.1467941403388977, -0.260049045085907, 0.13628172874450684, -0.11440669000148773, -0.09049540758132935, -0.27123361825942993, -0.24446433782577515, 0.04304566606879234, 0.4167582392692566, -0.4849259853363037, -0.4044061005115509, 0.7363434433937073, 0.19554728269577026, -0.29018712043762207, 0.7601617574691772, -0.05702367052435875, -0.41357824206352234, 0.6047421097755432, 0.5455527305603027, 0.9002149105072021, -0.37831559777259827, 0.07400210946798325, 0.67934650182724, 0.179473415017128, -0.2407854199409485, 0.0044333371333777905, 0.06568042933940887, -1.0037909746170044, -0.5077072978019714, -0.7350558042526245, -0.13017484545707703, 0.0028857863508164883, -0.8267024755477905, 0.06470826268196106, -0.59839928150177, -0.3470870554447174, -0.20860356092453003, -0.12055252492427826, -0.2909598648548126, 0.12306685000658035, -0.054344017058610916, 0.6694541573524475, -0.9420015811920166, 0.7398786544799805, 0.453871488571167, -0.40459808707237244, -0.8998373746871948, 0.10878274589776993, 0.11403033882379532, -0.6631354093551636, 0.6320686340332031, -0.24530333280563354, -0.21149387955665588, 0.22012315690517426, -0.4352848529815674, -0.8135408163070679, 0.9888626337051392, 0.437318354845047, -0.9258589148521423, -0.39435920119285583, -0.24152471125125885, 0.5034090876579285, -0.3423827588558197, -0.0485774502158165, 0.8757513761520386, 0.5976266264915466, -0.3665426969528198, -1.015903115272522, 0.16958850622177124, 0.16902804374694824, 0.16068463027477264, 0.4540560245513916, -0.7656674385070801, 0.39860546588897705, -0.3271902799606323, -0.4934659004211426, -0.15265540778636932, 0.7668253183364868, 0.11098650842905045, -0.3038604259490967, 0.6967092752456665, 0.8747187852859497, 0.48187458515167236, -0.046359799802303314, 0.7346727252006531, -0.3883204758167267, 0.42245978116989136, 1.002942681312561, -0.015966080129146576, 0.6228799819946289, 0.616008996963501, -0.17854629456996918, 0.40670230984687805, 0.7052176594734192, 0.1015450656414032, 0.5684475898742676, 0.1166834756731987, -0.1244102418422699, -0.5680039525032043, -0.1522367000579834, -0.3149334788322449, 0.19650568068027496, 0.02712649293243885, -0.024250440299510956, -0.3351784348487854, -0.1585259735584259, 0.041846394538879395, 0.413004994392395, 0.07917953282594681, 0.8625499606132507, -0.345010906457901, -0.8125061988830566, 0.963712751865387, 0.36508581042289734, 0.5415434241294861, -0.5651305913925171, -0.1515875607728958, -0.38875722885131836, 0.19447539746761322, -0.30709129571914673, -0.5631001591682434, 0.2582302987575531, -0.2842511534690857, -0.5093845725059509, -0.26463648676872253, 0.22753725945949554, -0.7079265117645264, -0.1829347461462021, 0.30696964263916016, 0.09203541278839111, -0.1493239402770996, 0.31922590732574463, -0.7699012756347656, 0.2798804044723511, 0.1822943091392517, -0.1666562706232071, 0.5223115682601929, -0.13143987953662872, -0.22620640695095062, 0.7829740643501282, 0.6695103645324707, 0.2350260615348816, -0.042343273758888245, 0.39506763219833374, 0.6653872728347778, -0.7309916615486145, -0.4638373851776123, -0.8196220397949219, 0.06421759724617004, 0.2596017122268677, -0.03118046373128891, 0.5093159675598145, 0.45897066593170166, 0.9051326513290405, 0.017874184995889664, 0.4513028860092163, 0.27027520537376404, 0.5473427772521973, -0.5278499126434326, 0.5464498400688171, -0.5733147859573364, 0.19495858252048492, 0.044906530529260635, -0.8955828547477722, -0.44667091965675354, 0.5402057766914368, -0.2660837173461914, -0.17529705166816711, 0.43077385425567627, 1.134611964225769, -0.23480570316314697, -0.5334162712097168, 0.23154987394809723, -0.13376671075820923, 0.4925476908683777, 0.5088565945625305, 0.5895897746086121, -0.1216910183429718, 0.4233936071395874, -0.3134671747684479, -0.3740178346633911, -0.30866867303848267, -0.749267041683197, -0.6052330732345581, -0.5261133909225464, -0.2532535791397095, -0.4952163100242615, 0.08026285469532013, 1.146363377571106, 0.891962468624115, -0.9383333921432495, -0.2566690444946289, 0.3786104619503021, 0.4283648729324341, -0.6721813678741455, -0.2696591317653656, 0.45932072401046753, -0.5595983266830444, -0.968405544757843, 0.5077654123306274, 0.24447055160999298, 0.13578084111213684, -0.3703996241092682, -0.30347582697868347, -0.41052576899528503, 0.11828238517045975, 0.061060693114995956, 0.6656163334846497, -0.6183685660362244, -0.4182821214199066, -0.09173019975423813, -0.2792205512523651, 0.09608623385429382, 0.8400658369064331, -0.6570168733596802, 0.6456524133682251, 0.6766417622566223, 0.862575113773346, 0.10498151183128357, 0.5069090127944946, 0.8686339855194092, -0.9153779149055481, 0.28995051980018616, 0.01013462245464325, 0.1114267036318779, 0.15376725792884827, -0.38994288444519043, 0.3363436162471771, 0.18658100068569183, -0.6287436485290527, -1.0640610456466675, 0.32515114545822144, -0.7192740440368652, -0.15686139464378357, 0.9276136755943298, 0.16774000227451324, -0.40950798988342285, -0.10566601902246475, -0.281830370426178, 0.488579124212265, -0.49811211228370667, 1.0824415683746338, 0.7917290329933167, -0.05107664316892624, -0.06403598189353943, -0.2668812572956085, 0.9216196537017822, 0.640596866607666, -0.6256338357925415, 0.33899545669555664, 0.4213024973869324, 0.2842848598957062, 0.11153237521648407, 0.5194581747055054, -0.17080871760845184, 0.10002748668193817, -0.45204925537109375, 0.16056326031684875, -0.11175746470689774, -0.44827771186828613, -0.6208449602127075, -0.1335093080997467, 0.3159351050853729, -0.26209330558776855 ]
http://arxiv.org/abs/2402.02987v1
http://arxiv.org/pdf/2402.02987v1
Conversation Reconstruction Attack Against GPT Models
2024-02-05T13:18:42
2024-02-05T13:18:42
Junjie Chu, Zeyang Sha, Michael Backes, Yang Zhang
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
In recent times, significant advancements have been made in the field of large language models (LLMs), represented by GPT series models. To optimize task execution, users often engage in multi-round conversations with GPT models hosted in cloud environments. These multi-round conversations, potentially replete with private information, require transmission and storage within the cloud. However, this operational paradigm introduces additional attack surfaces. In this paper, we first introduce a specific Conversation Reconstruction Attack targeting GPT models. Our introduced Conversation Reconstruction Attack is composed of two steps: hijacking a session and reconstructing the conversations. Subsequently, we offer an exhaustive evaluation of the privacy risks inherent in conversations when GPT models are subjected to the proposed attack. However, GPT-4 demonstrates certain robustness to the proposed attacks. We then introduce two advanced attacks aimed at better reconstructing previous conversations, specifically the UNR attack and the PBU attack. Our experimental findings indicate that the PBU attack yields substantial performance across all models, achieving semantic similarity scores exceeding 0.60, while the UNR attack is effective solely on GPT-3.5. Our results reveal the concern about privacy risks associated with conversations involving GPT models and aim to draw the community's attention to prevent the potential misuse of these models' remarkable capabilities. We will responsibly disclose our findings to the suppliers of related large language models.
[ -0.3969496786594391, -1.1382545232772827, 0.5794868469238281, -0.17961768805980682, -0.19157932698726654, 0.16777312755584717, 0.07624539732933044, -0.6167965531349182, -0.0665326789021492, 1.0790557861328125, -0.5685215592384338, -0.31838458776474, -0.6363449096679688, -0.242116317152977, -0.8437654376029968, 1.0654244422912598, 0.48617759346961975, -0.330056369304657, 0.058051131665706635, 0.17892494797706604, -0.4864737391471863, -0.9598532319068909, -0.741867184638977, 0.196060910820961, 0.23793108761310577, -0.023763787001371384, 0.8740633130073547, 0.22996240854263306, 0.5685354471206665, 0.4504588842391968, -0.0857454165816307, -0.29803934693336487, -0.8929285407066345, 0.41985857486724854, 0.1294739544391632, -0.19765816628932953, -0.6885790824890137, -0.2601366639137268, 0.6260594725608826, 0.3697441816329956, -0.3502289354801178, -0.14206242561340332, 0.13602015376091003, 0.5358669757843018, -0.3422546982765198, -0.02144251950085163, -1.2751847505569458, -0.15581946074962616, -0.14179056882858276, -0.04792266711592674, -0.5180720090866089, -0.018968185409903526, 0.21975210309028625, -0.20371484756469727, 0.5224535465240479, -0.023037245497107506, 0.8737527132034302, 0.016015639528632164, -0.2341238409280777, -0.15839315950870514, -0.6474255919456482, 0.5145285725593567, -0.8122706413269043, 0.19923192262649536, 0.3713790774345398, 0.36875295639038086, -0.6414827108383179, -0.7080734968185425, -0.5494839549064636, -0.16501733660697937, -0.19234241545200348, 0.08538369834423065, -0.6727342009544373, 0.23998311161994934, 0.40466853976249695, 0.5287298560142517, -0.6558412909507751, 0.1852179914712906, -0.394223153591156, -0.3703487813472748, 0.5461211800575256, 0.40350550413131714, 0.0528070293366909, -0.3609623908996582, -0.526067316532135, 0.09142031520605087, -0.7820737957954407, -0.292117714881897, 0.5284687876701355, 0.22678598761558533, -0.20682473480701447, 0.31050071120262146, -0.227231964468956, 0.7793173789978027, -0.10797116905450821, -0.05508621409535408, -0.2897051274776459, -0.5623085498809814, -0.41841572523117065, -0.18408891558647156, 1.0590895414352417, 0.2595137655735016, 0.060126014053821564, -0.27558189630508423, -0.015555384568870068, -0.3552406430244446, 0.5717216730117798, -0.9497395157814026, -0.4210352897644043, 0.35375118255615234, -0.12555651366710663, -0.23448045551776886, 0.1656700223684311, -1.103942632675171, -0.5536428689956665, 0.1677653044462204, 0.07227546721696854, -0.2208264023065567, -0.2274954468011856, 0.23816488683223724, 0.3938870429992676, 0.3100702166557312, 0.34830060601234436, -0.8655394315719604, 0.4823459982872009, 1.107869267463684, 0.734497606754303, 0.037412144243717194, -0.11484523862600327, -0.3280433416366577, 0.27157047390937805, -0.1829093098640442, 0.5827726125717163, -0.24581564962863922, -0.8876075744628906, -0.03787444159388542, 0.0403643399477005, -0.04713229462504387, -0.2211684137582779, 0.34934201836586, -0.7626258730888367, 0.4621232748031616, -0.2417449951171875, -0.5816770195960999, -0.2840859293937683, 0.6267561316490173, -0.6728459596633911, 0.5771235227584839, -0.12277917563915253, -0.9194853901863098, -0.1396886706352234, -0.567782461643219, -0.2278629094362259, 0.06415972113609314, -0.18482454121112823, -0.5726332068443298, 0.07381576299667358, 0.317683607339859, 0.6589983701705933, -0.32117143273353577, -0.024821823462843895, -0.4987959563732147, -0.06815017014741898, 0.44666317105293274, -0.6346500515937805, 0.6164154410362244, 0.14872540533542633, -0.2996617257595062, 0.06762111186981201, -0.5513584613800049, 0.007728673052042723, 0.2527880370616913, 0.14144267141819, -0.17457935214042664, -0.10228544473648071, -0.3240779638290405, -0.1144663393497467, 0.18354910612106323, -0.6088579297065735, 0.21239876747131348, -0.2814495861530304, 0.6601094603538513, 0.8303889632225037, 0.5240913033485413, 0.17027011513710022, -0.23990505933761597, 0.5944036841392517, -0.19434168934822083, 0.2695220410823822, -0.21501630544662476, -0.6039218306541443, -0.3714213967323303, -0.38915255665779114, 0.01719910278916359, 0.4226759970188141, -0.4628942310810089, 0.18242396414279938, -0.4818153381347656, -0.620111882686615, -0.40467751026153564, -0.25240156054496765, 0.3715972900390625, 0.3871256113052368, 0.011124164797365665, -0.2316984236240387, -0.26100462675094604, -0.9264740347862244, -0.445724219083786, -0.18476946651935577, -0.19115354120731354, 0.48450666666030884, 0.30748504400253296, -0.10593900084495544, 0.9395121932029724, -0.6846415996551514, -0.2132713496685028, 0.018130585551261902, -0.06927495449781418, 0.028059756383299828, 0.4763845205307007, 0.6857442855834961, -0.7361049652099609, -0.49582433700561523, -0.0869639590382576, -0.5233744978904724, 0.2958134412765503, -0.2848063111305237, -0.17263975739479065, 0.2728414535522461, 0.35332396626472473, -0.8537041544914246, 0.5374758839607239, 0.6712101101875305, -0.2780304551124573, 0.2594231069087982, -0.16627590358257294, 0.26294150948524475, -1.1753982305526733, -0.1704004406929016, -0.42033204436302185, -0.34555768966674805, -0.9060817956924438, 0.09006860107183456, -0.2350454032421112, -0.46091151237487793, -0.5521397590637207, 0.2373751699924469, -0.5858967304229736, -0.3045198917388916, -0.3302324712276459, -0.06506824493408203, -0.09719865024089813, 0.4416452944278717, -0.04430589824914932, 0.9157121181488037, 0.5408197045326233, -0.41912075877189636, 0.3320247530937195, 0.4658270478248596, -0.31494665145874023, 0.4019160568714142, -0.6737321615219116, 1.0326600074768066, 0.08508037775754929, 0.23096096515655518, -1.0558428764343262, -0.17440158128738403, 0.33284837007522583, -0.6728397011756897, 0.329568088054657, -0.2613295614719391, -0.4652141332626343, 0.004933055490255356, -0.3644278943538666, 0.040422458201646805, 0.41227760910987854, -0.3600828945636749, 0.6858466267585754, 0.7325569987297058, -0.435063898563385, -0.4855693578720093, -0.5351088047027588, 0.48791277408599854, -0.4586969316005707, -0.7067350149154663, 0.18313893675804138, 0.16418345272541046, -0.09642349928617477, -0.14350616931915283, -0.0643208920955658, -0.03618145361542702, 0.3017135560512543, 0.3953500986099243, 0.16529116034507751, 0.015691686421632767, -0.6180006861686707, -0.4810411334037781, -0.09169183671474457, 0.20234906673431396, -0.047497693449258804, 0.7124942541122437, -0.25634440779685974, -0.5356815457344055, -0.49853742122650146, 0.5960690975189209, 0.6336880326271057, -0.019674712792038918, 0.7550836205482483, 0.45578351616859436, -0.43347403407096863, 0.3335045576095581, -0.8009912967681885, -0.36551016569137573, -0.5208949446678162, 0.7581119537353516, -0.3990747034549713, -1.1295305490493774, 0.5464854836463928, 0.3897261321544647, 0.21559813618659973, 0.040274616330862045, 0.552116334438324, -0.052596524357795715, 0.867213785648346, 0.603938639163971, -0.3973942995071411, 0.5180759429931641, -0.07624363154172897, 0.23535184562206268, -0.8028386235237122, -0.1142972856760025, -0.6311256289482117, 0.05634148046374321, -0.7121495008468628, -0.08495168387889862, 0.18701370060443878, -0.1867360770702362, -0.28871169686317444, 0.46391305327415466, -0.2476077377796173, 0.5021135807037354, 0.36558282375335693, 0.09568420052528381, 0.353393018245697, 0.22313566505908966, 0.588782787322998, -0.09642277657985687, -0.5523728728294373, -0.48886287212371826, 1.2058638334274292, 0.4697466492652893, 0.6876140832901001, 0.42069685459136963, 0.6636461019515991, 0.05942633002996445, 0.24482698738574982, -0.5666666626930237, 0.8329998254776001, 0.11728686094284058, -0.5990383625030518, -0.32032662630081177, -0.638023316860199, -1.1702665090560913, 0.5913255214691162, -0.06246303394436836, -1.1063028573989868, -0.18275615572929382, 0.01467489916831255, -0.4042493402957916, 0.5399534106254578, -0.6415114402770996, 0.9014759063720703, -0.14693887531757355, -0.23808656632900238, -0.30968642234802246, -0.5728296041488647, 0.5668089985847473, -0.3127301335334778, 0.252166748046875, 0.03458774834871292, 0.2724758982658386, 0.5152359008789062, -0.3797794580459595, 1.0003639459609985, -0.13925713300704956, -0.09551288187503815, 0.2517263889312744, 0.2698422074317932, 0.7357204556465149, 0.15641765296459198, 0.3353484272956848, 0.4125854969024658, 0.11938151717185974, -0.42418885231018066, -0.4821876585483551, 0.7084779739379883, -0.6131073236465454, -1.1222307682037354, -0.5346113443374634, -0.45386287569999695, -0.20466655492782593, 0.0822017714381218, 0.07647719979286194, 0.2989636957645416, -0.46733179688453674, 0.27539360523223877, 0.4106208086013794, -0.24078400433063507, 0.35050827264785767, 0.6545642614364624, -0.10561446100473404, -0.4699814021587372, 0.6022276282310486, -0.27263766527175903, 0.7416164875030518, 0.17728029191493988, -0.11087733507156372, -0.2727998197078705, -0.8645673990249634, -0.027761392295360565, 0.2558095455169678, -0.5189006328582764, -0.2671685218811035, -0.7359771132469177, -0.09749779105186462, -0.5093919038772583, 0.27154144644737244, -0.3901212811470032, -0.20103667676448822, 0.005824233405292034, -0.1659465730190277, 0.3759910464286804, 0.5523894429206848, 0.28383731842041016, 0.592595636844635, -1.0411485433578491, 0.2510661780834198, 0.26369360089302063, 0.023216336965560913, -0.09020669758319855, -0.5404831767082214, 0.25015923380851746, 0.15651795268058777, -0.5172559022903442, -0.9507005214691162, 0.45394161343574524, -0.030299413949251175, 0.36872997879981995, 0.16672492027282715, 0.016496969386935234, 0.7610657811164856, -0.543105959892273, 0.8510379195213318, 0.02182769775390625, -0.7029459476470947, 0.15572737157344818, -0.420014351606369, 0.18758276104927063, 0.5478553771972656, 0.13495053350925446, -0.49145421385765076, -0.5081827044487, -1.1065186262130737, -0.6908950805664062, 0.6552720665931702, 0.3933368921279907, 0.43325188755989075, 0.09546805173158646, 0.2882579565048218, -0.029081247746944427, 0.3207712769508362, -0.6080340147018433, 0.006088841240853071, -0.15422092378139496, 0.17649142444133759, 0.1444937288761139, -0.33102285861968994, -0.1555742770433426, 0.1349368691444397, 0.6933133006095886, 0.18909144401550293, 0.3956180810928345, 0.012558677233755589, 0.017424607649445534, 0.3663466274738312, 0.39806365966796875, 0.33924412727355957, 0.34567514061927795, -0.009907357394695282, -0.15971489250659943, 0.08036936074495316, -0.7074442505836487, -0.12995854020118713, 0.32823190093040466, -0.2607237696647644, -0.11697426438331604, 0.173528790473938, 0.8596312403678894, 0.37328609824180603, -0.3372912108898163, 0.4597083628177643, -0.3061041533946991, -0.1263849139213562, -0.478075236082077, -0.24102875590324402, 0.2198391854763031, 0.11486837267875671, 0.003391572507098317, -0.14565621316432953, 0.024011341854929924, -0.5362494587898254, 0.09586318582296371, 0.7815623879432678, -0.285595566034317, -0.33579492568969727, 0.4514244496822357, 0.01883719302713871, -0.3502388298511505, 0.8978086709976196, 0.10791461169719696, -0.6965512037277222, 0.38932734727859497, 0.5090131163597107, 0.8617591857910156, -0.37467828392982483, -0.13014169037342072, 0.07889088243246078, 0.34378865361213684, 0.03219691663980484, -0.03513346612453461, 0.0434018112719059, -0.6708822846412659, -0.23907899856567383, -0.31865087151527405, -0.6353670358657837, 0.6010921597480774, -0.6975876688957214, -0.07210710644721985, -0.4805171489715576, -0.21898160874843597, -0.11781678348779678, -0.28111833333969116, -0.5237761735916138, -0.23840247094631195, 0.04046258702874184, 0.30671024322509766, -0.3343314826488495, 0.8927954435348511, 0.18478618562221527, -0.12361845374107361, -0.5515300035476685, -0.00820141565054655, 0.1948980689048767, -0.6997442245483398, 0.12015867233276367, 0.06872851401567459, -0.1436539888381958, 0.04363133758306503, -0.300681471824646, -0.7632178068161011, 0.9947050213813782, 0.5560510158538818, -0.78369140625, -0.06608422100543976, 0.3982366621494293, 0.31041741371154785, 0.06325487047433853, -0.010927017778158188, 0.6038419008255005, 0.16662435233592987, 0.03836407512426376, -1.0299161672592163, 0.1254291534423828, 0.18032024800777435, -0.12251108139753342, 0.3189358711242676, -0.5083752870559692, 0.6338949203491211, -0.03223034739494324, -0.4940764009952545, 0.23976224660873413, 0.6467639207839966, 0.19615551829338074, -0.15992574393749237, 0.44782814383506775, 0.2987286150455475, 0.6896167993545532, -0.14210696518421173, 1.273964285850525, -0.1969624012708664, 0.47988855838775635, 1.1266852617263794, -0.33078619837760925, 0.8222334980964661, 0.3940315544605255, -0.296173632144928, -0.0858045220375061, 0.5458126664161682, -0.03362899646162987, 0.5089224576950073, 0.14200790226459503, -0.2675749957561493, 0.013756446540355682, 0.39794477820396423, -0.5490633845329285, 0.42529985308647156, 0.400080144405365, -0.030066538602113724, -0.13745340704917908, -0.17222413420677185, 0.5363447666168213, 0.010619604960083961, -0.1311674267053604, 1.101657509803772, 0.1694074273109436, -0.5413781404495239, 0.5986039042472839, 0.013712880201637745, 0.5620753169059753, -0.7105878591537476, 0.17043793201446533, -0.2153731882572174, 0.2804756164550781, -0.08064253628253937, -0.471962571144104, 0.4504832327365875, -0.017067408189177513, 0.2507879137992859, 0.037165965884923935, 0.700360894203186, -0.3929118812084198, -0.17916882038116455, 0.07262223213911057, 0.33646872639656067, 0.30130988359451294, -0.5309867858886719, -0.7655425071716309, 0.14315909147262573, 0.18384425342082977, -0.45095404982566833, 0.6910287141799927, 0.16612644493579865, -0.009090076200664043, 0.6475621461868286, 0.6874133944511414, 0.05157557129859924, -0.032629791647195816, 0.003153637982904911, 0.7108580470085144, -0.6091399788856506, -0.60100919008255, -1.092238187789917, 0.18558147549629211, -0.29338526725769043, 0.10554474592208862, 0.7977306842803955, 0.527626633644104, 0.8475790023803711, 0.012010496109724045, 0.8119112253189087, 0.3468047082424164, 0.5854528546333313, -0.759054958820343, 0.7939718961715698, 0.13371655344963074, 0.6178359985351562, -0.45230036973953247, -0.8412004113197327, -0.15154775977134705, 0.2723711431026459, -0.41569244861602783, 0.03452764078974724, 0.711456835269928, 0.9906941652297974, -0.02573557011783123, 0.6042880415916443, 0.22286319732666016, 0.4248778522014618, 0.8734897375106812, 0.6732305884361267, 0.9635506272315979, -0.3559580147266388, 0.7338223457336426, -0.11480533331632614, -0.15447260439395905, 0.14929664134979248, -0.967438280582428, -0.8552008867263794, -0.3726028800010681, -0.2677120566368103, -0.5014327764511108, 0.21488165855407715, 0.30421197414398193, 0.503792405128479, -0.6549405455589294, -0.14336447417736053, -0.02677628956735134, -0.3916175663471222, 0.07858633995056152, -0.1614174097776413, 0.5653136968612671, 0.13205811381340027, -0.6693299412727356, 0.4501366913318634, -0.03376549482345581, 0.289666086435318, -0.23013567924499512, 0.22531597316265106, 0.13009734451770782, -0.1444525271654129, 0.2429959625005722, 0.4207612872123718, -0.8122416734695435, -0.5045197010040283, -0.21459543704986572, -0.01530351210385561, 0.12024832516908646, 0.940901517868042, -0.6428300738334656, 0.08036551624536514, 0.12833163142204285, 1.067061424255371, 0.848742663860321, 0.28429684042930603, 0.6082330346107483, -0.5932255387306213, 0.2849714457988739, 0.19496522843837738, 0.48172757029533386, 0.6463884115219116, -0.585991621017456, 0.24687500298023224, 0.13794201612472534, -0.5195574164390564, -0.97418212890625, 0.5075321793556213, -0.9854255318641663, -0.31793469190597534, 1.1169377565383911, -0.30321356654167175, -0.05921211093664169, -0.19107861816883087, -0.407162070274353, -0.10754121094942093, -0.30453574657440186, 0.8924949169158936, 0.7025966644287109, 0.045022983103990555, 0.03367401659488678, -0.8742716908454895, 0.451183944940567, 0.271602988243103, -0.891524076461792, 0.5718207359313965, 0.5162928104400635, 0.4307843744754791, -0.07152455300092697, 0.7404753565788269, -0.6141006946563721, -0.02008720673620701, -0.07919681817293167, -0.35015466809272766, -0.2415107935667038, 0.021738242357969284, -0.42160603404045105, 0.5867270231246948, -0.04702209681272507, -0.36535337567329407 ]
http://arxiv.org/abs/2402.02975v1
http://arxiv.org/pdf/2402.02975v1
Putting Context in Context: the Impact of Discussion Structure on Text Classification
2024-02-05T12:56:22
2024-02-05T12:56:22
Nicolò Penzo, Antonio Longa, Bruno Lepri, Sara Tonelli, Marco Guerini
cs.CL
cs.CL
Current text classification approaches usually focus on the content to be classified. Contextual aspects (both linguistic and extra-linguistic) are usually neglected, even in tasks based on online discussions. Still in many cases the multi-party and multi-turn nature of the context from which these elements are selected can be fruitfully exploited. In this work, we propose a series of experiments on a large dataset for stance detection in English, in which we evaluate the contribution of different types of contextual information, i.e. linguistic, structural and temporal, by feeding them as natural language input into a transformer-based model. We also experiment with different amounts of training data and analyse the topology of local discussion networks in a privacy-compliant way. Results show that structural information can be highly beneficial to text classification but only under certain circumstances (e.g. depending on the amount of training data and on discussion chain complexity). Indeed, we show that contextual information on smaller datasets from other classification tasks does not yield significant improvements. Our framework, based on local discussion networks, allows the integration of structural information, while minimising user profiling, thus preserving their privacy.
[ -0.5372629165649414, -0.8129467964172363, 0.4361626207828522, 0.15201254189014435, -0.2684430778026581, -0.3832021951675415, -0.21177345514297485, -0.5343469381332397, 0.3579068183898926, 0.3954678177833557, -0.031456392258405685, -0.4265314042568207, -0.6384223699569702, 0.12394512444734573, -0.4263307452201843, 1.3942406177520752, -0.014415809884667397, 0.03680872917175293, -0.20690545439720154, -0.49329444766044617, -0.40837904810905457, -0.7983678579330444, -0.6247809529304504, -0.1278982311487198, 0.7087005376815796, 0.23459936678409576, 0.5959802865982056, 0.5969803929328918, 0.15666350722312927, 0.41982969641685486, -0.5847906470298767, -0.24815575778484344, -0.15633223950862885, 0.46799609065055847, -0.3738706111907959, -0.6441470384597778, -0.2964695692062378, 0.07318118959665298, 0.7010173797607422, 0.6315329670906067, -0.008790625259280205, -0.20500142872333527, 0.3537594676017761, 0.37439030408859253, -0.4543064832687378, 0.1913956254720688, -0.22314809262752533, 0.31182411313056946, -0.31087419390678406, -0.2908942699432373, -0.5610765218734741, -0.1043042317032814, 0.32122567296028137, -0.0037928626406937838, 0.258315771818161, 0.0026381760835647583, 0.7630977034568787, 0.0011037422809749842, -0.8400177955627441, -0.35974475741386414, -0.4604671001434326, 0.6780754327774048, -0.5465179085731506, 0.3795998692512512, 0.41379010677337646, 0.017620233818888664, -0.03325120732188225, -0.5532102584838867, -0.6475778222084045, 0.09239412099123001, -0.5965034365653992, 0.08997225016355515, -0.120320163667202, 0.01159808412194252, 0.08376602828502655, 0.32408368587493896, -0.325932115316391, 0.01668519899249077, -0.24387319386005402, -0.04140007868409157, 0.4593762755393982, -0.0361441969871521, 0.229220449924469, -0.8805481791496277, -0.32679811120033264, -0.11829591542482376, -0.3946417272090912, 0.4314924478530884, 0.30321475863456726, 0.43921682238578796, -0.166020467877388, 0.4131925404071808, -0.1963495910167694, 0.48854610323905945, 0.252204954624176, -0.1018141657114029, 0.21879497170448303, -0.34568721055984497, -0.17614050209522247, 0.00927921012043953, 0.8394343852996826, 0.4132803976535797, -0.26926547288894653, 0.011855363845825195, 0.09405772387981415, 0.08833487331867218, 0.22644586861133575, -0.8561239838600159, -0.11247771233320236, 0.15494127571582794, -0.537781298160553, -0.4663396179676056, 0.27598506212234497, -0.6624433994293213, -0.5806124210357666, -0.281615674495697, -0.07147035002708435, -0.06117737665772438, -0.18327325582504272, -0.05962752550840378, -0.20440523326396942, 0.5075612664222717, 0.362283319234848, -0.6806468367576599, 0.2597285807132721, 0.7389548420906067, 0.8086124062538147, -0.30795714259147644, -0.06666591018438339, -0.24528780579566956, 0.1754785031080246, -0.02043241634964943, 0.8487318158149719, -0.6019266247749329, -0.4324805438518524, -0.042149242013692856, 0.27678295969963074, 0.007449336815625429, -0.18826748430728912, 0.7267100214958191, -0.29478347301483154, 0.9341358542442322, -0.09956976026296616, -0.5230598449707031, -0.12959663569927216, 0.8127787113189697, -0.7864765524864197, 1.0259106159210205, -0.3651377260684967, -1.3196778297424316, 0.573859453201294, -0.6799809336662292, -0.8359954953193665, 0.00384694361127913, -0.49568644165992737, -0.4165548086166382, -0.04974048584699631, 0.007817517966032028, 0.703245222568512, 0.24932746589183807, 0.4025152623653412, -0.061954349279403687, -0.08734466880559921, 0.4230051040649414, -0.37672922015190125, 0.677229642868042, 0.056954238563776016, -0.7554425001144409, 0.2031303495168686, -0.37816864252090454, -0.26455649733543396, -0.23824399709701538, -0.5148128867149353, -0.7491155862808228, 0.3641286790370941, -0.024494674056768417, 0.3766038417816162, -0.09644027054309845, -0.4626687467098236, 0.11255522072315216, -0.7559130191802979, 0.4349859952926636, 0.5340736508369446, 0.25687190890312195, 0.7048905491828918, -0.20483604073524475, 0.4173169732093811, 0.21636848151683807, 0.18936468660831451, -0.12387331575155258, -0.6668555736541748, -0.7439821362495422, 0.16189908981323242, 0.17322587966918945, 0.3743174970149994, -0.5419573187828064, 0.5267588496208191, -0.30859991908073425, -0.18958161771297455, 0.061615217477083206, -0.1119321882724762, 0.4774334132671356, 0.3090360164642334, 0.10219307988882065, -0.2487955093383789, -0.40666815638542175, -0.8919922113418579, -0.3160633146762848, -0.3944711685180664, 0.08776430040597916, 0.3764755129814148, 0.3355410099029541, -0.08536434918642044, 1.0662705898284912, -0.25716498494148254, -0.3807598650455475, -0.4030449688434601, 0.24945896863937378, -0.13194367289543152, 0.21218213438987732, 0.5045198202133179, -1.1942460536956787, -0.5438113808631897, 0.13001275062561035, -0.619770884513855, 0.232929527759552, -0.0373721569776535, -0.1137094646692276, 0.2866280972957611, 0.5357486605644226, -0.48418980836868286, 0.45781567692756653, 0.5231863260269165, -0.4189888834953308, -0.12538214027881622, 0.2111598253250122, 0.06079467386007309, -1.5889031887054443, -0.18613986670970917, 0.13749654591083527, -0.48238372802734375, -0.8130127787590027, 0.00023056112695485353, -0.2387991100549698, 0.03071799874305725, -0.46996018290519714, 0.6005812883377075, -0.08386638760566711, 0.31285834312438965, -0.2685889005661011, 0.42186450958251953, 0.15846329927444458, 0.5130778551101685, 0.4190627634525299, 0.45281097292900085, 0.25614961981773376, -0.6679970622062683, -0.18561305105686188, 0.46075475215911865, -0.18521571159362793, 0.813010036945343, -0.306090772151947, 0.27410122752189636, -0.263927698135376, 0.5588414669036865, -0.9937072396278381, -0.41866591572761536, 0.32165127992630005, -0.5094952583312988, 0.269184947013855, -0.32991859316825867, -0.22026695311069489, 0.10921777039766312, -0.6994951367378235, 0.22368168830871582, -0.05577860772609711, -0.5180289149284363, 0.6062594056129456, 0.8895286917686462, -0.2166561484336853, -0.6398217082023621, -0.7270061373710632, 0.11350304633378983, -0.4949047565460205, -0.4151901602745056, 0.2745821177959442, 0.20347386598587036, -0.33942103385925293, -0.12108153104782104, -0.18803125619888306, -0.2482992261648178, 0.09028632193803787, 0.5270913243293762, -0.13197191059589386, 0.0043614087626338005, 0.28480997681617737, 0.06639628857374191, 0.0015859132399782538, 0.06257738918066025, -0.16251255571842194, 0.3418239951133728, -0.41558900475502014, -0.04854940250515938, -0.45994797348976135, 0.48374152183532715, 0.4673313796520233, 0.10843871533870697, 0.8219475746154785, 0.23442509770393372, -0.155196875333786, -0.5066449046134949, -0.15249665081501007, -0.0823197141289711, -0.47773417830467224, 0.2886820137500763, -0.02200181409716606, -1.2169913053512573, 0.24135306477546692, -0.0023318917956203222, 0.18468038737773895, 0.26218315958976746, 0.6133528351783752, -0.45642510056495667, 1.0810729265213013, 0.7476006746292114, -0.1633106917142868, 0.7093772292137146, 0.06659823656082153, 0.42863261699676514, -0.47855618596076965, -0.2577866315841675, -0.7277830243110657, -0.5965503454208374, -0.7420520186424255, -0.3243699371814728, 0.2505531907081604, -0.09344109147787094, 0.17292505502700806, 0.5195980668067932, -0.6174601316452026, 0.5122482776641846, -0.049970854073762894, 0.09158641844987869, 0.18525072932243347, -0.07521336525678635, 0.1748930811882019, -0.1576606035232544, -0.5475133657455444, -0.7233788371086121, 0.5359807014465332, 0.4285466969013214, 0.40586742758750916, 0.14003433287143707, 0.5071126222610474, 0.27420663833618164, 0.6148831844329834, -1.2431410551071167, 0.630364716053009, -0.034262608736753464, -0.6462833881378174, -0.2902573049068451, -0.4127698540687561, -1.1087919473648071, 0.4179236590862274, 0.09502109885215759, -0.6670445203781128, 0.47748681902885437, 0.19863992929458618, 0.11257867515087128, 0.31785306334495544, -0.5105472803115845, 0.8864883780479431, -0.020916420966386795, -0.35861319303512573, 0.020945165306329727, -0.7246976494789124, 0.041326574981212616, 0.2835518717765808, 0.5192712545394897, 0.38159850239753723, 0.28147897124290466, 0.9965661764144897, -0.25523051619529724, 1.328138828277588, -0.34794917702674866, -0.33640679717063904, 0.3152134418487549, -0.06971485912799835, 0.44592538475990295, 0.0994747132062912, 0.15463344752788544, 0.08533560484647751, -0.20846854150295258, 0.022351998835802078, -0.6580148935317993, 0.4720512330532074, -0.571872889995575, -0.6197551488876343, -0.3330869972705841, -0.11333087086677551, -0.35443639755249023, 0.07936397194862366, 0.39208483695983887, 0.5147165656089783, -0.20655988156795502, 0.7952454090118408, 0.7069306373596191, 0.11234038323163986, 0.39009588956832886, 0.32021796703338623, -0.05018928647041321, -0.04532329738140106, 0.6727790832519531, -0.026526840403676033, -0.21194131672382355, 0.6905680298805237, 0.5709469318389893, -0.37273290753364563, -0.3070840537548065, 0.033117953687906265, -0.04790050908923149, -1.1386250257492065, -0.2621116042137146, -0.6902235150337219, -0.05604884773492813, -0.19386672973632812, -0.31865379214286804, -0.21588538587093353, -0.6048291921615601, 0.12363987416028976, -0.4775087833404541, 0.006576485466212034, 0.8365124464035034, 0.4977359175682068, 0.6072476506233215, -0.46626439690589905, -0.17456208169460297, 0.20428001880645752, 0.36224356293678284, -0.27864930033683777, -0.39339688420295715, -0.1519080102443695, -0.3981172740459442, -0.36727532744407654, -1.0820858478546143, 0.08060120791196823, 0.0450000986456871, 0.5138505697250366, 0.544321596622467, 0.09961101412773132, 0.22147658467292786, -0.285165011882782, 0.8924915194511414, -0.03784574195742607, -0.9391000270843506, 0.7176390290260315, -0.2630174160003662, -0.003283222671598196, 0.7381496429443359, 0.5683780312538147, -0.6237932443618774, -0.7248387336730957, -0.62080317735672, -0.7880101203918457, 0.7669210433959961, 0.2357717752456665, 0.4848272204399109, -0.17158780992031097, 0.42287248373031616, -0.09372095763683319, 0.25236156582832336, -1.3306255340576172, -0.11824049800634384, -0.2749894857406616, -0.09373942762613297, 0.24417835474014282, -0.15662413835525513, -0.3373599052429199, -0.42257794737815857, 0.4435758888721466, -0.24266384541988373, 0.11943873763084412, 0.22373326122760773, -0.14511549472808838, 0.3171865940093994, 0.7358756065368652, 0.42853784561157227, 0.31683385372161865, 0.28420740365982056, 0.3977988660335541, 0.3068670332431793, -0.45193755626678467, 0.08235114067792892, -0.42158243060112, -0.30901944637298584, 0.2330922931432724, 0.27747753262519836, 0.8460312485694885, 0.6536204218864441, 0.012583800591528416, 0.7609696984291077, -0.2569589614868164, -0.2969534695148468, -0.020001105964183807, 0.11924120783805847, -0.07780585438013077, 0.11226949840784073, -0.25478044152259827, 0.059816088527441025, 0.32543057203292847, -0.6827994585037231, 0.30572348833084106, 0.33535462617874146, -0.6010334491729736, -0.518177330493927, 0.23536866903305054, 0.23775692284107208, -0.3488863408565521, 0.0640435665845871, -0.15042100846767426, -0.8612374067306519, 0.35347357392311096, 0.37607520818710327, 0.8454732298851013, -0.4089076817035675, 0.3840886354446411, 0.14351247251033783, 0.011432640254497528, -0.012446551583707333, 0.003955549094825983, -0.5006219148635864, -0.9506738781929016, -0.16385839879512787, -0.5891261696815491, -0.5768529772758484, 0.0037455493584275246, -0.71056067943573, 0.32620012760162354, -0.627974271774292, -0.43894273042678833, 0.1025518923997879, -0.10982968658208847, -0.2565242648124695, 0.047790080308914185, 0.11390068382024765, 0.6436534523963928, -0.9056742191314697, 0.796920120716095, 1.0457642078399658, -0.0056230854243040085, -0.5922359228134155, 0.333111435174942, 0.039543092250823975, 0.13580556213855743, 0.5287542343139648, 0.5250104069709778, -0.5351904630661011, -0.48289114236831665, -0.6873200535774231, -0.36167043447494507, 0.7172402739524841, 0.07908095419406891, -0.2507801353931427, 0.05877289921045303, 0.039398275315761566, 0.8261138796806335, -0.10778460651636124, -0.013658085837960243, 0.13133345544338226, 0.48781800270080566, 0.12711787223815918, -0.7560782432556152, -0.040909115225076675, -0.44720134139060974, -0.19304336607456207, 0.28052040934562683, -0.7193993330001831, 0.7285991907119751, 0.5372536778450012, -0.5475415587425232, -0.4938463270664215, 0.6385853886604309, -0.15708215534687042, 0.2446569800376892, 0.7326414585113525, 0.0664193257689476, 0.8231244683265686, -0.10407744348049164, 1.2100114822387695, -0.29404395818710327, 0.30971208214759827, 0.964451789855957, -0.3239484131336212, 1.0368627309799194, 0.4405510127544403, 0.08128063380718231, 0.8900584578514099, 0.3739420473575592, 0.24967575073242188, 0.3557864725589752, -0.04982854798436165, -0.2519824206829071, 0.057753559201955795, -0.09904175996780396, -0.11110495775938034, 0.5311399698257446, 0.3377007246017456, -0.20996251702308655, -0.1454983800649643, 0.04590161517262459, 0.421898752450943, 0.2198287397623062, -0.11077257990837097, 0.9935572147369385, 0.07472498714923859, -0.6920792460441589, -0.1583951860666275, 0.36064472794532776, 0.7624565362930298, -0.4475758373737335, 0.2134845107793808, -0.26964566111564636, 0.20217545330524445, -0.5029462575912476, -0.9000137448310852, 0.6032856106758118, 0.04052763804793358, -0.22796379029750824, -0.49983322620391846, 0.7815607190132141, -0.2536613643169403, -0.059191636741161346, 0.3331679105758667, 0.26484403014183044, 0.008368898183107376, 0.14079175889492035, -0.29860731959342957, -0.26520201563835144, -0.2615920901298523, -0.6031481623649597, 0.5746762156486511, 0.5810607075691223, -0.4231376349925995, 0.09632569551467896, 0.42638683319091797, -0.45840492844581604, -0.24406199157238007, 0.03188763186335564, 1.0101444721221924, -0.6148887872695923, -1.0667449235916138, -0.8683709502220154, 0.4123382270336151, -0.3512924611568451, -0.3907412886619568, 1.0626431703567505, 0.47064685821533203, 0.8905728459358215, 0.4376758337020874, 0.5678526759147644, -0.05743370205163956, 0.15605109930038452, -0.37712523341178894, 0.7742597460746765, -0.3317634165287018, 0.18152697384357452, -0.2536149322986603, -0.7305469512939453, -0.3754023015499115, 0.9230871200561523, -0.425833523273468, -0.024847354739904404, 0.7581535577774048, 0.3831767141819, -0.10002292692661285, 0.5459891557693481, 0.06361948698759079, 0.21406885981559753, 0.38286086916923523, 0.09412412345409393, 0.9115626811981201, -0.18951067328453064, 0.38135960698127747, -0.1595873087644577, -0.19735966622829437, 0.07446049898862839, -0.8711757659912109, -1.1894421577453613, -0.6956270337104797, -0.46551358699798584, -0.39752528071403503, -0.3290863335132599, 0.7111334800720215, 0.7733657956123352, -0.9968077540397644, -0.23904959857463837, -0.09682602435350418, 0.2546004354953766, 0.15903668105602264, -0.32968610525131226, 0.30019447207450867, -0.266458660364151, -0.6891022324562073, 0.5891606211662292, 0.34428051114082336, -0.21935869753360748, -0.17201915383338928, 0.022231590002775192, -0.193449005484581, 0.04783279448747635, 0.8490852117538452, 0.23449492454528809, -0.4423089921474457, -0.5387477278709412, -0.07010955363512039, -0.20076556503772736, 0.3545229434967041, 1.1569199562072754, -0.6648802161216736, 0.2219921499490738, 0.5850547552108765, 0.6441651582717896, 0.4853736460208893, 0.21608451008796692, 0.4199076294898987, -1.4104114770889282, 0.3652394115924835, 0.14480765163898468, 0.4584004580974579, 0.30206990242004395, -0.588287889957428, 0.2524077594280243, 0.17267750203609467, -0.3138682544231415, -0.7895783185958862, 0.24367719888687134, -0.8279547095298767, -0.4724976420402527, 1.0490977764129639, -0.004838894587010145, -0.28198108077049255, -0.5065056681632996, -0.24947506189346313, 0.08394064754247665, -0.18934743106365204, 0.6083183884620667, 0.8646745085716248, -0.24504004418849945, -0.03895222395658493, -0.36266082525253296, 0.6210013628005981, 0.46294647455215454, -1.0045750141143799, 0.196916863322258, 0.3658244013786316, 0.15634307265281677, 0.5520161986351013, 0.6163201928138733, -0.2537556290626526, -0.2205360382795334, -0.3901495039463043, -0.36474165320396423, 0.291816383600235, -0.649322509765625, -0.5940044522285461, 0.6966317296028137, -0.2564071714878082, 0.13458380103111267 ]
http://arxiv.org/abs/2402.02969v2
http://arxiv.org/pdf/2402.02969v2
Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Features
2024-02-05T12:47:19
2024-05-17T15:31:34
Simone Bombari, Marco Mondelli
stat.ML
stat.ML, cs.CL, cs.LG
Understanding the reasons behind the exceptional success of transformers requires a better analysis of why attention layers are suitable for NLP tasks. In particular, such tasks require predictive models to capture contextual meaning which often depends on one or few words, even if the sentence is long. Our work studies this key property, dubbed word sensitivity (WS), in the prototypical setting of random features. We show that attention layers enjoy high WS, namely, there exists a vector in the space of embeddings that largely perturbs the random attention features map. The argument critically exploits the role of the softmax in the attention layer, highlighting its benefit compared to other activations (e.g., ReLU). In contrast, the WS of standard random features is of order $1/\sqrt{n}$, $n$ being the number of words in the textual sample, and thus it decays with the length of the context. We then translate these results on the word sensitivity into generalization bounds: due to their low WS, random features provably cannot learn to distinguish between two sentences that differ only in a single word; in contrast, due to their high WS, random attention features have higher generalization capabilities. We validate our theoretical results with experimental evidence over the BERT-Base word embeddings of the imdb review dataset.
[ -0.6579481363296509, -0.7966130375862122, 0.34070703387260437, 0.0909046083688736, -0.06369592994451523, -0.44752803444862366, -0.39297473430633545, -0.33995720744132996, 0.14162121713161469, 0.3832426071166992, -0.5284371972084045, -0.3245624601840973, -0.8554816246032715, 0.05993090942502022, -0.5493725538253784, 1.1559576988220215, 0.24889631569385529, -0.5315458178520203, -0.02027001604437828, -0.5159482359886169, -0.13319067656993866, -0.5259053707122803, -0.22854070365428925, -0.041633594781160355, 1.0273044109344482, 0.14939777553081512, 1.015527606010437, 0.5165566802024841, 0.7056892514228821, 0.31433168053627014, -0.1642749011516571, -0.3049684166908264, -0.43622562289237976, 0.22778154909610748, -0.1820714920759201, -0.6217387318611145, -0.06682828068733215, -0.10396920144557953, 0.5104840397834778, 0.7416055798530579, 0.11356255412101746, 0.26682308316230774, 0.3685532212257385, 0.5925854444503784, -0.6779444813728333, -0.1828341782093048, -0.8831639885902405, 0.48903945088386536, -0.23074284195899963, -0.24451124668121338, -0.20482268929481506, 0.23947609961032867, 0.6915282607078552, -0.501780092716217, 0.8350886702537537, 0.17107920348644257, 0.9063364267349243, 0.3041827976703644, -0.2883163094520569, 0.02711649239063263, -0.7177409529685974, 0.9815146923065186, -0.2780466079711914, 0.1940932720899582, 0.10501381754875183, -0.05053103715181351, 0.0955551415681839, -0.6509404182434082, -0.6189403533935547, -0.2310144156217575, 0.0706101506948471, -0.02954874001443386, -0.16163955628871918, 0.0383005291223526, 0.6133543848991394, 0.43369248509407043, -0.26486682891845703, 0.01416407898068428, -0.06978356093168259, -0.40196892619132996, 0.31924641132354736, 0.050615280866622925, 0.052324507385492325, -0.10345032811164856, -0.5865966081619263, -0.35404694080352783, -0.27679750323295593, 0.3530144691467285, 0.2498915046453476, 0.28991711139678955, 0.03516553342342377, 0.7292879223823547, 0.06628413498401642, 0.5373157262802124, -0.0954163447022438, 0.008074154146015644, 0.21191871166229248, -0.0279388427734375, -0.2717287242412567, -0.06502426415681839, 0.5829426646232605, 0.39748144149780273, 0.6511712074279785, -0.21933194994926453, -0.20147950947284698, 0.13148149847984314, 0.4934341311454773, -0.4974035620689392, 0.14830899238586426, 0.20426087081432343, -0.42775484919548035, -0.35207420587539673, -0.016935374587774277, -0.554008960723877, -0.370512455701828, -0.048346273601055145, 0.4052037298679352, -0.3239823579788208, -0.09372986108064651, 0.13774532079696655, -0.46011781692504883, 0.36110588908195496, 0.02751380391418934, -0.8404265642166138, 0.10008454322814941, 0.5481948852539062, 0.6181229948997498, -0.23588521778583527, -0.37410688400268555, -0.354733407497406, 0.18718191981315613, -0.09560446441173553, 0.8794588446617126, -0.4612419605255127, -0.0965089425444603, 0.13853007555007935, -0.1475009322166443, -0.2878502309322357, -0.2579600214958191, 0.7972010970115662, -0.38280144333839417, 0.13592784106731415, -0.1783658266067505, -0.3168771266937256, -0.0857333242893219, 0.05621998757123947, -0.5395488142967224, 0.8128156065940857, 0.349808007478714, -1.2081074714660645, 0.5575286746025085, -0.2981490194797516, -0.6257440447807312, -0.032597701996564865, -0.016010239720344543, -0.27899160981178284, 0.6324393153190613, 0.14214208722114563, 0.47106239199638367, 0.09751428663730621, -0.22127898037433624, -0.49222806096076965, -0.327883780002594, 0.7527040243148804, -0.4500226080417633, 0.3177001476287842, 0.17559072375297546, -0.2687132954597473, 0.043053705245256424, -0.5451028347015381, 0.12398717552423477, 0.11350467056035995, -0.38903146982192993, -0.4509621858596802, 0.17197781801223755, 0.12299437820911407, 0.32276755571365356, -0.06306767463684082, -0.48606857657432556, -0.13035188615322113, -0.45828577876091003, 0.4592381715774536, 0.7361953258514404, -0.013065313920378685, 0.46051454544067383, -0.2176928073167801, 0.6158396005630493, 0.337272047996521, 0.1558266133069992, -0.04696374759078026, -0.5435558557510376, -0.6407680511474609, -0.16910101473331451, 0.3913736641407013, 0.6735495924949646, -0.3744736909866333, 0.5779203176498413, -0.3336586356163025, 0.13505280017852783, -0.7334784865379333, 0.39667272567749023, 0.367195725440979, 0.3685688078403473, 0.32284221053123474, -0.6641818284988403, -0.18385447561740875, -1.2522268295288086, -0.4483901858329773, 0.1945563405752182, -0.5397182106971741, 0.5615386366844177, 0.075327068567276, -0.025372030213475227, 1.0454201698303223, -0.5573066473007202, -0.7480689287185669, -0.4948335587978363, -0.10122621804475784, 0.06116408482193947, 0.050063032656908035, 0.5186396837234497, -0.8221389055252075, -0.12579789757728577, -0.27961865067481995, -0.3757973611354828, 0.06350865215063095, -0.02054433897137642, -0.129886656999588, -0.09728293120861053, 0.5972650051116943, -0.7341299653053284, 0.4030550718307495, 0.37769418954849243, -0.1866506040096283, 0.14992180466651917, -0.13076236844062805, -0.3829522132873535, -0.8890892267227173, 0.1347869336605072, 0.42132920026779175, -0.07458287477493286, -0.5834805965423584, 0.08165224641561508, -0.22519218921661377, -0.031054388731718063, -0.5915676355361938, 0.14773690700531006, -0.2940995395183563, -0.15911094844341278, -0.1260005533695221, 0.5243768095970154, 0.06379737704992294, 0.7648379802703857, -0.20301257073879242, 0.43613702058792114, 0.2976866364479065, -0.647853672504425, 0.15094812214374542, 0.19276027381420135, -0.4343089759349823, 0.3987901508808136, -0.8314700722694397, 0.1346224993467331, -0.3259439468383789, 0.13677211105823517, -1.2033591270446777, -0.10872513800859451, -0.15589293837547302, -0.5466510057449341, 0.39317500591278076, 0.05742865428328514, -0.4500025510787964, -0.57500821352005, -0.587397038936615, 0.052207861095666885, 0.30901038646698, 0.036515019834041595, 0.34073153138160706, 0.6080917716026306, 0.041869454085826874, -0.7261013388633728, -0.9039028286933899, 0.0053367773070931435, -0.2756621837615967, -0.6843752264976501, 0.3474809527397156, 0.006467712111771107, -0.1840784102678299, 0.13864921033382416, -0.0644344612956047, 0.11834392696619034, 0.3570362329483032, 0.30053699016571045, -0.24316395819187164, -0.2898155748844147, 0.18564236164093018, -0.06401168555021286, -0.18300864100456238, 0.06501225382089615, -0.14865393936634064, 0.42483821511268616, -0.048260509967803955, 0.07773756980895996, -0.001225420506671071, 0.36773407459259033, 0.40417373180389404, -0.22525809705257416, 0.726942241191864, 0.9198694229125977, -0.23230238258838654, -0.4188553988933563, -0.4230348765850067, -0.22181715071201324, -0.4708561599254608, 0.5712479948997498, -0.5792255401611328, -1.0885331630706787, 0.5851762294769287, 0.3906223475933075, -0.09125065803527832, 0.6952111721038818, 0.4162112772464752, -0.1604633629322052, 1.2414385080337524, 0.9473004341125488, -0.18877646327018738, 0.47695401310920715, -0.16758868098258972, 0.2716054320335388, -1.156406283378601, 0.12193424999713898, -0.6100250482559204, -0.7897300720214844, -0.7656021118164062, -0.05458290874958038, 0.09673439711332321, -0.17908072471618652, 0.18262477219104767, 0.2178027331829071, -0.680553138256073, 0.3308936655521393, 0.435924768447876, 0.14333787560462952, -0.1562810093164444, 0.21957887709140778, -0.29941582679748535, -0.272803395986557, -0.7560774087905884, -0.3047429621219635, 0.8249428868293762, 0.6393882632255554, 0.8519748449325562, -0.07833923399448395, 0.09173489362001419, 0.37970760464668274, 0.16567730903625488, -0.7837989926338196, 0.5919891595840454, -0.3239137828350067, -0.7545634508132935, -0.4521632492542267, -0.08937977254390717, -0.9554415941238403, 0.2353893220424652, -0.2746477723121643, -0.6459364891052246, 0.3208872675895691, 0.014503814280033112, -0.5735712647438049, 0.1283297836780548, -0.9789714217185974, 0.670995831489563, 0.19262540340423584, -0.4968068301677704, -0.06657689064741135, -0.929530918598175, 0.11014775186777115, 0.20635634660720825, 0.13860875368118286, -0.3160591125488281, -0.28718507289886475, 0.6543357968330383, 0.11663861572742462, 0.8527017831802368, -0.09099435061216354, -0.1029154509305954, 0.23166538774967194, -0.024146756157279015, 0.15535469353199005, -0.0482809878885746, 0.18621623516082764, -0.10135037451982498, -0.46102574467658997, -0.2957735061645508, -0.40550222992897034, 0.7470918297767639, -0.6703471541404724, -0.6995157599449158, -0.32658651471138, -0.7014473676681519, -0.334609717130661, 0.03891172260046005, 0.5340873599052429, 0.4047796428203583, -0.006615165155380964, 0.5286455154418945, 1.015333652496338, -0.39415499567985535, 0.4633004069328308, 0.11229555308818817, 0.06010906398296356, -0.014558377675712109, 0.7534971833229065, 0.37152186036109924, 0.223249152302742, 0.6247975826263428, 0.2816523015499115, -0.2471935749053955, -0.5392675995826721, 0.008471880108118057, 0.0056013073772192, -0.5643372535705566, -0.007918749004602432, -1.0506770610809326, -0.4132728576660156, -0.3918302655220032, -0.09662375599145889, 0.09007497876882553, -0.6744447350502014, -0.21496431529521942, -0.3318183720111847, 0.2744872272014618, 0.3590191602706909, 0.23562310636043549, 0.0016600264934822917, -0.6092933416366577, 0.5557477474212646, 0.497041791677475, 0.37061136960983276, -0.044374700635671616, -0.9765288233757019, -0.262843519449234, -0.4308154881000519, -0.40532124042510986, -0.5738978981971741, 0.36921414732933044, 0.530012845993042, 0.5686125159263611, 0.5157000422477722, 0.04163416102528572, 0.13811169564723969, -0.3131709098815918, 0.7083909511566162, -0.20112724602222443, -0.733215868473053, 0.6214057207107544, -0.35792744159698486, 0.5753034949302673, 0.5544715523719788, 0.22968259453773499, -0.47533178329467773, -0.9853252172470093, -0.8110861778259277, -1.1645547151565552, 0.4335622489452362, 0.1753494292497635, 0.6774142384529114, -0.09617184847593307, 0.29775384068489075, 0.017622312530875206, 0.28646114468574524, -0.7286048531532288, -0.3047068417072296, -0.11167807877063751, -0.23731841146945953, -0.16434668004512787, -0.7158304452896118, -0.15524418652057648, 0.009245848283171654, 0.3168972432613373, -0.16013921797275543, 0.5005157589912415, 0.49423491954803467, -0.39904865622520447, -0.18739427626132965, 0.5273462533950806, 0.7867588400840759, 0.2924373745918274, -0.42266955971717834, 0.3740340769290924, 0.251270592212677, -0.7496855854988098, -0.29334965348243713, 0.013581889681518078, -0.19951102137565613, 0.016133753582835197, 0.5417155623435974, 0.8387749791145325, 0.37047451734542847, -0.3148316740989685, 0.7007742524147034, -0.1163448840379715, -0.09640763700008392, -0.056056682020425797, 0.2371343970298767, -0.06046333536505699, -0.13262145221233368, 0.5833421945571899, 0.13504521548748016, 0.3342917859554291, -0.38700366020202637, 0.4275776445865631, 0.4578629732131958, -0.6432737112045288, -0.2634909451007843, 0.6843465566635132, 0.2718227505683899, -0.18937107920646667, 0.461467981338501, 0.14265789091587067, -0.6485626101493835, 0.8146653771400452, 0.43834465742111206, 1.0507116317749023, -0.1191602349281311, -0.09965091943740845, 0.18720418214797974, 0.545492947101593, 0.41798970103263855, 0.07774098217487335, -0.023641562089323997, -0.9454064965248108, -0.3449389338493347, -0.6870592832565308, -0.22785817086696625, 0.12722036242485046, -0.6145057678222656, 0.07162877172231674, -0.6544500589370728, -0.5161792039871216, 0.12115981429815292, -0.22734993696212769, -0.8600595593452454, 0.34541967511177063, 0.31725066900253296, 0.921027421951294, -0.775592029094696, 0.5574924349784851, 0.4733729958534241, -0.06080588698387146, -0.6852176189422607, 0.212829127907753, -0.2804502546787262, -0.8685698509216309, 0.35781559348106384, 0.6975357532501221, 0.05693609267473221, 0.1629093736410141, -0.45544490218162537, -0.6973463296890259, 0.7777985334396362, 0.2655387222766876, -0.5913991928100586, 0.060264140367507935, 0.23335309326648712, 0.8181845545768738, -0.3261536955833435, 0.153120756149292, 0.43278253078460693, 0.26833096146583557, -0.4104912281036377, -0.41406211256980896, -0.03099459409713745, -0.11956008523702621, 0.3428065776824951, 0.10847815126180649, -0.5491241812705994, 0.48305070400238037, -0.4931705892086029, -0.15259955823421478, -0.3363596498966217, 0.7700771689414978, -0.23870155215263367, 0.15465635061264038, 0.6729596853256226, 0.7083564400672913, 0.18449418246746063, -0.10771625488996506, 1.6078473329544067, -0.38351404666900635, 0.30128028988838196, 0.7780724167823792, -0.20184439420700073, 0.7652415037155151, 0.5623128414154053, -0.2406178116798401, 0.42034462094306946, 0.33471590280532837, 0.007045680657029152, 0.6145281791687012, 0.5265383124351501, -0.23557977378368378, -0.031767040491104126, -0.4777333438396454, -0.26207682490348816, 0.37005940079689026, 0.4382832646369934, -0.609296441078186, 0.09605596214532852, 0.37258192896842957, -0.3113194704055786, -0.004039671737700701, -0.25353240966796875, 0.7000530362129211, 0.3704789876937866, -0.44707679748535156, 0.12759746611118317, -0.16927289962768555, 0.8511504530906677, -0.7525110244750977, 0.4605259299278259, -0.21770811080932617, 0.47142767906188965, -0.18510554730892181, -1.1155778169631958, 0.16651862859725952, -0.24442853033542633, -0.4421616494655609, -0.1613062024116516, 0.9018736481666565, -0.30523353815078735, -0.39299196004867554, 0.4568954110145569, 0.14680705964565277, -0.24083638191223145, -0.14461326599121094, -0.7961945533752441, -0.0112690394744277, -0.14339061081409454, -0.7442221641540527, 0.489715576171875, 0.8430220484733582, 0.11547260731458664, 0.7124045491218567, 0.4337083101272583, -0.029257366433739662, 0.31847548484802246, 0.36966410279273987, 0.6344300508499146, -0.5158277750015259, -0.5215996503829956, -0.5907168388366699, 0.5210587978363037, 0.048391059041023254, -0.6326467394828796, 0.7056893706321716, 0.2618783712387085, 0.7019314169883728, -0.26787757873535156, 0.7109013199806213, 0.029656682163476944, 0.5622097849845886, -0.33669012784957886, 0.47678184509277344, -0.3242098093032837, 0.15572397410869598, -0.2549187242984772, -1.194347620010376, -0.44825127720832825, 0.5090038776397705, -0.19080482423305511, 0.1118260994553566, 0.8300506472587585, 0.7811156511306763, -0.03131943568587303, -0.4674488604068756, 0.4847911596298218, 0.25655195116996765, 0.05300271138548851, 0.590471088886261, 0.6409947872161865, -0.16417160630226135, 0.6617245078086853, -0.4380280375480652, -0.0697399452328682, -0.2600925862789154, -0.770014762878418, -0.6448453068733215, -0.5098670721054077, -0.3009447455406189, -0.4700115919113159, -0.1502685397863388, 0.4341883957386017, 0.28228065371513367, -0.8397927284240723, 0.3338724970817566, 0.0861695259809494, 0.1853066086769104, -0.24338498711585999, -0.3406723439693451, 0.41118350625038147, -0.4428509771823883, -0.4189680814743042, -0.12127116322517395, 0.4565395414829254, 0.018193958327174187, -0.26487013697624207, 0.4180118143558502, -0.06750988215208054, 0.34774884581565857, 0.5995780229568481, 0.16499708592891693, -0.4276423156261444, -0.6836627721786499, -0.009701508097350597, -0.6511185765266418, -0.06772556900978088, 1.0159084796905518, -0.6127650737762451, 0.10971087217330933, 0.5883591175079346, 0.4643653631210327, 0.2655293941497803, -0.17810304462909698, 0.47555485367774963, -1.1354176998138428, 0.41591891646385193, 0.1839708834886551, 0.2859751284122467, 0.4279785752296448, -0.523216962814331, 0.43738389015197754, 0.31244078278541565, -0.41308796405792236, -0.665431022644043, 0.2640467584133148, -1.2101867198944092, -0.06529770791530609, 1.1580910682678223, 0.008021526038646698, -0.3070957362651825, -0.1783919781446457, -0.1704409271478653, -0.02049148641526699, -0.24503298103809357, 0.8521527647972107, 0.8559419512748718, 0.13574659824371338, -0.10862051695585251, -0.646027147769928, 0.6447315812110901, 0.7463651299476624, -0.26493915915489197, 0.03347036987543106, 0.02154109813272953, 0.17282633483409882, 0.49086809158325195, 0.18943670392036438, -0.1232580617070198, 0.16450342535972595, -0.21763356029987335, -0.03753888979554176, 0.14871083199977875, -0.22181440889835358, -0.4779299795627594, 0.6062949895858765, 0.12228171527385712, -0.17007459700107574 ]
http://arxiv.org/abs/2402.05964v2
http://arxiv.org/pdf/2402.05964v2
A Survey on Transformer Compression
2024-02-05T12:16:28
2024-04-07T13:03:58
Yehui Tang, Yunhe Wang, Jianyuan Guo, Zhijun Tu, Kai Han, Hailin Hu, Dacheng Tao
cs.LG
cs.LG, cs.CL, cs.CV
Transformer plays a vital role in the realms of natural language processing (NLP) and computer vision (CV), specially for constructing large language models (LLM) and large vision models (LVM). Model compression methods reduce the memory and computational cost of Transformer, which is a necessary step to implement large language/vision models on practical devices. Given the unique architecture of Transformer, featuring alternative attention and feedforward neural network (FFN) modules, specific compression techniques are usually required. The efficiency of these compression methods is also paramount, as retraining large models on the entire training dataset is usually impractical. This survey provides a comprehensive review of recent compression methods, with a specific focus on their application to Transformer-based models. The compression methods are primarily categorized into pruning, quantization, knowledge distillation, and efficient architecture design (Mamba, RetNet, RWKV, etc.). In each category, we discuss compression methods for both language and vision tasks, highlighting common underlying principles. Finally, we delve into the relation between various compression methods, and discuss further directions in this domain.
[ -0.6604203581809998, -0.3306572437286377, 0.17936380207538605, 0.10815167427062988, -0.04085329547524452, -0.11620023846626282, -0.23895302414894104, -0.47771650552749634, 0.06630725413560867, 0.5011677145957947, -0.5030983686447144, -0.10266606509685516, -0.6373683214187622, 0.1511276215314865, -0.631158709526062, 0.38865864276885986, 0.07415752112865448, -0.03912215679883957, -0.24928602576255798, 0.10312134772539139, -0.7072980403900146, -0.6347596645355225, -0.6275478005409241, -0.2751326262950897, 0.3028774857521057, -0.08568373322486877, 0.4294484555721283, 0.38449323177337646, 0.9002913236618042, 0.3826627731323242, -0.38619786500930786, 0.05538005754351616, -0.40725961327552795, 0.1389714628458023, -0.011709005571901798, -0.5712962746620178, -0.008879432454705238, -0.24786771833896637, 0.5508270859718323, 0.5688796043395996, -0.16606420278549194, 0.32138144969940186, 0.07162097841501236, 0.7205575704574585, -0.911001443862915, 0.26955556869506836, -0.325065016746521, 0.3883383572101593, -0.05512974411249161, -0.14529162645339966, -0.6483917832374573, -0.3369229733943939, -0.10617285966873169, -0.13815081119537354, 0.6925069689750671, 0.12422427535057068, 0.7529280185699463, 0.8586539626121521, -0.33426687121391296, 0.22381676733493805, -0.9850318431854248, 0.8268865346908569, -0.5058212876319885, 0.6689034700393677, 0.024843940511345863, 0.5141618847846985, 0.22578664124011993, -0.7695180177688599, -0.529395341873169, 0.10646402835845947, -0.21169985830783844, 0.15140868723392487, -0.458586186170578, 0.22172801196575165, 0.4343567490577698, 0.7918791770935059, -0.37964966893196106, 0.18974420428276062, -0.558907687664032, -0.26337572932243347, 0.41842588782310486, 0.03766429424285889, 0.15966542065143585, -0.15208299458026886, -0.24158428609371185, -0.7147940397262573, -0.7857502698898315, 0.06215716898441315, 0.35373151302337646, -0.13486216962337494, 0.24863122403621674, 0.5122469067573547, -0.20890329778194427, 1.270652174949646, -0.10998450219631195, -0.2953419089317322, 0.013091472908854485, -0.20467734336853027, -0.4758914113044739, -0.22606773674488068, 0.6330575346946716, 0.4363701641559601, 0.24226973950862885, -0.29180529713630676, -0.28121599555015564, 0.24063029885292053, 0.6653585433959961, -0.6680688858032227, -0.22581340372562408, 0.023070018738508224, -0.599281370639801, -0.4718968868255615, 0.12464196979999542, -0.891067385673523, -0.29786789417266846, -0.3545704782009125, 0.2972486913204193, -0.093461774289608, -0.04351062327623367, 0.33554646372795105, -0.31922367215156555, 0.6101647615432739, 0.17372652888298035, -0.9346188306808472, 0.2533506453037262, 0.6509196162223816, 0.6692708730697632, 0.06775427609682083, -0.0029420130886137486, -0.4137135446071625, -0.22081983089447021, -0.06346695870161057, 0.885860800743103, -0.15110863745212555, -0.2779642641544342, 0.2706843316555023, 0.11907749623060226, 0.10789315402507782, -0.5624816417694092, 0.9778408408164978, -0.45340830087661743, 0.020411964505910873, 0.1524718552827835, -0.36078155040740967, -0.4895144999027252, 0.25091156363487244, -1.0725163221359253, 0.7043429017066956, 0.18179842829704285, -0.6020068526268005, -0.006237156689167023, -0.27229467034339905, -0.4481348991394043, -0.03877674415707588, -0.07173188030719757, -0.34488746523857117, 0.4801749289035797, 0.5770390629768372, 0.7903696894645691, -0.7354703545570374, 0.1834491342306137, 0.2333446741104126, -0.3429300785064697, 0.013770266436040401, -0.5260898470878601, 0.4503221809864044, 0.06088314950466156, 0.0721832886338234, -0.02004551701247692, -0.5796461701393127, -0.14366240799427032, 0.21887582540512085, -0.23494194447994232, 0.018559059128165245, -0.08931136131286621, 0.1352950632572174, 0.1740867793560028, -0.008211889304220676, -0.539043128490448, 0.4071466028690338, -0.682780921459198, 0.6951178908348083, 0.5053164958953857, -0.017811933532357216, 0.47286972403526306, -0.1656111180782318, 0.5449147820472717, -0.3245641589164734, 0.4878872334957123, -0.3164842128753662, -0.29349783062934875, -1.0694366693496704, 0.17442995309829712, 0.43788984417915344, 0.665410578250885, -0.8840650916099548, 0.5336544513702393, -0.5571131706237793, -0.7340151071548462, -0.6151283979415894, -0.2744409441947937, 0.11246981471776962, 0.3227483928203583, 0.4600144326686859, -0.15411542356014252, -0.48775428533554077, -1.0504037141799927, -0.1775698959827423, 0.02156931720674038, -0.28924015164375305, 0.17212912440299988, 0.21166741847991943, 0.028318161144852638, 0.9295427203178406, -0.8748025298118591, -0.22772905230522156, -0.3625797629356384, 0.1805768758058548, 0.25297945737838745, 0.4148336946964264, 0.6047223806381226, -1.0562019348144531, -0.169460728764534, -0.2972956597805023, -0.28257089853286743, -0.10751619935035706, -0.13263720273971558, 0.52359938621521, 0.006687772460281849, 0.3014535903930664, -0.6476492881774902, 0.6120510697364807, 0.8709176778793335, 0.08918015658855438, 0.44093456864356995, -0.05925286188721657, 0.20604169368743896, -0.8058624863624573, -0.09867838770151138, 0.055340953171253204, -0.2619803547859192, -0.8543148040771484, 0.2494688332080841, 0.14316940307617188, -0.24750515818595886, -0.6757137179374695, 0.19359809160232544, -0.5373146533966064, 0.06261646747589111, -0.4133050739765167, -0.2885500192642212, 0.009494406171143055, 0.6543418169021606, 0.2159423679113388, 0.6153655648231506, 0.5746812224388123, -0.5905057191848755, 0.7501841187477112, 0.3166860342025757, -0.41490229964256287, 0.24956180155277252, -0.9246170520782471, 0.2289905846118927, -0.43727198243141174, 0.29239779710769653, -0.6833601593971252, -0.027242891490459442, 0.22662381827831268, -0.11044145375490189, 0.6093579530715942, -0.07469211518764496, -0.5048873424530029, -0.7230745553970337, -0.2910372018814087, 0.6319180727005005, 0.7697997689247131, -0.7489205002784729, 0.7573732733726501, 0.23097936809062958, 0.22148250043392181, -0.7675116658210754, -1.0343561172485352, 0.24491383135318756, -0.2323913425207138, -0.6246265172958374, 0.7200270891189575, -0.08932561427354813, -0.02115517109632492, -0.19680102169513702, -0.23695328831672668, -0.06070011854171753, -0.2877972722053528, 0.3063346743583679, 0.27378973364830017, -0.020583132281899452, -0.05480639636516571, -0.37817302346229553, -0.23584502935409546, -0.10804092884063721, -0.21197812259197235, 0.631220817565918, 0.02463906817138195, -0.22007416188716888, -0.3088535964488983, 0.36354097723960876, 0.25659996271133423, -0.20464104413986206, 0.8183677196502686, 0.5793871879577637, -0.21866144239902496, -0.09053056687116623, -0.7985944747924805, -0.24365665018558502, -0.43396681547164917, 0.09702982008457184, -0.17191331088542938, -1.124525547027588, 0.216457337141037, -0.2936149537563324, 0.022313550114631653, 0.6228403449058533, 0.4488854706287384, 0.324882447719574, 0.6268605589866638, 0.9994460344314575, -0.12169602513313293, 0.5463640093803406, -0.34278616309165955, 0.589199960231781, -0.761344313621521, -0.04893907532095909, -0.7164162397384644, -0.5190980434417725, -0.34916824102401733, -0.7715314030647278, 0.18801052868366241, -0.19439774751663208, 0.2265533059835434, 0.7375099658966064, -1.0652716159820557, 0.6514729261398315, 0.4437868893146515, -0.0991734191775322, 0.08976966142654419, -0.11753882467746735, 0.5261350870132446, 0.13367845118045807, -0.842332124710083, -0.08064085990190506, 0.7796242237091064, 0.4292350709438324, 0.8775637745857239, -0.056217536330223083, 0.3779810667037964, 0.0722125768661499, 0.018399711698293686, -1.1725101470947266, 0.43039560317993164, -0.22772760689258575, -0.23825959861278534, -0.09683610498905182, -0.43361443281173706, -0.859693706035614, -0.016719890758395195, -0.19851987063884735, -0.589466392993927, 0.4551296830177307, 0.07154358923435211, -0.32741254568099976, 0.46418657898902893, -0.565670371055603, 0.48523885011672974, 0.061565522104501724, 0.08837118744850159, 0.012586614117026329, -0.8339677453041077, 0.42339351773262024, -0.05142974853515625, -0.14115850627422333, 0.37582898139953613, 0.16623637080192566, 0.8656391501426697, -0.3228462338447571, 0.730733335018158, 0.08377016335725784, -0.042474620044231415, 0.3016950786113739, -0.2519742250442505, 0.3995108902454376, -0.37787705659866333, 0.399600088596344, 0.47490233182907104, 0.0240293238312006, -0.04752322658896446, -0.7812411189079285, 0.24965018033981323, -0.40193259716033936, -0.5039475560188293, -0.201276496052742, -0.4243122637271881, -0.02399487979710102, -0.13493680953979492, 0.5859898328781128, 0.6743388772010803, -0.0735822468996048, 0.4137740731239319, 0.8419012427330017, -0.33355772495269775, 0.5257569551467896, 0.04803461208939552, 0.016301864758133888, -0.38892862200737, 0.6473418474197388, 0.008237216621637344, 0.1422601193189621, 0.9078661203384399, 0.006536101922392845, -0.09550175815820694, -0.5752127766609192, 0.008145730011165142, 0.1787068396806717, -0.7807549834251404, -0.8116600513458252, -0.39384621381759644, -0.5888670682907104, -0.683370053768158, -0.1676998883485794, -0.5272916555404663, -0.6267107129096985, 0.1623530089855194, 0.1677982360124588, 0.21024462580680847, 0.7663161158561707, 0.25066787004470825, 0.6484853029251099, -0.9334559440612793, 0.4728357791900635, 0.4536409378051758, 0.20624472200870514, 0.018982546404004097, -0.31014329195022583, -0.2452034056186676, -0.35160142183303833, -0.29753321409225464, -0.8911645412445068, 0.5631226301193237, 0.2272333949804306, 0.3867235779762268, 0.4238932728767395, 0.20688074827194214, 0.48472580313682556, -0.7254653573036194, 1.0598522424697876, 0.36683303117752075, -0.6728877425193787, 0.5588873624801636, 0.4094264507293701, 0.3807342052459717, 0.17259171605110168, 0.3120613396167755, -0.7456322312355042, -0.07565024495124817, -0.5809429287910461, -0.8766863346099854, 0.3715192973613739, 0.18638475239276886, 0.1403154730796814, 0.3096216320991516, 0.5142806768417358, -0.21535643935203552, 0.01511293463408947, -0.6972290277481079, -0.26337361335754395, -0.1550481617450714, -0.38254639506340027, -0.055797893553972244, -0.25208887457847595, -0.12341998517513275, -0.22154870629310608, 0.34070107340812683, -0.08770068734884262, 0.6320093274116516, 0.27789542078971863, -0.16921015083789825, 0.30973586440086365, 0.26131734251976013, 0.3851501941680908, -0.019639886915683746, 0.102857805788517, 0.22277574241161346, 0.19261038303375244, -0.6001242399215698, 0.2608645260334015, -0.1911253184080124, -0.05797277390956879, -0.143825501203537, 0.32262536883354187, 0.8904582262039185, 0.23304052650928497, -0.5330154895782471, 0.6508603692054749, -0.5094828605651855, -0.284666508436203, -0.153656467795372, 0.1846873164176941, -0.2261728048324585, 0.26746872067451477, 0.12041084468364716, 0.35768771171569824, 0.2437799870967865, -0.07201177626848221, -0.2826363444328308, 0.24306102097034454, -0.24831834435462952, -0.15988869965076447, 0.42438286542892456, 0.06963682919740677, -0.45999208092689514, 0.7529783844947815, 0.35748550295829773, -0.4757339358329773, 0.35542914271354675, 0.45271989703178406, 0.9892382621765137, -0.3506390452384949, -0.27747729420661926, 0.5130650997161865, 0.46849653124809265, -0.45056596398353577, -0.23790587484836578, -0.34973829984664917, -0.7304623126983643, -0.914844810962677, -0.7475561499595642, -0.3702084720134735, 0.055785730481147766, -0.5662078857421875, 0.3997790217399597, -0.04389386624097824, -0.21147848665714264, -0.0630621388554573, -0.28528907895088196, -0.7632642388343811, 0.2269141972064972, 0.3412305414676666, 1.2500239610671997, -0.6566488742828369, 0.5917489528656006, 0.3992690443992615, -0.30028262734413147, -0.8802189826965332, -0.14290224015712738, -0.042085397988557816, -0.44001325964927673, 0.5776187181472778, 0.21845459938049316, -0.25482887029647827, 0.06037873774766922, -0.5024117231369019, -0.6501648426055908, 0.9296106696128845, 0.3344787657260895, -0.5984205007553101, -0.3057628273963928, 0.22265738248825073, 0.36534279584884644, -0.026014739647507668, -0.03328663855791092, 0.5470827221870422, 0.4656565189361572, 0.25245213508605957, -0.6915719509124756, -0.13247065246105194, -0.26607227325439453, 0.2754814624786377, 0.4370499849319458, -0.6405211687088013, 0.38926321268081665, 0.3890422284603119, -0.2890598773956299, -0.00489891367033124, 0.622456431388855, -0.2994179427623749, -0.20044724643230438, 0.6030940413475037, 0.5956537127494812, 0.3697231113910675, -0.2804145812988281, 1.0302008390426636, -0.47911447286605835, 0.4335368871688843, 0.628127932548523, 0.1721343845129013, 0.8164280652999878, 0.6757095456123352, -0.25421273708343506, 0.0978790670633316, 0.34633663296699524, -0.4238293170928955, 0.32935044169425964, 0.20352253317832947, 0.004764571785926819, -0.09412693977355957, -0.07129460573196411, -0.15400345623493195, 0.5965184569358826, 0.010455912910401821, -0.24958612024784088, 0.03266645967960358, 0.11014929413795471, -0.2833375632762909, -0.2212478071451187, -0.31619545817375183, 0.6088529825210571, 0.06885287910699844, -0.6975894570350647, 0.46290042996406555, 0.018144262954592705, 0.9207078814506531, -0.5254898071289062, 0.15105408430099487, 0.13498808443546295, -0.021004384383559227, -0.10862933844327927, -0.8519046306610107, 0.8054352402687073, 0.006499628070741892, -0.25023531913757324, -0.6736202239990234, 1.1251120567321777, -0.12877951562404633, -0.3115098178386688, -0.11394016444683075, 0.24957776069641113, 0.10101883858442307, -0.3211604654788971, -0.22049731016159058, 0.11116031557321548, -0.06622213870286942, -0.33723556995391846, -0.027852267026901245, -0.04096691682934761, 0.4339177906513214, 0.6311970353126526, 0.4585520923137665, 0.19429293274879456, 0.029836537316441536, 0.19838137924671173, 0.9729278683662415, -0.7302088737487793, -0.24534212052822113, -0.5669749975204468, 0.43456336855888367, -0.09471378475427628, 0.016917798668146133, 0.47813594341278076, 0.264129638671875, 0.6106966733932495, -0.3387284278869629, 0.32669976353645325, 0.005782605614513159, 0.10300350934267044, -0.7051205039024353, 0.5530241131782532, -0.37266644835472107, -0.04913884773850441, -0.10132400691509247, -1.1456929445266724, -0.7578417658805847, 0.736365556716919, -0.16772893071174622, -0.2764867842197418, 0.6305434107780457, 0.6184301972389221, -0.06696755439043045, 0.11465909332036972, 0.3694111108779907, -0.17696048319339752, 0.321874737739563, 0.6484653353691101, 0.7646622061729431, -0.6968929171562195, 0.6845771074295044, -0.45244935154914856, 0.015384701080620289, -0.13907776772975922, -1.0182455778121948, -0.558842122554779, -0.7791771292686462, -0.44128987193107605, 0.11005401611328125, -0.5542510747909546, 0.4770413637161255, 0.9972525238990784, -0.4728621244430542, 0.08031368255615234, -0.18652810156345367, -0.1046447604894638, -0.411609947681427, -0.19109003245830536, 0.3119734227657318, -0.10435322672128677, -0.8244772553443909, 0.3591917157173157, 0.41003936529159546, 0.07039997726678848, -0.49708521366119385, 0.22331158816814423, 0.2026320993900299, -0.0032259090803563595, 0.5919076204299927, 0.259896844625473, -0.5804768800735474, -0.22659926116466522, 0.11793964356184006, 0.22335763275623322, 0.19189971685409546, 1.0563335418701172, -1.1470520496368408, 0.20387229323387146, 0.8332279324531555, 0.7031369209289551, 0.5314814448356628, -0.07012679427862167, 0.557752788066864, -0.9273599982261658, 0.4210019111633301, 0.32639625668525696, 0.6272475719451904, 0.4700796902179718, -0.3482034504413605, 0.6426466107368469, 0.17198510468006134, -0.8658657670021057, -0.655073344707489, 0.5448519587516785, -1.1989065408706665, -0.175709530711174, 0.9433670043945312, 0.040032368153333664, -0.6441309452056885, 0.22379623353481293, -0.40456250309944153, 0.3987197279930115, 0.15100693702697754, 0.63716059923172, 0.7246166467666626, -0.10297954082489014, -0.6125711798667908, -0.506180465221405, 0.43436771631240845, 0.07012863457202911, -0.7208287715911865, 0.032851990312337875, 0.3584509491920471, -0.25897151231765747, 0.5443834066390991, -0.13757944107055664, 0.08958200365304947, -0.04300079122185707, 0.04035656154155731, 0.31974563002586365, 0.05939602106809616, -0.40431949496269226, -0.8347486257553101, 0.45490097999572754, -0.23391039669513702, 0.03690168634057045 ]
http://arxiv.org/abs/2402.05128v2
http://arxiv.org/pdf/2402.05128v2
Enhancing Textbook Question Answering Task with Large Language Models and Retrieval Augmented Generation
2024-02-05T11:58:56
2024-02-14T10:06:54
Hessa Abdulrahman Alawwad, Areej Alhothali, Usman Naseem, Ali Alkhathlan, Amani Jamal
cs.CL
cs.CL, cs.AI
Textbook question answering (TQA) is a challenging task in artificial intelligence due to the complex nature of context and multimodal data. Although previous research has significantly improved the task, there are still some limitations including the models' weak reasoning and inability to capture contextual information in the lengthy context. The introduction of large language models (LLMs) has revolutionized the field of AI, however, directly applying LLMs often leads to inaccurate answers. This paper proposes a methodology that handle the out-of-domain scenario in TQA where concepts are spread across different lessons by incorporating the retrieval augmented generation (RAG) technique and utilize transfer learning to handle the long context and enhance reasoning abilities. Through supervised fine-tuning of the LLM model Llama-2 and the incorporation of RAG, our architecture outperforms the baseline, achieving a 4.12% accuracy improvement on validation set and 9.84% on test set for non-diagram multiple-choice questions.
[ -0.4061765670776367, -1.0424271821975708, 0.7221577763557434, -0.2558446228504181, -0.31119540333747864, 0.3224198520183563, -0.0554315447807312, -0.4056828022003174, -0.1120520755648613, 0.5378687977790833, -0.24401409924030304, -0.07934476435184479, -0.43226075172424316, 0.06794648617506027, -0.18092259764671326, 0.9686785936355591, -0.27273544669151306, -0.01776045374572277, -0.5724146366119385, -0.09578036516904831, -0.8367382287979126, -0.4483649730682373, -0.6916089057922363, -0.336724191904068, 0.19413092732429504, 0.5873985290527344, 0.5685224533081055, 0.25291144847869873, 0.4761367440223694, 0.20041674375534058, -0.27323678135871887, 0.697626531124115, -0.42601847648620605, 0.10185080766677856, -0.6253359913825989, -0.43186116218566895, -0.5547515153884888, -0.4546499252319336, 0.7904230356216431, 0.45739248394966125, -0.1131657138466835, 0.4925564229488373, 0.000018211643691756763, 0.6648448705673218, -0.628455638885498, 0.08858742564916611, -0.7804036736488342, -0.3928408920764923, -0.02451261691749096, -0.26152780652046204, -0.6155616044998169, -0.20092709362506866, 0.04175661504268646, -0.8123583197593689, -0.0379633754491806, -0.0669642984867096, 0.8222107291221619, 0.26806947588920593, -0.694025456905365, -0.3806954324245453, -0.6934242844581604, 0.7775313854217529, -0.5402831435203552, 0.2800661027431488, 0.4695960283279419, 0.408372700214386, -0.3461346924304962, -0.7139779329299927, -0.708148717880249, -0.108815498650074, -0.08166434615850449, 0.059425096958875656, 0.16543292999267578, -0.26065197587013245, 0.10668338090181351, 0.11878614872694016, -0.290439248085022, -0.056847404688596725, -0.3723725378513336, 0.16127696633338928, 0.674109160900116, 0.09778420627117157, 0.2634267210960388, -0.3889302909374237, -0.4343031346797943, -0.14609883725643158, -0.5083586573600769, 0.08999503403902054, -0.12575320899486542, 0.41062280535697937, 0.17265182733535767, 0.6008288860321045, -0.07319562137126923, 0.8277980089187622, 0.08427875488996506, -0.32962697744369507, 0.11426816135644913, -0.23707939684391022, -0.22305233776569366, -0.13608233630657196, 0.16483096778392792, 0.19427470862865448, 0.14651824533939362, -0.08263204991817474, -0.24608521163463593, -0.5009596347808838, 0.4154012203216553, -0.610363781452179, 0.18531006574630737, 0.09621527791023254, -0.12223925441503525, -0.0027284848038107157, -0.19651347398757935, -0.8651842474937439, -0.35094836354255676, -0.6775836944580078, 0.7244116067886353, -0.4172511398792267, -0.07240935415029526, -0.09937825053930283, 0.11558402329683304, 0.46703794598579407, 0.5907413363456726, -0.6495003700256348, 0.27977749705314636, 0.7369878888130188, 0.5930414199829102, -0.2883983552455902, -0.0241490937769413, -0.763158917427063, 0.5124213695526123, -0.5651992559432983, 0.8937920928001404, -0.6114206910133362, -0.37118110060691833, 0.03392374515533447, -0.039478790014982224, 0.0013055384624749422, -0.5756303071975708, 0.4350973665714264, -1.0431174039840698, 0.3226691484451294, -0.05610978975892067, -0.669978678226471, -0.5243425369262695, 0.46141910552978516, -0.39063242077827454, 1.2950043678283691, 0.4423507750034332, -0.36701318621635437, -0.15613630414009094, -0.47845587134361267, -0.3664534389972687, -0.018759148195385933, 0.12437795847654343, -0.36520397663116455, -0.07038614898920059, 0.5147860050201416, 0.37629860639572144, -0.5635479092597961, 0.5765840411186218, 0.12848708033561707, -0.4614522159099579, 0.22085626423358917, -0.1653796285390854, 0.5287620425224304, 0.19080330431461334, -0.08489572256803513, -0.13106349110603333, -0.759994626045227, 0.1553817093372345, 0.09827666729688644, -0.41357654333114624, -0.6223079562187195, -0.4049922525882721, -0.18250586092472076, 0.15364181995391846, 0.3471774160861969, -0.27267321944236755, 0.47822049260139465, -0.2225167155265808, 0.030833430588245392, 0.700461745262146, 0.28873300552368164, 0.6618697047233582, -0.6150895357131958, 0.622681200504303, 0.055406633764505386, -0.0693330243229866, 0.029860053211450577, -0.5450279116630554, -0.7951822876930237, -0.15401045978069305, 0.30364087224006653, 0.5789275169372559, -1.372464656829834, -0.030047986656427383, -0.3252354562282562, -0.5717791318893433, -0.294344425201416, 0.3289406895637512, 0.4873327612876892, 0.7515222430229187, 0.6919094920158386, -0.09626470506191254, -0.30139926075935364, -0.7137167453765869, -0.08945665508508682, -0.2568330466747284, -0.008725177496671677, 0.5692574977874756, 0.42345741391181946, -0.2806774079799652, 0.9258673787117004, -0.6634994745254517, -0.3919484317302704, -0.36281222105026245, -0.09355007857084274, 0.23238505423069, 0.42363348603248596, 0.3132117986679077, -0.8348605036735535, -0.43963852524757385, 0.13225184381008148, -0.6637354493141174, 0.09784194082021713, -0.28443026542663574, -0.4871164858341217, 0.4638131260871887, 0.4513469934463501, -0.6095349192619324, 0.12499366700649261, 0.2786876857280731, -0.11870428174734116, 0.4218297600746155, -0.24780401587486267, 0.1786152571439743, -1.5822869539260864, 0.056143395602703094, -0.1361619085073471, -0.06373241543769836, -0.5622939467430115, 0.34354302287101746, 0.20691511034965515, -0.13435934484004974, -0.5060391426086426, 0.9255349636077881, -0.35764214396476746, -0.07858674973249435, -0.2905484139919281, 0.30226218700408936, 0.2383926808834076, 0.5453380942344666, -0.09258022904396057, 1.1224548816680908, 0.24033088982105255, -0.7103106379508972, 0.26744645833969116, 0.5410857200622559, -0.14684626460075378, 0.3794403672218323, -0.2956145107746124, 0.328655481338501, -0.2976473271846771, 0.5144006609916687, -0.8791753053665161, -0.1864769011735916, 0.15468713641166687, -0.34854015707969666, 0.5339783430099487, -0.08879799395799637, -0.42655763030052185, -0.05031408742070198, -0.1590893417596817, 0.61864173412323, 0.5819016098976135, -0.7946195602416992, 1.0257328748703003, 0.2315562665462494, -0.29928869009017944, -0.7229164242744446, -0.182706817984581, -0.035549502819776535, -0.17848140001296997, -0.41362252831459045, 0.26456043124198914, -0.05365514010190964, -0.3720034658908844, -0.22184410691261292, -0.011297724209725857, -0.33931654691696167, -0.009407871402800083, -0.1638772338628769, 0.4704979956150055, -0.3182918131351471, 0.7303670644760132, 0.33003538846969604, 0.19025404751300812, -0.06675135344266891, -0.05907052382826805, 0.3944209814071655, 0.041342593729496, 0.015119517222046852, -0.35283562541007996, 0.14472559094429016, 0.45658889412879944, -0.25763919949531555, 0.6364238858222961, 0.2356707751750946, -0.3053337335586548, -0.4155627489089966, -0.47479119896888733, -0.13239562511444092, -0.45280149579048157, 0.43331393599510193, -0.5570884346961975, -0.6623013019561768, 0.2912225127220154, -0.2537381052970886, 0.04800168797373772, 0.3393303155899048, 0.43417149782180786, -0.08496329933404922, 0.4957145154476166, 0.4846843481063843, 0.08416245877742767, 0.2966028153896332, -0.2794974148273468, 0.0005192167009226978, -1.1231781244277954, -0.3148263394832611, -0.5073590278625488, -0.007890853099524975, -0.39174094796180725, -0.8403159976005554, 0.4628770351409912, 0.4507623314857483, -0.4937073290348053, 0.07828696072101593, -0.36942335963249207, 0.4889025092124939, 0.6355412602424622, 0.29059505462646484, 0.5347573757171631, 0.07695572078227997, 0.18117853999137878, 0.35282233357429504, -0.5855069756507874, -0.6063997745513916, 1.2049980163574219, 0.24443992972373962, 0.5517585277557373, 0.4662303924560547, 0.5063226819038391, 0.2068508118391037, 0.5532669425010681, -0.835931122303009, 0.622032880783081, -0.12546950578689575, -0.6505112648010254, -0.5321499705314636, -0.24116399884223938, -0.675909698009491, 0.33200883865356445, -0.23246745765209198, -0.4301541745662689, -0.0034085523802787066, -0.018191494047641754, -0.17814649641513824, 0.338035523891449, -0.6207101345062256, 0.4302915632724762, -0.059255678206682205, -0.4015920162200928, 0.07370682805776596, -0.5256364345550537, 0.5061582326889038, -0.48434287309646606, 0.3351972997188568, 0.1955343782901764, -0.17087040841579437, 0.6471944451332092, -0.19428133964538574, 0.6458137631416321, 0.0697556734085083, -0.539574921131134, 0.6464139223098755, 0.23728448152542114, 0.728702187538147, 0.24363912642002106, -0.3139912486076355, -0.093843974173069, -0.01699562557041645, -0.40174180269241333, -0.9200466275215149, 0.5178134441375732, -0.8654195070266724, -0.9510293006896973, -0.36816367506980896, -0.9282256364822388, -0.7325217723846436, 0.01819998398423195, -0.2296663075685501, 0.5697048902511597, 0.15527817606925964, -0.09209433943033218, 0.637229859828949, -0.3464442789554596, 0.25396448373794556, 0.459454745054245, -0.18260933458805084, -0.44591623544692993, 1.000615119934082, -0.058340251445770264, 0.4604959487915039, 0.5870141386985779, 0.20639848709106445, -0.5040477514266968, -0.48069241642951965, -0.981153666973114, 0.41554421186447144, -0.9394518136978149, -0.4687170088291168, -0.49361705780029297, -0.2349863201379776, -0.5254575610160828, -0.17142054438591003, -0.04938714578747749, -0.45329493284225464, -0.5277132391929626, 0.11871791630983353, 0.4298021197319031, 0.7718970775604248, 0.24419079720973969, 0.1599324494600296, -1.1019002199172974, 0.5491503477096558, 0.5713918805122375, 0.11562364548444748, 0.22230839729309082, -1.0666385889053345, -0.025132659822702408, 0.019457900896668434, -0.47088292241096497, -0.5542826652526855, 0.2597944438457489, 0.2780674695968628, 0.23840834200382233, -0.08659707754850388, 0.3482900857925415, 0.7399353981018066, -0.5924891233444214, 0.7356061935424805, -0.08410336077213287, -0.9117869138717651, 0.46938320994377136, -0.3500007092952728, 0.24998338520526886, 0.3632628619670868, 0.4057864248752594, -0.246127188205719, -0.28881028294563293, -0.48624187707901, -0.658455491065979, 0.625511646270752, -0.006745954509824514, 0.36924758553504944, 0.16138315200805664, 0.7828772664070129, 0.1869376003742218, -0.03466500714421272, -0.3902954161167145, -0.1546190083026886, 0.02399718388915062, -0.1803845316171646, -0.2932594120502472, -0.4008685052394867, 0.008205675520002842, -0.2740379571914673, 1.1013987064361572, -0.330049604177475, -0.1870540827512741, 0.2292836755514145, -0.054712217301130295, -0.1203911080956459, 0.46093669533729553, 0.6622223854064941, 1.0181559324264526, -0.08315257728099823, 0.021359344944357872, 0.5662713050842285, -0.4837966561317444, 0.3406813442707062, 0.10562305152416229, -0.23755453526973724, -0.12667147815227509, 0.3160848319530487, 0.3547215163707733, -0.16348272562026978, -0.8740863800048828, 0.22265753149986267, 0.11784319579601288, 0.024769876152276993, -0.4016806483268738, -0.04875332862138748, 0.13043853640556335, 0.3864940404891968, 0.5788905024528503, -0.32878702878952026, 0.07343190908432007, -0.5465593338012695, 0.22426217794418335, 0.3588341772556305, -0.08468598127365112, 0.1914670467376709, 0.4183286130428314, 0.12345615774393082, -0.3266848623752594, 0.6324189901351929, -0.01643371395766735, -0.47560080885887146, 0.816926896572113, 0.7603157162666321, 0.3157268762588501, -0.18396621942520142, 0.3994238078594208, 0.4983377158641815, 0.10700904577970505, 0.038457367569208145, 0.11861412227153778, -0.009910516440868378, -0.6202982664108276, -0.5968014001846313, -0.7423012256622314, -0.6500363349914551, 0.029875341802835464, -0.6668234467506409, 0.27960333228111267, -0.22046853601932526, 0.14084932208061218, -0.22898174822330475, 0.089240163564682, -0.2499406486749649, 0.47768765687942505, 0.0020793115254491568, 0.7965548634529114, -0.415814608335495, 0.8723359107971191, 0.9912086129188538, -0.3437259793281555, -1.0029093027114868, 0.09797753393650055, -0.5178348422050476, -0.6353932023048401, 0.9805293679237366, -0.1554216593503952, -0.07604362815618515, 0.1868167519569397, -0.4112740457057953, -1.024255394935608, 1.0035433769226074, 0.3009188175201416, -0.39187300205230713, -0.016113366931676865, 0.1614435762166977, 0.6176727414131165, -0.10238561034202576, 0.10335028171539307, 0.5332518219947815, 0.24064823985099792, 0.4960639178752899, -0.9222992062568665, 0.1641007512807846, 0.007112530525773764, 0.0938602089881897, 0.2514231503009796, -0.6087243556976318, 0.8201106786727905, -0.38123467564582825, 0.03904082253575325, 0.30872634053230286, 0.7595925331115723, 0.521048903465271, 0.5631060004234314, 0.38091355562210083, 0.4643072783946991, 0.6867402195930481, 0.20494429767131805, 1.168606162071228, 0.039780184626579285, 0.3798348009586334, 1.3497767448425293, -0.2986757159233093, 1.0663518905639648, 0.5300102233886719, -0.010403788648545742, 0.5590015649795532, 0.5568186044692993, 0.34980887174606323, 0.35468533635139465, 0.237590029835701, -0.3647170066833496, -0.4849875271320343, -0.3380795121192932, -0.46466925740242004, 0.561521589756012, 0.33056849241256714, -0.10667574405670166, -0.26144924759864807, 0.12172509729862213, -0.09672833234071732, 0.3068506121635437, -0.566177487373352, 0.956820011138916, 0.09431315213441849, -0.8584842085838318, 0.9693388938903809, -0.02301119826734066, 0.35994523763656616, -0.3434700071811676, -0.47001615166664124, -0.4986395537853241, 0.22157792747020721, 0.07133409380912781, -0.7763996720314026, 0.07573945075273514, -0.06669747829437256, -0.2110481560230255, 0.05718250945210457, 0.6097801327705383, -0.39250755310058594, -0.7133932113647461, -0.006852565798908472, 0.7691225409507751, 0.06415342539548874, 0.23686382174491882, -0.4377363324165344, -0.282245934009552, -0.1916758269071579, -0.10254353284835815, 0.38325047492980957, 0.5861815810203552, -0.3841024935245514, 0.8159539103507996, 0.6614760160446167, -0.17376460134983063, -0.21237269043922424, -0.1283845156431198, 1.0538907051086426, -0.48809003829956055, -0.287560373544693, -0.5042238235473633, 0.2008577436208725, 0.04514698311686516, -0.22118927538394928, 0.627740204334259, 0.42653027176856995, 0.8611183762550354, -0.13061130046844482, 0.42184221744537354, 0.19253718852996826, 0.7707065939903259, -0.6563884019851685, 0.5982755422592163, -0.9044612646102905, 0.23170340061187744, -0.3751755952835083, -0.9943121075630188, -0.2656328082084656, 0.2652251720428467, -0.1950874924659729, 0.028970319777727127, 0.652692973613739, 0.5819061994552612, 0.07834699749946594, -0.0892508327960968, 0.34894299507141113, 0.09604418277740479, 0.4283128082752228, 0.6729989647865295, 0.8818453550338745, -0.6062180995941162, 0.5183863043785095, -0.2771854102611542, -0.14847750961780548, -0.08332318067550659, -0.6719538569450378, -0.9897427558898926, -0.6372522711753845, -0.2078244388103485, -0.47266536951065063, 0.15316152572631836, 0.789030134677887, 0.2949703335762024, -0.7559570074081421, -0.11490140110254288, 0.28627046942710876, 0.29320383071899414, -0.09724210202693939, -0.245347797870636, 0.8081009387969971, -0.5685948133468628, -0.9086998701095581, 0.31355416774749756, -0.18929508328437805, 0.07149452716112137, -0.005568490829318762, 0.054450660943984985, -0.4690353572368622, 0.33169668912887573, 0.905480682849884, 0.060861118137836456, -0.5114784836769104, -0.41924187541007996, 0.02426004223525524, -0.015599747188389301, 0.0074881925247609615, 0.577006459236145, -0.9297977685928345, 0.367250919342041, 0.3682660162448883, 1.1535875797271729, 0.26733866333961487, 0.503122866153717, 0.3785381317138672, -0.7051573395729065, -0.08089722692966461, 0.27326834201812744, 0.11134670674800873, 0.3514944612979889, -0.5029939413070679, 0.6284316182136536, -0.013871163129806519, -0.5411475896835327, -0.9268626570701599, 0.023265104740858078, -0.947838306427002, -0.7076796293258667, 1.3706666231155396, 0.05475617200136185, -0.25958251953125, -0.26227107644081116, -0.5497857928276062, 0.3701874613761902, -0.21087557077407837, 0.9158974289894104, 0.5678682327270508, -0.12737607955932617, -0.04191982373595238, -0.539527952671051, 0.3893451690673828, 0.47106271982192993, -1.1925078630447388, -0.025835903361439705, 0.5677754878997803, 0.20976956188678741, 0.29649022221565247, 0.38858649134635925, 0.12237817049026489, 0.41572892665863037, -0.49280866980552673, -0.129865825176239, -0.22812633216381073, -0.34993860125541687, -0.23217755556106567, 0.25215885043144226, 0.08616313338279724, -0.1709587424993515 ]
http://arxiv.org/abs/2402.02926v1
http://arxiv.org/pdf/2402.02926v1
Automated Cognate Detection as a Supervised Link Prediction Task with Cognate Transformer
2024-02-05T11:47:36
2024-02-05T11:47:36
V. S. D. S. Mahesh Akavarapu, Arnab Bhattacharya
cs.CL
cs.CL, cs.LG, cs.SI, I.2.7
Identification of cognates across related languages is one of the primary problems in historical linguistics. Automated cognate identification is helpful for several downstream tasks including identifying sound correspondences, proto-language reconstruction, phylogenetic classification, etc. Previous state-of-the-art methods for cognate identification are mostly based on distributions of phonemes computed across multilingual wordlists and make little use of the cognacy labels that define links among cognate clusters. In this paper, we present a transformer-based architecture inspired by computational biology for the task of automated cognate detection. Beyond a certain amount of supervision, this method performs better than the existing methods, and shows steady improvement with further increase in supervision, thereby proving the efficacy of utilizing the labeled information. We also demonstrate that accepting multiple sequence alignments as input and having an end-to-end architecture with link prediction head saves much computation time while simultaneously yielding superior performance.
[ -0.5665766596794128, -0.672056257724762, 0.2919018268585205, 0.14153985679149628, -0.1956787109375, 0.008496290072798729, -0.27830132842063904, -0.8483794927597046, 0.48965179920196533, -0.007045193109661341, -0.8466243743896484, -0.382118284702301, -0.5541648268699646, 0.48328977823257446, -0.5412320494651794, 0.6900718212127686, 0.47005173563957214, 0.022600308060646057, -0.2611079812049866, 0.061197828501462936, -0.31891611218452454, -0.23895493149757385, -0.7553020119667053, -0.33381348848342896, 0.5922921895980835, 0.29935938119888306, 0.6394078135490417, 1.1004010438919067, 0.7441249489784241, 0.3810970187187195, -0.2924738824367523, 0.18286913633346558, -0.38756808638572693, 0.24964472651481628, -0.02290981449186802, -0.5004913210868835, -0.41214266419410706, -0.16838853061199188, 0.21267089247703552, 0.6861010193824768, 0.10086580365896225, 0.18981000781059265, -0.10174663364887238, 0.3119012713432312, -0.5069624781608582, 0.4232206642627716, -0.6215065121650696, 0.1032809391617775, -0.5769670605659485, -0.327126145362854, -0.6986340880393982, -0.1906096190214157, 0.2713869512081146, -0.6399935483932495, 0.31521227955818176, 0.33364352583885193, 0.832709014415741, 0.4650389850139618, -0.08960928022861481, -0.6546455025672913, -0.567931056022644, 0.5431360602378845, -0.20318564772605896, 0.662865161895752, 0.258889764547348, 0.4665098488330841, -0.47313761711120605, -0.4043886959552765, -0.3521686792373657, -0.12107402086257935, -0.5023001432418823, 0.13368262350559235, -0.22629906237125397, -0.13287033140659332, -0.07210954278707504, 0.4273392856121063, -0.7084057927131653, 0.09356409311294556, -0.2634819447994232, -0.518610954284668, 0.4318729341030121, -0.2185494750738144, 0.4342030882835388, 0.07035388797521591, -0.20129628479480743, -0.30033570528030396, -0.5397577285766602, -0.051136843860149384, 0.3590664267539978, 0.29033228754997253, -0.14055298268795013, 0.1078001856803894, -0.013397247530519962, 0.6967331767082214, 0.4911637008190155, -0.07596022635698318, 0.38464057445526123, -0.10072945058345795, 0.13388288021087646, 0.38945233821868896, 0.9282821416854858, -0.31615060567855835, 0.20959559082984924, -0.31672582030296326, 0.32687416672706604, 0.2940630316734314, 0.1124352291226387, -0.5269109010696411, -0.49546051025390625, 0.09225504100322723, -0.2597062289714813, -0.20600779354572296, -0.1587740033864975, -0.8614976406097412, 0.0889752209186554, -0.08112923055887222, 0.12375650554895401, -0.546493411064148, -0.03327682986855507, -0.061238180845975876, -0.22578981518745422, 0.42948803305625916, 0.15525949001312256, -1.0665061473846436, 0.3184402287006378, 0.7236983776092529, 0.784128725528717, -0.5229393243789673, -0.07982218265533447, -0.7215057611465454, 0.21046261489391327, -0.1494750827550888, 0.8236833810806274, -0.6966630220413208, -0.3169987201690674, -0.32405123114585876, 0.31582462787628174, -0.08014728873968124, -0.5092069506645203, 0.5390238761901855, -0.6200582981109619, 0.1341993659734726, -0.05985833704471588, -0.611026406288147, -0.16216649115085602, 0.07157202810049057, -0.9322612881660461, 0.8031435608863831, -0.10386017709970474, -0.7149233222007751, 0.16986848413944244, -0.5625908374786377, -0.5158233046531677, 0.447325736284256, -0.15218542516231537, -0.8386357426643372, -0.32896408438682556, 0.260517418384552, 0.32989954948425293, -0.17574220895767212, 0.6630496382713318, -0.28790345788002014, -0.38031330704689026, -0.04423622414469719, -0.22963444888591766, 1.0570976734161377, -0.04303079843521118, -0.38039544224739075, 0.11362354457378387, -0.9856119155883789, -0.2959752082824707, -0.10533353686332703, -0.1535443812608719, -0.40570536255836487, 0.10052332282066345, -0.1679447442293167, -0.08659732341766357, 0.1322193443775177, -0.6871450543403625, 0.1283922642469406, -0.3658348023891449, 0.14128482341766357, 0.2634306848049164, -0.15405097603797913, 0.4731462001800537, -0.057992734014987946, 0.3964107036590576, -0.08713448792695999, 0.07609652727842331, -0.33648115396499634, -0.8651466965675354, -0.8399206399917603, -0.46782997250556946, 0.11614079773426056, 0.6213597059249878, -0.46302124857902527, 0.8173065781593323, -0.3522431552410126, -0.72459477186203, -0.2979373037815094, -0.10686396807432175, 0.5207778811454773, 0.5704625844955444, 0.9459440112113953, -0.15106458961963654, -0.768622636795044, -0.8749244809150696, -0.23900936543941498, -0.16425618529319763, -0.05635451897978783, 0.22627626359462738, 0.5012593865394592, -0.26928266882896423, 1.0251729488372803, -0.489265501499176, -0.3008401095867157, 0.14434783160686493, 0.08638273924589157, 0.2327134907245636, 0.6176661252975464, 0.46883776783943176, -0.7766177654266357, -0.4872785210609436, 0.2879476845264435, -0.7369799017906189, -0.4318578243255615, 0.03024379350244999, -0.22565414011478424, -0.39048197865486145, 0.684802770614624, -0.1215415820479393, 0.12086713314056396, 0.7545354962348938, -0.10673900693655014, 0.4458158314228058, 0.04216792434453964, -0.24871544539928436, -1.089980125427246, 0.1295056790113449, 0.11669983714818954, -0.09712065756320953, -0.7303985357284546, -0.10376139730215073, 0.11469003558158875, 0.11959628760814667, -0.2342434525489807, 0.203432098031044, -0.45185622572898865, 0.023603307083249092, 0.08220218867063522, -0.27500325441360474, -0.2961079180240631, 0.5033780932426453, 0.3324773609638214, 0.697018563747406, 0.48447030782699585, -0.34097564220428467, 0.6009997129440308, 0.5847112536430359, 0.1660948246717453, 0.39255085587501526, -0.5251808762550354, 0.2903869152069092, 0.005451332312077284, 0.4632241725921631, -1.0200440883636475, -0.21148331463336945, 0.20664487779140472, -0.5232006311416626, 0.21006369590759277, -0.22025901079177856, 0.07636088132858276, -0.40993204712867737, -0.01129110623151064, 0.6344947814941406, 0.3668960630893707, -0.934329092502594, 0.510362446308136, 0.3796056807041168, -0.208029106259346, -0.40373682975769043, -0.46180832386016846, 0.18774797022342682, -0.2413344532251358, -0.710261881351471, 0.5503222346305847, 0.13338473439216614, 0.09264655411243439, -0.3046185076236725, 0.13521189987659454, -0.43210452795028687, -0.11226284503936768, 0.4288540482521057, 0.5090034008026123, -0.15633085370063782, 0.29810070991516113, 0.16091810166835785, -0.4161699414253235, -0.007032997906208038, -0.43629100918769836, 0.557841420173645, -0.0949731096625328, -0.3600592613220215, -0.6022380590438843, 0.4005372226238251, 0.585059404373169, -0.46483615040779114, 0.3563084900379181, 0.7461289167404175, -0.20092730224132538, -0.1264810413122177, -0.45320260524749756, -0.11268426477909088, -0.5376352071762085, 0.1744098961353302, -0.3079514801502228, -0.6891853213310242, 0.3037431538105011, -0.4303620159626007, -0.46294382214546204, 0.4714921712875366, 0.3903195261955261, -0.13905099034309387, 0.44489797949790955, 0.6911060214042664, -0.2971811890602112, 0.38863569498062134, -0.23106853663921356, 0.25364813208580017, -0.5430943369865417, -0.45460036396980286, -0.8195667266845703, -0.3052839934825897, -0.7112361192703247, -0.5196092128753662, 0.5652890205383301, -0.17851395905017853, 0.20484861731529236, 1.0484564304351807, -0.6069663166999817, 0.19920526444911957, 0.6665729880332947, 0.11930190771818161, 0.5437758564949036, -0.1428527683019638, -0.3356096148490906, 0.17560140788555145, -0.626328706741333, -0.3057108223438263, 0.6660269498825073, 0.1477171927690506, 0.7509973049163818, -0.15199577808380127, 0.9189742207527161, 0.13978710770606995, 0.12044354528188705, -1.04901921749115, 0.5142398476600647, -0.11321080476045609, -0.26013967394828796, -0.29894545674324036, -0.17110370099544525, -0.983659029006958, 0.06564869731664658, -0.3573254346847534, -0.6189624071121216, 0.5940019488334656, 0.3469557762145996, -0.057978078722953796, -0.037312451750040054, -0.41060930490493774, 0.6551079154014587, -0.13272063434123993, -0.3896658420562744, -0.04704313725233078, -0.816200315952301, 0.06765931099653244, -0.33558979630470276, 0.16896595060825348, 0.20678295195102692, 0.17510131001472473, 0.8092352747917175, -0.5190680027008057, 0.6668223142623901, 0.14594075083732605, -0.21790778636932373, 0.28319108486175537, -0.15921026468276978, 0.5567454099655151, -0.2886248230934143, -0.09636981785297394, 0.4221303164958954, 0.06693603843450546, -0.17825326323509216, -0.051392022520303726, 0.4636428952217102, -0.3493262529373169, -0.28395459055900574, -0.04795003682374954, -0.748712956905365, -0.1352839320898056, 0.2492658793926239, 0.42336177825927734, 0.3337344229221344, -0.23884674906730652, 0.27516651153564453, 0.498465895652771, -0.22640864551067352, 0.823743462562561, 0.23641017079353333, 0.08026215434074402, -0.2946079969406128, 0.7612376809120178, -0.2736338973045349, 0.011431372724473476, 0.4914894998073578, 0.3601735234260559, -0.32052698731422424, -0.25173553824424744, -0.6612149477005005, -0.019882507622241974, -0.3175915777683258, -0.1867171972990036, -0.6192360520362854, -0.03046981431543827, -0.06988020241260529, -0.22703689336776733, -0.2953987717628479, -0.06544710695743561, -0.07831350713968277, 0.3415316939353943, 0.34057387709617615, 0.5593772530555725, 0.1200018972158432, 0.4609869122505188, -0.8135545253753662, 0.33005523681640625, 0.307253897190094, 0.227376788854599, -0.1972557008266449, -0.022500954568386078, -0.12416969239711761, -0.1014290302991867, -0.09636042267084122, -1.124541997909546, 0.36202096939086914, 0.6387147903442383, 0.35605454444885254, 0.435459166765213, -0.1897137612104416, 0.8301751613616943, -0.7487897872924805, 0.21997997164726257, 0.23930449783802032, -0.8942000865936279, 0.4433062672615051, -0.36235445737838745, 0.23931168019771576, 0.31175071001052856, 0.6237697601318359, -0.351498544216156, -0.4837784469127655, -0.3783031702041626, -0.5528151392936707, 0.2825443148612976, 0.22923703491687775, -0.3438488245010376, -0.18446822464466095, 0.16456422209739685, 0.3285631537437439, -0.15018746256828308, -0.32429006695747375, 0.012848666869103909, 0.27588188648223877, -0.3353906571865082, 0.09479294717311859, 0.18023599684238434, 0.21305665373802185, -0.43234142661094666, 0.6282490491867065, -0.357185959815979, 0.2751740515232086, 0.2386549562215805, -0.3571898937225342, -0.24877327680587769, 0.3043805956840515, 0.1974896490573883, 0.1783033013343811, 0.02922886237502098, 0.06571294367313385, 0.14838771522045135, -0.6848583817481995, 0.22989332675933838, 0.09794402122497559, -0.22658281028270721, 0.30214208364486694, 0.610925018787384, 0.5383710861206055, 0.10410104691982269, -0.3978373110294342, 0.5011786222457886, 0.18140895664691925, 0.1080973744392395, -0.3382717967033386, 0.0755210742354393, 0.42188307642936707, 0.3248286545276642, 0.4007585644721985, 0.3727496564388275, 0.3028119206428528, -0.4529218077659607, 0.5839146375656128, 0.5402572154998779, -0.4993709921836853, -0.35718509554862976, 0.6887719631195068, 0.3199164867401123, -0.5867659449577332, 0.4688170552253723, -0.1407705694437027, -0.674787163734436, 0.8452779054641724, 0.6852553486824036, 0.7866648435592651, -0.6345295310020447, -0.1751154661178589, 0.4162748456001282, -0.10589281469583511, -0.04645184054970741, -0.06676346808671951, -0.23732982575893402, -0.7048367857933044, -0.5393587946891785, -0.9543914794921875, -0.36076220870018005, -0.16934487223625183, -0.8424055576324463, 0.5684935450553894, 0.06370794773101807, 0.057939574122428894, 0.3775443732738495, -0.5635700225830078, -0.37364956736564636, 0.18310695886611938, 0.4065912663936615, 0.8250365853309631, -1.1230264902114868, 1.1033743619918823, 0.4025002121925354, -0.06463378667831421, -0.6207987070083618, -0.21000120043754578, 0.29600197076797485, -0.7482464909553528, 0.773115336894989, 0.3301023542881012, -0.6838815212249756, 0.26252490282058716, -0.236211895942688, -0.8481858372688293, 1.074256181716919, 0.36067286133766174, -0.9480428695678711, -0.21999725699424744, 0.06375262141227722, 0.7615925073623657, -0.26544463634490967, 0.3782261610031128, 0.5689302682876587, 0.4132751524448395, 0.473548948764801, -1.099565863609314, -0.029381342232227325, -0.3449247479438782, -0.29001888632774353, 0.34523892402648926, -0.2910500168800354, 0.7275446653366089, -0.07004261761903763, -0.19074685871601105, 0.08203701674938202, 0.5481264591217041, -0.08188612759113312, 0.08832172304391861, 0.5913779735565186, 0.5479033589363098, 0.720393717288971, -0.20284545421600342, 0.5149673223495483, -0.5346812605857849, 0.5460538268089294, 1.1886487007141113, 0.13160862028598785, 0.9109532833099365, 0.5370231866836548, -0.30788710713386536, 0.7432126998901367, 0.5652576684951782, -0.43546128273010254, 0.3090469539165497, 0.25622498989105225, -0.17861907184123993, -0.1357453614473343, -0.22880084812641144, -0.348523885011673, 0.7648799419403076, 0.48164868354797363, -0.4299198389053345, -0.23628534376621246, -0.32102644443511963, -0.1263197362422943, -0.06951841711997986, -0.09209524095058441, 0.8371196985244751, -0.2586832344532013, -0.6954335570335388, 0.6345453858375549, -0.4795821011066437, 0.9137536883354187, -0.4599964916706085, -0.27054667472839355, 0.1947268843650818, 0.26003116369247437, -0.4667315185070038, -0.300886869430542, 0.509887158870697, -0.2982674539089203, 0.015013364143669605, -0.10578823834657669, 0.9070020318031311, -0.8478626608848572, -0.3742096424102783, 0.7115371227264404, 0.5572458505630493, 0.08395133167505264, 0.11534439027309418, -0.20896682143211365, -0.002552303019911051, -0.3123616874217987, 0.17104403674602509, -0.14843343198299408, -0.05448018014431, -0.26221519708633423, 0.7215265035629272, 0.7032860517501831, 0.025868240743875504, 0.2548361122608185, -0.26266252994537354, 0.584101676940918, -0.482023149728775, -0.6717149615287781, -1.0266355276107788, 0.0036554383113980293, -0.12860487401485443, 0.07024157047271729, 0.5148020386695862, 0.7252752184867859, 0.9078789949417114, -0.28566625714302063, 0.5774801969528198, -0.12747447192668915, 0.23886190354824066, -0.02423730492591858, 0.5995702147483826, -0.1792016625404358, 0.09515023231506348, -0.35210731625556946, -0.7514395713806152, -0.4046652019023895, 0.5440908074378967, -0.20225875079631805, -0.408052921295166, 0.8900012969970703, 0.9275643825531006, -0.37673208117485046, 0.40790507197380066, 0.12570707499980927, -0.037445321679115295, 0.19950950145721436, 0.6492722034454346, 0.47808560729026794, -0.3275667726993561, 0.6373963356018066, -0.3282402455806732, -0.15579786896705627, -0.23654800653457642, -0.8567368984222412, -0.7696635127067566, -0.6484443545341492, -0.17072775959968567, 0.009076066315174103, 0.20442023873329163, 0.9451947212219238, 0.7233582139015198, -1.089472770690918, -0.446542352437973, -0.33161938190460205, -0.3982630968093872, -0.4049457013607025, -0.1241312175989151, 0.4410684406757355, -0.3315763473510742, -0.8152049779891968, 0.6166783571243286, 0.6702597737312317, -0.21212689578533173, -0.09890791773796082, -0.01247622724622488, -0.658195436000824, -0.4254603683948517, 0.4206376075744629, 0.27525797486305237, -0.6624609231948853, -0.3186221420764923, 0.04217908903956413, -0.08759765326976776, 0.4232776165008545, 0.519092857837677, -0.8522099256515503, 0.5408496856689453, 0.646125853061676, 0.8858003616333008, 0.5026840567588806, 0.044410496950149536, 0.7058581709861755, -0.5257494449615479, 0.18119563162326813, 0.0935373455286026, 0.46708425879478455, 0.2812674045562744, -0.5424230098724365, 0.5390525460243225, 0.47239211201667786, -0.2404506653547287, -0.13185587525367737, 0.24474017322063446, -1.2321665287017822, 0.1466953009366989, 0.8230297565460205, -0.2938068211078644, -0.5273033976554871, -0.5147300362586975, -0.12222801148891449, 0.6704390048980713, -0.21166019141674042, 0.6216772794723511, 0.29709091782569885, -0.1839834302663803, 0.06631093472242355, -0.129936084151268, 0.4568684697151184, 0.36420613527297974, -0.8899038434028625, -0.4060050845146179, 0.31519815325737, 0.1926141232252121, 0.6604554653167725, 0.18217705190181732, -0.03467753902077675, 0.1831810176372528, -0.13808444142341614, 0.024143679067492485, -0.002129365922883153, -0.30985337495803833, -0.1923268586397171, 0.2101142704486847, -0.38468727469444275, -0.43318939208984375 ]
http://arxiv.org/abs/2402.02915v1
http://arxiv.org/pdf/2402.02915v1
A Computational Model for the Assessment of Mutual Intelligibility Among Closely Related Languages
2024-02-05T11:32:13
2024-02-05T11:32:13
Jessica Nieder, Johann-Mattis List
cs.CL
cs.CL
Closely related languages show linguistic similarities that allow speakers of one language to understand speakers of another language without having actively learned it. Mutual intelligibility varies in degree and is typically tested in psycholinguistic experiments. To study mutual intelligibility computationally, we propose a computer-assisted method using the Linear Discriminative Learner, a computational model developed to approximate the cognitive processes by which humans learn languages, which we expand with multilingual semantic vectors and multilingual sound classes. We test the model on cognate data from German, Dutch, and English, three closely related Germanic languages. We find that our model's comprehension accuracy depends on 1) the automatic trimming of inflections and 2) the language pair for which comprehension is tested. Our multilingual modelling approach does not only offer new methodological findings for automatic testing of mutual intelligibility across languages but also extends the use of Linear Discriminative Learning to multilingual settings.
[ -0.7617843151092529, -0.8924793004989624, 0.40537795424461365, 0.22591061890125275, -0.058198343962430954, 0.01061373669654131, -0.6342933773994446, -0.906771719455719, 0.11957693845033646, -0.10514982789754868, -0.6388049125671387, -0.19669941067695618, -0.3066268265247345, 0.2089034765958786, -0.16488145291805267, 0.508311927318573, -0.004554727114737034, 0.37200233340263367, -0.5976916551589966, -0.5525225400924683, -0.425881028175354, -0.5760118961334229, -0.36815354228019714, -0.6807535886764526, 0.5627717971801758, 0.3457774817943573, 0.6105560660362244, 0.2053833305835724, 0.6316326856613159, 0.3327972888946533, 0.05443888157606125, -0.20897753536701202, -0.49327346682548523, 0.14622721076011658, -0.15309575200080872, -0.5528878569602966, -0.17998673021793365, -0.13755156099796295, 0.4190312922000885, 1.0911591053009033, 0.020006272941827774, 0.21736827492713928, 0.12393245846033096, 0.5798502564430237, -0.27900242805480957, 0.46226584911346436, -0.505096435546875, 0.20878827571868896, 0.025767013430595398, 0.028807643800973892, -0.3819805383682251, -0.6181004047393799, 0.177510067820549, -0.7454838156700134, 0.2750544846057892, -0.16507874429225922, 0.7299041152000427, 0.2492971569299698, -0.16854025423526764, -0.2945641875267029, -0.7542316317558289, 0.5761816501617432, -0.4704097509384155, 0.8015006184577942, 0.6658304333686829, 0.3680800795555115, 0.1530928611755371, -0.4389026463031769, -0.7900710701942444, -0.4400375485420227, -0.22854721546173096, -0.021580854430794716, -0.1877865046262741, 0.25429093837738037, 0.31824856996536255, 0.24272312223911285, -0.9589802026748657, -0.18560092151165009, -0.6249783039093018, -0.1844913363456726, 0.461275190114975, -0.15545736253261566, 0.5452623963356018, 0.25838059186935425, -0.20306600630283356, -0.31361329555511475, -0.2555568516254425, 0.06857788562774658, 0.4718281924724579, 0.17927701771259308, -0.22109469771385193, 0.3694734573364258, 0.28922155499458313, 0.8961531519889832, -0.004474582150578499, -0.2669895589351654, 0.49919429421424866, -0.2732735872268677, 0.1892271488904953, -0.03868885710835457, 0.43717125058174133, 0.20348770916461945, 0.7676032781600952, -0.3439510464668274, -0.051236409693956375, 0.4974641501903534, -0.23886893689632416, -0.308447003364563, -0.2795717716217041, -0.026072151958942413, -0.4629459083080292, 0.17970925569534302, -0.2222837656736374, -0.41496923565864563, 0.26063746213912964, -0.5487071871757507, 0.48036259412765503, -0.8653719425201416, -0.5366930961608887, 0.17834554612636566, -0.22672529518604279, 0.0805547758936882, -0.2087860107421875, -0.7911756038665771, 0.4439581334590912, 0.8906189799308777, 0.6273500919342041, -0.16153091192245483, -0.7530459761619568, -0.3674841523170471, 0.16751420497894287, -0.010029636323451996, 0.587066113948822, -0.8363809585571289, -0.24374976754188538, 0.05864635109901428, -0.2334386259317398, -0.2637368440628052, -0.406330406665802, 0.3378002643585205, -0.792239248752594, 0.13800019025802612, -0.34022146463394165, -0.8689762353897095, -0.5334482192993164, 0.17043879628181458, -0.8948323130607605, 0.7799097299575806, 0.005786492954939604, -0.9881349802017212, 0.4116644561290741, -0.4776695668697357, -0.36872759461402893, 0.14672330021858215, -0.3877417743206024, -0.23979230225086212, -0.03418414667248726, -0.2044505774974823, 0.22223250567913055, -0.054053522646427155, 0.42490193247795105, -0.6565693616867065, -0.7272216081619263, -0.048550885170698166, -0.3762037754058838, 0.8078843951225281, -0.04264119267463684, -0.08512867987155914, -0.2081848680973053, -0.7363954782485962, -0.09743062406778336, -0.08429429680109024, -0.1643761694431305, -0.5895305871963501, -0.044851843267679214, -0.0011395096080377698, 0.30419689416885376, 0.3324042856693268, -0.6007088422775269, -0.08336687833070755, -0.5509516596794128, 0.1106991097331047, 0.5197708010673523, 0.03146122395992279, 0.42367616295814514, -0.4764356017112732, 0.741547167301178, -0.1881111115217209, -0.025491954758763313, 0.10780175030231476, -0.26769372820854187, -0.7283921837806702, -0.13614673912525177, 0.2962576746940613, 0.6929912567138672, -0.7036589980125427, 0.23201918601989746, -0.27320611476898193, -0.3563551902770996, -0.32284530997276306, 0.19537299871444702, 0.6420886516571045, 0.29773107171058655, 0.0834394246339798, -0.2782979905605316, -0.3858549892902374, -0.8342459797859192, -0.20085905492305756, -0.5278040766716003, 0.09394464641809464, 0.2987658679485321, 0.3126973509788513, -0.1783488243818283, 0.6366692781448364, -0.36330702900886536, 0.19952262938022614, -0.0037532560527324677, 0.1055610403418541, 0.16571953892707825, 0.25406211614608765, 0.7303275465965271, -0.6800448894500732, -0.5774112939834595, 0.19374366104602814, -0.9822477102279663, 0.05771183967590332, 0.33976784348487854, 0.18167032301425934, 0.036351509392261505, 0.7727162837982178, -0.07988253235816956, 0.15053971111774445, 0.7409144639968872, -0.2433495670557022, 0.4330039918422699, -0.5619527101516724, 0.026440657675266266, -0.6452462077140808, 0.1120103970170021, -0.13209913671016693, -0.020099475979804993, -0.6608676314353943, 0.12240977585315704, -0.021741069853305817, -0.04668193683028221, -0.24571073055267334, 0.45642319321632385, -0.475087434053421, -0.23659288883209229, -0.09113029390573502, 0.1601397544145584, -0.19947020709514618, 0.5582807064056396, -0.007600438315421343, 0.6839085221290588, 0.6110787391662598, -0.7806046605110168, 0.43296292424201965, -0.02897169254720211, -0.10956508666276932, 0.7783219814300537, -0.6901669502258301, 0.14264224469661713, -0.3986286520957947, -0.1187053844332695, -0.9417065978050232, -0.153920978307724, -0.22090977430343628, -0.510750949382782, 0.09132880717515945, 0.1417117565870285, -0.38073667883872986, -0.34100252389907837, 0.030240317806601524, 0.9073968529701233, 0.2064015418291092, -0.6356907486915588, 0.6500669121742249, 0.4312469959259033, -0.15701325237751007, -0.41258499026298523, -0.5299525856971741, -0.41410335898399353, -0.39620789885520935, -1.1644110679626465, -0.035305723547935486, -0.4394512474536896, -0.6226712465286255, -0.1294330358505249, 0.34643304347991943, -0.4801083207130432, 0.06981781125068665, 0.29939886927604675, 0.2589704990386963, -0.18250301480293274, 0.5526171326637268, 0.006900876760482788, -0.09414470195770264, 0.1706472635269165, -0.13154610991477966, 0.6740618348121643, -0.27418604493141174, -0.6429446935653687, -0.0867362767457962, 0.4484424889087677, 0.4126059114933014, -0.5099855661392212, 0.560835063457489, 0.6775403022766113, -0.3548654615879059, -0.1452893763780594, -0.5691043138504028, -0.4580807685852051, -0.47176647186279297, 0.2772350013256073, -0.9293797612190247, -1.019554615020752, 0.8075312376022339, -0.07055956870317459, -0.15227004885673523, 0.1421627551317215, 0.3729739487171173, -0.03487987071275711, 0.5791019201278687, 0.8900238275527954, -0.1955423206090927, 0.3292805254459381, 0.03204234316945076, 0.10257793962955475, -0.08493015915155411, -0.07971108704805374, -0.5676126480102539, -0.1359781175851822, -0.5276033878326416, -0.31683096289634705, 0.5592967867851257, 0.077574223279953, 0.14372199773788452, 0.38780272006988525, -0.11599510163068771, 0.6311883330345154, 0.5036055445671082, 0.0663895308971405, 0.4169894754886627, 0.16181638836860657, -0.6152065992355347, -0.20324265956878662, -0.41125866770744324, -0.032685596495866776, 0.5662744045257568, 0.23845063149929047, 0.4236963391304016, 0.1809109002351761, 0.544615626335144, 0.17422595620155334, -0.356731653213501, -0.42874082922935486, 0.2602880001068115, -0.16312627494335175, -0.4707440137863159, -0.3436216115951538, -0.35285571217536926, -0.80003422498703, 0.15217027068138123, -0.09060338139533997, -0.6421278715133667, 0.2641170024871826, 0.03753679245710373, -0.02450791373848915, 0.12420056760311127, -0.7045037746429443, 0.5586200952529907, 0.07007138431072235, -0.3331426680088043, -0.7271541357040405, -0.6418887376785278, 0.4197940230369568, -0.34223830699920654, 0.4243827164173126, -0.11349067836999893, 0.39013904333114624, 0.6664025187492371, -0.16365578770637512, 0.626761794090271, -0.16444921493530273, -0.12330665439367294, -0.0022445775102823973, 0.33210399746894836, 0.14855696260929108, -0.12706223130226135, -0.40083903074264526, 0.3683858811855316, 0.18762066960334778, -0.5409943461418152, -0.5516353845596313, 0.7075068950653076, -0.7406787872314453, -0.2765628397464752, -0.3949490785598755, -0.8112717270851135, -0.3770993649959564, 0.022401796653866768, 0.06331285834312439, 0.2171623259782791, -0.711471438407898, -0.4077853560447693, 0.7112719416618347, -0.22555314004421234, 0.5573891997337341, 0.7904421091079712, -0.2870308756828308, -0.2575235962867737, 1.0790071487426758, -0.05094142258167267, 0.46314164996147156, 0.29457712173461914, 0.0833803042769432, -0.1503496766090393, -0.1832810491323471, -0.14105388522148132, 0.5125131607055664, -0.6157167553901672, 0.32504555583000183, -0.3374359905719757, -0.0917837917804718, 0.01625054143369198, -0.29961124062538147, 0.16197800636291504, -0.5575937032699585, -0.01875297725200653, -0.14058400690555573, 0.452675461769104, 1.0734961032867432, -0.439953088760376, -0.040913138538599014, -0.579941987991333, 0.2889995574951172, 0.40005698800086975, 0.27482035756111145, 0.0530792698264122, -0.36589351296424866, -0.10286553204059601, 0.009831561706960201, 0.2237606942653656, -0.750537633895874, 0.10627347975969315, 0.5824617147445679, 0.5067636370658875, 0.4404137432575226, -0.07060030847787857, 0.7302901744842529, -0.582982063293457, 0.43376410007476807, 0.29025235772132874, -1.0797221660614014, 0.2004409283399582, -0.3167082667350769, 0.23848122358322144, 0.8877645134925842, 0.48928582668304443, -0.7092515826225281, -0.44733577966690063, -0.3827373683452606, -0.34567883610725403, 0.5222882032394409, -0.056435998529195786, -0.16151633858680725, 0.023615427315235138, 0.369058758020401, 0.2145712822675705, -0.36398935317993164, -0.5335654616355896, -0.2756345570087433, 0.2648806571960449, -0.18356992304325104, -0.36258095502853394, -0.0886135920882225, 0.046052854508161545, -0.43757161498069763, 0.5649382472038269, -0.08154142647981644, 0.11452991515398026, 0.010999104008078575, -0.27636510133743286, -0.26241493225097656, -0.016885772347450256, 0.38301584124565125, 0.8070600032806396, -0.284659206867218, 0.3184908926486969, 0.4233139157295227, -0.5492452383041382, 0.4139392375946045, 0.265015184879303, -0.10546740889549255, 0.2542601525783539, 0.6411813497543335, 0.5514690279960632, 0.14243264496326447, -0.5400668978691101, 0.5797210931777954, -0.6354448199272156, -0.12856803834438324, -0.45719772577285767, -0.045778628438711166, 0.48839524388313293, 0.16407625377178192, -0.02791183814406395, 0.08999355882406235, 0.14448508620262146, -0.24755904078483582, 0.6735268235206604, 0.45349088311195374, -0.5911310911178589, -0.4082023501396179, 0.4368070960044861, 0.2199583649635315, -0.27562543749809265, 0.42159223556518555, -0.3586096167564392, -0.5212489366531372, 0.5675336718559265, 0.6100098490715027, 0.4880050718784332, -0.5308005213737488, -0.002705850638449192, 0.6330258250236511, 0.18511167168617249, 0.1508166640996933, 0.40366363525390625, -0.23047080636024475, -0.6002534627914429, -0.496362566947937, -0.5877030491828918, -0.18621376156806946, -0.42460793256759644, -0.7549422383308411, 0.2293875366449356, 0.007155285216867924, 0.018706737086176872, 0.299851655960083, 0.045513395220041275, -0.6785920858383179, -0.054695017635822296, 0.11065884679555893, 0.8778823614120483, -1.1671175956726074, 1.219988226890564, 0.4574921131134033, -0.45143505930900574, -0.8027323484420776, 0.026213692501187325, -0.17340205609798431, -0.8842910528182983, 0.8399733901023865, 0.031247220933437347, -0.37609031796455383, -0.2267010509967804, -0.09845069795846939, -0.7089184522628784, 0.8051127791404724, 0.8741475939750671, -0.8119311332702637, -0.06335987895727158, 0.46613290905952454, 0.6691653728485107, 0.13333091139793396, 0.5936167240142822, 0.5586916208267212, 0.43685609102249146, -0.07065588980913162, -1.3258147239685059, -0.32593828439712524, -0.3802222013473511, -0.16814154386520386, 0.1871880143880844, -0.5237583518028259, 0.8325732946395874, 0.037454839795827866, -0.1275591105222702, -0.3183964192867279, 0.931628406047821, 0.10085988789796829, 0.3581741750240326, 0.8911566138267517, 0.5748680233955383, 1.046197772026062, 0.18270008265972137, 0.7198264002799988, -0.8135970830917358, 0.44605642557144165, 1.0143332481384277, -0.22387954592704773, 0.7815642356872559, 0.2899155914783478, -0.2874673902988434, 0.5139658451080322, 0.1736019253730774, 0.18136301636695862, 0.24375426769256592, 0.37913239002227783, -0.7924487590789795, -0.12275293469429016, -0.2734200060367584, -0.44619280099868774, 0.4157676100730896, 0.2544310688972473, -0.16888925433158875, -0.10688789933919907, 0.3251393139362335, 0.0023021502420306206, 0.5154147744178772, 0.04326091334223747, 0.8511580228805542, 0.11686103790998459, -0.8145346641540527, 0.8430494070053101, -0.20253600180149078, 0.7030892968177795, -0.5322965979576111, -0.19142797589302063, -0.1573626846075058, 0.3846616744995117, -0.09723535925149918, -0.5655169486999512, 0.5229672789573669, -0.17738166451454163, -0.3769057095050812, 0.3109711706638336, 0.6421288847923279, -0.7575262784957886, -0.7202616930007935, 1.1494077444076538, 0.5561050176620483, 0.28586453199386597, 0.283672571182251, -0.6229130029678345, 0.3161795735359192, 0.13929225504398346, 0.479040265083313, 0.11412036418914795, 0.3151775598526001, 0.049022164195775986, 0.5885132551193237, 0.3768990635871887, 0.07579710334539413, 0.35520854592323303, 0.27082642912864685, 0.7677412629127502, -0.37165096402168274, -0.37294095754623413, -0.8571588397026062, -0.2073514610528946, 0.19686973094940186, 0.032378293573856354, 0.7956052422523499, 0.6136643290519714, 1.1258609294891357, -0.08452461659908295, 0.7720355987548828, 0.11345931142568588, 0.5852482914924622, -0.17584384977817535, 0.6158226132392883, -0.31714051961898804, 0.0023462276440113783, -0.4274904429912567, -0.9067345857620239, -0.16115638613700867, 0.6427504420280457, -0.2540460526943207, -0.09416554868221283, 0.7256035804748535, 0.9204583764076233, -0.5151745080947876, 0.28866133093833923, 0.6332458853721619, 0.16999086737632751, 0.026595886796712875, 0.9172238111495972, 0.6484057903289795, -0.1842508465051651, 0.3777413070201874, -0.6049528121948242, -0.41206109523773193, 0.17689888179302216, -0.4290662407875061, -1.1861361265182495, -0.8947719931602478, -0.0694660097360611, -0.36542412638664246, 0.3293415307998657, 0.7964922785758972, 0.6440165638923645, -0.6486853361129761, -0.6221876740455627, -0.05525586009025574, -0.007082258816808462, -0.2290468066930771, -0.19555674493312836, 0.4192558825016022, -0.21065208315849304, -0.7470055222511292, 0.46063166856765747, 0.11123307049274445, -0.16783814132213593, -0.5009568929672241, -0.43912604451179504, -0.34577134251594543, 0.13453063368797302, 0.37106460332870483, 0.426554411649704, -0.5673942565917969, -0.07761036604642868, -0.11768276244401932, -0.010481514967978, 0.0020554191432893276, 0.6114980578422546, -0.6771752834320068, 0.8270816206932068, 0.7631736397743225, 0.42594730854034424, 0.480416864156723, -0.12272710353136063, 0.6932823657989502, -0.5966012477874756, 0.5253925919532776, 0.10179753601551056, 0.33731308579444885, 0.25209420919418335, -0.1616351455450058, 0.2988857924938202, 0.11285659670829773, -0.620018720626831, -0.47431355714797974, 0.4208472669124603, -0.8864179849624634, -0.2557627558708191, 0.7854291200637817, -0.4122592508792877, -0.2550327777862549, -0.3884068727493286, 0.0033523733727633953, 0.2838408350944519, -0.1877097338438034, 0.3490641713142395, 0.8302756547927856, 0.011812527664005756, 0.07209862023591995, -0.2851729989051819, 0.48069292306900024, 0.44316449761390686, -0.5851696133613586, -0.050138574093580246, 0.3950761556625366, 0.22095166146755219, 0.2762926518917084, 0.49271735548973083, 0.13018792867660522, 0.4366509020328522, 0.10113153606653214, 0.3455018401145935, 0.1987302601337433, -0.1949942260980606, -0.7167777419090271, 0.15303069353103638, 0.2674778699874878, -0.007775256410241127 ]
http://arxiv.org/abs/2402.02896v1
http://arxiv.org/pdf/2402.02896v1
LLM Agents in Interaction: Measuring Personality Consistency and Linguistic Alignment in Interacting Populations of Large Language Models
2024-02-05T11:05:20
2024-02-05T11:05:20
Ivar Frisch, Mario Giulianelli
cs.CL
cs.CL, cs.AI, cs.CY, cs.MA
While both agent interaction and personalisation are vibrant topics in research on large language models (LLMs), there has been limited focus on the effect of language interaction on the behaviour of persona-conditioned LLM agents. Such an endeavour is important to ensure that agents remain consistent to their assigned traits yet are able to engage in open, naturalistic dialogues. In our experiments, we condition GPT-3.5 on personality profiles through prompting and create a two-group population of LLM agents using a simple variability-inducing sampling algorithm. We then administer personality tests and submit the agents to a collaborative writing task, finding that different profiles exhibit different degrees of personality consistency and linguistic alignment to their conversational partners. Our study seeks to lay the groundwork for better understanding of dialogue-based interaction between LLMs and highlights the need for new approaches to crafting robust, more human-like LLM personas for interactive environments.
[ -0.4937886595726013, -0.7200743556022644, 0.8358429074287415, 0.3854774832725525, 0.14921656250953674, 0.12179772555828094, -0.4256822168827057, -0.6646828651428223, 0.45454710721969604, 0.6487246155738831, -0.7008345723152161, -0.38283273577690125, -0.2600863575935364, 0.21015894412994385, 0.0002963675942737609, 0.8205445408821106, -0.09630073606967926, 0.17628814280033112, -0.4385448098182678, -0.35822269320487976, -0.3899923264980316, -0.8246769309043884, -0.7819753289222717, -0.5202474594116211, 0.7331154942512512, 0.25476619601249695, 0.8709096312522888, 0.2967669665813446, 0.4494994878768921, 0.42471301555633545, -0.01497950404882431, 0.12458564341068268, -0.5797048807144165, 0.5398644804954529, -0.34398090839385986, -0.30051833391189575, -0.7011975646018982, 0.21181350946426392, 0.5779213309288025, 0.8046255707740784, -0.06046126037836075, -0.27062395215034485, 0.16106119751930237, 0.5280566811561584, -0.17737378180027008, 0.2577155530452728, -0.27774250507354736, -0.1679379791021347, -0.19295331835746765, -0.08213869482278824, -0.4296268820762634, -0.41907134652137756, 0.15964241325855255, -0.4340539872646332, 0.010016590356826782, 0.1196000725030899, 0.5830400586128235, 0.15748825669288635, -0.47953322529792786, -0.10479819774627686, -0.8555315732955933, 0.5469518303871155, -0.7146105766296387, 0.20091891288757324, 0.4137292504310608, 0.012979048304259777, -0.4217631220817566, -0.21462249755859375, -0.800378143787384, -0.5359795689582825, -0.13518816232681274, 0.16528289020061493, 0.17780885100364685, 0.3146091103553772, 0.10446654260158539, 0.16297899186611176, -0.5510430335998535, 0.387412428855896, 0.10760238766670227, -0.1593087911605835, 0.8013136982917786, 0.3750416338443756, 0.3359425663948059, 0.12002258002758026, -0.01885743997991085, -0.005765895359218121, -0.668444812297821, -0.08119536191225052, 0.8132777810096741, 0.2393607497215271, -0.10594486445188522, 0.723117470741272, -0.13727912306785583, 0.43381068110466003, 0.32701510190963745, -0.1245318278670311, 0.01913543790578842, -0.5152908563613892, 0.04111381620168686, -0.18682749569416046, 0.8846603631973267, 0.5285314321517944, 0.5316479802131653, -0.12621143460273743, -0.19286170601844788, -0.10159618407487869, 0.16467973589897156, -0.4689801335334778, -0.15281462669372559, 0.2682664394378662, -0.1690254509449005, -0.2161414623260498, 0.13053977489471436, -0.5638373494148254, -0.6592514514923096, -0.4245711863040924, 0.18719947338104248, -0.25514963269233704, -0.3930606544017792, -0.06782715022563934, 0.16809122264385223, 0.5388547778129578, 0.4036175310611725, -1.2863175868988037, 0.4872135519981384, 0.6543756127357483, 0.530768632888794, -0.365339457988739, -0.7156295776367188, -0.4992106854915619, 0.27164000272750854, -0.20148985087871552, 0.7601728439331055, -0.5355516672134399, -0.49552232027053833, 0.08487380295991898, -0.08438672125339508, -0.13981156051158905, -0.5625919699668884, 0.05704130604863167, -0.26290249824523926, 0.3133499026298523, -0.4764927327632904, -0.5811427235603333, 0.29350951313972473, 0.34397435188293457, -0.488156259059906, 0.8038672804832458, 0.3630428910255432, -0.4947809875011444, 0.2095230668783188, -0.541312575340271, -0.15545187890529633, 0.1168188527226448, -0.3887109160423279, -0.2284916788339615, 0.005629530176520348, -0.1841801404953003, 0.37779298424720764, 0.050931982696056366, 0.18749025464057922, -0.5228706002235413, -0.35179707407951355, 0.8258440494537354, -0.1529960334300995, 0.4302597641944885, -0.08634166419506073, -0.14856389164924622, 0.31390002369880676, -0.32730814814567566, -0.05896758660674095, 0.0261703971773386, -0.3775179982185364, 0.038950540125370026, 0.07355378568172455, 0.10744408518075943, 0.06041362136602402, 0.5069556832313538, -0.5522168278694153, 0.7054598927497864, -0.30355924367904663, 0.2563030421733856, 0.6986504197120667, 0.07509902864694595, 0.4719659090042114, -0.6755033135414124, 0.40461963415145874, -0.14028100669384003, -0.05778113752603531, 0.1309727281332016, -0.5166195034980774, -0.6629311442375183, -0.31537532806396484, -0.05043617635965347, 0.49998345971107483, -0.3175992965698242, 0.6435258984565735, -0.14469492435455322, -0.24848096072673798, -0.4134348928928375, 0.34267789125442505, 0.49995481967926025, 0.19315625727176666, -0.16547249257564545, -0.5971626043319702, -0.6131455898284912, -0.8515811562538147, -0.20997528731822968, -0.42348146438598633, -0.08026643097400665, 0.40886321663856506, 0.35743775963783264, -0.45967456698417664, 1.2082860469818115, -0.30084627866744995, 0.11277610808610916, -0.5688748359680176, 0.04567892476916313, -0.032752711325883865, 0.4224335849285126, 0.5209860801696777, -0.5016234517097473, -0.8258639574050903, 0.02671164460480213, -0.5974070429801941, -0.3888940215110779, 0.03979502245783806, -0.07016482204198837, 0.3846387267112732, 0.5702095627784729, -0.6689034700393677, 0.20070719718933105, 0.4779256284236908, -0.27993708848953247, 0.6026149392127991, -0.1914016455411911, 0.07272690534591675, -0.9464300870895386, -0.06679504364728928, 0.04414012283086777, -0.44906872510910034, -1.0085957050323486, -0.2038722187280655, -0.37753570079803467, 0.20435841381549835, -0.3494526743888855, 0.7546992897987366, -0.34400495886802673, -0.06700844317674637, -0.3271234631538391, 0.3849926292896271, -0.0741284117102623, 0.5019290447235107, 0.2218855768442154, 0.8949657678604126, 0.3300302028656006, -0.2984646260738373, 0.3087516725063324, 0.5646246075630188, 0.03417053446173668, 1.0363770723342896, -0.5324564576148987, 0.5900977253913879, -0.0653715580701828, 0.3307434022426605, -1.0317273139953613, -0.6413360238075256, 0.3543122708797455, -0.2777808904647827, 0.2492268979549408, 0.13277797400951385, -0.4679034352302551, 0.11493279039859772, -0.33555009961128235, 0.1702948808670044, 0.4369361400604248, -0.2576274573802948, 0.7295745015144348, 0.3159443140029907, -0.5525408387184143, -0.06623988598585129, -0.48479321599006653, 0.07787571847438812, -0.3346877992153168, -0.7490554451942444, 0.12306404858827591, -0.45444589853286743, -0.6902915239334106, -0.2881217896938324, 0.06017075851559639, -0.1602303385734558, 0.037844836711883545, 0.22472289204597473, 0.21667516231536865, -0.0696178451180458, -0.11870269477367401, -0.2977793216705322, 0.04908960685133934, 0.011974283494055271, 0.01373861450701952, 0.7941476106643677, -0.30396854877471924, -0.5324499607086182, -0.6602776646614075, 0.42348402738571167, 0.5226699709892273, 0.007935872301459312, 1.033761739730835, 0.32167354226112366, -0.10229688137769699, 0.26443320512771606, -0.6597611308097839, -0.06953313201665878, -0.512397825717926, 0.10932429879903793, -0.39569514989852905, -1.0034202337265015, 0.7777213454246521, 0.09977669268846512, -0.08543156087398529, 0.22833704948425293, 0.823874831199646, -0.39793941378593445, 0.9424863457679749, 0.7153494954109192, -0.1545221358537674, 0.4537878930568695, 0.2711506187915802, 0.1475568413734436, -0.9543994069099426, -0.2343667894601822, -0.30625587701797485, -0.28406471014022827, -0.7407366037368774, 0.02177106775343418, 0.06306286156177521, -0.21618032455444336, -0.33340173959732056, 0.09633946418762207, -0.21856413781642914, 0.6074950098991394, 0.37693890929222107, 0.06895702332258224, 0.25844064354896545, -0.531338632106781, 0.03243069350719452, -0.138060063123703, -0.0265351589769125, -0.7334649562835693, 0.8424018025398254, 0.2322387844324112, 0.7703276872634888, 0.5202392935752869, 0.781501829624176, -0.07385819405317307, 0.46150150895118713, -0.6948140263557434, 0.6782639622688293, 0.2981630861759186, -0.45161861181259155, -0.45476022362709045, -0.1997680962085724, -0.9786221981048584, -0.05692722648382187, -0.04987361282110214, -1.3818180561065674, 0.0518701896071434, 0.11919858306646347, -0.2179766148328781, -0.13730189204216003, -0.664280891418457, 0.7040020227432251, -0.12447390705347061, -0.3483222723007202, 0.05617491528391838, -0.7582414746284485, 0.22898724675178528, -0.21401168406009674, -0.23444724082946777, -0.1973252147436142, -0.04041675478219986, 0.3503737449645996, -0.36642134189605713, 1.104284405708313, 0.015010303817689419, -0.38172438740730286, 0.057081494480371475, 0.1232326477766037, 0.5432519316673279, -0.004348675720393658, -0.05817433074116707, -0.1032136008143425, 0.049386486411094666, -0.3257644772529602, -0.708129346370697, 0.7242370843887329, -1.0215243101119995, -0.9189525842666626, -0.4333154559135437, -0.8956975340843201, -0.5317361354827881, 0.051420100033283234, -0.02177944779396057, 0.11909008771181107, -0.5757840275764465, 0.1077481210231781, 0.8169891238212585, -0.03611712157726288, 0.2577416002750397, 0.6992037296295166, -0.40283727645874023, -0.28784123063087463, 0.7346076369285583, -0.12853170931339264, 0.6658757328987122, 0.25302791595458984, 0.10737978667020798, -0.2848268151283264, -0.4791051745414734, 0.09558121860027313, 0.3516154885292053, -0.512061357498169, 0.43870648741722107, -0.3737562894821167, -0.2528640031814575, -0.49986329674720764, -0.2776816785335541, -0.11781015992164612, -0.1253870278596878, -0.09660709649324417, 0.2536894679069519, 0.203559011220932, 0.9728469848632812, 0.1186021938920021, 0.5811325311660767, -0.5569468140602112, 0.0127338832244277, 0.3130139708518982, 0.3329441547393799, -0.41037899255752563, -0.31422799825668335, -0.023437878116965294, 0.011524166911840439, -0.4203554689884186, -1.0168148279190063, 0.1739993542432785, 0.21777498722076416, 0.641457736492157, 0.5009900331497192, -0.31967005133628845, 0.32456865906715393, -0.2558956742286682, 0.8642804026603699, -0.04223299026489258, -0.8773529529571533, 0.32249417901039124, -0.7327325344085693, 0.3705979585647583, 0.6337817907333374, 0.17896540462970734, -1.0147756338119507, -0.660406231880188, -0.5194064974784851, -0.4630717933177948, 0.6380995512008667, 0.2947273254394531, 0.11660800129175186, 0.05765256658196449, 0.5537868738174438, 0.03700803965330124, 0.3643113672733307, -0.7656039595603943, -0.18371208012104034, 0.06729034334421158, -0.4367133677005768, -0.3187568485736847, -0.24461157619953156, -0.41958242654800415, -0.17667526006698608, 0.30331531167030334, -0.20845358073711395, 0.3176423907279968, 0.11936500668525696, 0.043746285140514374, -0.11499851942062378, 0.2997398376464844, 0.7947872877120972, 0.5777264833450317, -0.1728586107492447, 0.07479872554540634, 0.15827323496341705, -0.49632659554481506, 0.2488686591386795, 0.02873258665204048, 0.054873861372470856, -0.34751445055007935, 0.2904979884624481, 0.5420367121696472, 0.06826245784759521, -0.6559572219848633, 0.4755711853504181, -0.2513673007488251, -0.30701884627342224, -0.3448234498500824, 0.29261088371276855, 0.3609071373939514, 0.34004536271095276, -0.14086073637008667, -0.22551757097244263, -0.24705755710601807, -0.6987123489379883, 0.03631329908967018, 0.6482945680618286, -0.1479577124118805, -0.4166695177555084, 0.43135830760002136, 0.25876304507255554, -0.702457070350647, 0.7177960872650146, -0.2505982518196106, -0.3716091811656952, 0.42854613065719604, 0.4441136419773102, 0.9660674929618835, -0.3536848723888397, 0.11926113814115524, -0.2072822004556656, 0.09210877120494843, -0.04054636135697365, 0.39012423157691956, 0.13306871056556702, -1.038030982017517, -0.345139741897583, -0.3591517508029938, -1.0963646173477173, 0.22870077192783356, -0.4825834333896637, 0.04563422501087189, -0.31036970019340515, 0.0440591461956501, -0.03729164972901344, 0.21963348984718323, -0.5492758750915527, -0.17921210825443268, 0.16953669488430023, 0.3768812119960785, -0.7611024975776672, 0.9151556491851807, 0.7739840745925903, -0.3935578465461731, -0.7146154046058655, 0.17145006358623505, 0.3343580961227417, -0.5889043211936951, 0.3908732831478119, 0.275322824716568, -0.10846125334501266, -0.015094048343598843, -0.6145132184028625, -0.7547798752784729, 0.9561202526092529, 0.462147980928421, -0.44638630747795105, 0.24894286692142487, 0.503557026386261, 0.790820300579071, -0.5106618404388428, 0.2968692481517792, 0.742279589176178, 0.6845577359199524, 0.08783917129039764, -1.1147165298461914, -0.1273455023765564, -0.3094136714935303, 0.020857373252511024, 0.19504384696483612, -0.9729495048522949, 0.4978041350841522, 0.12545077502727509, 0.11224060505628586, 0.4785423278808594, 0.8176981210708618, 0.37684160470962524, 0.15343336760997772, 0.40167155861854553, 0.3424926996231079, 1.0112115144729614, -0.18289177119731903, 0.8560724854469299, -0.3058825135231018, 0.13005205988883972, 1.2516132593154907, -0.9133800268173218, 0.6848462224006653, 0.5539982914924622, -0.17223326861858368, 0.48050323128700256, 0.5938944220542908, -0.016759157180786133, 0.254104882478714, 0.2983725070953369, -0.6354175209999084, -0.02984013594686985, -0.1956370323896408, 0.07034127414226532, 0.3777713179588318, 0.19023816287517548, 0.06536539644002914, 0.3225906491279602, -0.04489171877503395, 0.1369313895702362, 0.26305893063545227, -0.02742532081902027, 0.8433974981307983, -0.11194373667240143, -0.9053232073783875, -0.02028569206595421, -0.2595716416835785, 0.5148414969444275, -0.5308190584182739, 0.23312155902385712, -0.3925239145755768, 0.11872905492782593, -0.23841407895088196, -1.0220649242401123, 0.29333409667015076, -0.18137575685977936, -0.1361950784921646, -0.44417843222618103, 0.5323709845542908, -0.7161136269569397, 0.02086503803730011, 0.04451529309153557, 0.7478348016738892, 0.43973177671432495, 0.09557627141475677, -0.2423800677061081, 0.18284215033054352, -0.21686431765556335, -0.4423799216747284, 0.7310494780540466, 0.20549744367599487, 0.08184703439474106, 0.7033414244651794, 0.3910118341445923, -0.009724617935717106, -0.2696734368801117, 0.3181397020816803, 0.7351773977279663, -0.5207880139350891, -0.11654987186193466, -0.9428973197937012, 0.44298139214515686, -0.07371469587087631, -0.37356138229370117, 0.8451952338218689, 0.4574568569660187, 0.637257993221283, 0.011412438936531544, 0.7025961875915527, 0.01760260947048664, 0.24498717486858368, -0.4320242404937744, 0.4880223572254181, 0.006912656128406525, 0.15059535205364227, -0.09564001858234406, -1.0765907764434814, -0.023304063826799393, 0.4815279543399811, -0.3571658134460449, 0.2957473695278168, 0.6911048293113708, 0.9578850865364075, 0.21743477880954742, -0.028175698593258858, 0.3233935534954071, 0.29290369153022766, 0.5195562243461609, 0.4232421815395355, 0.9690049290657043, 0.2840907573699951, 0.10980015993118286, -0.004279407672584057, -0.20248810946941376, 0.020906999707221985, -0.9025272130966187, -1.0516306161880493, -0.6256905794143677, -0.3605651259422302, -0.37516993284225464, -0.025277383625507355, 1.1086875200271606, 0.2904735803604126, -0.46571141481399536, -0.43498319387435913, -0.07027439028024673, -0.0641140341758728, -0.05322027578949928, -0.20910193026065826, -0.105005644261837, -0.24612855911254883, -1.004721999168396, 0.41714051365852356, 0.4565967321395874, 0.31620579957962036, -0.8265175819396973, -0.3601739704608917, -0.051548123359680176, 0.3425273597240448, 0.2431776374578476, 0.44929006695747375, -0.7792590856552124, -0.5892179012298584, 0.052673835307359695, -0.3681023120880127, 0.28811416029930115, 0.6963157057762146, -0.4407240152359009, 0.2774927318096161, 0.24136026203632355, 0.3740799129009247, 0.3032715320587158, 0.15151293575763702, 0.8438822031021118, -0.8759892582893372, 0.006816543638706207, 0.08870644122362137, 0.28717169165611267, 0.5056142807006836, -0.5968381762504578, 0.3023116886615753, 0.09844176471233368, -1.019544243812561, -0.5445029139518738, 0.5322737693786621, -1.2477654218673706, 0.29656004905700684, 1.341225028038025, -0.05985943228006363, -0.0415370911359787, -0.24657776951789856, -0.518229603767395, -0.033112768083810806, -0.3418548107147217, 0.615516722202301, 1.098296880722046, -0.6331329345703125, -0.18345138430595398, -0.4542310833930969, 0.4996134638786316, 0.27571406960487366, -0.9953115582466125, -0.03338565677404404, 0.4869219660758972, 0.27172544598579407, 0.06527533382177353, 1.0113366842269897, 0.26486748456954956, -0.029301712289452553, -0.29264160990715027, 0.10800978541374207, 0.2874537408351898, -0.012948182411491871, -0.38062527775764465, -0.18350332975387573, 0.4719926118850708, 0.3172915577888489 ]
http://arxiv.org/abs/2402.02883v1
http://arxiv.org/pdf/2402.02883v1
Approximate Attributions for Off-the-Shelf Siamese Transformers
2024-02-05T10:49:05
2024-02-05T10:49:05
Lucas Möller, Dmitry Nikolaev, Sebastian Padó
cs.CL
cs.CL, cs.LG
Siamese encoders such as sentence transformers are among the least understood deep models. Established attribution methods cannot tackle this model class since it compares two inputs rather than processing a single one. To address this gap, we have recently proposed an attribution method specifically for Siamese encoders (M\"oller et al., 2023). However, it requires models to be adjusted and fine-tuned and therefore cannot be directly applied to off-the-shelf models. In this work, we reassess these restrictions and propose (i) a model with exact attribution ability that retains the original model's predictive performance and (ii) a way to compute approximate attributions for off-the-shelf models. We extensively compare approximate and exact attributions and use them to analyze the models' attendance to different linguistic aspects. We gain insights into which syntactic roles Siamese transformers attend to, confirm that they mostly ignore negation, explore how they judge semantically opposite adjectives, and find that they exhibit lexical bias.
[ -0.36668524146080017, -0.2775050699710846, 0.706728994846344, 0.029122935608029366, -0.11141704022884369, -0.24918344616889954, -0.23308902978897095, -0.31805744767189026, 0.3366785943508148, 0.5861320495605469, -0.7004250288009644, 0.1293213665485382, -0.3995412290096283, 0.14363901317119598, -0.4758610129356384, 0.9561966061592102, -0.12412115931510925, -0.1941983848810196, -0.22579728066921234, -0.11887115240097046, -0.13548295199871063, -0.4915545880794525, -0.23729529976844788, -0.36148837208747864, 0.5187863707542419, 0.41386678814888, 0.764689028263092, 0.4093005359172821, 0.6334481835365295, 0.23392373323440552, -0.0535750538110733, -0.20628075301647186, -0.1222783774137497, -0.14154033362865448, -0.39514559507369995, -0.9401856660842896, -0.47841885685920715, 0.011596948839724064, 0.6191717982292175, 0.5581728219985962, -0.16695788502693176, 0.31934770941734314, -0.07892999798059464, 0.4169425368309021, -0.8983928561210632, 0.12290804088115692, -0.9422460794448853, 0.1482202410697937, 0.13649913668632507, -0.12591779232025146, -0.6001161932945251, -0.6171296238899231, 0.15987858176231384, -0.5804734826087952, 0.24700990319252014, -0.12203647941350937, 0.8943830132484436, 0.558976948261261, -0.4771767854690552, -0.4643566608428955, -0.7463034391403198, 0.9711477756500244, -0.6384363770484924, 0.3106591999530792, 0.4295932352542877, 0.37062060832977295, 0.06890009343624115, -0.7592850923538208, -0.5063230395317078, -0.3573310971260071, -0.25866225361824036, 0.1538216769695282, -0.34873804450035095, 0.03066183626651764, 0.13781234622001648, 0.46628662943840027, -0.31859904527664185, 0.2586260437965393, -0.33707958459854126, 0.15608754754066467, 0.36572760343551636, 0.09440530091524124, -0.049749139696359634, -0.6002910137176514, -0.5343068838119507, -0.11428944021463394, -0.7059534192085266, -0.05781951919198036, 0.4597391188144684, 0.042237065732479095, -0.06763498485088348, 0.9084354639053345, 0.0039102318696677685, 0.35477644205093384, 0.145111083984375, 0.46587204933166504, -0.08579283207654953, -0.55107581615448, 0.023516705259680748, 0.3466920852661133, 0.7069640159606934, 0.3500954806804657, 0.741414487361908, -0.3377683162689209, -0.5356249809265137, 0.21800938248634338, 0.7816062569618225, -0.49289801716804504, -0.349785178899765, -0.4539032578468323, -0.2889077961444855, -0.6732891201972961, 0.03372306376695633, -0.806344211101532, -0.21100157499313354, -0.09431012719869614, 0.6420334577560425, 0.037368811666965485, -0.07460277527570724, -0.14850153028964996, -0.11185315251350403, 0.31529027223587036, -0.056342121213674545, -0.6440512537956238, 0.6209906935691833, 0.32894280552864075, 0.9559870362281799, -0.009585510939359665, 0.0739789828658104, -0.23337972164154053, 0.17603027820587158, -0.3450123965740204, 0.6362916231155396, -0.6581354141235352, -0.1947428435087204, -0.07368765771389008, 0.06912652403116226, -0.09796907007694244, -0.5803747773170471, 0.7141836285591125, -0.43687254190444946, 0.3219495713710785, -0.03524557128548622, -0.6959393620491028, -0.07555638253688812, 0.07912270724773407, -0.8779201507568359, 0.36376672983169556, 0.21611492335796356, -0.6688306927680969, 0.3653181493282318, -0.8908030986785889, -0.1738494485616684, -0.33865442872047424, 0.03342290595173836, -0.5079226493835449, 0.5331639051437378, 0.5102869272232056, 0.42254072427749634, -0.2983916699886322, 0.3580596148967743, -0.3368408977985382, -0.3322278559207916, 0.6857132911682129, -0.7014162540435791, 0.9964597225189209, 0.13441653549671173, -0.13296614587306976, -0.056406937539577484, -0.6832908391952515, -0.178812175989151, 0.23286308348178864, 0.1195368692278862, -0.19886888563632965, 0.035338807851076126, -0.08032787591218948, 0.027219729498028755, 0.01844681426882744, -0.6975195407867432, 0.26635754108428955, -0.6508030891418457, 0.6908982396125793, 0.6693561673164368, 0.07413741946220398, 0.8631013035774231, -0.24613994359970093, 0.929664671421051, -0.13383331894874573, 0.10211716592311859, -0.14970344305038452, -0.2595670819282532, -0.9422623515129089, -0.21059562265872955, 0.42961814999580383, 0.450224906206131, -0.7812337875366211, 0.5159033536911011, -0.6906652450561523, -0.7911205887794495, -0.7939797043800354, -0.14733943343162537, 0.31978777050971985, 0.25784406065940857, 0.2973691523075104, -0.5111778974533081, -0.6923705339431763, -1.0909147262573242, -0.6445322632789612, -0.410269170999527, -0.21062515676021576, -0.010640800930559635, 0.472141832113266, 0.12707410752773285, 1.3021594285964966, -0.7581521272659302, -0.5882412791252136, -0.1486297994852066, 0.04961501434445381, 0.15475572645664215, 0.4345772862434387, 0.6794487833976746, -0.6048437356948853, -0.3253355324268341, -0.2702057957649231, -0.5761977434158325, -0.15091371536254883, -0.08193080872297287, 0.3496261239051819, -0.03713969141244888, 0.6425438523292542, -0.9064533114433289, 0.4156624376773834, 0.34631481766700745, -0.000683046062476933, 0.6400941610336304, -0.00605848990380764, -0.05481339246034622, -0.9425886273384094, -0.0015719379298388958, 0.13897700607776642, -0.3882959485054016, -0.5901504158973694, 0.17265328764915466, 0.10311131179332733, -0.10161031782627106, -0.5398673415184021, 0.4851153492927551, -0.23931436240673065, -0.1064242497086525, 0.04671742022037506, -0.030965648591518402, 0.17371520400047302, 0.5850090384483337, 0.024242626503109932, 0.623080849647522, 0.1989237368106842, -0.3753061592578888, 0.5996553301811218, 0.19701822102069855, -0.7023307681083679, 0.5487378239631653, -0.8299873471260071, -0.027350474148988724, -0.004241001792252064, 0.504641592502594, -1.1015113592147827, -0.09037161618471146, 0.3877466917037964, -0.6665665507316589, 0.29542943835258484, -0.3349006175994873, -0.5295882225036621, -0.2252548485994339, -0.28253740072250366, 0.6155336499214172, 0.8284145593643188, -0.6498177647590637, 0.6405545473098755, 0.040181007236242294, -0.22898750007152557, -0.14267385005950928, -1.0045968294143677, -0.07682152092456818, -0.735078752040863, -0.25774019956588745, 0.3666214346885681, 0.36754339933395386, -0.3032047152519226, 0.2476450502872467, 0.08907908946275711, -0.27911803126335144, -0.12371394783258438, -0.03330402448773384, 0.039495956152677536, -0.6591953039169312, 0.007516607642173767, -0.12199972569942474, -0.3118414580821991, 0.33108028769493103, -0.04696044698357582, 0.07191947102546692, 0.015197274275124073, -0.38489505648612976, -0.39170408248901367, 0.012613123282790184, 0.4936748147010803, -0.12595590949058533, 0.6900700926780701, 0.3927110731601715, -0.4420726001262665, 0.15673969686031342, -0.6157935261726379, -0.4800330400466919, -0.5353080034255981, 0.5496937036514282, -0.35537534952163696, -0.1795692890882492, 0.5482597351074219, 0.5303954482078552, -0.04476138576865196, 0.5302333235740662, 0.482713520526886, 0.16818611323833466, 1.1700464487075806, 0.5650416612625122, 0.1504596769809723, 0.4180278182029724, 0.01056063361465931, 0.5702107548713684, -0.8217005729675293, 0.0048673637211322784, -0.6384404897689819, -0.11691732704639435, -0.6085614562034607, -0.21409370005130768, 0.11066661030054092, -0.03631026670336723, -0.18358761072158813, 0.8029046058654785, -0.36552542448043823, 0.3875463604927063, 0.3701569437980652, -0.007934640161693096, 0.29435819387435913, 0.23839814960956573, 0.3738163113594055, -0.4269285202026367, -0.794984757900238, -0.5158488750457764, 0.8187608122825623, 0.47916701436042786, 0.9608004689216614, 0.32098957896232605, 0.16905167698860168, 0.1943354606628418, 0.06801538169384003, -0.9063452482223511, 0.3417423963546753, -0.3280400037765503, -0.6102749705314636, 0.050176892429590225, -0.46209585666656494, -0.6564038395881653, 0.0036862289998680353, 0.23470182716846466, -0.9178733825683594, 0.16488169133663177, 0.12209262698888779, -0.2785375714302063, 0.394010990858078, -1.0567076206207275, 0.9672946929931641, 0.002514719031751156, 0.04376670718193054, 0.007869948633015156, -0.5347903966903687, 0.3391183316707611, -0.30698785185813904, 0.03228381276130676, 0.14594805240631104, -0.1599782258272171, 0.935912549495697, -0.30665963888168335, 0.8283145427703857, -0.14530515670776367, -0.2597886025905609, 0.28556498885154724, 0.1883917897939682, 0.500049352645874, -0.3327527940273285, -0.0992927998304367, -0.11156924068927765, 0.029360175132751465, -0.2083752155303955, -1.1014280319213867, 0.5933947563171387, -0.6943389773368835, -0.41531819105148315, -0.239698588848114, -0.12341556698083878, -0.17645716667175293, -0.09749961644411087, 0.6681622862815857, 0.5516189932823181, -0.060803309082984924, 0.17684206366539001, 0.11795258522033691, -0.1302940547466278, 0.2360425889492035, 0.24217288196086884, -0.11541738361120224, -0.12851235270500183, 1.0955476760864258, 0.1688975691795349, 0.6239648461341858, 0.4611125588417053, 0.11831872165203094, -0.6807066798210144, 0.09498848766088486, -0.5761943459510803, 0.18473072350025177, -1.0390554666519165, -0.25375089049339294, -0.7731484770774841, -0.24446001648902893, -0.27771586179733276, -0.6136642694473267, -0.8469933867454529, -0.7956939339637756, -0.5422065854072571, 0.054042939096689224, 0.38395923376083374, 0.8673608303070068, 0.27023711800575256, 0.5721229314804077, -0.5473823547363281, 0.1677246242761612, 0.12024859338998795, 0.4108518958091736, 0.2781902849674225, -0.9563419818878174, -0.10092765092849731, 0.3653238117694855, -0.4229501783847809, -0.8045148253440857, 0.18649230897426605, 0.5519831776618958, 0.39859700202941895, 0.38714489340782166, 0.3407532572746277, 0.9232391715049744, -0.4172447621822357, 0.9432043433189392, 0.4045640230178833, -0.994986355304718, 0.34517741203308105, 0.17308950424194336, 0.26497766375541687, 0.3346417248249054, 0.344144344329834, -0.19145508110523224, -0.552430272102356, -0.822494626045227, -0.738717257976532, 0.9347783327102661, 0.6033141016960144, 0.2513028085231781, 0.20895035564899445, 0.19280703365802765, 0.11032421141862869, 0.0411091074347496, -0.7293967008590698, -0.07125270366668701, -0.3245224356651306, -0.3966716229915619, -0.5186159610748291, -0.17829731106758118, 0.4964519739151001, -0.23355410993099213, 0.632041335105896, 0.07191701233386993, 0.514416515827179, -0.07522209733724594, -0.35958340764045715, -0.0852324590086937, 0.3970927596092224, 0.418170690536499, 0.4489065110683441, -0.28492048382759094, 0.41703325510025024, 0.34141385555267334, -0.22687660157680511, 0.4156520664691925, -0.09453004598617554, 0.016037918627262115, 0.3449450433254242, 0.34088465571403503, 0.7979171872138977, 0.39333638548851013, -0.5790786147117615, 0.7743071913719177, 0.057967834174633026, 0.19305717945098877, -0.7669022679328918, -0.06931295245885849, -0.14648793637752533, 0.11966896802186966, 0.031515032052993774, 0.3614223301410675, 0.15409903228282928, -0.5066290497779846, 0.3266350030899048, 0.12272102385759354, -1.1181033849716187, -0.4767599403858185, 0.782202422618866, -0.011260458268225193, -0.25154587626457214, 0.6350794434547424, -0.15569888055324554, -0.9602827429771423, 0.7849512696266174, 0.38775554299354553, 1.035893201828003, -0.14304840564727783, 0.05741741135716438, 0.29256054759025574, 0.4251304566860199, -0.03653036057949066, -0.539423942565918, 0.0840606838464737, -0.751436173915863, -0.4626142084598541, -0.5179607272148132, -0.06430255621671677, -0.2611813247203827, -0.9572190642356873, 0.5539527535438538, -0.0005642210599035025, -0.19136661291122437, 0.27004095911979675, -0.2549797296524048, -0.7009683847427368, -0.06293296068906784, -0.08042017370462418, 0.7018004059791565, -0.9075217843055725, 0.6009556651115417, 0.6991000771522522, -0.5481562614440918, -0.5281258821487427, -0.027820060029625893, -0.17934547364711761, -0.7368363738059998, 0.48994559049606323, 0.1723555028438568, -0.04346335306763649, 0.1239694356918335, -0.3496876060962677, -0.6670981049537659, 0.5456823706626892, 0.5110129117965698, -0.2938151955604553, -0.3439973294734955, 0.10616013407707214, 0.4160858690738678, -0.41695570945739746, 0.522107720375061, 0.6236382722854614, 0.27641719579696655, 0.11943904310464859, -1.1268844604492188, 0.017129210755228996, -0.13251855969429016, -0.027159642428159714, 0.1890254020690918, -0.0999273955821991, 0.44458436965942383, -0.23165090382099152, -0.049007583409547806, 0.30071884393692017, 0.535167396068573, -0.16120947897434235, -0.0395328626036644, 0.670843243598938, 0.28215286135673523, 0.01037933211773634, 0.13725680112838745, 1.1063534021377563, 0.22923430800437927, 0.6450589299201965, 1.133288025856018, -0.17037555575370789, 0.7552796006202698, 0.58380126953125, -0.32962414622306824, 0.32231831550598145, 0.46405041217803955, -0.33298459649086, 0.7909090518951416, 0.0945415124297142, 0.05253524333238602, -0.0450909286737442, -0.5423827171325684, -0.15450844168663025, 0.6150763630867004, 0.377813458442688, -0.7046955227851868, -0.09335219860076904, 0.08096762746572495, -0.044908307492733, -0.13740654289722443, -0.2759650647640228, 0.8396005034446716, 0.3678743839263916, -0.6934862732887268, 0.6561124920845032, 0.0287419855594635, 0.6598437428474426, -0.5593575239181519, 0.14968077838420868, 0.2254556566476822, 0.5649043917655945, -0.16784702241420746, -0.8625748157501221, 0.5501936078071594, 0.1735755354166031, -0.17062808573246002, -0.13750791549682617, 0.6451597809791565, -0.5582373142242432, -0.7208006381988525, 0.08263232558965683, -0.01881534792482853, 0.22938044369220734, -0.2954181432723999, -0.3619362413883209, -0.3345465064048767, 0.22309915721416473, -0.2510780692100525, -0.12479206919670105, 0.3522226810455322, 0.04279753193259239, 0.7809185981750488, 0.10308507084846497, 0.097629614174366, 0.3418232798576355, -0.1845806986093521, 0.5691474080085754, -0.557553768157959, -0.504696249961853, -0.8063556551933289, 0.4413161873817444, 0.1536639928817749, -0.3044115900993347, 0.5975936651229858, 0.43545278906822205, 0.8630979061126709, -0.2814250588417053, 0.6356465816497803, 0.024127062410116196, 0.22154274582862854, -0.5590479373931885, 0.6303841471672058, -1.1197972297668457, 0.10878685861825943, -0.43513718247413635, -1.4158623218536377, -0.16593022644519806, 0.7562858462333679, -0.2485896497964859, 0.08063279837369919, 0.5861683487892151, 0.8760112524032593, -0.5202004313468933, 0.38570934534072876, 0.26983872056007385, 0.29784315824508667, 0.4185456931591034, 0.5410255193710327, 1.0971837043762207, -0.545667827129364, 0.53423011302948, -0.43444880843162537, 0.15790629386901855, -0.35394424200057983, -0.8604934811592102, -0.5664811134338379, -0.5558683276176453, -0.47396931052207947, -0.022064801305532455, -0.20811721682548523, 0.9099584817886353, 0.3914788067340851, -0.7846409678459167, 0.038740821182727814, -0.16529418528079987, -0.06876862794160843, -0.004851485136896372, -0.2544817626476288, 0.3032660484313965, -0.05348064377903938, -0.5148065686225891, -0.06572026759386063, -0.08707237243652344, 0.09949491918087006, -0.5689268708229065, 0.042737819254398346, 0.04418397322297096, 0.08711322396993637, 0.511947751045227, -0.11813630163669586, -0.980181097984314, -0.451956570148468, 0.08152735233306885, -0.1388188749551773, 0.028486240655183792, 0.9898679852485657, -0.7249854803085327, 0.5036245584487915, 0.28554368019104004, 0.3453920781612396, 0.3118400275707245, -0.048122864216566086, 0.8189154863357544, -0.8414776921272278, 0.2450287640094757, 0.4401879906654358, 0.23761442303657532, 0.5007303357124329, -0.05293835699558258, 0.36183369159698486, -0.010582821443676949, -0.4715406000614166, -0.8333913683891296, 0.3573121130466461, -0.7160764336585999, -0.08962441235780716, 1.06148362159729, -0.2460964471101761, -0.13761869072914124, -0.12542030215263367, 0.14201237261295319, 0.36838260293006897, -0.22301363945007324, 0.4209744334220886, 0.7063716650009155, 0.43272778391838074, -0.21380873024463654, -0.5037915706634521, 0.3119957149028778, 0.7760487198829651, -0.1562570035457611, 0.05932311713695526, 0.08502701669931412, 0.01495850458741188, 0.21932679414749146, 0.17427591979503632, -0.026968518272042274, -0.005791868548840284, 0.07375721633434296, -0.04451534524559975, 0.3454301953315735, -0.2621169686317444, -0.3894955813884735, -0.1406068503856659, 0.20710329711437225, -0.24705617129802704 ]
http://arxiv.org/abs/2402.02872v2
http://arxiv.org/pdf/2402.02872v2
How do Large Language Models Learn In-Context? Query and Key Matrices of In-Context Heads are Two Towers for Metric Learning
2024-02-05T10:39:32
2024-06-11T12:58:51
Zeping Yu, Sophia Ananiadou
cs.CL
cs.CL, cs.LG
We investigate the mechanism of in-context learning (ICL) on sentence classification tasks with semantically-unrelated labels ("foo"/"bar"). We find intervening in only 1\% heads (named "in-context heads") significantly affects ICL accuracy from 87.6\% to 24.4\%. To understand this phenomenon, we analyze the value-output vectors in these heads and discover that the vectors at each label position contain substantial information about the corresponding labels. Furthermore, we observe that the prediction shift from "foo" to "bar" is due to the respective reduction and increase in these heads' attention scores at "foo" and "bar" positions. Therefore, we propose a hypothesis for ICL: in in-context heads, the value-output matrices extract label features, while the query-key matrices compute the similarity between the features at the last position and those at each label position. The query and key matrices can be considered as two towers that learn the similarity metric between the last position's features and each demonstration at label positions. Using this hypothesis, we explain the majority label bias and recency bias in ICL and propose two methods to reduce these biases by 22\% and 17\%, respectively.
[ -0.45193228125572205, -0.7153669595718384, 0.46778804063796997, -0.1698475182056427, -0.11106308549642563, -0.036309290677309036, -0.2953716516494751, -0.42076894640922546, -0.29913821816444397, 0.47242918610572815, -0.3715609014034271, -0.7491359710693359, -0.5090569257736206, -0.11968744546175003, -0.3157796561717987, 1.27840256690979, 0.27978911995887756, 0.08332300186157227, -0.3718624413013458, -0.3694992661476135, -0.7187782526016235, -0.7298291325569153, -0.5675333738327026, -0.25551801919937134, 0.45899781584739685, 0.649398922920227, 0.4338808059692383, 0.589332640171051, 0.47489017248153687, 0.14840397238731384, -0.22686874866485596, -0.15688548982143402, -0.7714635133743286, 0.15274296700954437, -0.3098292052745819, -0.7628488540649414, -0.14684927463531494, -0.05672132596373558, 0.8266728520393372, 0.9372528791427612, 0.31559574604034424, 0.3300395607948303, 0.4513588547706604, 0.9381652474403381, -0.6980924606323242, 0.413839727640152, -1.0582271814346313, 0.05203861743211746, -0.3787469267845154, -0.34238097071647644, -0.740723192691803, -0.050099149346351624, 0.369760662317276, -0.3323221802711487, 0.04101250320672989, 0.29695942997932434, 0.7676135301589966, 0.3323627710342407, -0.6263729929924011, -0.3521997034549713, -0.41512879729270935, 0.9343315362930298, -0.43729811906814575, 0.5521813035011292, 0.4933675229549408, 0.1486060470342636, -0.3066188097000122, -0.5748735666275024, -0.4155239760875702, -0.3524560034275055, -0.15618497133255005, -0.09616655856370926, -0.16399459540843964, 0.095049187541008, 0.5361223816871643, -0.10928606986999512, -0.36760109663009644, 0.2522219121456146, -0.400977224111557, 0.19988088309764862, 0.33574819564819336, 0.030144711956381798, 0.14272616803646088, 0.09225247800350189, -0.47127866744995117, -0.24452504515647888, -1.2230567932128906, 0.3807402551174164, -0.16125892102718353, 0.4563533067703247, 0.1414523422718048, 0.3895556926727295, -0.020322460681200027, 0.9213275909423828, 0.3245965540409088, -0.46379637718200684, 0.2683242857456207, -0.030361192300915718, -0.4076419174671173, 0.27444717288017273, 0.5483811497688293, 0.24081754684448242, 0.3668750524520874, -0.21789607405662537, -0.16945046186447144, -0.08059749752283096, 0.16568170487880707, -0.7347425222396851, -0.04929324984550476, -0.053137943148612976, -0.4716360569000244, 0.006898539140820503, 0.06264112889766693, -0.2191062718629837, -0.027835743501782417, -0.553019106388092, 0.48650139570236206, -0.38444164395332336, 0.24092857539653778, -0.15539272129535675, 0.1053163930773735, 0.21549023687839508, 0.18523713946342468, -0.6656516194343567, 0.32387566566467285, 0.6648908257484436, 0.7361087203025818, -0.35227611660957336, -0.32697606086730957, -0.7224748730659485, 0.14763101935386658, -0.3365636467933655, 0.6423947215080261, -0.6079826951026917, -0.14079056680202484, -0.06664519757032394, -0.05277223140001297, -0.10499367117881775, -0.7747274041175842, 0.3235324025154114, -0.6575228571891785, 0.08730243891477585, -0.4409944713115692, -0.7291221022605896, -0.48881465196609497, 0.15352283418178558, -0.4465738832950592, 0.8145639300346375, 0.03913525119423866, -0.9637650847434998, 0.6847293972969055, -0.5873639583587646, -0.4599088132381439, -0.06417878717184067, -0.24664343893527985, -0.26729217171669006, 0.08883904665708542, 0.021424531936645508, 0.7492522597312927, -0.2730034589767456, 0.20092548429965973, -0.3401123881340027, -0.5921940207481384, 0.6912517547607422, -0.17490257322788239, 0.9158470034599304, 0.09251179546117783, -0.46160808205604553, -0.04737935960292816, -0.579159140586853, -0.1109587624669075, -0.2542504668235779, -0.34854650497436523, -0.6450711488723755, 0.2132769227027893, 0.07410485297441483, 0.5047039985656738, -0.23984098434448242, -0.5078956484794617, 0.05534562095999718, -0.4455757141113281, 0.4198959171772003, 0.5006136894226074, 0.002907856134697795, 0.4483245015144348, -0.2101634442806244, 0.32181671261787415, 0.22525982558727264, -0.3723854124546051, -0.018923291936516762, -0.2614031434059143, -0.6226640343666077, -0.13926748931407928, 0.21798208355903625, 0.31562554836273193, -0.5184678435325623, 0.26833921670913696, -0.3373543918132782, -0.32335832715034485, -0.3747720718383789, -0.027915937826037407, 0.6972305774688721, 0.9344741106033325, 0.31320396065711975, -0.2578984498977661, -0.2532995939254761, -1.0549795627593994, -0.22418302297592163, -0.25249043107032776, -0.04324674978852272, 0.25957974791526794, 0.6074113845825195, 0.076649010181427, 1.1868382692337036, -0.442229688167572, -0.5474060773849487, -0.11619942635297775, -0.03105928935110569, 0.14016297459602356, 0.537055492401123, 0.6809878349304199, -0.8350680470466614, -0.7586244940757751, -0.033817216753959656, -0.6250777840614319, -0.06430995464324951, 0.09445904940366745, -0.048434264957904816, 0.33276909589767456, 1.026761531829834, -0.43020838499069214, 0.3502601683139801, 0.1530616581439972, -0.17731796205043793, 0.3427937924861908, 0.042723193764686584, -0.2120482176542282, -0.9989297389984131, 0.031733375042676926, 0.25354471802711487, -0.18494382500648499, -0.5724886655807495, 0.17535929381847382, 0.20346854627132416, 0.13867275416851044, -0.49044713377952576, 0.48895010352134705, -0.43417370319366455, -0.28440728783607483, -0.33341333270072937, 0.40570083260536194, -0.08307231962680817, 0.7787968516349792, -0.04343390092253685, 0.7928212285041809, 0.5448945760726929, -0.8388469815254211, -0.2703530192375183, 0.16107608377933502, -0.7025798559188843, 0.7267504930496216, -0.4078296720981598, 0.021494071930646896, -0.3697153925895691, 0.5637088418006897, -1.3838266134262085, 0.053273048251867294, 0.05436411872506142, -0.5250061750411987, 0.42854630947113037, -0.08298441022634506, -0.43025869131088257, 0.020451530814170837, -0.0008796705515123904, 0.520962655544281, 0.31474438309669495, -0.6217209696769714, -0.013055207207798958, 0.7669425010681152, 0.13039441406726837, -0.7372928857803345, -0.9008726477622986, -0.17521603405475616, -0.4679945707321167, -0.15106970071792603, 0.4643247425556183, -0.010147173888981342, -0.4186805188655853, 0.04655730724334717, 0.12241092324256897, -0.09646337479352951, 0.13002218306064606, 0.23578211665153503, 0.05432996153831482, -0.26114940643310547, 0.7196641564369202, -0.12484554201364517, 0.014945406466722488, 0.19785486161708832, -0.6131048202514648, 0.3118166923522949, -0.2058236002922058, -0.18609830737113953, -0.481050044298172, 0.09939476102590561, 0.8417961001396179, -0.19911684095859528, 0.7792326807975769, 0.35706910490989685, -0.41194096207618713, -0.21619637310504913, -0.27751779556274414, -0.2565373182296753, -0.3509380519390106, 0.7807788848876953, -0.6480593681335449, -0.9607481360435486, 0.4140608310699463, 0.10517355799674988, 0.044060975313186646, 0.4707591235637665, 0.5971110463142395, -0.12231818586587906, 1.1368664503097534, 0.6692845821380615, -0.3068375885486603, 0.4349260926246643, -0.2744465172290802, 0.28406789898872375, -1.2070705890655518, -0.14273487031459808, -0.5652379393577576, -0.6073524355888367, -0.7467131614685059, -0.14729206264019012, 0.657390832901001, 0.15579773485660553, -0.3643423616886139, 0.3029822111129761, -0.39387086033821106, 0.49949732422828674, 0.5612902641296387, 0.1595063954591751, 0.11456797271966934, 0.027266545221209526, -0.2845921814441681, -0.1963227242231369, -0.7599064707756042, -0.12580537796020508, 1.083701729774475, 0.2790015637874603, 0.6308289766311646, 0.006602031644433737, 0.2600565552711487, 0.0998838022351265, 0.30475494265556335, -0.9792096018791199, 0.33750003576278687, -0.10410462319850922, -0.5649617314338684, -0.24026983976364136, -0.15104052424430847, -0.9509943723678589, 0.5468884110450745, -0.13771258294582367, -0.9440351724624634, 0.09303266555070877, 0.10617285966873169, -0.28854936361312866, 0.26900336146354675, -0.5309453010559082, 0.8663772940635681, -0.10249000042676926, -0.31018146872520447, -0.3062722980976105, -0.9003157615661621, 0.3131594657897949, -0.0777592733502388, 0.13991238176822662, 0.09009021520614624, 0.11404303461313248, 0.6998628973960876, -0.06592947244644165, 0.8879663944244385, -0.07765918970108032, 0.0796184167265892, 0.18836252391338348, 0.1004767045378685, 0.3596345782279968, -0.0238067414611578, 0.16139724850654602, 0.048168230801820755, -0.20195432007312775, -0.2130490094423294, -0.6109449863433838, 0.5372166037559509, -0.6538412570953369, -0.43794524669647217, -0.28180980682373047, -0.7173135280609131, -0.37515950202941895, -0.059762872755527496, 0.4515995979309082, 0.7593259215354919, -0.06457503139972687, 0.7863010764122009, 0.8767653107643127, -0.1763506829738617, 0.3381386995315552, 0.5074418187141418, -0.1832132339477539, 0.02590716816484928, 0.649153470993042, 0.4125281274318695, 0.49639517068862915, 0.882290244102478, 0.10614140331745148, -0.2980493903160095, -0.44479548931121826, -0.1256563365459442, 0.19043521583080292, -0.927571177482605, -0.30474305152893066, -0.7905847430229187, -0.16563239693641663, -0.14578314125537872, -0.20019613206386566, -0.0801951214671135, -0.34102514386177063, -0.20753349363803864, -0.12687192857265472, 0.13651323318481445, 0.6658015847206116, 0.3514938950538635, 0.4338747560977936, -0.43560704588890076, -0.1787262111902237, 0.07036737352609634, 0.04196161404252052, 0.33525633811950684, -0.7920446991920471, -0.5077154636383057, -0.017835689708590508, -0.291615754365921, -0.6805776953697205, 0.4201214611530304, 0.3435627222061157, 0.35056591033935547, 0.5836575031280518, 0.002502004848793149, 0.7082091569900513, -0.5758119225502014, 0.509871780872345, -0.11773775517940521, -0.9189924597740173, 0.23440100252628326, -0.15817119181156158, 0.6071418523788452, 0.6138043403625488, 0.4672839343547821, -0.8251160979270935, -0.6038069128990173, -0.5100137591362, -0.6514008045196533, 0.9011173248291016, -0.08934143930673599, -0.1150188148021698, -0.08252506703138351, 0.33963754773139954, 0.22093088924884796, 0.22614271938800812, -0.8191654682159424, -0.282645583152771, 0.2792547643184662, -0.1813138872385025, -0.20055176317691803, -0.2540135681629181, 0.11237132549285889, -0.36694470047950745, 0.5824503898620605, -0.28566473722457886, 0.21509288251399994, 0.04781027510762215, -0.4546900987625122, 0.05939562991261482, 0.13244809210300446, 0.7311866879463196, 1.0227108001708984, -0.33910733461380005, 0.2197241336107254, 0.3374086618423462, -0.22974801063537598, -0.12592755258083344, -0.40743646025657654, -0.31972289085388184, -0.05872543901205063, 0.4162636399269104, 1.0677263736724854, 0.5721229910850525, -0.6198863983154297, 0.5060091614723206, 0.09867627918720245, 0.07566402107477188, -0.3278161287307739, -0.1903427541255951, 0.01230717170983553, 0.13077962398529053, 0.45877134799957275, 0.0219084732234478, 0.2397148460149765, -0.7531027793884277, 0.3653230667114258, 0.6297818422317505, -0.7634953260421753, -0.3715437054634094, 0.6419804692268372, -0.2181369960308075, -0.05650252848863602, 0.5829143524169922, -0.046094443649053574, -0.6917712092399597, 0.6293381452560425, 0.8988544344902039, 0.828165590763092, 0.035379935055971146, 0.014902313239872456, 0.4710637629032135, 0.07773735374212265, 0.15783943235874176, -0.2318073809146881, -0.30195415019989014, -0.7599837183952332, -0.25269386172294617, -0.47234028577804565, -0.27593088150024414, 0.19157324731349945, -0.7781397104263306, 0.16547004878520966, -0.2505340576171875, 0.010801748372614384, 0.06599117070436478, -0.052504200488328934, -0.6788737177848816, 0.301401287317276, 0.13364911079406738, 0.7415754199028015, -0.7759789228439331, 1.0589419603347778, 0.6564079523086548, -0.31472164392471313, -0.6856350302696228, 0.3328821063041687, 0.020646773278713226, -0.7242259979248047, 1.3061407804489136, 0.44937559962272644, -0.16788993775844574, 0.003976976498961449, -0.6547027230262756, -1.208558440208435, 0.8609606027603149, 0.30519241094589233, -0.39850127696990967, 0.013469927944242954, 0.03433515131473541, 0.5346732139587402, -0.7580400109291077, 0.27009788155555725, 0.48013052344322205, 0.19873642921447754, -0.1443169265985489, -0.9331928491592407, -0.07835762202739716, 0.1198311373591423, 0.09213104844093323, 0.1116715669631958, -0.6979138255119324, 0.972456693649292, 0.009866091422736645, -0.2359127253293991, -0.3996656835079193, 0.685785174369812, 0.23841291666030884, 0.17341944575309753, 0.5185315012931824, 0.35002899169921875, 0.7449836730957031, 0.03294019401073456, 1.0315165519714355, -0.35260143876075745, 0.3502064347267151, 1.0782196521759033, -0.30969175696372986, 1.0994371175765991, 0.44687578082084656, -0.04866105690598488, 0.669930100440979, 0.7158403992652893, 0.35298699140548706, 0.6387832760810852, 0.21918940544128418, 0.05111188441514969, 0.04865847900509834, -0.14482995867729187, -0.11027644574642181, 0.7613896131515503, 0.6820517778396606, -0.393999308347702, -0.13057561218738556, 0.38833510875701904, 0.31082683801651, -0.05105048418045044, -0.4399750530719757, 0.7967104911804199, 0.22787411510944366, -1.0280449390411377, 0.7619614005088806, -0.08925115317106247, 0.44206392765045166, -0.38902077078819275, 0.11496797949075699, -0.09410504996776581, 0.531385600566864, -0.031085675582289696, -0.7614903450012207, 0.12209425866603851, -0.30514851212501526, -0.4073316156864166, -0.024793699383735657, 0.49056491255760193, -0.6858096122741699, -0.1785728633403778, 0.24064669013023376, 0.1745578944683075, 0.23247919976711273, -0.16769513487815857, -0.6230201721191406, -0.19516833126544952, 0.00039441819535568357, -0.04764566943049431, 0.5961459875106812, 0.432176798582077, -0.35121679306030273, 0.6912676095962524, 0.2225184589624405, -0.028050053864717484, -0.03340044245123863, -0.22020933032035828, 0.6424497365951538, -0.5127516984939575, -0.6679572463035583, -0.9072818756103516, 0.17839227616786957, 0.08069100975990295, -0.44265618920326233, 0.6735913157463074, 0.45542412996292114, 1.4408081769943237, -0.07479007542133331, 0.6137036085128784, 0.14644519984722137, 0.585440456867218, -0.7127317190170288, 0.6844549179077148, -0.7537292838096619, -0.07701383531093597, -0.2270570695400238, -1.1395243406295776, -0.4642973840236664, 0.5715879201889038, -0.29388830065727234, -0.09759256988763809, 1.0170276165008545, 0.7365802526473999, -0.0920717716217041, -0.31471961736679077, 0.3455307185649872, 0.3960845172405243, 0.21658508479595184, 0.7785307168960571, 0.4714325964450836, -0.2812504768371582, 0.335683673620224, -0.09647127240896225, -0.15283869206905365, -0.3948163092136383, -0.5926764607429504, -0.9727677702903748, -0.9553871750831604, -0.20104537904262543, -0.315386563539505, 0.08706306666135788, 1.0528348684310913, 0.7996150255203247, -0.8957241773605347, -0.5727021098136902, 0.009016244672238827, 0.09868212044239044, -0.2710402011871338, -0.27727454900741577, 0.7608947157859802, -0.5832520127296448, -0.7620980143547058, 0.23803041875362396, 0.4315548539161682, -0.43389901518821716, -0.17896097898483276, 0.09891115128993988, -0.34455230832099915, -0.2575322687625885, 0.8236616253852844, 0.2753368020057678, -0.9166501760482788, -0.3866759240627289, -0.10842110961675644, -0.40395140647888184, 0.3613605201244354, 0.6829839944839478, -1.0771985054016113, 0.4087546467781067, 0.4974357783794403, 0.7596665024757385, 0.3795962929725647, 0.08190613240003586, 0.45110803842544556, -0.9336665868759155, 0.26410815119743347, 0.04860280454158783, 0.2752230167388916, 0.3241524398326874, -0.34007588028907776, 0.3627477288246155, 0.19500869512557983, -0.7370532155036926, -0.707696259021759, 0.33403506875038147, -0.769032895565033, -0.4516025185585022, 1.0562807321548462, -0.029264336451888084, -0.4283338785171509, -0.04999307915568352, -0.2615868151187897, 0.27189937233924866, -0.19684579968452454, 0.8530463576316833, 0.7563980221748352, -0.19774027168750763, 0.06947510689496994, -0.67255038022995, 0.6785444617271423, 0.4754166007041931, -0.39041438698768616, -0.060397032648324966, 0.3897520899772644, 0.22226561605930328, 0.12344931066036224, 0.4206749200820923, -0.03702700510621071, 0.20813536643981934, -0.3894004225730896, -0.08117461949586868, 0.33154457807540894, -0.4711964428424835, -0.3335769474506378, 0.3626157343387604, 0.1634293645620346, -0.3118245005607605 ]
http://arxiv.org/abs/2402.02864v1
http://arxiv.org/pdf/2402.02864v1
EEVEE: An Easy Annotation Tool for Natural Language Processing
2024-02-05T10:24:40
2024-02-05T10:24:40
Axel Sorensen, Siyao Peng, Barbara Plank, Rob van der Goot
cs.CL
cs.CL, cs.HC
Annotation tools are the starting point for creating Natural Language Processing (NLP) datasets. There is a wide variety of tools available; setting up these tools is however a hindrance. We propose EEVEE, an annotation tool focused on simplicity, efficiency, and ease of use. It can run directly in the browser (no setup required) and uses tab-separated files (as opposed to character offsets or task-specific formats) for annotation. It allows for annotation of multiple tasks on a single dataset and supports four task-types: sequence labeling, span labeling, text classification and seq2seq.
[ -0.7368868589401245, -0.7674071192741394, 0.30882006883621216, 0.5689475536346436, -0.18306615948677063, -0.14817796647548676, -0.3782272934913635, -0.7387459874153137, 0.45959872007369995, 0.6128904819488525, -0.7014099955558777, -0.5674787163734436, -0.47525838017463684, 0.4175432324409485, -0.41455546021461487, 0.8134949803352356, 0.3155807852745056, -0.2645642161369324, 0.009794987738132477, -0.1858784705400467, -0.7275024652481079, -0.11813725531101227, -0.9618749618530273, -0.24722003936767578, 0.629311203956604, 0.4488866925239563, 0.35118475556373596, 0.4322129786014557, 0.4652806520462036, 0.314008891582489, 0.23592780530452728, 0.1575792282819748, -0.1824844628572464, 0.5322535634040833, 0.019022155553102493, -0.5440553426742554, -0.31665563583374023, 0.13969624042510986, 0.08594413101673126, 0.924934446811676, 0.05428706482052803, 0.29241588711738586, 0.15981896221637726, 0.5494096279144287, -0.5946032404899597, -0.007895623333752155, -0.24605879187583923, 0.08553361892700195, -0.4992961883544922, -0.019990362226963043, -0.32336023449897766, -0.6865829229354858, 0.3131997883319855, -1.0160387754440308, 0.03691262751817703, 0.1365044265985489, 0.6422246098518372, 0.4592370092868805, -0.35049182176589966, -0.2129364013671875, -0.5799255967140198, 0.54549241065979, -0.32120993733406067, 0.44557031989097595, 0.2989116907119751, 0.3997734785079956, -0.10671749711036682, -1.0002509355545044, -0.6012033820152283, 0.014619282446801662, -0.1001184731721878, -0.13739052414894104, 0.15569967031478882, 0.1912662237882614, 0.42915308475494385, 0.19137689471244812, -0.5099343061447144, 0.1394267976284027, 0.03417729213833809, -0.24338427186012268, 0.44593140482902527, -0.05828588828444481, 0.44507938623428345, -0.23205505311489105, -0.27791252732276917, -0.11751803755760193, -0.15793739259243011, 0.0007340465672314167, 0.034984931349754333, 0.4202636778354645, 0.34757915139198303, 0.7285033464431763, -0.13638091087341309, 0.6545230746269226, -0.17127381265163422, -0.0037481579929590225, 0.3719123601913452, 0.15876664221286774, -0.5931375026702881, 0.1553262621164322, 0.5599437952041626, 0.35797300934791565, 0.18932291865348816, -0.2835959494113922, 0.0011709841201081872, 0.23770952224731445, 0.2613891363143921, -0.6095713376998901, -0.2760763168334961, 0.46542125940322876, -0.20885667204856873, -0.18678569793701172, -0.06203746050596237, -0.991970956325531, -0.6784297823905945, -0.6467461585998535, 0.3265707790851593, -0.6504021883010864, 0.1756616234779358, 0.19899770617485046, -0.44602227210998535, 0.24692818522453308, 0.6165484189987183, -0.6871787309646606, 0.7172858119010925, 0.549140453338623, 0.7612103819847107, -0.06856120377779007, -0.2527082562446594, -0.7824337482452393, -0.007745535112917423, 0.08113591372966766, 1.1054680347442627, -0.5941352844238281, -0.3751833140850067, -0.03952972963452339, 0.06227411702275276, -0.0708499401807785, -0.07651589810848236, 0.8877905011177063, -0.16746467351913452, 0.2155655324459076, -0.23864193260669708, -0.9401807188987732, -0.6317519545555115, 0.02844010852277279, -1.0330010652542114, 1.528731346130371, -0.21765631437301636, -0.8086745142936707, 0.6807819604873657, -1.0466972589492798, -0.47351664304733276, 0.6149669289588928, -0.14983229339122772, 0.14773951470851898, 0.0381302535533905, 0.3054662048816681, 0.5572023391723633, -0.17641718685626984, -0.17168740928173065, -0.013673461973667145, -0.1100258007645607, -0.26708242297172546, -0.16707168519496918, 0.8932175636291504, 0.19078321754932404, -0.5026383399963379, -0.207665354013443, -1.0709301233291626, 0.198144793510437, 0.07650502771139145, -0.3758811950683594, -0.6721758842468262, 0.08398336172103882, 0.603827178478241, 0.04857450723648071, 0.19968844950199127, -0.713654637336731, 0.5355921983718872, -0.45436879992485046, 0.08518947660923004, 0.3797855079174042, 0.035707026720047, 0.3306090235710144, 0.12926286458969116, 0.33024609088897705, -0.49163222312927246, -0.01922796666622162, -0.2531092166900635, -0.881729006767273, -0.7543671727180481, -0.4538763761520386, 0.3994201123714447, 1.0178536176681519, -0.5179373621940613, 0.592848002910614, -0.0909879058599472, -0.6680941581726074, -0.6929745078086853, 0.07586418837308884, 0.019419968128204346, 0.23028427362442017, 0.40311217308044434, -0.05143887177109718, -0.6778270602226257, -1.1006816625595093, -0.36041754484176636, 0.19997620582580566, -0.1522500365972519, -0.11725004017353058, 0.4686051905155182, -0.1880410611629486, 1.2008191347122192, -0.5671553611755371, -0.34491240978240967, -0.05770578980445862, 0.7498601675033569, -0.10126213729381561, 0.2945406138896942, 0.43243545293807983, -0.9542047381401062, -0.47311875224113464, 0.18199004232883453, -0.5732261538505554, -0.5678065419197083, -0.13810278475284576, -0.13044318556785583, 0.05236626788973808, 0.3421482443809509, -0.4422697424888611, 0.4537033140659332, 0.31447526812553406, -0.40629953145980835, 0.10213325917720795, 0.05822455883026123, 0.3057660162448883, -0.8267066478729248, 0.1981886625289917, 0.21905572712421417, -0.5067752003669739, -0.7785317897796631, -0.17193618416786194, 0.022352194413542747, -0.028307434171438217, -0.33170589804649353, 0.509704053401947, -0.3167378604412079, 0.25962573289871216, -0.083792544901371, 0.3935420513153076, 0.22674939036369324, 0.2149399220943451, 0.2050842046737671, 0.523093581199646, 0.5291218161582947, -0.5804083943367004, 0.3640943467617035, 0.3290621340274811, 0.04544951766729355, 0.5756170153617859, -0.3376055955886841, 0.4101238250732422, -0.25263530015945435, -0.38478973507881165, -0.7230561375617981, -0.3571268916130066, 0.09162366390228271, -0.2669237554073334, 0.2837403118610382, 0.02544979937374592, -0.3144442141056061, -0.23073850572109222, -0.6227657198905945, -0.14113961160182953, 0.23808234930038452, -0.6235362887382507, 0.7479830980300903, 0.5213668942451477, -0.29673343896865845, -0.3426576256752014, -0.7831531763076782, 0.2846326231956482, -0.30303701758384705, -0.7897602319717407, 0.30359598994255066, -0.059513021260499954, -0.15269100666046143, 0.09724356979131699, 0.10124053061008453, -0.2567046880722046, 0.0403343103826046, 0.41534897685050964, 0.0159742571413517, -0.025235557928681374, 0.29914095997810364, -0.0912894681096077, -0.11648223549127579, -0.3290250301361084, 0.0028900185134261847, 0.2901837229728699, -0.1377425491809845, -0.2040930986404419, -0.15205056965351105, 0.6892072558403015, 0.1836777925491333, -0.24434196949005127, 0.3583827614784241, 0.5986810922622681, -1.006374478340149, -0.4936003088951111, -0.8589345216751099, 0.050115395337343216, -0.4311676621437073, 0.25487852096557617, -0.36452141404151917, -0.8050200343132019, 0.3134399950504303, -0.24943716824054718, 0.423104852437973, 0.44844958186149597, 0.2509617209434509, -0.1982143670320511, 0.6450161337852478, 0.748855471611023, 0.23161202669143677, 0.2583034634590149, 0.14822044968605042, 0.3207274377346039, -0.6579198837280273, -0.3839869201183319, -0.7611709237098694, -0.2637098729610443, -0.39083757996559143, -0.32449576258659363, -0.014436599798500538, 0.14346152544021606, 0.03449461609125137, 0.46326714754104614, -0.9109092950820923, 0.6612223982810974, 0.7136877775192261, -0.34259510040283203, 0.03226619213819504, -0.09557375311851501, 0.24755364656448364, -0.2582622170448303, -0.39953505992889404, -1.051706314086914, 0.8245333433151245, 0.2318085879087448, 0.5545941591262817, -0.23313184082508087, 0.9943055510520935, 0.3904295265674591, 0.09856563806533813, -0.7023255228996277, 0.7800818681716919, -0.13048957288265228, -0.5180220603942871, -0.510519802570343, 0.237184077501297, -0.9556164145469666, 0.13018439710140228, -0.5908756852149963, -1.2418864965438843, 0.2975933849811554, 0.11055228859186172, -0.5045466423034668, 0.14059078693389893, -1.1943236589431763, 1.059998631477356, -0.012268483638763428, -0.23773637413978577, 0.23261116445064545, -0.377085417509079, 0.16056779026985168, 0.003054609289392829, 0.2530367374420166, -0.31226488947868347, -0.10334201902151108, 0.9637048244476318, -0.272892564535141, 0.8813155293464661, -0.3402855396270752, 0.38969308137893677, 0.3901190161705017, 0.29691198468208313, 0.5044037103652954, 0.18897029757499695, 0.18971680104732513, -0.026326950639486313, 0.11078253388404846, -0.12301317602396011, -0.3406355679035187, 0.5335691571235657, -0.3063282072544098, -0.38323500752449036, -0.46494996547698975, -0.10040697455406189, -0.04394932836294174, 0.2550187408924103, 0.11259480565786362, 0.290733277797699, -0.34714919328689575, 0.06719499826431274, 0.6896625757217407, -0.15121427178382874, 0.6239722967147827, 0.06110689789056778, -0.44721463322639465, -0.19671647250652313, 0.5538190007209778, 0.21905314922332764, -0.3210104703903198, 0.2348291575908661, -0.0740794762969017, -0.23189719021320343, -0.2519778311252594, -0.1481669843196869, -0.19975507259368896, -0.9321062564849854, -0.06530072540044785, -0.6242467761039734, 0.15642772614955902, -0.12414174526929855, -0.4735923409461975, -0.5265819430351257, -0.6347677707672119, 0.09005008637905121, -0.15200287103652954, 0.6597069501876831, 0.865389883518219, 0.05502016842365265, 0.08095616847276688, -0.7163456678390503, 0.4965340793132782, 0.7374138832092285, 0.3135814070701599, -0.5590811371803284, 0.3347097337245941, -0.17045672237873077, -0.3134467899799347, -0.08496295660734177, -1.2542781829833984, 0.24095655977725983, 0.49979329109191895, 0.45893606543540955, 0.029095636680722237, -0.26000648736953735, 0.38328611850738525, -0.6084712147712708, 1.0753957033157349, 0.11974947154521942, -1.005086898803711, 0.9792457222938538, 0.0226425901055336, -0.10955982655286789, 0.7308071851730347, 0.21634434163570404, -0.7086809277534485, -0.30725497007369995, -0.29524919390678406, -1.060557246208191, 0.49514082074165344, 0.41687244176864624, -0.4493163228034973, -0.33628901839256287, 0.35451287031173706, 0.5706509351730347, 0.09362445026636124, -0.6295424103736877, -0.5359739065170288, -0.27575093507766724, -0.15802334249019623, 0.232958123087883, -0.10364307463169098, 0.01885710097849369, -0.1725427806377411, 0.7673624753952026, -0.22193603217601776, 0.3053245544433594, 0.5379853844642639, -0.25340649485588074, 0.12435472011566162, 0.3180526793003082, -0.048363491892814636, 0.22276081144809723, -0.4077345132827759, 0.11801657825708389, 0.3552633225917816, -0.7231019139289856, -0.02774779498577118, 0.327082097530365, -0.12495308369398117, 0.14399832487106323, 0.3089907169342041, 0.7608389258384705, 0.0007409386453218758, -0.5280945301055908, 0.470472514629364, -0.13564200699329376, -0.06772071123123169, -0.44396907091140747, 0.039983589202165604, 0.31827735900878906, 0.14686058461666107, 0.12999168038368225, 0.2061442881822586, 0.6503907442092896, -0.10982012003660202, 0.15110985934734344, 0.006574728060513735, -0.1892404407262802, -0.1339414119720459, 0.8808695673942566, 0.5058478116989136, -0.4707525372505188, 0.41681209206581116, -0.610313892364502, -0.09978213906288147, 0.4190593361854553, 0.2687751352787018, 1.3536146879196167, -0.15825337171554565, 0.21304500102996826, 0.2963758707046509, 0.5540344715118408, -0.01063484512269497, 0.49542665481567383, 0.3606034815311432, -0.5404743552207947, -0.982001006603241, -0.630770206451416, -0.24314753711223602, 0.04526883363723755, -0.750074565410614, 0.5810550451278687, -0.11451592296361923, -0.24078354239463806, 0.6392703056335449, -0.18151000142097473, -1.326784610748291, 0.41399648785591125, 0.5940846800804138, 1.132463812828064, -0.9973724484443665, 0.8231967091560364, 1.2699087858200073, -0.43536436557769775, -0.5289556980133057, -0.34336793422698975, 0.19285398721694946, -0.5153449177742004, 0.6690061688423157, 0.5519374012947083, -0.12027053534984589, -0.08875449001789093, -0.3325682580471039, -0.545129120349884, 1.0685584545135498, 0.1977539360523224, -0.7544543743133545, 0.07467593252658844, 0.05537235364317894, 0.2912840247154236, -0.27550050616264343, 0.21466293931007385, 0.9509892463684082, 0.9471260905265808, -0.6189607381820679, -0.8879824876785278, 0.03267528489232063, -0.4381971061229706, -0.004919322207570076, 0.4025091528892517, -0.049425121396780014, 0.45645788311958313, 0.297270804643631, -0.28713515400886536, -0.5331462025642395, 0.3700520992279053, -0.3775613307952881, 0.19877910614013672, 0.7578021883964539, 0.7399206757545471, 1.1367374658584595, -0.3388496935367584, 1.025671124458313, 0.02363014407455921, 0.20630508661270142, 1.0277695655822754, -0.3129613399505615, 0.7135451436042786, 0.5866259932518005, -0.3054760694503784, 0.2758171558380127, 0.4884023666381836, 0.08684388548135757, 0.22606681287288666, -0.05949278548359871, -0.28463172912597656, -0.3115079402923584, -0.010814005509018898, 0.10095711797475815, 0.2791214883327484, 0.4253879189491272, 0.38540181517601013, -0.2634581923484802, 0.31309762597084045, -0.012552667409181595, 0.19993358850479126, -0.28096410632133484, 0.6976637244224548, -0.0658271536231041, -0.35095903277397156, -0.0997881218791008, -0.2259785681962967, 0.6378874778747559, -0.6010902523994446, -0.3436039686203003, 0.24899767339229584, -0.39638739824295044, -0.4698230028152466, -0.9751697778701782, 0.3793383836746216, -0.012901585549116135, -0.10945083945989609, 0.018035681918263435, 0.9869283437728882, -0.1974828541278839, -0.28915631771087646, 0.3403158187866211, 0.5439609289169312, 0.07476285099983215, -0.24159076809883118, -0.5612779855728149, -0.06286806613206863, 0.19955825805664062, -1.065669059753418, -0.15102753043174744, 0.6481167078018188, 0.004714498296380043, 0.6337996125221252, 0.41682106256484985, 0.15246334671974182, 0.507593035697937, 0.13217346370220184, 0.6061018109321594, -0.9660577774047852, -0.4101255238056183, -0.6892030239105225, 0.8875144124031067, -0.5262163281440735, -0.5147930383682251, 0.5602009296417236, 0.5500857830047607, 0.41875767707824707, -0.01978265307843685, 1.2017110586166382, -0.6452568769454956, 0.8369858860969543, -0.4305197596549988, 0.056996043771505356, -0.32891643047332764, 0.1389976590871811, -0.10965261608362198, -1.2151914834976196, -0.7165305018424988, 0.8329273462295532, -0.0327787846326828, -0.21706125140190125, 1.0518467426300049, 0.4737716615200043, 0.09828631579875946, 0.5209370851516724, 0.13859166204929352, 0.021940330043435097, 0.2812943458557129, 0.3699696660041809, 0.37039220333099365, -0.22016184031963348, 0.24602645635604858, -0.6392971873283386, -0.23766519129276276, -0.05580009147524834, -1.1258411407470703, -1.0244522094726562, -0.6026981472969055, -0.5757778882980347, 0.17029863595962524, -0.15975405275821686, 1.4602882862091064, 0.6190471053123474, -0.775641679763794, 0.18306246399879456, -0.10966141521930695, -0.37166473269462585, -0.2833913266658783, -0.22287830710411072, 0.4189983606338501, -0.6696706414222717, -1.0292731523513794, 0.5723749399185181, 0.6091349124908447, -0.11980817466974258, -0.02298353798687458, 0.1618138551712036, -0.37791964411735535, 0.03903231769800186, 0.5886706709861755, 0.3549198806285858, -0.5406992435455322, -0.5731330513954163, -0.32495638728141785, 0.002454818459227681, 0.045634686946868896, 0.571071982383728, -0.7551180124282837, 0.8416299819946289, 0.38402995467185974, 0.77159184217453, 0.5386084914207458, -0.40465879440307617, 0.4308784008026123, -1.0412659645080566, 0.36192750930786133, 0.36109739542007446, 0.5392451286315918, 0.2685299813747406, -0.3404824733734131, 0.8152072429656982, 0.017273180186748505, -0.7525566816329956, -0.6121689677238464, -0.12806275486946106, -1.2180089950561523, -0.19611971080303192, 0.8685050010681152, 0.025089068338274956, -0.2753966152667999, -0.45647576451301575, -0.8384038805961609, 0.1761154979467392, -0.42384687066078186, 0.27273640036582947, 0.8976354598999023, -0.26957330107688904, 0.14448916912078857, -1.1213226318359375, 0.7348806262016296, 0.1358887404203415, -0.9626713395118713, -0.06197194382548332, 0.4320744276046753, 0.0806172788143158, 0.4337867200374603, 0.45788145065307617, 0.400064617395401, 0.07561412453651428, 0.18321654200553894, 0.919736921787262, -0.05998075753450394, -0.07085088640451431, -0.08592773973941803, 0.35482338070869446, 0.3023431897163391, -0.39597228169441223 ]
http://arxiv.org/abs/2402.02844v1
http://arxiv.org/pdf/2402.02844v1
Comparing Knowledge Sources for Open-Domain Scientific Claim Verification
2024-02-05T09:57:15
2024-02-05T09:57:15
Juraj Vladika, Florian Matthes
cs.CL
cs.CL, cs.AI, cs.IR
The increasing rate at which scientific knowledge is discovered and health claims shared online has highlighted the importance of developing efficient fact-checking systems for scientific claims. The usual setting for this task in the literature assumes that the documents containing the evidence for claims are already provided and annotated or contained in a limited corpus. This renders the systems unrealistic for real-world settings where knowledge sources with potentially millions of documents need to be queried to find relevant evidence. In this paper, we perform an array of experiments to test the performance of open-domain claim verification systems. We test the final verdict prediction of systems on four datasets of biomedical and health claims in different settings. While keeping the pipeline's evidence selection and verdict prediction parts constant, document retrieval is performed over three common knowledge sources (PubMed, Wikipedia, Google) and using two different information retrieval techniques. We show that PubMed works better with specialized biomedical claims, while Wikipedia is more suited for everyday health concerns. Likewise, BM25 excels in retrieval precision, while semantic search in recall of relevant evidence. We discuss the results, outline frequent retrieval patterns and challenges, and provide promising future directions.
[ -0.0022591601591557264, -0.5327590107917786, 0.8920878171920776, 0.07529378682374954, -0.01433558203279972, -0.150735542178154, -0.25449055433273315, -0.7619301080703735, 0.11930513381958008, 0.19496336579322815, 0.21788480877876282, -0.4861122965812683, -0.7114278078079224, 0.43833863735198975, -0.1885834038257599, 0.7823275327682495, -0.2613255977630615, 0.2392268180847168, -0.6938225626945496, -0.11544238030910492, -0.1433451920747757, -0.2194949835538864, -0.19243241846561432, -0.4526945650577545, 0.5057905912399292, 0.1463092863559723, 0.5950332283973694, 0.1868400126695633, 0.8004103302955627, 0.2001638263463974, 0.0028271442279219627, 0.5451095104217529, -0.2578047811985016, 0.18768908083438873, -0.5390917658805847, -0.29582467675209045, -0.13189689815044403, -0.0046600583009421825, 0.3945438265800476, 0.5254606008529663, 0.09170150756835938, 0.21023134887218475, -0.2527584433555603, 0.39703434705734253, -1.0275299549102783, 0.18560785055160522, -0.5628608465194702, 0.12449604272842407, -0.2559797465801239, -0.23321367800235748, -0.6174999475479126, -0.7407694458961487, 0.3288280665874481, -0.5980561375617981, 0.3565877676010132, 0.2786089777946472, 1.128480076789856, 0.0403040312230587, -0.6217280626296997, -0.4444452226161957, -0.6563664674758911, 0.503243625164032, -0.6109426021575928, 0.6429557204246521, 0.4355631172657013, 0.35686150193214417, -0.051858264952898026, -0.9055291414260864, -0.48849183320999146, -0.3204837739467621, -0.33639734983444214, 0.280746728181839, -0.34976786375045776, -0.05843797326087952, 0.3935534358024597, 0.30673596262931824, -0.9818553328514099, -0.10517913848161697, -0.6188464760780334, -0.5680067539215088, 0.423437237739563, -0.42072242498397827, 0.1513049155473709, -0.24528659880161285, -0.26327618956565857, -0.18594327569007874, -1.0352758169174194, -0.08634123206138611, 0.021151119843125343, 0.08599374443292618, 0.266934335231781, 0.7918235063552856, -0.566312313079834, 0.7778598070144653, -0.1824827939271927, -0.14313971996307373, 0.40362703800201416, -0.385087251663208, -0.18676607310771942, 0.3264657258987427, 0.6084384322166443, 0.5936347842216492, -0.050407081842422485, -0.2914574444293976, 0.10946428030729294, -0.009344657883048058, 0.322516530752182, -0.836525022983551, -0.09979929029941559, 0.4032396674156189, -0.5836367011070251, 0.19981513917446136, -0.001115336548537016, -0.552712619304657, -0.4764745533466339, -0.021346110850572586, 0.6234192252159119, -0.6175193190574646, 0.05912335216999054, 0.27233174443244934, -0.5072919726371765, -0.2192779779434204, 0.39971837401390076, -0.29456454515457153, 0.1999681144952774, 0.5282313823699951, 0.8335700035095215, -0.2519581615924835, 0.06448886543512344, -0.649836003780365, 0.14373049139976501, -0.3680568337440491, 1.0778465270996094, -0.28077301383018494, -0.10798341035842896, 0.17656192183494568, -0.008290115743875504, -0.0037218716461211443, -0.8025516867637634, 1.009101390838623, -0.7656773924827576, 0.11106131970882416, -0.593803882598877, -0.6386910676956177, 0.04375341162085533, 0.17761068046092987, -0.5588667392730713, 0.6527439951896667, 0.02018432877957821, -0.9171547293663025, 0.6942200064659119, -0.60528564453125, -0.3508991301059723, 0.22013695538043976, -0.2792704403400421, -0.3599698841571808, 0.12839746475219727, -0.14234206080436707, 0.34699004888534546, -0.34938204288482666, -0.06047310307621956, -0.3948766589164734, -0.16117694973945618, 0.294411301612854, 0.03938208520412445, 0.6072179079055786, 0.4479420781135559, -0.35477760434150696, -0.44856956601142883, -0.6814975738525391, 0.04171287268400192, 0.2547239363193512, -0.5173375606536865, -0.8502770662307739, 0.05925743281841278, -0.38320985436439514, -0.21226008236408234, 0.14102958142757416, -1.3858906030654907, 0.1134384348988533, -0.17867021262645721, 0.30125752091407776, 0.2272462099790573, 0.01827634871006012, -0.10485776513814926, -0.5189319252967834, -0.10451218485832214, 0.1268056482076645, 0.16676491498947144, -0.05861200392246246, -0.6772471070289612, -0.08626975119113922, -0.2556500732898712, 0.7478837370872498, 0.42473098635673523, -0.6215953826904297, 0.19328363239765167, -0.38180533051490784, -0.1891271471977234, -0.6332308053970337, -0.3397149443626404, 0.3378807306289673, 0.6558260321617126, 0.6667231321334839, -0.31768113374710083, -0.4204089343547821, -0.8346794843673706, -0.5079898238182068, -0.3466194272041321, -0.40409138798713684, 0.5033778548240662, 0.5635719895362854, -0.08321110159158707, 0.9973611235618591, -0.7421907782554626, -0.06666921079158783, 0.6050415635108948, -0.04211195558309555, 0.05141185224056244, 0.08694053441286087, 0.49363940954208374, -0.918778121471405, -0.4233110547065735, 0.26840323209762573, -0.9282934069633484, -0.13411816954612732, 0.4726313054561615, 0.08641187101602554, 0.11102347820997238, 0.21392206847667694, -0.803463876247406, 0.5199172496795654, 0.29156872630119324, -0.48455971479415894, 0.6825281381607056, -0.34612610936164856, 0.5324015617370605, -0.37820982933044434, 0.31547924876213074, -0.1175236627459526, -0.25159746408462524, -0.2511172890663147, 0.042499199509620667, 0.44140851497650146, 0.150340273976326, -0.276822954416275, 0.3775079548358917, -0.4199036657810211, -0.06287719309329987, 0.07501455396413803, 0.027105078101158142, 0.17215648293495178, -0.21368685364723206, -0.1593143194913864, 0.6242581009864807, 0.11554225534200668, -0.5545405745506287, 0.1994953602552414, 0.3294285535812378, -0.7408114075660706, 0.7500603199005127, -0.6965944170951843, -0.0356719009578228, -0.16329050064086914, 0.4087647795677185, -0.8383448123931885, -0.4619957506656647, -0.05319909378886223, -0.5022065043449402, 0.016847288236021996, 0.21668417751789093, -0.6804221272468567, -0.6821890473365784, -0.14532560110092163, 0.0328030101954937, 0.3340175151824951, -0.7597137093544006, 0.27414894104003906, 0.35258322954177856, -0.33938950300216675, -0.743334174156189, -0.3666958212852478, 0.07826609909534454, 0.009501570835709572, -0.45864608883857727, 0.6000136733055115, -0.011999228037893772, -0.59218829870224, 0.25280287861824036, -0.4157043993473053, 0.09553946554660797, -0.028757106512784958, 0.2360237091779709, 0.13415110111236572, -0.1768912374973297, 0.16674242913722992, 0.2029494196176529, 0.28605917096138, 0.10139274597167969, -0.48954707384109497, -0.04414554312825203, -0.011528038419783115, -0.7794735431671143, 0.15908585488796234, 0.45275527238845825, 0.46089690923690796, -0.2295135259628296, 0.5525401830673218, 0.13234278559684753, -0.6085570454597473, 0.036204319447278976, -0.8219365477561951, -0.05837284028530121, -0.34712550044059753, -0.018343552947044373, -0.17685307562351227, -0.8371061682701111, 0.3916950523853302, -0.360691100358963, 0.3523466885089874, 0.6489719152450562, 0.45833560824394226, -0.116251640021801, 0.6659548282623291, 0.004020812921226025, 0.5887758731842041, -0.0713479071855545, -0.12234717607498169, 0.25004157423973083, -0.4643017053604126, -0.5309447646141052, -0.9460998177528381, 0.09259219467639923, -0.19854430854320526, -0.5563205480575562, 0.7318277955055237, 0.03809163719415665, -0.2962230443954468, 0.46941128373146057, -0.44340381026268005, 0.4918521046638489, 0.6178014874458313, 0.6190171241760254, 0.9518448114395142, 0.08124548941850662, -0.7334383726119995, 0.17070074379444122, -0.5752559900283813, -0.4209763705730438, 1.233548879623413, 0.27249178290367126, 0.4269263744354248, 0.2899039089679718, 0.5420822501182556, 0.5066192150115967, 0.6931597590446472, -0.44617387652397156, 0.19201944768428802, -0.2860721945762634, -0.8513165712356567, -0.12393687665462494, -0.4982196092605591, -1.1452245712280273, 0.28578048944473267, -0.4345439672470093, -0.4243369996547699, 0.3697143495082855, -0.18625204265117645, -0.5509162545204163, 0.11903795599937439, -0.6488407254219055, 0.3915106952190399, -0.200829416513443, -0.32301464676856995, -0.2680075168609619, -0.6432337164878845, 0.2651348114013672, -0.16361552476882935, 0.10032887756824493, 0.12735028564929962, 0.25829577445983887, 0.552302896976471, -0.36402416229248047, 0.41003379225730896, -0.10734441876411438, -0.026842806488275528, 0.32092636823654175, -0.12571698427200317, 0.3125151991844177, 0.17770199477672577, -0.3384808897972107, 0.2776234447956085, 0.33641085028648376, -0.3981320559978485, -0.4277406334877014, 0.5286194086074829, -0.7367971539497375, -0.5151085257530212, -0.5699381232261658, -0.16349509358406067, -0.32159316539764404, 0.5010634660720825, 0.3430594205856323, 0.23812268674373627, -0.4898242652416229, 0.502124011516571, 0.9707244634628296, -0.28354552388191223, 0.006213872693479061, 1.0473307371139526, 0.0024065712932497263, -0.3855592906475067, 0.6440455317497253, 0.31252607703208923, 0.07120057195425034, 0.35878828167915344, 0.3192456364631653, -0.30062565207481384, -0.6503264307975769, -0.4298889636993408, 0.2688460052013397, -0.5569983720779419, -0.6599926948547363, -0.8779287934303284, -0.07176326960325241, -0.709021806716919, 0.26040250062942505, -0.19450780749320984, -0.27114132046699524, 0.265438437461853, -0.1685837060213089, 0.3926599323749542, 0.7862515449523926, -0.20809990167617798, -0.3820367157459259, -0.7814350128173828, 0.4434525966644287, 0.2914384603500366, 0.6628504991531372, -0.44202110171318054, 0.016967415809631348, -0.3901219666004181, 0.1395018845796585, -0.45168572664260864, -0.8236059546470642, -0.06702104210853577, 0.06233464553952217, 0.8830190300941467, 0.4002823531627655, 0.3625401556491852, 0.1736011654138565, -0.7655889987945557, 0.6089951992034912, 0.13323384523391724, -0.3455387055873871, 0.5011594891548157, -0.16764484345912933, -0.1194935142993927, 0.658645510673523, 0.9358933568000793, -0.3495481014251709, -0.16862615942955017, -0.6782127022743225, -0.5047159790992737, 0.1654459685087204, 0.1631515771150589, -0.5205764174461365, -0.21187151968479156, 0.42285552620887756, 0.3701135814189911, -0.12480885535478592, 0.020290803164243698, -0.09289948642253876, -0.05223356559872627, -0.03880496695637703, 0.0848909392952919, 0.16244909167289734, -0.6635358929634094, 0.10871686786413193, 0.5114836096763611, -0.19672325253486633, 0.5189278721809387, 0.8466300964355469, -0.03138561546802521, -0.32738813757896423, 0.15933454036712646, 0.4360159933567047, 0.5655762553215027, -0.45541107654571533, 0.41164326667785645, -0.0032749571837484837, -0.6874421238899231, 0.10212007164955139, 0.24082784354686737, -0.4407092332839966, 0.5420563220977783, 0.24981853365898132, 0.5739108920097351, 0.25389331579208374, -0.8348284959793091, 0.5290610790252686, -0.154185488820076, -0.45185837149620056, 0.0348949134349823, 0.0030076580587774515, 0.1200122982263565, 0.25340327620506287, 0.6015271544456482, 0.23463782668113708, 0.30480048060417175, -0.575324296951294, 0.35969236493110657, 0.3128882348537445, 0.027235161513090134, -0.023301253095269203, 0.6350016593933105, 0.055819232016801834, -0.17173834145069122, 0.3379782438278198, -0.021306557580828667, -0.08898188173770905, 0.5123056769371033, 0.3511267304420471, 0.25116318464279175, 0.0032002199441194534, 0.18035107851028442, 0.34139174222946167, 0.012777021154761314, -0.4334474503993988, 0.11237706243991852, 0.03333640471100807, -0.5843542218208313, -0.49221354722976685, -0.4930519461631775, -0.9807986617088318, 0.06668055802583694, -0.45573610067367554, 0.16636629402637482, -0.06858447939157486, -0.4126920998096466, 0.38321825861930847, 0.24150794744491577, -0.6560070514678955, 0.05538367107510567, -0.08357434719800949, 1.2971805334091187, -0.8645653128623962, 0.5237758755683899, 0.7408810257911682, -0.37345632910728455, -0.33253028988838196, 0.07714393734931946, 0.0818687230348587, -0.5983839631080627, 0.7667416334152222, -0.13113175332546234, 0.12238249182701111, -0.374260812997818, -0.766101598739624, -0.7626798152923584, 1.143112063407898, 0.4983905851840973, -0.21506251394748688, -0.04228423908352852, -0.09594540297985077, 0.6527174711227417, -0.20177927613258362, 0.2818859815597534, 0.15839403867721558, 0.515411376953125, 0.26732876896858215, -1.2377489805221558, 0.13462969660758972, 0.007426380645483732, -0.4508281946182251, -0.20239537954330444, -0.5980814695358276, 0.7591456174850464, -0.3220793604850769, -0.07904557138681412, -0.08745081722736359, 0.813971221446991, 0.6306684017181396, 0.9361298680305481, 0.45014241337776184, 0.6128709316253662, 1.1414755582809448, -0.01871003769338131, 0.97263503074646, -0.24337664246559143, 0.4561034142971039, 0.8200908899307251, -0.6004625558853149, 0.8707742094993591, 0.19350485503673553, -0.435215562582016, 0.6075626015663147, 0.7696178555488586, 0.05873337388038635, 0.5902985334396362, 0.4218081533908844, -0.31532931327819824, 0.059535812586545944, -0.38376277685165405, -0.5896618366241455, 0.086208276450634, 0.5036957263946533, -0.38924798369407654, -0.3858645260334015, 0.08597017079591751, 0.05978919565677643, -0.04658474773168564, -0.07910867035388947, 0.5872941017150879, -0.02699732780456543, -1.0462543964385986, 0.5459437966346741, -0.06310916692018509, 0.44068965315818787, -0.5079691410064697, -0.07414696365594864, -0.04323817417025566, 0.21313947439193726, -0.386352002620697, -0.6837372779846191, 0.2287326455116272, 0.019160309806466103, -0.1332029402256012, -0.0710388794541359, 1.2311733961105347, -0.2900491952896118, 0.1526966691017151, 0.17624181509017944, 0.5213295221328735, 0.30454882979393005, -0.08846762776374817, -0.3472866714000702, -0.20276565849781036, -0.340945303440094, -0.14369213581085205, 0.43736976385116577, 0.4298023581504822, -0.08671552687883377, 0.37426963448524475, 0.6802331209182739, 0.3594329059123993, -0.04336566850543022, -0.2783457040786743, 0.8167494535446167, -0.07803352177143097, -0.07605079561471939, -0.2773536443710327, -0.12999999523162842, -0.38242441415786743, -0.03489409387111664, 0.806526243686676, 0.708429753780365, 0.9234950542449951, -0.20262391865253448, 0.9386760592460632, -0.23504532873630524, 0.7889264225959778, -0.41129109263420105, 0.7920696139335632, -0.34107282757759094, -0.32192814350128174, -0.01829664595425129, -0.46258699893951416, -0.3636656403541565, 0.5581368803977966, -0.1650998890399933, -0.256244033575058, 1.0478770732879639, 0.4267691671848297, -0.059277426451444626, 0.26603466272354126, 0.09463084489107132, 0.37487566471099854, 0.17265097796916962, 0.4048709273338318, 0.55795818567276, -0.41963881254196167, 0.1867249459028244, -0.06409160047769547, -0.42322421073913574, -0.47306397557258606, -0.8794568777084351, -0.4933381676673889, -0.4121156632900238, -0.41589486598968506, -0.9890307784080505, 0.39606234431266785, 0.7654116749763489, 0.662228524684906, -1.0180364847183228, 0.37339767813682556, 0.2892933785915375, 0.047929082065820694, -0.3766845464706421, -0.09758417308330536, 0.3548811078071594, -0.11333039402961731, -0.3515017628669739, 0.5443608164787292, 0.12280391901731491, -0.22472237050533295, 0.01768355816602707, 0.04268627613782883, -0.4117906987667084, 0.18969520926475525, 0.5596912503242493, 0.5636021494865417, -0.40363749861717224, -0.4056244492530823, 0.31741863489151, -0.4579943120479584, -0.026682956144213676, 0.923190712928772, -0.806401789188385, 0.3555343747138977, 0.8123637437820435, 0.8054597973823547, 0.5650442838668823, -0.07499070465564728, 0.29625412821769714, -0.38118183612823486, -0.6339429020881653, 0.1799723356962204, 0.5444657206535339, 0.12092103809118271, -0.3028206527233124, 0.7178311944007874, 0.603706419467926, -0.7519497275352478, -0.853131115436554, -0.12963096797466278, -0.8785375952720642, -0.38066235184669495, 0.9578192830085754, -0.49011650681495667, -0.11043257266283035, -0.3552812337875366, 0.05054476112127304, 0.254485547542572, -0.28026464581489563, 1.059906005859375, 0.7496522665023804, -0.1542859822511673, 0.695620059967041, -0.7486013770103455, 0.3958898186683655, 0.3138458728790283, -0.6726753115653992, 0.08175797015428543, 0.4801753759384155, 0.40886422991752625, 0.7176902294158936, 0.6186841726303101, -0.3978390395641327, 0.435418963432312, -0.22506804764270782, 0.011195618659257889, -0.0329652838408947, -0.2464490383863449, -0.0160830095410347, 0.46052566170692444, -0.21011409163475037, 0.03511619567871094 ]
http://arxiv.org/abs/2402.02837v1
http://arxiv.org/pdf/2402.02837v1
With a Little Help from my (Linguistic) Friends: Topic Segmentation of Multi-party Casual Conversations
2024-02-05T09:48:07
2024-02-05T09:48:07
Amandine Decker, Maxime Amblard
cs.CL
cs.CL
Topics play an important role in the global organisation of a conversation as what is currently discussed constrains the possible contributions of the participant. Understanding the way topics are organised in interaction would provide insight on the structure of dialogue beyond the sequence of utterances. However, studying this high-level structure is a complex task that we try to approach by first segmenting dialogues into smaller topically coherent sets of utterances. Understanding the interactions between these segments would then enable us to propose a model of topic organisation at a dialogue level. In this paper we work with open-domain conversations and try to reach a comparable level of accuracy as recent machine learning based topic segmentation models but with a formal approach. The features we identify as meaningful for this task help us understand better the topical structure of a conversation.
[ -0.7097721099853516, -1.152787208557129, 0.499695748090744, 0.1348079890012741, -0.31644901633262634, 0.21646350622177124, -0.11151814460754395, -0.45780330896377563, 0.41845762729644775, 0.4975627660751343, -0.6548806428909302, -0.4441428780555725, -0.35565224289894104, -0.2511094808578491, -0.26960283517837524, 0.8877150416374207, 0.3577149212360382, 0.07821821421384811, -0.23732832074165344, -0.48184099793434143, -0.4128452241420746, -0.7863233089447021, -0.8628436326980591, -0.1037890687584877, 0.5038412809371948, 0.631489098072052, 0.3876875638961792, 0.3035134971141815, 0.341083288192749, 0.37707194685935974, -0.6230522990226746, 0.28157275915145874, -0.6598641276359558, 0.3537885248661041, -0.33301371335983276, -0.6351356506347656, -0.35226213932037354, 0.0012248504208400846, 0.4366862177848816, 1.0229641199111938, -0.23032207787036896, -0.2138247787952423, 0.026328125968575478, 0.4401446580886841, -0.22799351811408997, 0.3107680082321167, -0.6760544776916504, -0.04826938733458519, -0.4892832636833191, -0.1981370598077774, -0.30380260944366455, 0.16233710944652557, 0.3611927628517151, 0.12313330918550491, 0.4582717716693878, -0.07601845264434814, 0.8528656363487244, -0.18459120392799377, -0.4297385513782501, -0.2609608471393585, -0.839744508266449, 0.5160062313079834, -0.26327982544898987, 0.10170156508684158, 0.15814486145973206, 0.16325144469738007, -0.1717858612537384, -0.5058169364929199, -0.14952802658081055, 0.17632435262203217, -0.10886044055223465, -0.23334406316280365, 0.13246414065361023, 0.12654638290405273, -0.21674132347106934, 0.44072863459587097, -0.176126167178154, -0.09644655883312225, -0.3823959231376648, 0.23552346229553223, 0.5534347295761108, 0.3046165406703949, 0.3408918082714081, -0.19725123047828674, -0.15309517085552216, 0.5045409798622131, -0.40274283289909363, 0.06294261664152145, 0.17675679922103882, 0.275481641292572, -0.03435781970620155, 0.42874258756637573, -0.5211009383201599, 0.5948290824890137, 0.21915678679943085, -0.25339779257774353, -0.24395456910133362, -0.6586775183677673, 0.1643311232328415, 0.0004342856991570443, 0.41059184074401855, 0.3205079138278961, 0.3338468670845032, -0.03435273468494415, 0.26733288168907166, -0.30081403255462646, 0.044878531247377396, -0.6875028014183044, -0.3892503082752228, 0.30715084075927734, -0.6769278645515442, -0.20311732590198517, 0.37383097410202026, -0.6179836392402649, 0.010782246477901936, -0.35263413190841675, -0.24046620726585388, -0.23515254259109497, -0.08790089190006256, -0.05738624930381775, -0.10173797607421875, 0.195914164185524, 0.6045839190483093, -0.695793092250824, 0.6517058610916138, 0.9121124148368835, 0.9663368463516235, -0.1946420818567276, -0.0036149986553937197, -0.5112322568893433, 0.5083117485046387, -0.06382100284099579, 1.0022828578948975, -0.669056236743927, -0.46051648259162903, -0.38549506664276123, 0.23111464083194733, -0.04152970388531685, -0.2281908094882965, 0.44361865520477295, -0.38192179799079895, 0.49349313974380493, -0.007218521554023027, -0.5151544809341431, -0.10401793569326401, 0.3423583209514618, -0.2501963973045349, 0.4729298949241638, -0.3819974660873413, -0.9041216969490051, 0.38848236203193665, -0.913364827632904, -0.3822767436504364, 0.0795980915427208, -0.3421453535556793, -0.20536884665489197, 0.1990961879491806, 0.2457498162984848, 0.5520351529121399, -0.15182079374790192, 0.42703187465667725, -0.4214393198490143, -0.02573959343135357, 0.5238986611366272, -0.3068563938140869, 0.3865123689174652, 0.23644675314426422, -0.04643979296088219, 0.5544270873069763, -0.6525880694389343, -0.2051590532064438, -0.15795695781707764, 0.19861634075641632, -0.7389706969261169, 0.3956151604652405, -0.11315251141786575, 0.19412219524383545, 0.06147154048085213, -0.35403719544410706, 0.19173966348171234, -0.40814584493637085, 0.6562127470970154, 0.5221042037010193, 0.7118871808052063, 0.5862035751342773, -0.08586464822292328, 0.1373041570186615, 0.17800414562225342, 0.2544400990009308, -0.30266475677490234, -0.8767873644828796, -0.8339752554893494, -0.5015168190002441, 0.4240700602531433, 0.45623454451560974, -0.5161079168319702, 0.40204840898513794, 0.06948603689670563, -0.464328408241272, -0.09031694382429123, -0.35253190994262695, 0.24760738015174866, 0.21179983019828796, -0.031093481928110123, -0.47871124744415283, -0.18439431488513947, -0.7213321924209595, -0.12769833207130432, -0.13836342096328735, 0.02228061482310295, 0.7516823410987854, 0.22992214560508728, -0.04612206667661667, 1.242301344871521, -0.9000964164733887, -0.07346314936876297, -0.34114688634872437, 0.4906232953071594, 0.09845232218503952, 0.45941683650016785, 0.22200307250022888, -1.0675073862075806, -0.6893017292022705, 0.09889356046915054, -0.4118626117706299, 0.2984715700149536, -0.03314002603292465, -0.3868468403816223, 0.07185345888137817, 0.46808454394340515, -0.6054194569587708, 0.4870959222316742, -0.18037685751914978, -0.35622528195381165, 0.002309180796146393, -0.28846728801727295, 0.1858121156692505, -1.043258547782898, -0.33700984716415405, -0.01828720048069954, -0.10302697122097015, -0.9460439085960388, -0.07721563428640366, -0.4007910490036011, -0.5053684115409851, -0.417296826839447, 0.5630417466163635, -0.30847322940826416, -0.024106336757540703, -0.10278500616550446, 0.18291734158992767, -0.137934610247612, 0.589878499507904, 0.4198625385761261, 0.5132117867469788, 0.5655040144920349, -0.7013320922851562, -0.08816859871149063, 0.539361834526062, -0.35634106397628784, 0.6758422255516052, -0.676071047782898, 0.4254131019115448, -0.02056141011416912, 0.11844983696937561, -1.2577375173568726, -0.5039745569229126, 0.511154294013977, -0.34309104084968567, 0.3151814937591553, -0.41853147745132446, -0.14859402179718018, 0.14362645149230957, -0.034174904227256775, 0.3854324519634247, 0.027730854228138924, -0.231979638338089, 0.15665476024150848, 0.952122151851654, -0.5828074216842651, -0.20343495905399323, -0.1338568478822708, 0.11923526227474213, -0.452422171831131, -1.162022590637207, 0.537617564201355, 0.11325295269489288, -0.7693126797676086, -0.17790000140666962, -0.06745526939630508, -0.6572434306144714, 0.034764036536216736, 0.4156181812286377, -0.13557399809360504, -0.2166932076215744, -0.012111196294426918, -0.07487168163061142, -0.18813802301883698, -0.23293323814868927, -0.1409856528043747, 0.7946199774742126, -0.16537776589393616, -0.2618786692619324, -0.39591026306152344, 0.7637746334075928, 0.39257189631462097, -0.44034522771835327, 0.9689505696296692, 0.3883395195007324, -0.07849349081516266, -0.24087083339691162, -0.3648504912853241, -0.1262344866991043, -0.48488566279411316, 0.21968042850494385, -0.7514743804931641, -0.9608075022697449, 0.6690923571586609, -0.18194346129894257, -0.24527201056480408, 0.32381725311279297, 0.4360072910785675, -0.316826194524765, 0.8731521964073181, 0.7456905245780945, 0.1702478677034378, 0.45538678765296936, 0.10522535443305969, 0.3574954569339752, -0.3325679302215576, -0.4986426830291748, -0.7222229242324829, -0.24683023989200592, -0.5618967413902283, -0.6652541160583496, 0.05293918773531914, 0.21443909406661987, 0.41408711671829224, 0.07555406540632248, -0.2856391668319702, 0.5663399696350098, 0.3091716766357422, 0.12794229388237, 0.06863643229007721, 0.021476255729794502, 0.45040163397789, 0.06528909504413605, -0.6709567904472351, -0.5635786652565002, 0.4074768126010895, 0.4814559817314148, 0.8247334957122803, -0.13292278349399567, 0.7945263981819153, 0.09780103713274002, -0.09764259308576584, -0.8614296317100525, 0.767355740070343, -0.1346743106842041, -0.5879051089286804, -0.5501817464828491, -0.4322444498538971, -0.8520723581314087, 0.25867339968681335, 0.2318628877401352, -1.0270683765411377, 0.5136894583702087, -0.4062589406967163, -0.09921852499246597, 0.14949533343315125, -0.5324209928512573, 0.9534491300582886, 0.10348338633775711, -0.08496971428394318, -0.19943606853485107, -0.7531237602233887, 0.36646318435668945, 0.24558274447917938, 0.33044883608818054, -0.45552143454551697, 0.06486872583627701, 0.8777648210525513, -0.44398751854896545, 0.7983368635177612, -0.05940409377217293, -0.013187983073294163, 0.6324450373649597, -0.17903314530849457, -0.09775776416063309, 0.43274006247520447, 0.25086766481399536, 0.3663052022457123, 0.10497336834669113, -0.48086991906166077, -0.4577028453350067, 0.32637450098991394, -0.7334421873092651, -0.71151202917099, -0.1844315528869629, -0.47175464034080505, -0.14314153790473938, -0.20173870027065277, -0.007466185837984085, 0.7647430896759033, -0.730676531791687, 0.33045387268066406, 0.7851094603538513, 0.012157886289060116, 0.4294520318508148, 0.4577232003211975, 0.06147181615233421, -0.22773484885692596, 0.9454383850097656, -0.06576711684465408, 0.19965414702892303, 0.58439040184021, 0.15976206958293915, -0.08171446621417999, -0.6128765940666199, -0.1218726634979248, 0.11565020680427551, -0.8716484904289246, 0.2598015367984772, -0.9477250576019287, -0.03042750060558319, -0.23820027709007263, 0.08168897032737732, -0.21338197588920593, -0.6498897671699524, -0.2276686131954193, 0.10524369031190872, 0.06364795565605164, 0.699306070804596, 0.19882725179195404, 0.43089547753334045, -0.9095696806907654, 0.3947790563106537, 0.35775744915008545, -0.08612361550331116, -0.38776150345802307, -0.3197541832923889, 0.04169851541519165, -0.2403431087732315, -0.21215122938156128, -0.8680570721626282, 0.2729937434196472, 0.519783079624176, 0.6364471912384033, 0.6817574501037598, -0.03800438344478607, 0.6640273332595825, -0.714343249797821, 0.9827284216880798, -0.03278258815407753, -0.9554949998855591, 0.8910249471664429, -0.39217609167099, 0.04396481066942215, 0.7967555522918701, 0.5389910340309143, -0.6631208658218384, -0.4484364986419678, -0.9305020570755005, -0.8290289044380188, 0.9934458136558533, 0.37125617265701294, 0.15486855804920197, -0.1779508888721466, 0.5551995038986206, 0.09486951678991318, 0.18916279077529907, -0.44871553778648376, -0.4008261263370514, 0.4599798321723938, 0.13737045228481293, -0.08251778036355972, -0.5819507837295532, -0.4746110141277313, -0.12026271224021912, 0.33444613218307495, -0.03606700897216797, 0.41259315609931946, -0.13687343895435333, 0.1295909732580185, -0.032081082463264465, 0.49223268032073975, 0.7003870010375977, 0.9369728565216064, -0.3389693796634674, -0.0650070309638977, -0.13718463480472565, -0.23880474269390106, 0.25903430581092834, -0.15719282627105713, 0.198114275932312, 0.2681034207344055, 0.35960206389427185, 0.6680930256843567, 0.18521124124526978, -0.08192900568246841, 0.3534899055957794, -0.4886116683483124, -0.12607011198997498, 0.2839341163635254, 0.25858426094055176, 0.10762201249599457, 0.16758212447166443, 0.01335055660456419, 0.26050257682800293, 0.15197554230690002, -1.1950711011886597, 0.6898894906044006, 0.3225111663341522, -0.6138351559638977, -0.20128457248210907, 0.022743212059140205, 0.7888558506965637, -0.744638204574585, 0.40721821784973145, -0.2767101228237152, -0.7018970847129822, 0.7349447011947632, 0.20872682332992554, 0.8982721567153931, -0.2690806984901428, 0.293450266122818, 0.037135593593120575, -0.15916204452514648, 0.28076544404029846, 0.3484173119068146, -0.41379424929618835, -0.5259208679199219, -0.6012656688690186, -0.41006460785865784, -0.8280279040336609, -0.2729054093360901, -0.6342618465423584, 0.20954462885856628, -0.03538796305656433, 0.15423272550106049, 0.25052329897880554, -0.050729308277368546, -0.17443755269050598, 0.05179629847407341, 0.15941855311393738, 0.6085808873176575, -0.5884211659431458, 1.0258179903030396, 0.6156908273696899, -0.07996479421854019, -0.3150504529476166, 0.4361177682876587, -0.36244437098503113, -0.2815980315208435, 0.6654053926467896, 0.28602275252342224, -0.04535737261176109, -0.45123422145843506, -0.5247503519058228, -0.624970018863678, 0.5383254289627075, -0.2518359422683716, -0.48835837841033936, -0.228567436337471, 0.08614187687635422, 0.3044546842575073, -0.48087748885154724, 0.1303544044494629, 0.26484236121177673, 0.23933283984661102, 0.4533912241458893, -0.7851431965827942, -0.2516913115978241, -0.06982331722974777, -0.2579735517501831, 0.6205105185508728, -0.7323653697967529, 0.8280380964279175, 0.16058073937892914, -0.052983153611421585, 0.029128093272447586, 0.887738823890686, 0.0005717563326470554, 0.757667601108551, 0.6246520280838013, -0.08406095951795578, 0.8407715559005737, -0.332219660282135, 0.7222681045532227, -0.4231998920440674, 0.27296990156173706, 1.202759027481079, -0.19951777160167694, 0.533747136592865, 0.2814050316810608, -0.15939649939537048, 0.30421608686447144, 0.9204638600349426, 0.3140946626663208, 0.7554839849472046, 0.33408084511756897, -0.2201983630657196, -0.11433067172765732, -0.09605871140956879, -0.4805137813091278, 0.5946133136749268, 0.7756685018539429, 0.09612096101045609, -0.026751507073640823, 0.11277201026678085, -0.22497625648975372, -0.24731449782848358, -0.39241456985473633, 1.2115106582641602, 0.20319199562072754, -0.7058274745941162, 0.037389401346445084, 0.3710498809814453, 0.3513800799846649, -0.5161681771278381, -0.05860963091254234, -0.25339627265930176, 0.05311613529920578, -0.1886933445930481, -0.7732366323471069, 0.5754997134208679, -0.19459280371665955, -0.0141320014372468, -0.10501685738563538, 1.137698769569397, -0.6446217894554138, -0.0879136323928833, -0.13062867522239685, 0.7097899913787842, 0.36864563822746277, -0.37634462118148804, -0.6790264248847961, 0.049105629324913025, -0.04070734977722168, 0.12226415425539017, 0.37935391068458557, 1.1201671361923218, -0.11457409709692001, 0.31618809700012207, 0.24748413264751434, -0.3885628581047058, -0.1580926924943924, 0.14392653107643127, 0.7788864970207214, -0.6945282816886902, -0.9611256718635559, -0.788873016834259, 0.5527157187461853, -0.2923992872238159, -0.3864787518978119, 0.7151491045951843, 0.3241543471813202, 0.5262336730957031, 0.08736447244882584, 0.06296087056398392, -0.019072582945227623, 0.26983922719955444, -0.5081920623779297, 0.5682822465896606, -0.34868091344833374, 0.14914056658744812, -0.40310895442962646, -0.850225567817688, -0.01538922917097807, 0.6383057832717896, -0.4123918414115906, -0.3674876093864441, 0.6109105944633484, 0.4538431763648987, -0.30242154002189636, 0.5322313904762268, 0.23662114143371582, -0.2042916715145111, 0.4081401526927948, 0.08717161417007446, 1.401050090789795, 0.23477335274219513, 0.43918412923812866, -0.4848295748233795, -0.2900804579257965, -0.204130619764328, -0.46799540519714355, -1.174176573753357, -0.6392961144447327, -0.6996289491653442, 0.050399649888277054, 0.14606624841690063, 0.6660136580467224, 1.1001758575439453, -0.8804044127464294, -0.49162912368774414, -0.22807374596595764, 0.3659839630126953, 0.10250698775053024, -0.26630261540412903, 0.30796515941619873, -0.6314027905464172, -0.8147644400596619, 0.6048121452331543, 0.6218457221984863, -0.30594301223754883, -0.04940912500023842, 0.2598884403705597, -0.5059984922409058, 0.20161080360412598, 0.6210575699806213, 0.06261647492647171, -0.6504080891609192, -0.24598641693592072, -0.21464331448078156, 0.10357371717691422, 0.4815269112586975, 1.3202669620513916, -0.15697667002677917, 0.18539026379585266, 0.43661022186279297, 0.45974230766296387, 0.8752750158309937, 0.22394801676273346, 0.6292614340782166, -1.1479467153549194, 0.3738371431827545, 0.252636581659317, 0.1472940742969513, 0.04819737374782562, -0.3811922073364258, 0.717345118522644, 0.3139387369155884, -0.5547127723693848, -0.8332493305206299, 0.26764586567878723, -1.0079089403152466, -0.7062625288963318, 0.8753069639205933, -0.20203344523906708, -0.2822231352329254, -0.5544313192367554, -0.6568495035171509, 0.008865751326084137, -0.47549930214881897, 0.37697461247444153, 0.8118451237678528, -0.5736503601074219, -0.16194899380207062, -0.24871288239955902, 0.5437625646591187, 0.24125972390174866, -1.130051851272583, -0.11711815744638443, 0.24029143154621124, -0.012183653190732002, 0.4675002694129944, 0.8976147770881653, 0.0073164100758731365, -0.14061297476291656, -0.07256975024938583, -0.5933026671409607, 0.5415759682655334, -0.9667714238166809, -0.13851048052310944, 0.8682804703712463, -0.06700525432825089, -0.4769769310951233 ]
http://arxiv.org/abs/2402.02834v2
http://arxiv.org/pdf/2402.02834v2
Shortened LLaMA: Depth Pruning for Large Language Models with Comparison of Retraining Methods
2024-02-05T09:44:49
2024-06-23T08:45:33
Bo-Kyeong Kim, Geonmin Kim, Tae-Ho Kim, Thibault Castells, Shinkook Choi, Junho Shin, Hyoung-Kyu Song
cs.LG
cs.LG, cs.CL
Structured pruning of modern large language models (LLMs) has emerged as a way of decreasing their high computational needs. Width pruning reduces the size of projection weight matrices (e.g., by removing attention heads) while maintaining the number of layers. Depth pruning, in contrast, removes entire layers or blocks, while keeping the size of the remaining weights unchanged. Most current research focuses on either width-only or a blend of width and depth pruning, with little comparative analysis between the two units (width vs. depth) concerning their impact on LLM inference efficiency. In this work, we show that simple depth pruning can effectively compress LLMs while achieving comparable or superior performance to recent width pruning studies. Our pruning method boosts inference speeds, especially under memory-constrained conditions that require limited batch sizes for running LLMs, where width pruning is ineffective. In retraining pruned models for quality recovery, continued pretraining on a large corpus markedly outperforms LoRA-based tuning, particularly at severe pruning ratios. We hope this work can help build compact yet capable LLMs. Code and models can be found at: https://github.com/Nota-NetsPresso/shortened-llm
[ -0.2553420960903168, -0.6923204660415649, 0.584935188293457, 0.34028804302215576, -0.6520165801048279, 0.09697961807250977, -0.4773941934108734, -0.3697488605976105, 0.5518090128898621, 0.5242746472358704, -0.4216998815536499, -0.516886293888092, -0.6103978753089905, 0.1434803009033203, -0.6676161885261536, 0.6082035303115845, 0.05821404233574867, -0.1092723086476326, -0.1652076542377472, 0.08421313017606735, -0.31550049781799316, -0.3224047124385834, -0.722046971321106, -0.16900329291820526, 0.6653423309326172, 0.6305847764015198, 0.639735221862793, 0.8612562417984009, 0.42827096581459045, 0.36132076382637024, -0.4550764262676239, 0.1895734816789627, -0.6757674217224121, 0.2679503560066223, 0.3262808322906494, -0.5017585158348083, -0.4613076150417328, -0.1744230091571808, 0.8467865586280823, 1.0333739519119263, -0.3631502687931061, 0.07471881806850433, 0.001107872580178082, 0.89963299036026, -0.8398534655570984, -0.2824832797050476, -0.5546762347221375, 0.2038547545671463, -0.11759506911039352, -0.038030955940485, -0.3125535845756531, -0.4257785379886627, -0.01086729858070612, -0.6085616946220398, 0.2411152422428131, -0.004225537646561861, 0.7908026576042175, 0.46399766206741333, -0.33565500378608704, 0.17059031128883362, -0.8097175359725952, 0.9398022294044495, -0.8699591755867004, 0.5920496582984924, 0.2989751398563385, 0.16983555257320404, 0.05126839503645897, -0.7835761308670044, -0.3193882703781128, -0.1585170179605484, 0.00908456090837717, -0.0611463226377964, 0.00361237651668489, 0.198013037443161, 0.38912323117256165, 0.6494868397712708, -0.48160961270332336, 0.30128687620162964, -0.6248314380645752, -0.20014825463294983, 0.7022138833999634, -0.10802000761032104, 0.014029310084879398, 0.06560122966766357, -0.3095453083515167, -0.1478998064994812, -1.2177886962890625, -0.18577395379543304, 0.4248224198818207, -0.07943986356258392, 0.09299027919769287, 0.5332117080688477, -0.3075844645500183, 0.7177895903587341, -0.3279969096183777, -0.7482014298439026, 0.23444582521915436, 0.014762574806809425, -0.5127540826797485, 0.0000069991115196899045, 0.5678373575210571, 0.30398330092430115, 0.512260377407074, -0.20490127801895142, -0.31001201272010803, -0.017412563785910606, 0.09180053323507309, -0.8925473093986511, -0.13756363093852997, 0.037890899926424026, -0.5605902671813965, 0.013221021741628647, -0.09698816388845444, -0.579758882522583, -0.24048839509487152, -0.2354278266429901, 0.13850387930870056, -0.3587534427642822, -0.2567066252231598, 0.3460364043712616, -0.06827624887228012, 0.39637529850006104, 0.4003645181655884, -0.6710081696510315, 0.49472135305404663, 0.797612190246582, 1.038198471069336, -0.24984197318553925, -0.026560774073004723, -0.5637912154197693, 0.0065729799680411816, -0.32934802770614624, 0.5857749581336975, -0.43839821219444275, -0.5599759221076965, -0.10232321172952652, -0.21293644607067108, 0.22679051756858826, -0.7340809106826782, 0.5862873196601868, -0.47148001194000244, 0.057178035378456116, -0.12806974351406097, -0.4727165400981903, -0.24341300129890442, 0.3574240803718567, -0.7216143608093262, 0.8167144060134888, -0.045993298292160034, -0.535671055316925, 0.13327337801456451, 0.030662331730127335, -0.6866233944892883, -0.31666597723960876, 0.06594042479991913, -0.57322758436203, 0.5658028721809387, 0.20610378682613373, 0.22392967343330383, -0.3972974717617035, 0.17156554758548737, -0.4380439817905426, -0.5924178957939148, -0.08272571861743927, -0.4015263617038727, 0.5604692101478577, 0.218035489320755, 0.05641363561153412, 0.2053385078907013, -0.8587422370910645, 0.10780198127031326, 0.2613060772418976, -0.708980917930603, -0.21503761410713196, 0.03787465766072273, -0.29067450761795044, 0.0020563940051943064, 0.08163982629776001, -0.532631516456604, 0.2809738516807556, -0.6630252003669739, 0.6292792558670044, 0.5456990599632263, -0.0417809784412384, 0.47532427310943604, -0.1575848013162613, 0.5906245112419128, -0.2574949562549591, 0.1098526269197464, 0.03549124300479889, -0.052407100796699524, -1.0897811651229858, -0.4810108244419098, 0.5170120596885681, 0.4126855731010437, -0.5956634283065796, 0.3843369483947754, -0.4359457790851593, -0.3599202632904053, -0.477028489112854, 0.2582184970378876, 0.46710315346717834, 0.3812299072742462, 0.3423023223876953, -0.7181288003921509, -0.7123501896858215, -1.0858080387115479, -0.3077645003795624, -0.08010595291852951, -0.30339595675468445, 0.16772052645683289, 0.2187143862247467, 0.027304504066705704, 0.7875556349754333, -0.6209375858306885, -0.16521090269088745, -0.4656025171279907, -0.332699716091156, 0.1250038594007492, 0.44413167238235474, 0.2010210007429123, -0.4517015516757965, -0.2779579758644104, -0.5129304528236389, -0.4221945106983185, -0.12893298268318176, 0.15991297364234924, 0.059904348105192184, 0.13410229980945587, 0.5704609155654907, -0.7839020490646362, 0.48195043206214905, 0.5614786148071289, -0.04935344308614731, 0.5959720611572266, -0.17963512241840363, -0.46797263622283936, -0.7285200357437134, -0.09255561232566833, -0.12929052114486694, -0.43856409192085266, -0.5555837154388428, -0.266345739364624, 0.004873379599303007, -0.04313673451542854, -0.5512003898620605, 0.33730214834213257, -0.7608191967010498, -0.5623591542243958, -0.3645884394645691, 0.25092294812202454, 0.36813122034072876, 0.4577128291130066, 0.22250229120254517, 0.611321747303009, 0.3897308111190796, -0.6909560561180115, 0.1461220383644104, 0.10771258920431137, -0.6520785093307495, 0.0009638644405640662, -0.7704339623451233, 0.33383607864379883, 0.049286942929029465, 0.4090856611728668, -0.7608839273452759, -0.01896531507372856, 0.10420569032430649, -0.08118226379156113, 0.44645363092422485, -0.04282491281628609, -0.42227858304977417, -0.12406805157661438, -0.5497713685035706, 0.48375430703163147, 0.7061867713928223, -0.5230804681777954, 0.36109888553619385, 0.3629519045352936, -0.1572641283273697, -0.5991300940513611, -0.9400789141654968, 0.19307094812393188, -0.5704458951950073, -0.6515733003616333, 0.6107813119888306, 0.047152746468782425, -0.33861038088798523, -0.19135327637195587, -0.44615137577056885, -0.08568837493658066, 0.4299394190311432, 0.08882554620504379, -0.08332332223653793, -0.26218539476394653, 0.17951898276805878, 0.12909433245658875, -0.08242084085941315, 0.06424908339977264, -0.11941606551408768, 0.6176860928535461, -0.022968780249357224, -0.5698694586753845, -0.35676711797714233, 0.27755704522132874, 0.17443084716796875, -0.3389925956726074, 0.8425614237785339, 0.3460076153278351, -0.15570011734962463, -0.29534876346588135, -0.7344011068344116, -0.4281954765319824, -0.4138961136341095, 0.22938497364521027, -0.21247424185276031, -1.0815645456314087, 0.2259666472673416, -0.24124868214130402, 0.0443863719701767, 0.1522408127784729, 0.2869235873222351, 0.1676858812570572, 0.7326964139938354, 0.8362976312637329, -0.3136359751224518, 0.5976782441139221, -0.38931217789649963, 0.2705494165420532, -0.8635071516036987, -0.021156415343284607, -0.4720540940761566, -0.6250283122062683, -0.31432676315307617, -0.3083382248878479, 0.08088251948356628, 0.3058330714702606, -0.06550345569849014, 0.02975289337337017, -0.30198153853416443, 0.6439797282218933, 0.518459677696228, 0.01453449297696352, 0.4524478614330292, 0.19815626740455627, 0.40606868267059326, 0.19726711511611938, -0.7801024913787842, -0.45011985301971436, 0.8932024240493774, 0.4383273124694824, 0.7364553809165955, 0.14849525690078735, 0.8910799026489258, -0.1659986972808838, 0.33576977252960205, -1.0180697441101074, 0.6131108999252319, 0.12811270356178284, -0.21424420177936554, -0.46883052587509155, -0.5597743391990662, -0.9276579022407532, 0.5534063577651978, 0.03872904181480408, -0.4804745018482208, 0.14171148836612701, 0.18137295544147491, -0.5380083322525024, 0.29088613390922546, -0.8057368993759155, 0.5114877820014954, -0.21418868005275726, -0.26387158036231995, -0.38676464557647705, -0.6933773159980774, 0.4931820034980774, 0.031007492914795876, 0.0216665156185627, -0.24203543365001678, -0.3152167797088623, 0.837211012840271, -0.7541952729225159, 0.8077151775360107, -0.1441032737493515, -0.15417154133319855, 0.327488511800766, 0.21357901394367218, 0.40920159220695496, 0.047735545784235, 0.029150955379009247, 0.16099117696285248, -0.11937003582715988, -0.2860548198223114, -0.5611991286277771, 0.629972517490387, -0.6233276724815369, -0.9144406318664551, 0.031093280762434006, -0.6079227924346924, -0.305280864238739, 0.1519732028245926, 0.023914404213428497, 0.2563752830028534, -0.16791583597660065, 0.4958021342754364, 0.6141193509101868, -0.39712896943092346, 0.5061423778533936, 0.41647207736968994, -0.21014726161956787, -0.26911357045173645, 0.7938258647918701, 0.13680621981620789, 0.20262449979782104, 0.3641431927680969, 0.1297268122434616, -0.18730522692203522, -0.8624325394630432, -0.021342674270272255, 0.4332071542739868, -0.5531541109085083, -0.4244900047779083, -0.2790100574493408, -0.2701481282711029, -0.35579994320869446, 0.12404133379459381, -0.44853347539901733, -0.8390105366706848, -0.10649146884679794, -0.30348172783851624, 0.158206507563591, 0.6340182423591614, -0.014514593407511711, 0.7013177275657654, -0.6406816244125366, 0.22374719381332397, 0.08410747349262238, 0.30019789934158325, -0.07008892297744751, -0.6796995997428894, -0.18321916460990906, -0.31482791900634766, -0.3151102066040039, -0.7751930356025696, 0.7489187121391296, 0.4967903792858124, 0.1902034878730774, 0.5183183550834656, -0.06399314850568771, 0.7995725274085999, -0.4285030961036682, 0.48775121569633484, 0.15077130496501923, -0.8291781544685364, 0.2555899918079376, 0.18875163793563843, 0.3356795907020569, 0.40944772958755493, 0.05563681200146675, -0.6859230399131775, -0.16076578199863434, -0.5044026374816895, -1.0248924493789673, 0.4261702299118042, 0.06119868531823158, -0.07907144725322723, -0.010964122600853443, 0.4717021882534027, 0.13023893535137177, 0.34520480036735535, -0.6211184859275818, -0.07183143496513367, 0.06322794407606125, -0.0736093819141388, -0.2926108241081238, -0.7377740144729614, -0.11936779320240021, -0.21225765347480774, 0.6390281915664673, -0.02433914877474308, 0.07399241626262665, 0.3222094774246216, -0.48416993021965027, 0.20813708007335663, 0.26514965295791626, 0.5260960459709167, 0.8138922452926636, -0.01564324088394642, 0.3036413788795471, 0.4304746687412262, -0.2695002853870392, 0.04708345606923103, -0.22994446754455566, -0.07718852162361145, -0.14384151995182037, 0.6416075825691223, 0.7983564734458923, 0.3457663655281067, -0.6504831910133362, 0.33253371715545654, -0.11390016973018646, -0.366131991147995, -0.3027118742465973, 0.07032223790884018, 0.30174946784973145, 0.2129814624786377, 0.005362417548894882, -0.38444745540618896, 0.06374841183423996, -0.1806008666753769, -0.17097339034080505, 0.3837254047393799, -0.08467328548431396, -0.18793225288391113, 0.1894543468952179, 0.28113770484924316, -0.3953895568847656, 0.8915651440620422, 0.17323440313339233, -0.2944577634334564, 0.5831897854804993, 0.4462915360927582, 0.7251834273338318, -0.14538022875785828, -0.09363408386707306, 0.2557252049446106, 0.36703404784202576, -0.3540099561214447, 0.08425284177064896, -0.3382600247859955, -0.6278060078620911, -0.9048256874084473, -0.7631701231002808, -0.2133791446685791, 0.26412272453308105, -0.5960891246795654, -0.131985604763031, -0.6799377799034119, 0.08720558881759644, -0.5276147127151489, 0.21818487346172333, -0.38923174142837524, 0.21828612685203552, 0.2343260794878006, 1.3472342491149902, -0.7748040556907654, 1.1223214864730835, 0.237583726644516, -0.060534242540597916, -0.8674624562263489, -0.13446781039237976, -0.031234240159392357, -0.68250972032547, 0.33615127205848694, 0.45392003655433655, -0.3026452660560608, -0.003753971541300416, -0.5845915675163269, -1.071236491203308, 1.1830291748046875, 0.8024886250495911, -0.9161317944526672, 0.0790441557765007, 0.09096453338861465, 0.5365464091300964, -0.24084126949310303, -0.09046092629432678, 0.8911249041557312, 0.4561130404472351, 0.06814979761838913, -0.7495090365409851, -0.0006369109032675624, -0.011146491393446922, 0.16204600036144257, 0.22409780323505402, -0.6504331827163696, 0.6127102375030518, -0.10504964739084244, -0.44238442182540894, 0.20553527772426605, 0.9530125260353088, 0.3037511706352234, 0.06835268437862396, 0.8231531381607056, 0.914424479007721, 0.8107735514640808, -0.023245973512530327, 1.0241950750350952, -0.3404151499271393, 0.07536760717630386, 0.936936616897583, -0.24633857607841492, 0.7699791789054871, 0.7652934193611145, -0.07651026546955109, 0.4894474744796753, 0.7574337720870972, 0.3703148066997528, 0.35825347900390625, 0.3802802562713623, -0.02711356431245804, -0.3548129200935364, -0.050374265760183334, -0.39187467098236084, 0.353848934173584, 0.2568265199661255, -0.13966354727745056, -0.03160101920366287, -0.23799817264080048, 0.1099415123462677, -0.04005205258727074, -0.2760798931121826, 0.6490904688835144, 0.5798253417015076, -0.7485527396202087, 0.7088320255279541, 0.12878955900669098, 0.6330023407936096, -0.5562926530838013, 0.22693224251270294, -0.6048632264137268, 0.2333742082118988, -0.23979710042476654, -0.46936488151550293, 0.5358157753944397, -0.016553156077861786, -0.015603257343173027, -0.4529978632926941, 0.8705498576164246, -0.41299116611480713, -0.20183566212654114, 0.310740202665329, 0.6426376700401306, 0.38917598128318787, -0.25256696343421936, -0.47855132818222046, 0.3586806058883667, 0.04171738773584366, -0.7408612966537476, 0.37154364585876465, 0.1959504932165146, -0.15418584644794464, 0.9407507181167603, 0.5379453301429749, 0.25768208503723145, 0.00924154557287693, 0.3215106725692749, 0.8977662324905396, -0.6866833567619324, -0.2050647735595703, -0.9226598739624023, 0.1763891875743866, -0.0796099305152893, -0.09943976998329163, 0.7869927287101746, 0.6827369928359985, 0.8405195474624634, 0.048085328191518784, 0.26232922077178955, 0.19162647426128387, 0.4591720700263977, -0.6506516337394714, 0.32357257604599, -0.7548854351043701, 0.3977213501930237, 0.2925548851490021, -1.1565234661102295, -0.33042585849761963, 0.5672692656517029, -0.48679137229919434, 0.17258943617343903, 0.56582111120224, 0.7862876057624817, -0.16609729826450348, -0.35543176531791687, 0.32073819637298584, 0.22632339596748352, 0.1868930608034134, 0.5214361548423767, 0.8167064189910889, 0.0358305387198925, 0.763613224029541, -0.38084864616394043, 0.008097721263766289, -0.21787042915821075, -0.8551567792892456, -0.5499330759048462, -0.1381024718284607, -0.19990922510623932, -0.030537990853190422, -0.04611068591475487, 0.5085638761520386, 0.8571485877037048, -0.4336305558681488, -0.38782763481140137, 0.0228048674762249, 0.3815310299396515, -0.056636665016412735, -0.1554170697927475, 0.3350539207458496, -0.0027677377220243216, -0.5885871052742004, 0.8107122778892517, 0.21103914082050323, -0.15882103145122528, -0.3358832597732544, -0.22125780582427979, -0.09012844413518906, -0.039964091032743454, 0.638878583908081, 0.4505244195461273, -0.681894063949585, -0.2504999041557312, -0.32835572957992554, 0.02086404711008072, 0.1409311443567276, 0.7870352268218994, -0.9767486453056335, -0.139705628156662, 0.6509614586830139, 0.5421341061592102, 0.8201857805252075, 0.07030121237039566, 0.5501563549041748, -1.1237980127334595, 0.4421003460884094, 0.157660573720932, 0.5176917910575867, 0.5449983477592468, 0.0948580950498581, 0.6513003706932068, 0.18864545226097107, -0.40946027636528015, -1.0453485250473022, 0.4598899185657501, -0.7460629940032959, -0.48884719610214233, 1.2585701942443848, -0.07930180430412292, -0.586007833480835, 0.33499228954315186, -0.15400464832782745, 0.26879337430000305, -0.13548223674297333, 0.7030499577522278, 0.4473371207714081, 0.0761152058839798, -0.26825517416000366, -0.33488887548446655, 0.42615267634391785, 0.7410339713096619, -0.7185301184654236, -0.036706335842609406, 0.4818502366542816, 0.3540229797363281, 0.01246134378015995, 0.517073929309845, 0.16494520008563995, -0.06738635152578354, -0.20973075926303864, 0.20059950649738312, -0.21132032573223114, -0.5775465369224548, -0.43965113162994385, 0.2537839114665985, 0.2751554250717163, -0.013084005564451218 ]
http://arxiv.org/abs/2402.02823v2
http://arxiv.org/pdf/2402.02823v2
Evading Data Contamination Detection for Language Models is (too) Easy
2024-02-05T09:10:32
2024-02-12T17:50:07
Jasper Dekoninck, Mark Niklas Müller, Maximilian Baader, Marc Fischer, Martin Vechev
cs.LG
cs.LG, cs.AI, cs.CL, cs.CR
Large language models are widespread, with their performance on benchmarks frequently guiding user preferences for one model over another. However, the vast amount of data these models are trained on can inadvertently lead to contamination with public benchmarks, thus compromising performance measurements. While recently developed contamination detection methods try to address this issue, they overlook the possibility of deliberate contamination by malicious model providers aiming to evade detection. We argue that this setting is of crucial importance as it casts doubt on the reliability of public benchmarks. To more rigorously study this issue, we propose a categorization of both model providers and contamination detection methods. This reveals vulnerabilities in existing methods that we exploit with EAL, a simple yet effective contamination technique that significantly inflates benchmark performance while completely evading current detection methods.
[ -0.4956648051738739, -0.9300675988197327, 0.9143227934837341, -0.1509440839290619, 0.2111128270626068, 0.07641404867172241, 0.06500449031591415, -0.886660635471344, -0.5292548537254333, 1.0292962789535522, -0.13289280235767365, -0.26051682233810425, -0.6423659920692444, -0.24614442884922028, -0.8787885308265686, 1.0341312885284424, 0.01869310811161995, -0.5067573189735413, -0.291424959897995, -0.13881617784500122, -0.06781186908483505, -0.7432034015655518, -0.48022031784057617, -0.24117088317871094, 0.3851410150527954, 0.2037089467048645, 0.7382708191871643, 0.8840094208717346, 0.2817525565624237, 0.3152424991130829, -0.12795233726501465, 0.31461408734321594, -0.37965071201324463, 0.0593428872525692, -0.3410226106643677, -0.6456866264343262, -0.25810912251472473, -0.19562014937400818, 0.3053719103336334, 0.6256954669952393, -0.18751786649227142, 0.11964650452136993, 0.1250876933336258, 0.6221330165863037, -1.2089911699295044, -0.03456347808241844, -0.9641901254653931, -0.32471784949302673, -0.6251876950263977, -0.023730283603072166, -0.9678028225898743, 0.028095383197069168, -0.14450116455554962, -0.5028790235519409, 0.17318810522556305, 0.08820405602455139, 1.0234630107879639, 0.22769127786159515, -0.4315069019794464, -0.001082578208297491, -1.0597816705703735, 0.7951951622962952, -0.4969932734966278, 0.30123451352119446, 0.8643276691436768, 0.41647815704345703, -0.06468717753887177, -0.8540704846382141, -0.3905578851699829, -0.2310960739850998, 0.0028577407356351614, -0.42240533232688904, -0.8106857538223267, 0.0011829313589259982, 0.25805556774139404, -0.0536968931555748, -0.40936553478240967, 0.18650008738040924, -0.3247600495815277, -0.26718294620513916, 0.7053580284118652, 0.07023706287145615, 0.6818051934242249, -0.10091472417116165, -0.7157660126686096, -0.1642283797264099, -1.0844534635543823, 0.06634189933538437, 0.5425978302955627, 0.19853200018405914, 0.1609107106924057, 0.022881925106048584, -0.017143042758107185, 0.6726361513137817, -0.3684508204460144, 0.3582724332809448, 0.07880055904388428, -0.2796277403831482, -0.3442397117614746, -0.1289260983467102, 0.6818719506263733, -0.08426504582166672, 0.2306392341852188, -0.2305736094713211, -0.48192426562309265, -0.05847592651844025, 0.47247517108917236, -0.3586384356021881, -0.42010974884033203, 0.581689178943634, 0.01675974577665329, -0.48049992322921753, 0.20765328407287598, -0.7612119913101196, -0.41621696949005127, 0.013632148504257202, 0.667109489440918, -0.10424943268299103, -0.3631341755390167, 0.15625785291194916, 0.06918246299028397, -0.2662297189235687, 0.29598215222358704, -0.7404012680053711, 0.510624349117279, 1.1386563777923584, 0.3794110119342804, 0.23909497261047363, -0.3235470950603485, -0.8469701409339905, 0.1751856654882431, -0.33467647433280945, 0.8883630633354187, -0.5397351384162903, -0.46294090151786804, 0.1490575224161148, -0.10559482872486115, 0.23612356185913086, -0.7677791714668274, 0.6729626655578613, -0.5273422598838806, -0.1365119069814682, -0.2673887610435486, -0.5323641896247864, -0.1570664495229721, -0.0834929421544075, -0.8576562404632568, 1.0006446838378906, -0.14607183635234833, -0.9045803546905518, 0.419656366109848, -0.2942329943180084, -0.33186134696006775, 0.20702648162841797, -0.09849388897418976, -0.47231772541999817, 0.0646061822772026, 0.3083168864250183, 0.2699087858200073, 0.06564874947071075, 0.4530593752861023, -0.7265799045562744, -0.46536505222320557, 0.32836201786994934, -0.888439953327179, 0.8880851864814758, 0.5048577785491943, -0.4347093403339386, -0.25765615701675415, -0.8133347034454346, 0.13568304479122162, 0.003696025814861059, -0.09503307193517685, -0.7628490924835205, 0.14329558610916138, 0.43244078755378723, 0.24707560241222382, -0.04252025857567787, -0.40698865056037903, -0.24787305295467377, -0.2435482144355774, 0.2240481972694397, 1.0142689943313599, 0.13997219502925873, 0.03417778015136719, -0.5086017847061157, 0.44523242115974426, 0.07573440670967102, 0.3684366047382355, -0.26946502923965454, -0.34767696261405945, -0.7552679181098938, -0.2982498109340668, 0.2133036106824875, 0.3202818036079407, -0.8069962859153748, 0.3921796679496765, -0.21060360968112946, -0.780927300453186, -0.5740540623664856, 0.1769355684518814, 0.7161635756492615, 0.2828983664512634, 0.4374423027038574, 0.19918547570705414, -0.28608715534210205, -1.04096519947052, -0.8932058215141296, -0.28575801849365234, -0.14948537945747375, 0.4570073187351227, 0.5237163305282593, -0.04522037133574486, 0.8498464822769165, -0.5084671378135681, 0.03376087173819542, -0.06037424877285957, 0.09181272238492966, -0.1732596755027771, 0.5053985714912415, 0.5954403877258301, -0.7202890515327454, -0.40175989270210266, -0.07826323062181473, -0.6157483458518982, -0.390288382768631, 0.03628622740507126, -0.012784009799361229, 0.021857015788555145, 0.6679331660270691, -0.27046480774879456, 0.4617423117160797, 0.5411311388015747, -0.37225303053855896, 0.5791392922401428, -0.2263917475938797, 0.05593551695346832, -0.6320984363555908, 0.40191248059272766, 0.11346469074487686, -0.44344356656074524, -1.102123737335205, 0.4766893684864044, 0.3371443748474121, 0.004287615418434143, -0.9388048052787781, 0.6507163047790527, -0.2012890875339508, 0.27337560057640076, -0.21295499801635742, 0.06249401345849037, 0.5114737153053284, -0.11105389147996902, -0.1649705022573471, 0.6241760849952698, 0.5954315662384033, -0.4127347767353058, -0.17046041786670685, 0.15996317565441132, -0.5336933135986328, 0.31005704402923584, -0.7069056630134583, 0.3032764494419098, 0.061163559556007385, 0.19809657335281372, -0.9679189920425415, -0.07711266726255417, -0.0013760364381596446, -0.07863286882638931, 0.3810567855834961, -0.3009278476238251, -0.6299983859062195, -0.062334299087524414, -0.29745960235595703, 0.4120977222919464, 0.3271883726119995, -1.0591397285461426, 0.1514073759317398, 0.36931994557380676, 0.24239061772823334, -0.7389156222343445, -0.9933025240898132, -0.08623497188091278, -0.4767261743545532, -0.635394811630249, 0.1294783502817154, 0.21252226829528809, -0.6162804961204529, 0.02454392984509468, -0.1903461366891861, -0.4205365478992462, 0.6889750957489014, 0.20968842506408691, 0.22058525681495667, -0.13131870329380035, 0.03620577231049538, -0.17974556982517242, -0.042388565838336945, 0.18116283416748047, 0.38704565167427063, 0.38491785526275635, 0.08966075628995895, -0.903286874294281, -0.4415630102157593, 0.26202407479286194, 0.7092007994651794, -0.4599287807941437, 0.7102385759353638, 0.03200724348425865, -0.6506050229072571, -0.4903614819049835, -0.6789838671684265, -0.05647134780883789, -0.6081087589263916, 0.45433223247528076, -0.33476507663726807, -0.13256493210792542, 0.5041843056678772, 0.0715741217136383, -0.11147084087133408, 0.28293338418006897, -0.22250208258628845, 0.08256513625383377, 1.0671976804733276, 0.568916380405426, -0.26735708117485046, 0.173411563038826, 0.0973980724811554, 0.19709903001785278, -0.6349700093269348, -0.013820580206811428, -0.943812906742096, 0.1858236938714981, -0.46012088656425476, -0.28952866792678833, 0.1705644726753235, 0.16927142441272736, -0.1456325501203537, 0.4114937484264374, -0.21883998811244965, 0.9138689041137695, 0.18301810324192047, 0.21467424929141998, 0.49378785490989685, -0.17337864637374878, 0.044953327625989914, 0.022906573489308357, -0.3671969175338745, -0.589496374130249, 1.2032002210617065, 0.577886700630188, 0.747914731502533, 0.07579763978719711, 0.9520397186279297, 0.4052169620990753, 0.3355603814125061, 0.015784472227096558, 0.2817519009113312, -0.25811144709587097, -0.835720956325531, -0.05842825397849083, -0.37142688035964966, -0.8722568154335022, 0.36401888728141785, 0.1952201873064041, -1.2191400527954102, 0.5334815382957458, 0.06760469824075699, -0.2482728362083435, 0.5904344916343689, -0.7490799427032471, 0.8122844099998474, -0.23354196548461914, -0.5963364243507385, 0.026181232184171677, -0.2760144770145416, 0.7637338638305664, -0.5720857381820679, 0.6589248776435852, -0.14628714323043823, 0.14741083979606628, 0.3762425482273102, -0.6304178833961487, 0.6232802867889404, -0.1726786196231842, -0.10188271850347519, 0.050728656351566315, 0.5592548251152039, 0.6858950853347778, -0.0728316679596901, 0.07526441663503647, 0.19359678030014038, 0.009690134786069393, -0.5840392708778381, -0.39481133222579956, 0.6185290217399597, -0.5001340508460999, -0.7073246836662292, -0.40136319398880005, -0.049632132053375244, -0.453064888715744, 0.1177280843257904, 0.33822858333587646, 0.37214088439941406, 0.1349795013666153, 0.2113427221775055, 0.6022223234176636, -0.4165390729904175, 0.3958542048931122, 0.7302494049072266, -0.4046758711338043, 0.17006592452526093, 0.9349996447563171, -0.06001763045787811, 0.7283254861831665, 0.11954545974731445, 0.19478660821914673, -0.27332139015197754, -0.5572731494903564, -0.2575415074825287, -0.017811352387070656, -0.7054381966590881, -0.24076804518699646, -0.6783255934715271, -0.2979467213153839, 0.0948570966720581, -0.08306751400232315, -0.776552140712738, -0.01534173171967268, -0.15560223162174225, -0.13160698115825653, 0.12672147154808044, 0.7848646640777588, 0.14485250413417816, -0.030703067779541016, -0.8410297632217407, -0.0231309961527586, 0.02161887288093567, 0.2692524194717407, 0.0777084082365036, -0.4684550166130066, 0.03974737226963043, 0.05976010859012604, -0.27630841732025146, -0.8574500679969788, 0.3597870171070099, 0.101606585085392, 0.7851945757865906, 0.8507314324378967, 0.23934587836265564, 0.45832374691963196, -0.4484937787055969, 0.7651326656341553, -0.19824877381324768, -1.3682880401611328, 0.6902164816856384, -0.2859911620616913, -0.022981274873018265, 0.6534880995750427, 0.39588209986686707, -0.5084938406944275, -1.0219573974609375, -0.8609991073608398, -1.0923727750778198, 0.6732539534568787, 0.10005208849906921, 0.05793651565909386, -0.01155050192028284, -0.064365454018116, 0.07449162006378174, 0.060899171978235245, -0.5540211796760559, -0.3828558623790741, 0.05407081916928291, 0.310140460729599, -0.05330972373485565, -0.29213687777519226, -0.18217381834983826, 0.16368180513381958, 0.6070484519004822, 0.31475865840911865, -0.29763415455818176, -0.1772344708442688, -0.26696348190307617, -0.09339120984077454, 0.2599398195743561, 0.49119436740875244, 0.7205541133880615, 0.05999936908483505, 0.3193415403366089, -0.2031799703836441, -0.23018711805343628, 0.222457155585289, -0.015416688285768032, -0.23116940259933472, -0.037058450281620026, 0.4912901222705841, 0.4285309612751007, 0.44511309266090393, -0.9326038956642151, 0.6846833229064941, 0.1548396795988083, 0.10319094359874725, -0.06165864318609238, 0.1964280754327774, 0.10513819009065628, -0.0836663544178009, 0.4572044312953949, 0.20796851813793182, 0.3973676562309265, -0.5854886174201965, 0.89882892370224, 0.26876121759414673, -0.35632702708244324, -0.2547513246536255, 0.8427755832672119, 0.1065211072564125, -0.12131540477275848, 0.44776055216789246, 0.01877545565366745, -0.582205593585968, 0.8326374292373657, 0.3873462378978729, 0.8326123952865601, -0.5183625221252441, 0.15978500247001648, -0.07762255519628525, 0.481899619102478, -0.12992291152477264, -0.06886587291955948, 0.2726067006587982, -0.8606809973716736, -0.22713471949100494, -0.3920237720012665, -0.23134049773216248, 0.7182820439338684, -0.9837622046470642, 0.2763795554637909, -0.35915613174438477, 0.12005462497472763, 0.5002636313438416, -0.42171862721443176, -0.6749387383460999, -0.14499105513095856, 0.3675941526889801, 1.1341075897216797, -1.2843966484069824, 0.8854579329490662, 0.18758654594421387, -0.294997900724411, -0.8326500058174133, 0.3012375831604004, 0.33666154742240906, -0.6100584268569946, 0.6474974751472473, 0.21222923696041107, 0.11805100739002228, -0.5067614316940308, -0.1550840586423874, -0.6962596774101257, 0.5330293774604797, 0.3487469255924225, -0.42528602480888367, 0.34077584743499756, 0.2391490489244461, 0.5546289086341858, 0.27023670077323914, 0.1916363388299942, 0.8413640856742859, 0.7007235884666443, -0.5896046757698059, -0.9840328097343445, 0.21378402411937714, -0.2282613217830658, -0.08580968528985977, 0.361767441034317, -0.5644225478172302, 0.7724232077598572, 0.11396133154630661, -0.363043874502182, -0.07105862349271774, -0.12597419321537018, 0.1736343950033188, 0.500399649143219, 0.49539992213249207, 0.5047247409820557, 0.8026943206787109, -0.17792390286922455, 1.254822850227356, -0.19347752630710602, 0.522413969039917, 1.2701458930969238, -0.6017464399337769, 1.08457612991333, 0.3229753375053406, -0.4861060082912445, 0.142528235912323, 0.31709396839141846, -0.1893840879201889, 0.5327159762382507, 0.14137676358222961, -0.5189629793167114, -0.18780027329921722, -0.08151368051767349, -0.26786985993385315, 0.8392502069473267, 0.31729716062545776, -0.37475118041038513, -0.5488064885139465, 0.12163624167442322, 0.29083606600761414, 0.3885924518108368, -0.06583976000547409, 0.5118106007575989, -0.2541743516921997, -0.5822457671165466, 0.6651372909545898, -0.0400683619081974, 0.33442452549934387, -0.4229564964771271, -0.013307904824614525, -0.29597729444503784, 0.2790549397468567, -0.28416708111763, -0.7130250930786133, 0.2746318578720093, -0.09372961521148682, 0.1979653388261795, -0.18212415277957916, 0.7821757793426514, -0.287335067987442, -0.17127852141857147, 0.5733984112739563, 0.6090866923332214, 0.14446485042572021, -0.39596331119537354, -0.46524298191070557, 0.28448447585105896, 0.00305712828412652, -0.31579121947288513, 0.532744824886322, 0.04949764162302017, -0.009766578674316406, 0.9942653179168701, 0.8529972434043884, 0.22402840852737427, 0.020045116543769836, -0.08778322488069534, 0.7628636956214905, -0.16779612004756927, -0.4695785641670227, -1.129624605178833, 0.4887874722480774, 0.02514764480292797, 0.046585842967033386, 0.7482388019561768, 0.6490932106971741, 0.8728582859039307, 0.1410137265920639, 0.7407594323158264, 0.41805294156074524, 0.33238521218299866, -0.4352383613586426, 1.1491323709487915, -0.46826106309890747, 0.8177804946899414, -0.27403077483177185, -0.588768720626831, -0.058819808065891266, -0.02574392594397068, -0.1788024753332138, 0.1440887153148651, 0.694762647151947, 0.6883756518363953, -0.33189213275909424, 0.10968714207410812, 0.6063060164451599, 0.2333350032567978, 0.7398419976234436, 0.4741024672985077, 0.8679258823394775, -0.24236367642879486, 0.6149961352348328, -0.5794017314910889, -0.1805880069732666, -0.24827919900417328, -0.8124608397483826, -0.5541414618492126, -0.39777424931526184, -0.23412522673606873, -0.4624817967414856, 0.2726263701915741, 0.30018535256385803, 0.7462257742881775, -0.8886697888374329, 0.18499065935611725, -0.19415976107120514, 0.10229310393333435, -0.3793144226074219, -0.28152719140052795, 0.38062235713005066, -0.24138760566711426, -0.8260442614555359, 0.5623787641525269, -0.031366027891635895, -0.11320691555738449, -0.5038958191871643, 0.44661903381347656, 0.042615022510290146, 0.23819266259670258, 0.04696723073720932, 0.5434108972549438, -0.8281257748603821, -0.541588306427002, -0.45887526869773865, -0.29290488362312317, -0.171854168176651, 0.631339430809021, -0.6502566933631897, 0.525478720664978, 0.26883184909820557, 0.849377453327179, 0.3055262565612793, 0.07705897092819214, 0.5241521596908569, -0.9877421855926514, 0.07923871278762817, 0.1759180724620819, 0.4512723684310913, 0.2306000292301178, -0.764475405216217, 0.36895751953125, -0.0341227762401104, -0.45181989669799805, -1.461969256401062, 0.31279489398002625, -0.4444698989391327, -0.5297641158103943, 1.1525931358337402, -0.5679746270179749, -0.26567739248275757, -0.38814878463745117, 0.37469682097435, -0.3478125333786011, -0.1549978107213974, 0.8628764748573303, 1.0399123430252075, -0.0008773471927270293, 0.16315588355064392, -1.0299952030181885, 0.6171870827674866, 0.22847610712051392, -1.031124234199524, 0.5362604856491089, 0.10511401295661926, 0.6839986443519592, 0.20520435273647308, 0.3069119155406952, -0.4342435896396637, 0.3934214413166046, 0.2657867670059204, -0.1710912138223648, -0.17220553755760193, -0.41605424880981445, -0.48999497294425964, 0.03641777113080025, 0.1937790811061859, -0.16755197942256927 ]
http://arxiv.org/abs/2402.02807v3
http://arxiv.org/pdf/2402.02807v3
Are Sounds Sound for Phylogenetic Reconstruction?
2024-02-05T08:35:33
2024-05-14T07:38:26
Luise Häuser, Gerhard Jäger, Taraka Rama, Johann-Mattis List, Alexandros Stamatakis
cs.CL
cs.CL, cs.SD, eess.AS
In traditional studies on language evolution, scholars often emphasize the importance of sound laws and sound correspondences for phylogenetic inference of language family trees. However, to date, computational approaches have typically not taken this potential into account. Most computational studies still rely on lexical cognates as major data source for phylogenetic reconstruction in linguistics, although there do exist a few studies in which authors praise the benefits of comparing words at the level of sound sequences. Building on (a) ten diverse datasets from different language families, and (b) state-of-the-art methods for automated cognate and sound correspondence detection, we test, for the first time, the performance of sound-based versus cognate-based approaches to phylogenetic reconstruction. Our results show that phylogenies reconstructed from lexical cognates are topologically closer, by approximately one third with respect to the generalized quartet distance on average, to the gold standard phylogenies than phylogenies reconstructed from sound correspondences.
[ -0.35910627245903015, -0.41587865352630615, 0.2396163046360016, -0.1977328062057495, -0.34778109192848206, 0.21207751333713531, -0.4382234215736389, -0.750559389591217, 0.6389260292053223, 0.10169392824172974, -0.7101061344146729, -0.19219903647899628, -0.1673753261566162, 0.3925161063671112, -0.6759611368179321, 0.6489382982254028, 0.7997621297836304, -0.2694871127605438, 0.17724178731441498, -0.0104745514690876, 0.03898920118808746, -0.529609203338623, -0.556775689125061, 0.0023734767455607653, 0.34434232115745544, -0.048349980264902115, 0.8477137088775635, 0.8998584151268005, 0.4622114896774292, 0.2257269024848938, -0.524067223072052, 0.046687133610248566, -0.3704202175140381, 0.13485482335090637, -0.028491947799921036, -0.3031300902366638, -0.19240258634090424, -0.22654522955417633, 0.3782237470149994, 1.1279572248458862, -0.06700821965932846, 0.004766268655657768, -0.009103755466639996, 0.6187294721603394, -0.39209839701652527, 0.10856948047876358, -0.6648465394973755, 0.31907448172569275, -0.4608614146709442, -0.5733348727226257, -0.43587860465049744, -0.3583489954471588, 0.6711134314537048, -0.8050265908241272, 0.4360332190990448, 0.3137330710887909, 0.8425344228744507, 0.24547265470027924, -0.11507584899663925, -0.5909072160720825, -0.9653369784355164, 0.5953963398933411, -0.776809573173523, 0.8250604271888733, 0.06805124133825302, 0.09561283886432648, -0.5890182256698608, -0.5159094929695129, -0.3084249794483185, -0.28965646028518677, -0.04681602492928505, 0.046039432287216187, -0.46095967292785645, 0.1141996681690216, 0.28209802508354187, 0.972524106502533, -0.7767190933227539, 0.02445562370121479, -0.4073675572872162, -0.5448521375656128, 0.5511126518249512, -0.29480522871017456, 0.6771832704544067, -0.22537674009799957, -0.1038263812661171, -0.6295136213302612, -0.6934065222740173, -0.08148232847452164, 0.6721617579460144, 0.6864541172981262, -0.21682539582252502, 0.26456353068351746, 0.070744588971138, 0.8405712842941284, 0.09557057172060013, -0.6951489448547363, 0.1426595002412796, -0.7967696785926819, 0.2234814316034317, 0.503675639629364, 0.6317718625068665, 0.11377117037773132, 0.59098219871521, -0.3349792957305908, 0.10750604420900345, 0.09220701456069946, -0.3255079686641693, -0.33230727910995483, -0.6865521669387817, -0.14775486290454865, -0.3564935624599457, 0.10012326389551163, -0.24981065094470978, -0.7763479948043823, -0.3744457960128784, -0.30747362971305847, 0.08956347405910492, -0.5352299809455872, -0.5888972282409668, 0.24728401005268097, -0.4605795741081238, 0.4134680926799774, 0.2501904368400574, -1.3018474578857422, 0.7948237657546997, 0.912657618522644, 0.8738802075386047, -0.1538773775100708, -0.16833364963531494, -0.38438117504119873, -0.211276113986969, -0.4359991252422333, 0.9846177697181702, -0.3986364006996155, -0.5406948328018188, -0.18342436850070953, -0.3027459383010864, -0.026860205456614494, -0.8713527321815491, 0.5038593411445618, -0.05111490935087204, 0.08848251402378082, -0.4076699912548065, -0.5550139546394348, -0.36226075887680054, -0.24788697063922882, -0.6462907791137695, 0.8238148093223572, 0.29374316334724426, -0.7958297729492188, 0.6840157508850098, -0.05190229043364525, -0.4612685441970825, 0.001058543915860355, -0.20595651865005493, -0.3200226426124573, 0.1488800346851349, -0.005253089126199484, -0.010627632960677147, -0.22060538828372955, 0.10164134949445724, -0.4580070972442627, -0.39819997549057007, -0.2740273177623749, -0.08076883107423782, 0.95014888048172, 0.26349323987960815, -0.46728917956352234, -0.2725302577018738, -0.7538816332817078, -0.2728763520717621, -0.1370929479598999, -0.2272169142961502, -0.4560324251651764, 0.12349119782447815, -0.36790913343429565, -0.24770024418830872, -0.11683478206396103, -0.6089439988136292, 0.27298828959465027, -0.7051781415939331, 0.3842023015022278, 0.24234843254089355, -0.048610247671604156, 0.24046123027801514, -0.43108242750167847, 0.3872120976448059, -0.21464110910892487, -0.443831205368042, -0.16124257445335388, -0.5170714259147644, -0.43537071347236633, -0.5379299521446228, 0.5569922924041748, 0.24307292699813843, 0.006324344780296087, 0.4678446352481842, -0.41861391067504883, -0.4907766878604889, -0.26032450795173645, -0.4641590416431427, 0.17291979491710663, 0.2713269889354706, 0.29082581400871277, -0.7558310627937317, -1.0073567628860474, -0.6549941301345825, -0.3309186100959778, -0.753945529460907, 0.08304551243782043, 0.43544816970825195, 0.31933388113975525, 0.42816823720932007, 0.8554591536521912, -0.17185981571674347, -0.0002510868071112782, 0.1701871007680893, -0.09513552486896515, 0.189382404088974, 0.25721877813339233, 0.7971622347831726, -0.28445160388946533, -0.23405008018016815, 0.24566520750522614, -0.6173560619354248, -0.3182222247123718, 0.20908838510513306, 0.3590273857116699, -0.06285055726766586, 0.4524304270744324, -0.22781121730804443, 0.2587096691131592, 0.6689949631690979, -0.34568703174591064, 0.49470776319503784, 0.2003672868013382, 0.14759202301502228, -0.7928885817527771, 0.2218654751777649, -0.3406030237674713, -0.15642865002155304, -0.7211493253707886, -0.04866906255483627, -0.5916054844856262, -0.08272049576044083, -0.2582649290561676, 0.3888185918331146, -0.5404263138771057, -0.8015473484992981, 0.03511224687099457, 0.04908290132880211, -0.40842506289482117, 0.25440260767936707, 0.19611112773418427, 0.6861143112182617, 0.5643481016159058, -0.47632911801338196, 0.34594979882240295, 0.20341016352176666, -0.24638597667217255, 0.4254315197467804, -0.3982885777950287, 0.21027930080890656, 0.27043840289115906, 0.5922666192054749, -0.9915636777877808, -0.15486811101436615, 0.15915097296237946, -0.436137318611145, 0.24915674328804016, -0.0987258329987526, -0.16404764354228973, -0.19251136481761932, -0.23148560523986816, 0.7317709922790527, 0.6463899612426758, -0.7104564905166626, 0.026899470016360283, 0.45298659801483154, -0.3879793882369995, -0.109231136739254, -0.377387136220932, 0.13672897219657898, -0.48012131452560425, -0.746987521648407, 0.006188973318785429, 0.1739654690027237, -0.7217465043067932, -0.2950266897678375, -0.3383633494377136, -0.16983376443386078, 0.2982603907585144, 0.0070500923320651054, -0.03193071112036705, -0.5988818407058716, 0.14993321895599365, -0.32510772347450256, 0.24124735593795776, -0.22864507138729095, -0.6230306029319763, 0.47183623909950256, 0.0059999870136380196, -0.23464958369731903, -0.36073678731918335, -0.0025528259575366974, 0.501060962677002, -0.16909238696098328, -0.09698798507452011, 0.05668361112475395, -0.49190181493759155, 0.0435744933784008, -0.43940961360931396, -0.43459251523017883, -0.37580886483192444, -0.04293074831366539, -0.2880580425262451, -0.8493956923484802, 0.2812139391899109, -0.3864026665687561, -0.1505369246006012, 0.4838855266571045, 0.2777361273765564, -0.07777886092662811, 0.30089277029037476, 0.1916012018918991, -0.20020955801010132, 0.20409558713436127, 0.006183146499097347, 0.0742957666516304, -0.45635294914245605, -0.031077373772859573, -1.100110650062561, -0.23599791526794434, -0.6599749326705933, -0.017591658979654312, 0.24097940325737, -0.16487304866313934, 0.21959376335144043, 0.6114214062690735, -0.3926575481891632, 0.07149036228656769, 0.5328380465507507, -0.13974061608314514, 0.557165801525116, 0.32412204146385193, -0.1537097841501236, -0.13444870710372925, -0.6851927638053894, -0.15712183713912964, 0.6167021989822388, 0.05232180282473564, 0.49148157238960266, 0.04102655500173569, 1.0460872650146484, 0.04970437288284302, -0.5271605253219604, -0.8928991556167603, 0.5014005899429321, -0.2949760854244232, -0.42802897095680237, -0.38956204056739807, -0.3919519782066345, -1.4158843755722046, 0.28725677728652954, -0.2361205518245697, -0.9449567198753357, 0.7148319482803345, 0.1523544043302536, -0.5425539612770081, 0.3420576751232147, -0.19071371853351593, 0.31501859426498413, 0.011552196927368641, 0.028760066255927086, -0.23973976075649261, -0.6884852647781372, 0.34355291724205017, -0.1743452250957489, 0.2758221924304962, -0.2483503818511963, 0.23437190055847168, 0.9121785163879395, -0.7134717702865601, 0.3181009888648987, 0.0909121185541153, -0.41878077387809753, 0.42789947986602783, 0.5038173198699951, 0.15154297649860382, -0.6653993129730225, -0.16160011291503906, 0.0754576325416565, 0.465154230594635, -0.07833434641361237, -0.3617650270462036, 0.5143151879310608, -0.36138755083084106, -0.39485013484954834, -0.4810323417186737, -0.7265092134475708, -0.20870435237884521, 0.1548084020614624, 0.12348447740077972, 0.6850870847702026, -0.36094850301742554, 0.33318838477134705, 0.3963403105735779, -0.01600436493754387, 0.6024607419967651, 0.26313289999961853, -0.12418273091316223, -0.21229293942451477, 0.9513586759567261, -0.003616717178374529, 0.13063202798366547, 0.2854577600955963, 0.4417194426059723, -0.26123756170272827, -0.7383950352668762, -0.4116699993610382, 0.09331447631120682, -0.11246109008789062, 0.29228633642196655, -0.3428114354610443, 0.20018480718135834, -0.19521436095237732, 0.02251538075506687, -0.22442014515399933, -0.7331604957580566, 0.10999666899442673, 0.12077085673809052, 0.4941501319408417, 0.7906373143196106, -0.47514885663986206, -0.09213541448116302, -0.6606529355049133, 0.334587961435318, 0.11050328612327576, -0.009578780271112919, -0.1801469922065735, -0.30365610122680664, 0.08930543065071106, 0.13907746970653534, 0.1626393347978592, -0.885118305683136, 0.3563196063041687, 0.844830334186554, 0.15710508823394775, 0.125327467918396, -0.09227591007947922, 0.8016500473022461, -0.5398059487342834, 0.8320925235748291, 0.09546397626399994, -0.7230117321014404, 0.3267003893852234, -0.5778263807296753, 0.30649763345718384, 0.614212155342102, 0.13657107949256897, -0.5433200001716614, -0.49827465415000916, -0.8254792094230652, -0.4924314320087433, 0.4202902317047119, 0.3966577351093292, -0.3986099660396576, 0.031159838661551476, 0.32923176884651184, 0.20548629760742188, 0.1670071929693222, 0.05754087492823601, 0.06350787729024887, 0.14179617166519165, -0.1357857882976532, -0.15748746693134308, 0.4592653810977936, 0.1055031418800354, -0.2820911109447479, 0.24046365916728973, -0.15433256328105927, 0.16995421051979065, 0.33935895562171936, -0.06461048871278763, -0.295082151889801, 0.1144537404179573, 0.6380258798599243, 0.48579874634742737, -0.03210430592298508, 0.308876097202301, 0.2837556302547455, -0.6678997874259949, 0.3119770586490631, -0.09454190731048584, -0.11595596373081207, 0.4689524173736572, 0.86974036693573, 0.6617878675460815, 0.5507941246032715, -0.3850972652435303, 0.45004796981811523, 0.1772274374961853, -0.2679156959056854, 0.006898378022015095, 0.09294076263904572, 0.24184584617614746, 0.22131122648715973, 0.17974448204040527, 0.2154628485441208, 0.5477986931800842, -1.080580472946167, 0.4508310854434967, 0.33991843461990356, -0.1322088986635208, -0.671846330165863, 0.4212682247161865, 0.008581523783504963, -0.3672119677066803, 0.5819553732872009, 0.12499280273914337, -0.4729028046131134, 0.6381339430809021, 0.4774930477142334, 0.6551580429077148, -0.36952996253967285, -0.2328193187713623, 0.6652302145957947, -0.03482022508978844, -0.0404454804956913, 0.3790900409221649, -0.34863540530204773, -0.27661073207855225, -0.29092735052108765, -0.7693957090377808, -0.6135868430137634, -0.250705748796463, -0.6595632433891296, 0.28324592113494873, -0.3207619786262512, 0.11496740579605103, 0.3121705651283264, -0.23529669642448425, -0.07713533937931061, 0.32598283886909485, 0.44530385732650757, 0.9808397889137268, -0.600291907787323, 0.48583829402923584, 0.1841408759355545, 0.08860035985708237, -0.9443116784095764, 0.10892199724912643, 0.4009009897708893, -0.498570054769516, 0.5652895569801331, -0.29400473833084106, -0.5221219062805176, 0.0676112100481987, -0.2868220806121826, -0.8431037068367004, 0.7255792617797852, 0.9153760671615601, -0.6818311214447021, -0.18316878378391266, 0.23581837117671967, 0.8886528015136719, -0.03480648249387741, 0.2082033008337021, 0.6324372291564941, 0.47105690836906433, 0.15951219201087952, -1.4673173427581787, -0.12918388843536377, 0.0985327810049057, -0.387332946062088, 0.4911699593067169, -0.47854751348495483, 0.7409797310829163, -0.08814151585102081, -0.5164228677749634, 0.3585314154624939, 0.7013936042785645, 0.21539759635925293, 0.012868406251072884, 0.7866839170455933, 0.6652306318283081, 1.101792335510254, -0.3601563274860382, 0.8693459033966064, -0.6179550290107727, 0.36863553524017334, 0.9456745386123657, -0.11129657924175262, 0.8225870728492737, 0.4212903678417206, -0.5715621113777161, 0.503046989440918, 1.001344919204712, -0.1281370371580124, 0.2846734821796417, 0.697593092918396, -0.20580020546913147, -0.009938289411365986, -0.5683802962303162, -0.6582194566726685, 0.595298707485199, 0.31213048100471497, 0.00499915424734354, -0.2623254954814911, -0.6452242732048035, 0.000993346213363111, -0.13236728310585022, -0.16522595286369324, 0.9891622066497803, 0.21465249359607697, -0.7960777878761292, 0.8197762370109558, -0.7485638856887817, 0.4877648651599884, -0.4731220304965973, -0.26470935344696045, -0.07614326477050781, -0.12573987245559692, -0.49163898825645447, -0.45737749338150024, 0.36134031414985657, -0.5465604662895203, 0.30064359307289124, 0.23011188209056854, 0.8624731302261353, -0.4715922474861145, 0.21056553721427917, 0.36875441670417786, 0.5052220821380615, 0.6115261912345886, 0.3008171319961548, -0.002878232393413782, 0.06974530965089798, -0.13643455505371094, 0.1996639519929886, -0.08406271785497665, 0.03139444440603256, 0.10948587954044342, 0.35760849714279175, 0.6136701107025146, 0.42879828810691833, 0.4167795777320862, -0.25166019797325134, 0.24410831928253174, -0.4225999712944031, -0.462863028049469, -0.8457109928131104, -0.036403585225343704, 0.3685658574104309, -0.2806021273136139, 0.6730858683586121, 0.7914911508560181, 1.0636063814163208, -0.10762752592563629, 0.568951427936554, 0.2225988805294037, 0.4873824715614319, -0.44793766736984253, 0.21556514501571655, -0.5134533047676086, -0.22504545748233795, -0.6110678911209106, -0.9554010033607483, -0.2607952058315277, 0.374810129404068, 0.102007657289505, -0.22424359619617462, 0.9401561617851257, 0.6370034217834473, -0.38858070969581604, 0.5860968828201294, 0.2176944613456726, 0.17170201241970062, -0.1555945873260498, 0.45223256945610046, 0.8271489143371582, -0.1492113471031189, 0.39868631958961487, -0.18849435448646545, 0.06976883113384247, -0.1461700201034546, -0.48010119795799255, -0.30132856965065, -0.6499752402305603, -0.32050076127052307, -0.29250913858413696, 0.48115116357803345, 1.065128207206726, 0.5881963968276978, -0.9774221777915955, -0.724937379360199, -0.10963604599237442, -0.2898864150047302, -0.4301902949810028, -0.06078298017382622, 0.3831610381603241, 0.19272074103355408, -0.695310652256012, 0.9713714718818665, 0.35383567214012146, 0.14686529338359833, 0.062347717583179474, -0.08170746266841888, -0.29362329840660095, 0.1417732983827591, 0.2103409469127655, 0.8023051619529724, -0.7444135546684265, -0.6078206896781921, -0.08759132772684097, -0.010586577467620373, 0.4186558127403259, 0.8312042355537415, -0.6766014099121094, 0.47728273272514343, 0.9500719904899597, 0.4604937732219696, 0.34351488947868347, -0.18201085925102234, 0.7681673169136047, -0.42978161573410034, 0.024213692173361778, 0.1598907709121704, 0.645392656326294, 0.3502599895000458, -0.04669148474931717, 0.7613112330436707, 0.5676700472831726, -0.22913707792758942, -0.8506943583488464, 0.35373976826667786, -1.2150774002075195, 0.1254861205816269, 1.2038863897323608, -0.0930900052189827, -0.22251169383525848, -0.3157366216182709, -0.3856774568557739, 0.45448651909828186, -0.2128669023513794, 0.4717492461204529, 0.650775671005249, -0.16955406963825226, 0.08922117948532104, -0.059619586914777756, 0.7581688761711121, 0.38701358437538147, -0.6272648572921753, -0.24941837787628174, 0.3668823838233948, 0.09150777757167816, 0.5401766896247864, 0.38542142510414124, 0.010558112524449825, 0.5313461422920227, 0.20252756774425507, -0.18030868470668793, 0.3936656713485718, -0.3954276740550995, -0.5075854063034058, 0.08011817932128906, 0.3740560710430145, 0.17668482661247253 ]
http://arxiv.org/abs/2402.02805v2
http://arxiv.org/pdf/2402.02805v2
Graph-enhanced Large Language Models in Asynchronous Plan Reasoning
2024-02-05T08:26:33
2024-06-03T13:07:06
Fangru Lin, Emanuele La Malfa, Valentin Hofmann, Elle Michelle Yang, Anthony Cohn, Janet B. Pierrehumbert
cs.AI
cs.AI, cs.CL, cs.LG
Planning is a fundamental property of human intelligence. Reasoning about asynchronous plans is challenging since it requires sequential and parallel planning to optimize time costs. Can large language models (LLMs) succeed at this task? Here, we present the first large-scale study investigating this question. We find that a representative set of closed and open-source LLMs, including GPT-4 and LLaMA-2, behave poorly when not supplied with illustrations about the task-solving process in our benchmark AsyncHow. We propose a novel technique called Plan Like a Graph (PLaG) that combines graphs with natural language prompts and achieves state-of-the-art results. We show that although PLaG can boost model performance, LLMs still suffer from drastic degradation when task complexity increases, highlighting the limits of utilizing LLMs for simulating digital devices. We see our study as an exciting step towards using LLMs as efficient autonomous agents. Our code and data are available at https://github.com/fangru-lin/graph-llm-asynchow-plan.
[ -0.24441514909267426, -0.8460454940795898, 0.8305819034576416, 0.3359309136867523, -0.1330697238445282, 0.3912643492221832, -0.35127881169319153, -0.6145229339599609, 0.31078046560287476, 0.6772153973579407, -0.7097762823104858, -0.4993699789047241, -0.3970116078853607, -0.00509799737483263, -0.3412977159023285, 0.36277005076408386, -0.43619340658187866, -0.09036442637443542, -0.33830657601356506, 0.024049920961260796, -0.28347229957580566, -0.3778236508369446, -0.7345117926597595, -0.7131303548812866, 0.4096764028072357, 0.4731573462486267, 0.7469622492790222, 0.5090327262878418, 0.2356574386358261, 0.3001464307308197, -0.015724970027804375, 0.4425123333930969, -0.3860239088535309, 0.11646079272031784, 0.17613445222377777, -0.18461643159389496, -0.7056121230125427, -0.1437888890504837, 0.5691083669662476, 1.0190205574035645, 0.09906712919473648, 0.04651638865470886, 0.03870826214551926, 0.4660874605178833, -0.28916096687316895, 0.7543671131134033, -0.5079776048660278, -0.12002024799585342, -0.1045764833688736, -0.0027913174126297235, -0.4859548807144165, -0.1959352195262909, -0.06662099808454514, -0.7177318334579468, -0.27514562010765076, 0.037942759692668915, 0.5638815760612488, 0.20227405428886414, -0.32847097516059875, -0.4680083394050598, -0.8231369853019714, 0.3446459174156189, -0.5636485815048218, 0.21660390496253967, 0.4134097397327423, 0.3200865089893341, -0.5301914811134338, -0.9780943989753723, -0.6295716166496277, -0.3958413302898407, -0.0029330856632441282, -0.03801259025931358, -0.2054961770772934, 0.3021863102912903, 0.6006743311882019, -0.05709189921617508, -0.605376124382019, 0.38342490792274475, 0.031594425439834595, -0.2399856448173523, 0.7562441825866699, 0.27047255635261536, 0.25235599279403687, 0.013574972748756409, -0.2589779496192932, 0.030997032299637794, -0.7092075943946838, 0.15871071815490723, 0.4494999349117279, 0.1950041651725769, -0.08179550617933273, 0.8165292143821716, -0.43377262353897095, 0.6700129508972168, -0.334724485874176, 0.07884813845157623, 0.10846570134162903, -0.3264691233634949, -0.11835716664791107, -0.07451946288347244, 0.795089840888977, 0.3483135998249054, 0.6140379905700684, -0.17023612558841705, -0.234908789396286, 0.35693788528442383, -0.20095865428447723, -0.7831522822380066, -0.43399176001548767, 0.37982258200645447, -0.09361080825328827, 0.14487187564373016, -0.5200425982475281, -0.552727460861206, -0.4685763120651245, -0.18156005442142487, 0.18034756183624268, -0.4273854196071625, -0.16942474246025085, 0.18414191901683807, 0.13770148158073425, 0.018369847908616066, 0.5577940344810486, -0.5413385033607483, 0.45203545689582825, 0.7416109442710876, 0.767329752445221, 0.10099340975284576, -0.5541720986366272, -0.649185299873352, 0.07746931165456772, -0.5790786743164062, 1.1046628952026367, -0.5011085867881775, -0.5815533995628357, 0.053170811384916306, -0.16798187792301178, 0.04985105246305466, -0.39587268233299255, 0.4264473021030426, -0.4693734645843506, -0.07860875129699707, -0.35442915558815, -0.5475113987922668, -0.14032502472400665, 0.29200103878974915, -0.6885405778884888, 0.6173776984214783, -0.23782217502593994, -0.45153987407684326, 0.1422833800315857, -0.8102890253067017, -0.7227770686149597, 0.24344363808631897, -0.2868495583534241, -0.21546921133995056, -0.3493645489215851, 0.24982976913452148, 0.46910911798477173, -0.42997464537620544, 0.3353293240070343, -0.31350189447402954, -0.28957873582839966, 0.1967383623123169, -0.16390849649906158, 0.8657707571983337, 0.04996009171009064, -0.25333136320114136, 0.5555247068405151, -0.4929015636444092, 0.2647388279438019, 0.41127854585647583, -0.26881468296051025, 0.10679913312196732, 0.4440135061740875, -0.27913811802864075, 0.09314192831516266, 0.3981911540031433, -0.42286384105682373, 0.37420982122421265, -0.3287545442581177, 0.6678768396377563, 0.6796523332595825, -0.3076816201210022, 0.4852708578109741, -0.35302263498306274, 0.4727511405944824, -0.6241873502731323, -0.013279475271701813, -0.341058611869812, -0.6757796406745911, -0.6311534643173218, -0.3065105676651001, -0.07242655754089355, 0.4114310145378113, -0.8311144709587097, 0.1355101317167282, -0.3273260295391083, -0.29601460695266724, 0.07817545533180237, -0.08489762246608734, 0.2666986286640167, 0.3828701972961426, 0.31620705127716064, -0.06554378569126129, -0.30981960892677307, -0.5415475964546204, -0.11237240582704544, -0.32320716977119446, -0.10116931051015854, 0.45389533042907715, 0.3347388803958893, -0.41651853919029236, 0.8208689093589783, -0.6427236795425415, -0.059057049453258514, -0.4921949803829193, 0.25968021154403687, 0.0074683427810668945, -0.0009576067677699029, 0.31083405017852783, -0.49352237582206726, -0.4348546862602234, 0.028936173766851425, -0.6213421821594238, -0.4710480570793152, -0.08087707310914993, -0.03137518838047981, 0.3732767701148987, 0.5680832266807556, -0.9864630699157715, 0.284686803817749, 0.6231058835983276, -0.5444638133049011, 0.7125595211982727, -0.2898949086666107, -0.2557930648326874, -0.6982751488685608, 0.10860435664653778, -0.22788065671920776, -0.48040148615837097, -0.6625126004219055, 0.11402854323387146, -0.013687757775187492, -0.3661450147628784, -0.03449057787656784, 0.7072570323944092, -0.6280288100242615, -0.5316388607025146, -0.5858945250511169, 0.1532934457063675, -0.08447819203138351, 0.4488521218299866, -0.01756870560348034, 0.6334867477416992, 0.5014055371284485, -0.36597615480422974, 0.3864899277687073, 0.2945890426635742, -0.21787314116954803, -0.07495152950286865, -0.6448999047279358, 0.3014581501483917, -0.10320305079221725, 0.7075838446617126, -0.8143302202224731, -0.3885907530784607, 0.27379685640335083, -0.26131078600883484, 0.22571249306201935, 0.09217418730258942, -0.9059808254241943, -0.6830506324768066, -0.08631418645381927, 0.14123187959194183, 0.4354907274246216, -0.6553545594215393, 0.7379481792449951, 0.5077564120292664, -0.23689095675945282, -0.23214343190193176, -0.4306846857070923, 0.1289682686328888, 0.09209277480840683, -0.834024965763092, 0.4012051224708557, -0.14533893764019012, -0.40035557746887207, 0.0271266121417284, -0.06742331385612488, -0.0005008321604691446, 0.00660190312191844, 0.43134191632270813, 0.20269712805747986, 0.061497170478105545, -0.02009008266031742, -0.19019955396652222, -0.2250746488571167, 0.193368598818779, -0.3803844153881073, 1.0904837846755981, -0.0757981464266777, -0.45600730180740356, -0.43972381949424744, 0.41971707344055176, 0.5623841285705566, -0.41624754667282104, 0.2189103364944458, 0.12136519700288773, -0.38526591658592224, -0.3993070423603058, -0.29562821984291077, -0.047778986394405365, -0.4751743972301483, 0.2116345763206482, -0.4144003391265869, -0.7569235563278198, 0.6754069924354553, -0.41127848625183105, 0.16006000339984894, 0.09206140786409378, 0.4359515309333801, -0.08750606328248978, 1.108181118965149, 0.46222350001335144, 0.08238217979669571, 0.3761647045612335, -0.3837706446647644, 0.0347878523170948, -0.4355345368385315, -0.2561197578907013, -0.32640141248703003, -0.4008149206638336, -0.4347851574420929, -0.8196409940719604, 0.17146869003772736, 0.103455550968647, -0.41172683238983154, 0.13907617330551147, -0.22608572244644165, 0.44756150245666504, 0.40512803196907043, -0.12225662171840668, 0.5110007524490356, -0.03560797870159149, -0.02136101946234703, 0.4310286343097687, -0.6736335158348083, -0.5752321481704712, 0.9046513438224792, 0.29097774624824524, 0.7063965201377869, -0.2954144775867462, 0.5403655171394348, -0.08941586315631866, 0.18089640140533447, -0.8757110238075256, 1.0717140436172485, -0.1274137645959854, -0.23069335520267487, -0.5742535591125488, -0.5214539766311646, -1.0664268732070923, -0.0007202247506938875, -0.020192844793200493, -0.9007353782653809, -0.05309838056564331, 0.12468716502189636, -0.14937138557434082, 0.24696770310401917, -0.7312987446784973, 0.7552491426467896, -0.5493156909942627, -0.1623382568359375, -0.33074891567230225, -0.4299585819244385, 0.11536412686109543, -0.06506913155317307, 0.16186107695102692, -0.5529360771179199, 0.12936565279960632, 0.5968632102012634, -0.5601276159286499, 0.7432937622070312, -0.30227524042129517, 0.10787305235862732, 0.55657958984375, 0.20576748251914978, 0.9559458494186401, -0.18397079408168793, -0.003445834619924426, 0.26867783069610596, -0.4610782265663147, -0.43009600043296814, -0.4961431324481964, 0.7491264939308167, -0.61848384141922, -0.5787649154663086, -0.16336224973201752, -0.9894446730613708, -0.2652614414691925, 0.37728333473205566, 0.06266777217388153, 0.5392069816589355, 0.11317192018032074, -0.268513560295105, 0.09503103792667389, -0.3053821325302124, 0.7194104790687561, 0.3927512466907501, -0.6537961959838867, -0.04316072538495064, 0.7187134623527527, 0.42115238308906555, 0.4150233566761017, 0.0719539225101471, 0.23829346895217896, -0.3440089225769043, -0.739554226398468, -0.3381110429763794, 0.3261853754520416, -0.6972544193267822, -0.008302928879857063, -0.6968321204185486, -0.20588399469852448, -0.2754642963409424, -0.350458562374115, -0.4366905391216278, -0.424511194229126, -0.03430497646331787, 0.012346439994871616, 0.366693913936615, 0.899064302444458, 0.1141398549079895, 0.12631087005138397, -0.3192947506904602, 0.3349571228027344, 0.322397917509079, 0.3622027635574341, -0.03589053452014923, 0.17679540812969208, 0.24377430975437164, 0.09352031350135803, -0.13080592453479767, -0.7927209138870239, 0.4500441253185272, -0.0950460210442543, 0.6223751306533813, 0.13741649687290192, 0.14972370862960815, 0.7360778450965881, -0.6399363279342651, 0.41103434562683105, 0.12272778153419495, -0.8535755276679993, 0.3815978467464447, -0.566896378993988, 0.3842124938964844, 0.18764932453632355, 0.33063554763793945, -0.21408207714557648, -0.3125419020652771, -0.4626825749874115, -1.0339007377624512, 0.6434371471405029, 0.14037300646305084, -0.08640242367982864, 0.06346327066421509, 0.13886658847332, -0.168744295835495, 0.17324796319007874, -0.6193854212760925, -0.11549912393093109, -0.11259108781814575, 0.05407140403985977, -0.21264085173606873, -0.2332322895526886, -0.0665319636464119, -0.11943797767162323, 0.26139581203460693, -0.4120585024356842, 0.5001794099807739, 0.057541169226169586, 0.033143531531095505, -0.16258978843688965, 0.02923133783042431, 0.5223216414451599, 0.7105451822280884, 0.009945414029061794, 0.18394629657268524, 0.13912425935268402, -0.21826758980751038, 0.028424806892871857, 0.5018871426582336, -0.05063645914196968, -0.22344160079956055, 0.39252567291259766, 0.7516089081764221, 0.18785636126995087, -0.9669771194458008, 0.3384210169315338, 0.023482970893383026, -0.2408100664615631, -0.44677817821502686, -0.18219059705734253, 0.33716174960136414, 0.579241931438446, 0.25998032093048096, -0.26356786489486694, -0.11313969641923904, -0.6997166275978088, 0.007257995195686817, 0.5094995498657227, -0.061186496168375015, -0.19803985953330994, 0.7105443477630615, 0.17643508315086365, -0.7016443014144897, 0.6567671298980713, -0.7133219242095947, -0.5285956263542175, 0.8118581771850586, 0.7583633065223694, 0.6626623272895813, 0.014684375375509262, 0.38798651099205017, 0.0001436766324331984, 0.31314149498939514, -0.16394463181495667, 0.47719746828079224, -0.026779863983392715, -0.7551271915435791, -0.900216817855835, -0.3621949851512909, -0.48575225472450256, -0.06644027680158615, -0.04281345009803772, 0.27240657806396484, -0.5745940208435059, 0.011838935315608978, -0.09204229712486267, 0.17444588243961334, -0.49401718378067017, -0.17714664340019226, 0.2698500454425812, 0.8458314538002014, -0.5108845233917236, 0.8609910607337952, 0.868842601776123, -0.04532282054424286, -1.1034083366394043, 0.25599995255470276, -0.06434701383113861, -0.8559463024139404, 0.6374359130859375, 0.42526233196258545, -0.2662724554538727, 0.193244069814682, -0.3294372856616974, -0.8637659549713135, 1.2507413625717163, 0.6274339556694031, -0.6286013722419739, -0.36444202065467834, 0.0858936607837677, 0.4813104271888733, -0.28060397505760193, 0.05892395228147507, 0.4399532079696655, 0.4451408088207245, 0.438186377286911, -1.0884277820587158, 0.1635432094335556, -0.05817282199859619, -0.42282772064208984, 0.39092159271240234, -0.548031747341156, 0.9618093371391296, -0.39600130915641785, -0.5061943531036377, 0.021044859662652016, 0.33602339029312134, 0.40979284048080444, 0.6504747867584229, 0.5531934499740601, 0.3474763035774231, 0.9739238619804382, 0.03666999191045761, 1.2540606260299683, -0.297325998544693, 0.1659630835056305, 1.1184762716293335, -0.7430375218391418, 0.7385532855987549, -0.035874877125024796, -0.04598284140229225, 0.4204939901828766, 0.4241945445537567, 0.34982889890670776, 0.24854417145252228, 0.16927450895309448, -0.13856260478496552, -0.3389997184276581, -0.1920861303806305, -0.02563418075442314, 0.6038503646850586, 0.4895947575569153, 0.03650421276688576, -0.3325442373752594, -0.06143588200211525, 0.2102266401052475, 0.16966982185840607, -0.60784912109375, 0.5710116028785706, 0.13247992098331451, -0.6833671927452087, 0.49847307801246643, -0.21301394701004028, 0.30404138565063477, -0.472019225358963, 0.11046724766492844, 0.05873608961701393, 0.020168274641036987, -0.05764861777424812, -0.9663071036338806, 0.3143768012523651, 0.020228084176778793, 0.13400530815124512, -0.3962025046348572, 0.9196828603744507, -0.2226838767528534, -0.41382884979248047, 0.7288148999214172, 0.4899604618549347, 0.005560033489018679, -0.2028254121541977, -0.4326237738132477, 0.08259214460849762, -0.1601049304008484, -0.16581301391124725, 0.1710638403892517, 0.21796084940433502, -0.2933652102947235, 1.0294556617736816, 0.6875889897346497, 0.15943117439746857, -0.022603007033467293, 0.04636688530445099, 1.1086796522140503, -0.5049494504928589, -0.6140848994255066, -0.8273310661315918, 0.35121849179267883, -0.270884245634079, 0.1743108481168747, 0.6852547526359558, 0.45170265436172485, 0.7042190432548523, 0.3962412178516388, 0.5891335010528564, 0.250388503074646, 0.33108222484588623, -0.5515347719192505, 0.5798126459121704, -0.2503811717033386, 0.2221975177526474, -0.1218472421169281, -0.6943269371986389, -0.27363812923431396, 0.5659403800964355, -0.6679081916809082, -0.21258176863193512, 0.6727713942527771, 0.584712564945221, 0.25628146529197693, -0.028981463983654976, 0.3527642786502838, 0.23015791177749634, 0.5483332872390747, 0.709999144077301, 0.981044352054596, 0.30400094389915466, 0.6702454686164856, -0.10396535694599152, -0.1870492696762085, -0.1566779911518097, -0.7400467991828918, -1.0838218927383423, -0.4282197654247284, -0.2509234845638275, -0.16266818344593048, 0.01944568380713463, 0.974634051322937, 0.5214440226554871, -0.29259732365608215, -0.41332539916038513, -0.4815623462200165, 0.19968952238559723, 0.033925168216228485, -0.11658412218093872, 0.20543430745601654, -0.22320975363254547, -0.5132768154144287, 0.6284409761428833, 0.3472574055194855, 0.03806491196155548, -0.2693201005458832, -0.26226869225502014, 0.004253621678799391, 0.06357143819332123, 0.7709352970123291, 0.4616813659667969, -0.6382918357849121, -0.3079911470413208, 0.011327710933983326, -0.04192183539271355, -0.012380260042846203, 0.9504980444908142, -0.6856753826141357, 0.5900425910949707, 0.4547187387943268, 0.5195788741111755, 0.7503331303596497, -0.05460513010621071, 0.5395371317863464, -0.5013259053230286, 0.2569979131221771, 0.4615057110786438, 0.5209488272666931, 0.13856005668640137, -0.14512163400650024, 0.4347124993801117, 0.0063591389916837215, -0.8532302379608154, -0.7582131028175354, 0.5805219411849976, -0.9566622376441956, -0.46311551332473755, 1.4494893550872803, -0.048731833696365356, -0.18960809707641602, -0.16019898653030396, -0.27658483386039734, 0.17099031805992126, -0.3811855614185333, 0.48952069878578186, 0.4276115894317627, -0.499098539352417, -0.044349588453769684, -0.6405025720596313, 0.34116145968437195, -0.016802912577986717, -1.0907365083694458, 0.29309916496276855, 0.7207382917404175, -0.08720427006483078, 0.22598719596862793, 1.1611043214797974, 0.22917293012142181, 0.07981077581644058, 0.22869764268398285, -0.0622844398021698, -0.351654052734375, -0.48490676283836365, -0.041860319674015045, 0.15651026368141174, 0.3413918912410736, -0.08408566564321518 ]
http://arxiv.org/abs/2402.02801v2
http://arxiv.org/pdf/2402.02801v2
KS-Lottery: Finding Certified Lottery Tickets for Multilingual Language Models
2024-02-05T08:19:56
2024-06-03T07:35:25
Fei Yuan, Chang Ma, Shuai Yuan, Qiushi Sun, Lei Li
cs.CL
cs.CL, cs.AI, cs.LG
The lottery ticket hypothesis posits the existence of ``winning tickets'' within a randomly initialized neural network. Do winning tickets exist for LLMs in fine-tuning scenarios? How can we find such winning tickets? In this paper, we propose KS-Lottery, a method to identify a small subset of LLM parameters highly effective in multilingual fine-tuning. Our key idea is to use Kolmogorov-Smirnov Test to analyze the distribution shift of parameters before and after fine-tuning. We further theoretically prove that KS-Lottery can find the certified winning tickets in the embedding layer, fine-tuning on the found parameters is guaranteed to perform as well as full fine-tuning. Comparing KS-Lottery with other parameter-efficient tuning algorithms on translation tasks, the experimental results show that KS-Lottery finds a much smaller set of parameters for fine-tuning while achieving the comparable performance as full fine-tuning LLM. Surprisingly, we find that fine-tuning 18 tokens' embedding of LLaMA suffices to reach the fine-tuning translation performance~\footnote{https://github.com/CONE-MT/KS-Lottery.}.
[ -0.32519659399986267, -0.5187822580337524, 0.5002328157424927, 0.20933561027050018, -0.7846418023109436, -0.11110762506723404, -0.6688515543937683, -0.2204059660434723, 0.32279714941978455, 0.5353475213050842, -0.4547431766986847, -0.5806270837783813, -0.706663966178894, 0.09960593283176422, -0.44625434279441833, 0.7049937844276428, 0.0005046590813435614, 0.4694672226905823, -0.07664826512336731, -0.02266465313732624, 0.04664188623428345, -0.13561320304870605, -0.5700280070304871, -0.39840009808540344, 0.9544852375984192, 0.5747031569480896, 0.49514254927635193, 0.6829937696456909, 0.3068510591983795, 0.2672683000564575, -0.1886131763458252, 0.22300775349140167, -0.35122424364089966, 0.07847671955823898, 0.10251983255147934, -1.1575289964675903, 0.23935562372207642, 0.1073961853981018, 0.6875149011611938, 0.5050152540206909, -0.31896713376045227, 0.22576315701007843, 0.039093151688575745, 0.5572534799575806, -0.6443438529968262, 0.16115206480026245, -0.9086496829986572, 0.4969380795955658, -0.4440723955631256, -0.605968713760376, -0.44798120856285095, -0.4773871898651123, -0.39654210209846497, -0.4764227271080017, 0.2274438589811325, 0.10893648862838745, 0.9416240453720093, 0.22130870819091797, -0.5236215591430664, -0.44837236404418945, -0.5632348656654358, 0.7547792196273804, -0.6311509609222412, 0.5818136930465698, 0.2763029932975769, 0.3264351487159729, -0.3752266764640808, -0.3418451249599457, -0.5555459856987, -0.7368850111961365, 0.21342508494853973, 0.043502528220415115, 0.3938876688480377, 0.16976574063301086, -0.010804036632180214, 0.22361184656620026, -0.22649630904197693, 0.18337365984916687, -0.15279963612556458, -0.411104291677475, 0.5462614893913269, 0.12082402408123016, 0.15692730247974396, 0.04927154257893562, 0.034178365021944046, -0.12119393795728683, -0.7165787220001221, 0.10659557580947876, 0.8925551772117615, 0.6352194547653198, -0.04291898384690285, 0.7287346124649048, -0.5530680418014526, 0.7950791716575623, 0.1508176028728485, -0.4703441262245178, 0.005618429742753506, -0.6481518745422363, 0.022842448204755783, 0.05112195760011673, 0.5997452139854431, 0.1175684854388237, 0.6510566473007202, -0.4817031919956207, -0.2917199432849884, -0.27444493770599365, -0.09542077779769897, -0.5353351831436157, -0.20024457573890686, -0.047385696321725845, -0.6608622670173645, -0.7492713928222656, -0.3104734420776367, -0.576829195022583, -0.48802676796913147, -0.43838560581207275, 0.5190075039863586, -0.08138163387775421, -0.2699616849422455, 0.11595316231250763, -0.11193857342004776, 0.3423226773738861, 0.007245594635605812, -1.0404776334762573, -0.03041796013712883, 0.6626859903335571, 0.6659687757492065, -0.04585414379835129, -0.5898590087890625, -0.5626258850097656, -0.3120720386505127, -0.7215909957885742, 0.9477255940437317, -0.33002978563308716, -0.02939426898956299, 0.16698101162910461, -0.04413383826613426, -0.08428533375263214, -0.7641022205352783, 0.312152624130249, -0.7576461434364319, -0.4432583749294281, -0.19320760667324066, -0.5264867544174194, 0.3318977653980255, 0.2657914161682129, -0.462004691362381, 0.7285998463630676, -0.23046651482582092, -0.1920621544122696, 0.749452531337738, -0.11865290999412537, -0.593180239200592, -0.06531523168087006, -0.17928709089756012, -0.3277781009674072, 0.5522257685661316, -0.09548263996839523, 0.48326194286346436, -0.23369364440441132, -0.03569049760699272, -0.5194178223609924, -0.4309448003768921, 0.44589173793792725, -0.47760477662086487, 0.6763066649436951, 0.2811742424964905, -0.33536675572395325, -0.18307489156723022, -0.9446617960929871, 0.10387855768203735, 0.03510481119155884, -0.7524737119674683, -0.1308010369539261, 0.031444087624549866, 0.09379962831735611, 0.27401936054229736, 0.3800390064716339, -0.5727372765541077, 0.15443530678749084, -0.5966548919677734, 0.03775079548358917, 0.808590292930603, -0.08153582364320755, 0.778437614440918, 0.11766549199819565, 0.6232078075408936, 0.5135433077812195, 0.2558269202709198, 0.14560312032699585, -0.5683409571647644, -1.0508054494857788, 0.09008681029081345, 0.7379160523414612, 0.34866324067115784, -0.583652138710022, 0.15501391887664795, 0.0457543283700943, -0.5351884365081787, -0.8719995021820068, 0.3603253662586212, 0.171200692653656, 0.0926896259188652, -0.14615829288959503, 0.1694045215845108, -0.3417647182941437, -1.2619022130966187, -0.4942878186702728, 0.2784583270549774, 0.2764472961425781, 0.39759552478790283, 0.3601752817630768, 0.11294709891080856, 0.5740938186645508, -0.26050183176994324, -0.40250664949417114, -0.008889312855899334, -0.13951706886291504, 0.33627352118492126, 0.33036720752716064, 0.4756120443344116, -0.8021669983863831, -0.719973623752594, 0.5523457527160645, -0.4092831611633301, 0.01076775323599577, -0.08195029199123383, 0.10878098756074905, 0.3403090536594391, 0.4219374358654022, -0.3857327699661255, 0.29017508029937744, 0.5411860942840576, -0.513837993144989, 0.4694507420063019, -0.479830801486969, 0.27220410108566284, -1.1006510257720947, -0.2744862735271454, -0.194046750664711, -0.17603816092014313, -0.3948822021484375, 0.3202812075614929, 0.4053248465061188, 0.15097448229789734, -0.37986695766448975, 0.25968167185783386, -0.3618124723434448, -0.014773276634514332, -0.4034384489059448, 0.23481377959251404, -0.665794312953949, 0.45013442635536194, -0.34710562229156494, 0.5659772157669067, 0.5049350261688232, -0.666649580001831, 0.44790583848953247, -0.23633641004562378, -0.8580037951469421, 0.5328904390335083, -0.1260979324579239, -0.0453852042555809, -0.2543770372867584, -0.22866705060005188, -1.0004843473434448, -0.14587007462978363, 0.37611880898475647, -0.3664621114730835, 0.14402593672275543, -0.40360257029533386, -0.8026682734489441, -0.031087860465049744, 0.21368901431560516, 0.051816899329423904, 0.47598376870155334, -0.5140355229377747, 0.3878898620605469, 0.2507987916469574, 0.045751847326755524, -0.5697789192199707, -0.521350622177124, 0.18035994470119476, -0.26189202070236206, -0.31425973773002625, -0.010108673945069313, -0.15039101243019104, 0.010633488185703754, -0.1680300384759903, 0.03304174169898033, -0.02398831769824028, 0.4740234613418579, -0.05794966220855713, -0.304206520318985, -0.20533733069896698, -0.004827861674129963, 0.4534010589122772, -0.43081533908843994, -0.1654215306043625, -0.5443714261054993, 0.470771849155426, 0.10992177575826645, -0.332684189081192, -0.16368572413921356, 0.21321244537830353, 0.5586990118026733, -0.07324022054672241, 0.7079391479492188, 0.5244830846786499, -0.38187000155448914, -0.3182736039161682, -0.616064190864563, -0.2671220004558563, -0.4702882468700409, 0.5420823693275452, -0.7123838067054749, -0.8698275089263916, 0.8338363170623779, -0.2303047776222229, -0.3152797520160675, 0.393255352973938, 0.732857346534729, -0.01792377233505249, 1.3947092294692993, 0.4638879597187042, -0.08868720382452011, 0.31297069787979126, -0.017522960901260376, 0.2495172917842865, -0.32110100984573364, -0.34285295009613037, -0.7646637558937073, -0.6655553579330444, -0.8078941702842712, -0.16914916038513184, 0.3563920259475708, 0.37374117970466614, 0.16481970250606537, 0.12107052654027939, -0.2355763167142868, 0.9681645035743713, 0.8723266124725342, -0.09976177662611008, 0.2802238464355469, -0.007957070134580135, -0.7467851638793945, -0.11248528957366943, -0.6418299674987793, -0.16198988258838654, 1.1270740032196045, -0.015616409480571747, 0.43514975905418396, -0.012426839210093021, 1.0608326196670532, -0.14024072885513306, 0.10810210555791855, -0.6960592865943909, 0.6667228937149048, -0.1667722910642624, -0.5471177101135254, -0.4261831045150757, -0.3075026273727417, -0.8689143061637878, 0.20821411907672882, -0.3230483829975128, -0.7672325968742371, 0.2377035766839981, 0.07246103137731552, -0.2796747386455536, 0.1721477508544922, -0.4496976435184479, 0.8260378241539001, -0.2463420033454895, -0.037489935755729675, -0.5336896181106567, -0.42500606179237366, 0.10383699834346771, -0.3854716122150421, 0.09357716143131256, -0.28208500146865845, -0.09996061027050018, 0.35930562019348145, -0.08786754310131073, 0.6997236609458923, -0.2804493010044098, -0.3648154139518738, -0.014494750648736954, 0.15048524737358093, 0.8544185161590576, 0.31363821029663086, -0.2734939157962799, 0.04303313419222832, 0.10971404612064362, -0.27277496457099915, -0.7479298710823059, 1.0899063348770142, -0.781833827495575, -0.3701014518737793, -0.08066181093454361, -0.42181530594825745, 0.03430011868476868, 0.31767916679382324, 0.40733757615089417, 0.0919303372502327, 0.260957270860672, 0.4280502498149872, 0.45326584577560425, -0.004001222085207701, 0.3873533606529236, 0.708091139793396, -0.049257777631282806, -0.5220715999603271, 1.129279613494873, 0.4212498366832733, 0.040727999061346054, 0.4041908085346222, 0.4287627339363098, -0.2506900429725647, -0.9919168949127197, -0.6409231424331665, 0.1495455950498581, -0.7275570034980774, -0.12567180395126343, -0.1588829755783081, -0.0008185417391359806, -0.12771093845367432, 0.021225959062576294, -0.7064629793167114, -0.39210736751556396, -0.43191903829574585, -0.05288021266460419, 0.1567278802394867, 0.5574597716331482, -0.15870225429534912, 0.09279801696538925, -0.5145982503890991, 0.1158037930727005, 0.19439737498760223, 0.7496256232261658, 0.06459105759859085, -0.3901863694190979, -0.743870198726654, 0.1483583003282547, -0.14473845064640045, -0.8019400238990784, 0.1655254364013672, 0.2179621458053589, 0.6033596396446228, 0.5079406499862671, -0.2836405336856842, 0.755802571773529, -0.7137577533721924, 0.8006564378738403, 0.003965066745877266, -0.6035553812980652, 0.4111286401748657, -0.31457850337028503, 0.09118311107158661, 0.6931579113006592, 0.03457096591591835, -0.5704783797264099, -0.684548556804657, -0.4369882047176361, -0.5746066570281982, 0.742240309715271, 0.10354205220937729, 0.33314210176467896, -0.08793982118368149, 0.7282798290252686, 0.18441781401634216, 0.32661575078964233, -0.754593014717102, -0.7851639986038208, 0.22658196091651917, -0.31146979331970215, -0.45305055379867554, -0.3185322880744934, 0.11108983308076859, -0.3174040615558624, 0.5578130483627319, -0.2093990594148636, 0.1158256083726883, -0.19621141254901886, 0.038879770785570145, -0.2855336666107178, 0.17450246214866638, 1.071997046470642, 0.4330761134624481, 0.006014899350702763, 0.19636058807373047, 0.35863083600997925, -0.2961380183696747, 0.27589330077171326, 0.20521777868270874, -0.35755789279937744, 0.025646992027759552, -0.04994510859251022, 0.6488543748855591, 0.6966915130615234, -0.5609440803527832, 0.3047872483730316, 0.09702783077955246, -0.5305073261260986, -0.3835412263870239, 0.2283780574798584, 0.31354373693466187, 0.4641098380088806, 0.495890736579895, -0.07315093278884888, 0.11992533504962921, -0.24770434200763702, 0.15158309042453766, 0.5259743332862854, -0.42557576298713684, -0.19152075052261353, 0.7119287848472595, 0.031587839126586914, -0.7013116478919983, 0.4731205403804779, -0.5271559357643127, -0.2382662296295166, 0.7178782224655151, 0.6340709924697876, 0.8212684988975525, -0.0544840432703495, 0.3133339583873749, 0.23912055790424347, 0.25864094495773315, -0.14247021079063416, 0.38491591811180115, -0.1683243215084076, -0.9144113659858704, -0.36479872465133667, -0.7277206182479858, -0.11857812851667404, -0.023941682651638985, -0.39216405153274536, 0.3569294214248657, 0.16453181207180023, 0.08534862846136093, 0.11091944575309753, 0.08502265065908432, -0.7114706635475159, 0.01887807995080948, 0.2186538279056549, 0.9404269456863403, -0.7167393565177917, 0.9455860257148743, 0.5939700603485107, -0.1708206832408905, -0.7725472450256348, -0.16704867780208588, -0.3136293590068817, -0.7878319621086121, 0.7883206605911255, -0.2865659296512604, 0.29120463132858276, 0.3138658106327057, -0.4755959212779999, -1.1844801902770996, 0.9855173826217651, 0.5517026782035828, -0.7483028173446655, 0.22921591997146606, 0.7278817892074585, 0.44195109605789185, -0.16911198198795319, 0.06806348264217377, 0.5923561453819275, 0.4880034029483795, -0.018851008266210556, -0.9284010529518127, -0.3974294066429138, -0.09258443862199783, -0.11688274145126343, 0.5175502896308899, -0.5243387222290039, 0.5616322755813599, -0.09540534764528275, 0.1973700374364853, 0.3707164227962494, 0.36575090885162354, 0.3382413685321808, 0.30409303307533264, 0.5880882740020752, 0.5366025567054749, 0.8284347057342529, -0.19243650138378143, 1.0308655500411987, -0.6391292810440063, 0.5698007345199585, 0.5809551477432251, 0.05873474106192589, 0.9385756850242615, 0.7998755574226379, -0.060954686254262924, 0.17353340983390808, 0.7668293714523315, 0.07122687250375748, 0.954600989818573, 0.6242192983627319, -0.2103230506181717, -0.7176167368888855, 0.13418525457382202, -0.07712298631668091, 0.534188985824585, -0.06053898483514786, -0.35805580019950867, -0.22751115262508392, 0.44116634130477905, -0.37222400307655334, -0.1826292723417282, -0.2846617102622986, 0.7102983593940735, 0.3071132302284241, -0.7749308347702026, 0.3601064085960388, 0.23540860414505005, 0.5676920413970947, -0.6380465030670166, 0.18052814900875092, -0.4778774380683899, 0.5090210437774658, 0.18595916032791138, -0.45973408222198486, -0.01277807168662548, -0.40190261602401733, -0.027971012517809868, 0.02536364458501339, 0.7797439694404602, -0.7432100176811218, -0.6723960638046265, 0.14477425813674927, 0.24083387851715088, 0.18533790111541748, 0.012439929880201817, -0.7040503621101379, -0.07656877487897873, 0.06396593898534775, -0.4674256443977356, 0.6831192374229431, 0.5018514394760132, 0.28414350748062134, 0.7350871562957764, 0.662311851978302, 0.5330987572669983, 0.12229709327220917, 0.2770130932331085, 0.24660415947437286, -0.591468870639801, -0.717650830745697, -0.9297752976417542, 0.4646797180175781, 0.09731854498386383, -0.5793926119804382, 0.8266437649726868, 0.7081732153892517, 0.9093335270881653, -0.47393661737442017, 0.5071137547492981, 0.47187161445617676, 0.07888370752334595, -0.5378067493438721, 0.8786263465881348, -0.8777750730514526, -0.03225197643041611, -0.015670539811253548, -0.7712823152542114, -0.4755454957485199, 0.5095329880714417, 0.1362859606742859, -0.13140557706356049, 0.45732641220092773, 0.9801337718963623, -0.09977499395608902, -0.18223653733730316, 0.5816013216972351, 0.08518359810113907, 0.06985659152269363, 0.48314398527145386, 0.8924373388290405, -0.6080348491668701, 0.8256403207778931, -0.4550075829029083, 0.03751759976148605, -0.4268896281719208, -0.9021975994110107, -0.8284387588500977, -0.7464298009872437, -0.3969007432460785, -0.32924845814704895, 0.10117816925048828, 0.9121147394180298, 0.5931764841079712, -0.8849705457687378, -0.27931034564971924, -0.2170545756816864, 0.4992520809173584, -0.39955613017082214, -0.12593384087085724, 0.026623409241437912, -0.5711840391159058, -0.8818179965019226, 0.38459253311157227, 0.299039751291275, 0.1388646811246872, -0.2933409810066223, -0.27625295519828796, 0.06550479680299759, 0.07157314568758011, 0.33679255843162537, -0.035851020365953445, -0.8526175618171692, -0.34600406885147095, 0.26122164726257324, -0.03024212270975113, -0.3078135848045349, 0.754691481590271, -0.3746371269226074, 0.5667045712471008, 0.28415486216545105, 0.4780188798904419, 0.5294476747512817, -0.6132763624191284, 0.4902339577674866, -0.7845609188079834, 0.3531205356121063, 0.07758591324090958, 0.26210400462150574, -0.2518034875392914, -0.3228357434272766, 0.297639399766922, 0.20363233983516693, -0.5759545564651489, -0.8930478692054749, -0.015307336114346981, -0.8501250147819519, -0.012401031330227852, 1.420290231704712, 0.4222727119922638, -0.11956392973661423, 0.12480227649211884, -0.1257960945367813, 0.11772928386926651, 0.04974345862865448, 1.0455540418624878, 1.0299893617630005, 0.3514220118522644, -0.295166552066803, -0.6129873991012573, 0.7003609538078308, 0.48765575885772705, -0.36418235301971436, -0.28693217039108276, -0.06533091515302658, 0.44969335198402405, 0.1562797725200653, 0.416983962059021, 0.08740000426769257, 0.5110802054405212, -0.07911185175180435, -0.23212891817092896, -0.01519816555082798, -0.27714043855667114, -0.3053343594074249, 0.19430752098560333, 0.356501042842865, -0.4573209285736084 ]
http://arxiv.org/abs/2402.02791v2
http://arxiv.org/pdf/2402.02791v2
Rethinking Optimization and Architecture for Tiny Language Models
2024-02-05T07:59:38
2024-02-06T05:38:26
Yehui Tang, Fangcheng Liu, Yunsheng Ni, Yuchuan Tian, Zheyuan Bai, Yi-Qi Hu, Sichao Liu, Shangling Jui, Kai Han, Yunhe Wang
cs.CL
cs.CL, cs.AI, cs.LG
The power of large language models (LLMs) has been demonstrated through numerous data and computing resources. However, the application of language models on mobile devices is facing huge challenge on the computation and memory costs, that is, tiny language models with high performance are urgently required. Limited by the highly complex training process, there are many details for optimizing language models that are seldom studied carefully. In this study, based on a tiny language model with 1B parameters, we carefully design a series of empirical study to analyze the effect of each component. Three perspectives are mainly discussed, \ie, neural architecture, parameter initialization, and optimization strategy. Several design formulas are empirically proved especially effective for tiny language models, including tokenizer compression, architecture tweaking, parameter inheritance and multiple-round training. Then we train PanGu-$\pi$-1B Pro and PanGu-$\pi$-1.5B Pro on 1.6T multilingual corpora, following the established formulas. Experimental results demonstrate the improved optimization and architecture yield a notable average improvement of 8.87 on benchmark evaluation sets for PanGu-$\pi$-1B Pro. Besides, PanGu-$\pi$-1.5B Pro surpasses a range of SOTA models with larger model sizes, validating its superior performance. The code is available at https://github.com/YuchuanTian/RethinkTinyLM.
[ -0.35714009404182434, -0.9050787091255188, 0.43135958909988403, 0.2190149873495102, -0.5825962424278259, -0.22486639022827148, -0.5068304538726807, -0.4440383315086365, 0.3078705966472626, 0.2282826453447342, -0.4507833421230316, -0.10422159731388092, -0.2784412205219269, 0.07912173122167587, 0.18561764061450958, 0.5322081446647644, 0.24076257646083832, 0.2420075386762619, 0.10645131766796112, -0.2887428104877472, -0.37626710534095764, -0.18525177240371704, -0.9690853953361511, -0.17839469015598297, 0.5524089932441711, 0.7768482565879822, 0.634170413017273, 1.0656815767288208, 0.3312089443206787, 0.23865264654159546, -0.24968868494033813, 0.005796161480247974, -0.4582480490207672, -0.2717299461364746, 0.32020437717437744, -0.6520483493804932, -0.51938396692276, -0.24788126349449158, 0.7267170548439026, 0.5961599349975586, 0.04699769616127014, 0.49947184324264526, -0.07029838114976883, 0.5690698623657227, -0.2966153919696808, 0.07571141421794891, -0.6592652201652527, -0.1948390007019043, -0.22585393488407135, -0.028406867757439613, -0.48403677344322205, -0.46438276767730713, 0.003848597640171647, -0.31991639733314514, 0.20296889543533325, 0.4390414357185364, 0.7034244537353516, 0.2297815978527069, -0.06878456473350525, -0.2723327875137329, -0.5091383457183838, 0.7684375643730164, -0.8927941918373108, 0.5699541568756104, 0.1295395791530609, 0.0674705058336258, -0.13525404036045074, -0.5447433590888977, -0.48233866691589355, -0.5753762722015381, 0.12495483458042145, -0.431632936000824, -0.08224688470363617, -0.027961600571870804, 0.03766145184636116, 0.21332915127277374, -0.5448555946350098, 0.5348070859909058, -0.4702751040458679, -0.03751663118600845, 0.6724987030029297, 0.21535006165504456, 0.38505077362060547, -0.20723390579223633, -0.1611385941505432, 0.11559859663248062, -1.0867520570755005, -0.0026758303865790367, 0.359276682138443, 0.6183375716209412, -0.2483830600976944, 0.3041468560695648, -0.026972338557243347, 0.6132209897041321, 0.07722451537847519, -0.29054346680641174, 0.21772095561027527, -0.4620974063873291, -0.12822586297988892, 0.10903133451938629, 0.8654265403747559, 0.04316532239317894, 0.13525508344173431, -0.3250576853752136, -0.23651084303855896, -0.19489634037017822, 0.3540650010108948, -1.1381720304489136, -0.18230687081813812, 0.28484052419662476, -0.667227566242218, -0.46701347827911377, -0.5548840165138245, -0.5828253626823425, -0.10410797595977783, -0.4639679193496704, 0.3076232373714447, -0.5631701946258545, -0.3312852084636688, 0.05154592543840408, 0.545443594455719, -0.001278930576518178, -0.03305653855204582, -1.3093352317810059, 0.2649349570274353, 0.7623100280761719, 0.9140385985374451, 0.0935707688331604, -0.25317320227622986, -0.21776480972766876, -0.3243301808834076, -0.31941714882850647, 0.7588757872581482, -0.3875058591365814, -0.42732253670692444, -0.26954230666160583, -0.24986043572425842, -0.2964388132095337, -0.6052422523498535, 0.6927392482757568, -0.5565205812454224, -0.25072863698005676, 0.02683638222515583, -0.5189009308815002, -0.11268600821495056, 0.1972828358411789, -0.8662649393081665, 0.8200876712799072, -0.20415088534355164, -0.6617633104324341, 0.2399887889623642, -0.6474677920341492, -0.45476242899894714, 0.010686416178941727, -0.18796902894973755, -0.567899763584137, 0.6073669791221619, 0.04193711280822754, 0.30301403999328613, -0.5839904546737671, 0.11035044491291046, -0.15958952903747559, -0.4091133773326874, 0.07230620086193085, -0.09349694848060608, 0.7207409739494324, 0.3900543749332428, -0.16302944719791412, 0.17948505282402039, -0.9117040634155273, 0.27435505390167236, 0.1393546611070633, -0.5860358476638794, -0.39947178959846497, -0.014732887968420982, 0.010624762624502182, 0.06455110758543015, 0.19363364577293396, -0.5876210331916809, 0.22323819994926453, -0.6886317729949951, 0.6575247049331665, 0.5592579245567322, -0.1157941222190857, 0.8065963387489319, -0.07305794954299927, 0.48532795906066895, -0.2434392273426056, 0.24188800156116486, -0.03897939249873161, -0.3479631245136261, -0.7751268744468689, -0.40894079208374023, 0.6929192543029785, 0.276480495929718, -0.44118237495422363, 0.09236789494752884, -0.45220327377319336, -0.60875004529953, -0.8550220727920532, 0.2123340517282486, 0.4864761233329773, 0.10935793817043304, -0.02776055410504341, 0.03836328908801079, -0.7620548009872437, -1.1124897003173828, -0.2757812738418579, -0.2944972813129425, 0.0856202095746994, 0.28384461998939514, 0.43461501598358154, -0.23363782465457916, 0.961212158203125, -0.20618784427642822, 0.08053706586360931, -0.6098334193229675, -0.11830426752567291, 0.1948317587375641, 0.5007566213607788, 0.5614715218544006, -0.682564377784729, -0.4013831317424774, 0.06259511411190033, -0.39255428314208984, -0.09216481447219849, -0.08884910494089127, 0.19370271265506744, 0.24496690928936005, 0.4630557894706726, -0.6862339973449707, 0.0631665363907814, 0.4483585059642792, 0.1353745311498642, 0.8165420889854431, -0.3013826310634613, -0.4183211028575897, -0.9763123393058777, 0.07553202658891678, 0.04173489660024643, 0.07095798850059509, -0.7365968823432922, 0.5182791948318481, 0.27700239419937134, -0.16846877336502075, -0.6725260615348816, 0.8325339555740356, -0.534839928150177, 0.04130656272172928, -0.49073049426078796, 0.32138437032699585, -0.285005122423172, 0.6556596159934998, -0.21383817493915558, 0.7786518931388855, 0.4168547987937927, -0.6419862508773804, 0.12554605305194855, -0.12515556812286377, -0.4690576493740082, -0.06263670325279236, -0.8031684160232544, 0.1850656419992447, -0.08668367564678192, -0.1275828629732132, -0.9986788034439087, 0.022786274552345276, 0.11481166630983353, -0.2976650893688202, 0.31309396028518677, -0.15739217400550842, -0.8681874871253967, -0.24697905778884888, -0.44201719760894775, 0.6215329766273499, 0.29602324962615967, -0.5358134508132935, 0.5940415859222412, 0.3947533965110779, -0.12603826820850372, 0.04419558867812157, -0.5012402534484863, -0.03719353303313255, -0.5154649615287781, -0.8816137313842773, 0.21410438418388367, 0.07542165368795395, -0.2900604009628296, -0.28221017122268677, -0.1643311083316803, 0.16804485023021698, 0.05483463406562805, 0.014723037369549274, 0.1541546732187271, -0.6249741315841675, 0.20941473543643951, 0.00994089711457491, -0.32890236377716064, -0.07218731939792633, -0.292239785194397, 0.8015968203544617, -0.5247809290885925, 0.16205698251724243, -0.5148891806602478, 0.04898485168814659, 0.3789653480052948, -0.16014499962329865, 0.7749560475349426, 0.4477468430995941, -0.32820042967796326, -0.1143159344792366, -0.49011269211769104, -0.2450118362903595, -0.4964723289012909, 0.511762261390686, -0.7826831340789795, -0.9016897082328796, 0.676181972026825, -0.13629086315631866, 0.09270945191383362, 0.24671480059623718, 0.9223408699035645, 0.1886187195777893, 0.67931067943573, 0.695788562297821, -0.15124450623989105, 0.502484142780304, -0.2669426202774048, 0.4283931255340576, -0.9433190822601318, -0.19312670826911926, -0.534511387348175, -0.4127545952796936, -0.8404999375343323, -0.46719998121261597, 0.09198174625635147, 0.29034435749053955, -0.2182970643043518, 0.5937837958335876, -0.1588888019323349, 0.4901981055736542, 0.41750746965408325, 0.12114366143941879, 0.2195262461900711, 0.06266804039478302, -0.34826749563217163, -0.10775641351938248, -1.0720027685165405, -0.9258294105529785, 1.100345492362976, 0.651414692401886, 0.9360151886940002, 0.2981700599193573, 0.6293655633926392, -0.1739596128463745, 0.17239148914813995, -0.9484197497367859, 0.716015100479126, -0.2934776544570923, -0.5353614091873169, -0.19621381163597107, -0.39949044585227966, -0.8513375520706177, 0.6755990982055664, 0.09527783840894699, -0.9069333672523499, 0.21001039445400238, 0.2677561044692993, -0.5688744783401489, 0.1196526512503624, -1.1008881330490112, 1.084004282951355, -0.47844862937927246, -0.46725142002105713, -0.18741478025913239, -0.5712987780570984, 0.35862308740615845, -0.28032082319259644, 0.271232932806015, 0.030033934861421585, -0.19448532164096832, 0.6711336374282837, -0.3635716438293457, 0.8227106928825378, -0.02027701400220394, -0.08568832278251648, 0.25228768587112427, 0.14675940573215485, 0.4952871799468994, 0.1867724508047104, -0.3136782944202423, 0.052564628422260284, -0.1243395209312439, -0.3283059000968933, -0.41262418031692505, 0.740139901638031, -0.8113433122634888, -0.5118467807769775, 0.16283828020095825, -0.26631960272789, -0.0864894762635231, 0.323783278465271, 0.30074477195739746, 0.4828106462955475, -0.22562584280967712, 0.22824089229106903, 0.6757587194442749, -0.16417168080806732, 0.572585940361023, 0.49514028429985046, -0.3038484454154968, -0.12808813154697418, 0.9781517386436462, 0.014816951006650925, 0.3493679165840149, 0.3917757570743561, 0.5260445475578308, -0.30379465222358704, -0.7194539308547974, -0.883712649345398, 0.5126394033432007, -0.31261691451072693, -0.008602770045399666, -0.5681595206260681, 0.11522071063518524, -0.3814829885959625, 0.2886768877506256, -0.7496690154075623, -0.41038161516189575, -0.3735312521457672, -0.02205037698149681, -0.006146446336060762, 0.1627570390701294, 0.067292220890522, 0.7411543726921082, -0.5560970902442932, 0.2451753169298172, -0.014746002852916718, 0.29213234782218933, 0.3572896122932434, -0.7059752941131592, -0.6142864227294922, 0.050115857273340225, -0.18954575061798096, -0.489744633436203, 0.26185327768325806, 0.23221802711486816, 0.46291878819465637, 0.5948492884635925, -0.3019954264163971, 0.6357297897338867, -0.9055693745613098, 0.40758514404296875, -0.012091904878616333, -0.6499703526496887, 0.3527403473854065, -0.24333788454532623, 0.18316438794136047, 0.6283395886421204, 0.04813707247376442, -0.2928667664527893, -0.05688861757516861, -0.7483612895011902, -0.6984982490539551, 0.793006956577301, 0.241008922457695, 0.20205681025981903, 0.13000187277793884, 0.591917097568512, 0.0007721334113739431, 0.06741925328969955, -0.6363069415092468, -0.2274250090122223, 0.030355367809534073, -0.06215183809399605, 0.1566758006811142, -0.5995063185691833, 0.20233027637004852, -0.21075507998466492, 0.5581344962120056, 0.05189850553870201, 0.30134469270706177, -0.35347694158554077, -0.18646559119224548, 0.048779793083667755, 0.2334194928407669, 0.9583250880241394, 0.5424813032150269, -0.14542755484580994, 0.12509220838546753, 0.15757004916667938, -0.5220413208007812, 0.11604930460453033, -0.2887380123138428, -0.1670200675725937, 0.06374059617519379, 0.19823236763477325, 1.0240408182144165, 0.3713264465332031, -0.6538997888565063, 0.09598326683044434, -0.10086201876401901, 0.10143711417913437, -0.13603198528289795, 0.0030796825885772705, 0.396731972694397, 0.21748757362365723, 0.10069674253463745, -0.037278153002262115, -0.04516875371336937, -0.6413958072662354, 0.03141903132200241, 0.2671670913696289, 0.06927236914634705, -0.5983456373214722, 0.6352736353874207, 0.2698875367641449, -0.7463551759719849, 0.5123085975646973, -0.24312622845172882, -0.507540762424469, 0.5667369961738586, 0.8379226326942444, 0.6816709637641907, -0.18995578587055206, 0.04116833582520485, 0.3104069232940674, 0.6573793292045593, -0.18894051015377045, 0.059359773993492126, 0.13607539236545563, -0.7660563588142395, -0.30685096979141235, -0.7560292482376099, -0.155901700258255, 0.08459357172250748, -0.2153986692428589, 0.29003939032554626, -0.5843924283981323, -0.12860852479934692, 0.06600041687488556, 0.4330960214138031, -0.39380601048469543, 0.3558726906776428, 0.00114940304774791, 1.0350255966186523, -0.6844668984413147, 1.1213555335998535, 0.6177589297294617, -0.3758228123188019, -1.0545909404754639, -0.14364513754844666, -0.04871422052383423, -0.9521262049674988, 0.7582808136940002, 0.12643636763095856, -0.21265660226345062, 0.058508679270744324, -0.26058056950569153, -0.7925432324409485, 0.6631842255592346, 0.3993532359600067, -0.693925678730011, -0.012479070574045181, 0.21385818719863892, 0.7830750942230225, -0.6556156277656555, -0.024372929707169533, 0.8218061923980713, 0.20651596784591675, -0.030331118032336235, -0.8430442214012146, 0.063198983669281, -0.3352251350879669, 0.4738151729106903, 0.20325186848640442, -0.8718860149383545, 0.9206011295318604, -0.49683865904808044, -0.2452351152896881, 0.49277031421661377, 0.5109824538230896, 0.5875898599624634, 0.09621962904930115, 0.29729050397872925, 0.4891655743122101, 0.5259937047958374, 0.08491344004869461, 1.0629044771194458, -0.4054047763347626, 0.4653996527194977, 1.0603125095367432, 0.018718332052230835, 1.0242441892623901, 0.7104964256286621, -0.11165864020586014, 0.20328009128570557, 0.8792462348937988, 0.11042612791061401, 0.4659099280834198, 0.43071192502975464, -0.2329602688550949, -0.04470457136631012, 0.19767828285694122, -0.19671742618083954, 0.4218921959400177, 0.23156066238880157, -0.2969001233577728, 0.011796354316174984, 0.04699353873729706, 0.23761577904224396, -0.20935456454753876, -0.307524710893631, 0.5687341690063477, 0.20757481455802917, -0.25372955203056335, 0.5852941274642944, 0.7041313052177429, 0.6405303478240967, -0.24708104133605957, 0.6294390559196472, -0.6477648615837097, 0.31694477796554565, -0.09477904438972473, -0.03873441740870476, 0.2090815305709839, 0.03175618499517441, -0.19657249748706818, 0.007811019197106361, 0.7446447014808655, -0.21764527261257172, -0.7270255088806152, -0.08552512526512146, 0.37765219807624817, 0.33572572469711304, -0.12394476681947708, -0.6231674551963806, 0.43520376086235046, 0.024152571335434914, -0.2349824756383896, 0.21000076830387115, 0.551673173904419, -0.0833236575126648, 0.8333036303520203, 0.515560507774353, 0.2396405190229416, 0.275718092918396, 0.2097543329000473, 0.7438620924949646, -0.6380756497383118, -0.7448593378067017, -1.1658402681350708, 0.1626528650522232, 0.17296047508716583, -0.19888336956501007, 0.7973836064338684, 0.9315810799598694, 0.7670013904571533, -0.2015238106250763, 0.3216198682785034, -0.09634166955947876, 0.33582431077957153, -0.560755729675293, 0.6785191893577576, -0.6723600625991821, 0.6510628461837769, -0.07230141013860703, -1.0011234283447266, -0.3547481596469879, 0.681571364402771, -0.39309820532798767, 0.13225406408309937, 0.5943026542663574, 0.9890694618225098, -0.1038677841424942, 0.23688066005706787, 0.19427955150604248, 0.2907232642173767, 0.22224082052707672, 0.46629318594932556, 0.5669291615486145, -0.7117809057235718, 0.4793035387992859, -0.12392109632492065, -0.0891069695353508, -0.5931292772293091, -0.5912805199623108, -0.8221657872200012, -0.21010029315948486, -0.21504779160022736, 0.017082389444112778, -0.0676935687661171, 0.9520736336708069, 0.7707239985466003, -0.5112485885620117, -0.4565468728542328, -0.03512800112366676, 0.13134171068668365, 0.056985434144735336, -0.13783341646194458, 0.5367490649223328, -0.37571272253990173, -0.7060700058937073, 0.3035402297973633, 0.21858011186122894, -0.07455416023731232, -0.28599169850349426, -0.21592256426811218, -0.07938650995492935, 0.027466045692563057, 0.8020291328430176, 0.41112691164016724, -0.8197327852249146, -0.2253495305776596, 0.03986680507659912, -0.2679973244667053, 0.09895119816064835, 1.0790964365005493, -0.623053789138794, 0.28879550099372864, 0.28632277250289917, 0.7125066518783569, 0.36267998814582825, -0.08664114028215408, 0.3672509491443634, -0.8774436712265015, 0.3742702603340149, -0.0203611571341753, 0.3771001100540161, 0.185578390955925, -0.05120691657066345, 0.4683106541633606, 0.04176763445138931, -0.33133164048194885, -0.9855639338493347, 0.1751914769411087, -0.8490885496139526, -0.27626466751098633, 1.1597048044204712, 0.19052234292030334, -0.40351808071136475, 0.1784764975309372, -0.29767540097236633, 0.09331024438142776, -0.26583418250083923, 0.95744389295578, 0.5145009160041809, -0.20613469183444977, -0.5101177096366882, -0.483064740896225, 0.32532817125320435, 0.5055935978889465, -0.57880038022995, 0.06677482277154922, 0.18800295889377594, 0.3566475212574005, 0.18779295682907104, 0.6579743027687073, -0.0689389705657959, 0.17648334801197052, 0.32522711157798767, -0.1195586547255516, -0.16672538220882416, -0.3535565733909607, -0.3292088210582733, 0.10382996499538422, 0.22060804069042206, -0.3872661590576172 ]
http://arxiv.org/abs/2402.02782v1
http://arxiv.org/pdf/2402.02782v1
From Partial to Strictly Incremental Constituent Parsing
2024-02-05T07:33:25
2024-02-05T07:33:25
Ana Ezquerro, Carlos Gómez-Rodríguez, David Vilares
cs.CL
cs.CL
We study incremental constituent parsers to assess their capacity to output trees based on prefix representations alone. Guided by strictly left-to-right generative language models and tree-decoding modules, we build parsers that adhere to a strong definition of incrementality across languages. This builds upon work that asserted incrementality, but that mostly only enforced it on either the encoder or the decoder. Finally, we conduct an analysis against non-incremental and partially incremental models.
[ -0.16211038827896118, -0.6774356365203857, 0.5807415246963501, 0.5423738360404968, -0.21228256821632385, 0.004836533684283495, -0.06431886553764343, -0.375665545463562, 0.21825505793094635, 0.4911090135574341, -0.6485562920570374, -0.30126479268074036, -0.3797091245651245, 0.6429484486579895, -0.7508876323699951, 0.6002910733222961, 0.20029157400131226, 0.019539810717105865, -0.4038008749485016, -0.18884462118148804, -0.7661349177360535, -0.7804645895957947, -0.7450979351997375, -0.11029159277677536, 0.18457666039466858, 0.4914776384830475, 0.6254269480705261, 0.9371045827865601, 0.15221484005451202, 0.3085011839866638, -0.1618090271949768, -0.5701949000358582, -0.10635963827371597, 0.26940810680389404, -0.18793794512748718, -0.3987693786621094, -0.29613834619522095, -0.3427070677280426, 1.1025078296661377, 0.8230829834938049, 0.025399526581168175, -0.14356353878974915, 0.1274556815624237, 0.6520023345947266, -0.1633402705192566, 0.11757172644138336, -0.783636748790741, 0.33446067571640015, -0.5628712177276611, -0.23884747922420502, -0.713866651058197, -0.3718481659889221, -0.3339120149612427, -0.16890430450439453, 0.3869486451148987, -0.40480417013168335, 0.8529080748558044, 0.09322382509708405, -0.38774874806404114, -0.3216148018836975, -0.4254930913448334, 0.5773584246635437, -0.8223139643669128, 0.669557511806488, 0.42692553997039795, 0.2617083191871643, -0.14509621262550354, -1.0037511587142944, -0.22176189720630646, -0.5878113508224487, -0.18843592703342438, 0.08849208801984787, -0.040919993072748184, 0.19628308713436127, 0.4148912727832794, 1.0143440961837769, -0.5556710362434387, -0.1543288677930832, 0.08500764518976212, -0.052962567657232285, 0.2905033528804779, 0.1946423053741455, 0.48560845851898193, -0.25943902134895325, -0.15565167367458344, 0.045031849294900894, -0.7634448409080505, 0.1386299729347229, 0.39842918515205383, 0.4379952847957611, -0.010633301921188831, 0.8167998194694519, -0.14921993017196655, 0.9336698651313782, 0.31592968106269836, 0.07891232520341873, -0.32183951139450073, -0.8016685247421265, -0.4500357210636139, 0.12565304338932037, 0.30904340744018555, -0.560547947883606, -0.12271138280630112, -0.3085590898990631, -0.22447891533374786, -0.011909705586731434, 0.18205715715885162, -0.6295737028121948, -0.4218369424343109, 0.06683491170406342, -0.26128700375556946, -0.11620308458805084, 0.0024757387582212687, -0.5914304852485657, -0.1992495059967041, -0.5789822936058044, 0.07281707972288132, -0.5934061408042908, -0.35411348938941956, 0.044977881014347076, -0.026543118059635162, 0.04621174558997154, 0.16847072541713715, -0.8469000458717346, 0.447332501411438, 0.988383412361145, 0.8150141835212708, 0.0733407586812973, -0.28135454654693604, -0.617303729057312, -0.08342666178941727, -0.5045422911643982, 0.7172302007675171, -0.9498684406280518, -0.25411859154701233, 0.18299600481987, 0.38852396607398987, 0.04084246978163719, -0.6019441485404968, 0.5948148369789124, -0.43040454387664795, -0.05575943738222122, -0.4659426510334015, -0.7222586274147034, -0.3273370862007141, 0.25471407175064087, -0.5132983922958374, 0.9306722283363342, 0.5955711603164673, -0.716425895690918, 0.5074781179428101, -0.4662516713142395, -0.3909660279750824, 0.2533242106437683, -0.3146160840988159, -0.24189403653144836, 0.47013208270072937, -0.20958642661571503, -0.0455787368118763, -0.02890668250620365, 0.5460928678512573, -0.11216425895690918, 0.14261075854301453, -0.06374900043010712, -0.6067668795585632, 1.0422847270965576, -0.01546088419854641, -0.17527058720588684, 0.4831148684024811, -0.6993811130523682, -0.06606090813875198, -0.13430525362491608, -0.398006409406662, -0.1455741673707962, 0.1463070511817932, -0.4097270667552948, 0.17795149981975555, 0.2101576328277588, -0.5793063044548035, 0.2560463547706604, -0.3376339077949524, 0.5159262418746948, 0.7982750535011292, 0.09048505127429962, 0.24473193287849426, -0.002727848244830966, 0.5013765096664429, 0.3052051365375519, 0.08744163811206818, -0.6519227623939514, -0.4292711913585663, -1.2837709188461304, -0.35390621423721313, 0.8339162468910217, 0.07724189758300781, -0.7228229641914368, 0.7050473093986511, -0.42672425508499146, 0.02529747411608696, -0.3442222774028778, -0.0056633492931723595, 0.15489079058170319, 0.41751179099082947, 0.12412742525339127, -0.7186519503593445, -0.5131211876869202, -0.9970303773880005, 0.014714445918798447, -0.393548846244812, 0.22073563933372498, -0.44790494441986084, 0.3564152717590332, 0.0009058772120624781, 0.9912796020507812, -0.032992638647556305, 0.044116225093603134, -0.2505285143852234, 0.009635508991777897, 0.2676648199558258, 0.563251256942749, 0.205900639295578, -0.5259740948677063, -0.6493096947669983, 0.2783450186252594, -0.726263165473938, -0.15536779165267944, -0.2798823416233063, 0.04205656796693802, 0.09819991141557693, 0.42248907685279846, -0.5954344868659973, 0.6934050917625427, 0.3730415999889374, -0.6438551545143127, 0.3046749532222748, -0.05199568346142769, -0.16028642654418945, -0.806730329990387, -0.0384339839220047, -0.05764172598719597, -0.964552640914917, -0.5406638979911804, 0.5658966302871704, 0.16211168467998505, -0.19178298115730286, -0.09953852742910385, 0.10779549181461334, -0.5661419034004211, -0.5201810002326965, -0.058634884655475616, -0.64168381690979, 0.03539123013615608, 0.33493757247924805, 0.22965294122695923, 0.9408453702926636, 0.5794304013252258, -0.630581259727478, 0.16215528547763824, -0.13398116827011108, -0.22753214836120605, 0.44617822766304016, -0.44550371170043945, 0.08468671143054962, -0.273844450712204, 0.1437665969133377, -0.9181120991706848, -0.3755868971347809, 0.1465332806110382, -0.26613226532936096, 0.48435842990875244, -0.5658935308456421, -0.7249133586883545, -0.2247101366519928, -0.4596690535545349, 0.529317319393158, 0.3213844299316406, -0.6337381601333618, 0.5283529162406921, 0.2432197630405426, -0.24802707135677338, 0.06142521649599075, -0.6601921319961548, 0.24728713929653168, -0.10202168673276901, -0.6038632988929749, 0.058709390461444855, 0.12855210900306702, -0.08368358016014099, 0.17794273793697357, -0.07340921461582184, -0.1410672813653946, -0.04817314073443413, 0.2837545573711395, -0.28524050116539, -0.47512251138687134, 0.029835857450962067, 0.03240591660141945, -0.16617518663406372, -0.03642257675528526, -0.3177247941493988, 0.8452631831169128, -0.06152950972318649, -0.748539388179779, -0.740436315536499, 0.7689168453216553, 0.47266361117362976, -0.14939412474632263, 0.31147053837776184, -0.1557408720254898, -0.2976328432559967, 0.10001228749752045, -0.3533759117126465, 0.07888612896203995, -0.49594199657440186, 0.3420118987560272, -0.9325248003005981, -0.6705514192581177, 0.48636406660079956, 0.10124772042036057, 0.06372543424367905, 0.5447567701339722, 0.5257623791694641, 0.4110032320022583, 1.0679110288619995, 0.8354618549346924, 0.09280383586883545, 0.2999233901500702, -0.06729935109615326, 0.16485513746738434, -0.6361507177352905, -0.19072072207927704, -0.6236369609832764, 0.20677685737609863, -0.4196482300758362, -0.3787234127521515, 0.022251727059483528, 0.33837804198265076, -0.29992595314979553, 0.5455760359764099, -0.6615868210792542, 0.565528154373169, 0.44891512393951416, -0.44024622440338135, 0.4341326951980591, 0.17682988941669464, 0.02689877524971962, -0.06512255221605301, -0.6505749225616455, -0.43987101316452026, 0.27377042174339294, 0.6251030564308167, 0.4601963758468628, 0.2327413260936737, 0.5584832429885864, 0.3892548382282257, 0.4259975254535675, -1.3513888120651245, 0.6155956387519836, -0.13681550323963165, -0.3417374789714813, -0.0025969601701945066, -0.36036401987075806, -0.9712606072425842, 0.28476986289024353, 0.608672022819519, -0.4848518967628479, 0.5440828800201416, -0.07975487411022186, 0.07154706865549088, 0.3637446165084839, -0.5636423826217651, 1.0103285312652588, -0.019122092053294182, -0.028862979263067245, 0.18450452387332916, -0.42710837721824646, 0.4583491384983063, 0.019651837646961212, -0.28802523016929626, 0.14635546505451202, -0.1311129778623581, 0.3167310059070587, -0.6205035448074341, 0.7895509600639343, -0.14218099415302277, -0.14383918046951294, 0.5847651362419128, 0.5220742225646973, 0.3944016695022583, 0.1064603328704834, -0.1444355696439743, 0.27514412999153137, 0.1346486210823059, -0.5444966554641724, -0.21072109043598175, 0.7326527833938599, -0.5730770230293274, -0.7140379548072815, -0.750324010848999, -0.17970238626003265, -0.19545407593250275, 0.12293915450572968, 0.15739592909812927, 0.44726258516311646, -0.19100575149059296, 0.018245892599225044, 0.25986403226852417, 0.15330538153648376, 0.7267791628837585, 0.3972850441932678, -0.5241045951843262, -0.37048572301864624, 0.9229220747947693, 0.20548169314861298, 0.299315482378006, 0.46277013421058655, 0.17462125420570374, -0.49152225255966187, -0.5269614458084106, -0.7179696559906006, 0.1666124314069748, -0.9026815891265869, -0.37282127141952515, -0.6299991011619568, -0.503616452217102, -0.2748156785964966, 0.2837962210178375, -0.35482215881347656, -0.5921660661697388, -0.2355048507452011, -0.1738397777080536, 0.09853823482990265, 1.0631771087646484, -0.056548524647951126, 0.04297240823507309, -0.8350012302398682, 0.03504733368754387, 0.6535956263542175, 0.04262058809399605, 0.10089948773384094, -0.564421534538269, 0.09830863773822784, -0.02115875668823719, -0.4962117373943329, -1.0361956357955933, 0.23114266991615295, 0.16818328201770782, -0.1168912723660469, 0.43999406695365906, -0.25007617473602295, 1.1321839094161987, -0.6838585734367371, 1.0807591676712036, 0.36812010407447815, -1.3521517515182495, 0.3994135558605194, -0.16413021087646484, 0.22563336789608002, 0.7527082562446594, 0.04029514640569687, -0.6365349888801575, -0.34682944416999817, -0.4920252561569214, -0.5892900824546814, 0.7827240824699402, 0.2544327676296234, 0.33031079173088074, -0.14621324837207794, 0.23579008877277374, 0.594689667224884, -0.11987165361642838, -0.8699095845222473, 0.1340893805027008, -0.5599463582038879, -0.08430825173854828, 0.44032490253448486, -0.5250183343887329, 0.09949581325054169, -0.44514667987823486, 0.533721923828125, 0.12303318828344345, 0.15673592686653137, 0.2155999392271042, 0.01242993213236332, -0.06101153418421745, 0.3617524206638336, 0.44253647327423096, 0.9477198719978333, -0.14792899787425995, 0.5752977132797241, -0.2713891267776489, -0.1618797928094864, 0.608479380607605, -0.23616959154605865, -0.43136176466941833, 0.4828875660896301, 0.5476080775260925, 0.677505373954773, -0.45555737614631653, -0.2529233992099762, 0.6197639107704163, -0.03837085887789726, 0.2469121366739273, -0.3825395703315735, -0.3737095296382904, 0.04714417830109596, -0.3524908125400543, 0.2184392809867859, 0.07269299775362015, 0.12527064979076385, -0.8552766442298889, 0.2525686025619507, 0.26935723423957825, -0.6841552257537842, -1.081147313117981, 0.1473522037267685, 0.10831031948328018, -0.2724553048610687, 0.545581042766571, -0.384470134973526, -0.30387595295906067, 0.6392484307289124, 0.7653995156288147, 1.2038090229034424, -0.28316354751586914, 0.21434630453586578, 0.45960086584091187, 0.3085055947303772, -0.013776936568319798, 0.2641264796257019, -0.5022355318069458, -0.29018744826316833, -0.7660612463951111, -0.7092210650444031, -0.1626562774181366, 0.2582811713218689, -0.6811486482620239, 0.21893323957920074, -0.33575209975242615, -0.15569257736206055, 0.1851162314414978, -0.4583221673965454, -0.25402265787124634, 0.06691744923591614, -0.2439032644033432, 1.0628877878189087, -0.6511874794960022, 1.1820266246795654, 0.7413299679756165, -0.5474367141723633, -0.5709234476089478, 0.4891339838504791, -0.38750165700912476, -0.6229038834571838, 0.7717792987823486, 0.2084224373102188, 0.0965762659907341, 0.0048152729868888855, -0.28930094838142395, -0.677184522151947, 0.5234650373458862, 0.578636109828949, -0.45186522603034973, 0.024768244475126266, 0.5035354495048523, 0.3330528140068054, -0.14586524665355682, 0.1585429161787033, 0.5262426137924194, 0.5636666417121887, 0.23739105463027954, -0.697126567363739, 0.0479426383972168, -0.02714604139328003, 0.4214092195034027, 0.44981467723846436, -0.43016326427459717, 1.067870855331421, 0.5572752356529236, -0.9283133149147034, 0.40585196018218994, 0.7795248031616211, -0.13309979438781738, 0.121641144156456, 0.27502763271331787, 1.1123192310333252, 0.29339849948883057, -0.08845814317464828, 1.292567491531372, -0.24175649881362915, 0.33240780234336853, 1.2183674573898315, -0.19673170149326324, 0.6846762895584106, 0.4944058060646057, -0.5195412039756775, 0.3419440984725952, 0.9333741068840027, 0.4362066090106964, 0.6118388772010803, 0.23363201320171356, -0.7160150408744812, -0.4334810674190521, -0.47430577874183655, -0.6271781325340271, 0.25130242109298706, 0.14949610829353333, -0.3396196663379669, -0.565983235836029, -0.25898489356040955, -0.03036215901374817, 0.037862446159124374, -0.3314026892185211, 0.9555263519287109, 0.03799985721707344, -0.9024500250816345, 0.6796438694000244, 0.32664966583251953, 0.2303580641746521, -0.8182374835014343, -0.31434565782546997, -0.5486488342285156, 0.05849064514040947, -0.33441856503486633, -0.7485949397087097, 0.6431464552879333, 0.08751842379570007, -0.18519988656044006, -0.16638141870498657, 0.5230168700218201, -0.40263831615448, -0.7094385027885437, 0.19246864318847656, 0.34860655665397644, 0.1313980221748352, 0.00898695271462202, -0.4432946443557739, 0.2774706780910492, 0.1838364452123642, 0.142616406083107, 0.3146543502807617, 0.8079183101654053, -0.07663988322019577, 0.16269251704216003, 0.4180300831794739, 0.10522548854351044, 0.4339936673641205, 0.04918643459677696, 1.0513666868209839, -0.9142312407493591, -0.30359968543052673, -1.2480276823043823, 0.5673643350601196, 0.01022119540721178, 0.09490504115819931, 1.0167906284332275, 0.9460015892982483, 0.7768132090568542, -0.16705136001110077, 0.524109423160553, -0.19859442114830017, 0.012181637808680534, -0.5418596863746643, -0.04482574388384819, -0.48398730158805847, 0.1420842558145523, 0.3320734202861786, -1.1317393779754639, -0.2182569056749344, 0.38960376381874084, -0.013373001478612423, -0.2931095361709595, 0.6703217029571533, 0.6800326108932495, -0.5175402760505676, 0.24903462827205658, 0.5570361018180847, 0.2255403995513916, 0.4063516855239868, 0.3712104558944702, 1.4014822244644165, -0.17849449813365936, -0.07668895274400711, -0.27153417468070984, -0.10243826359510422, 0.2750888168811798, -0.9063454866409302, -0.6046358346939087, -0.6424573659896851, -0.41632887721061707, -0.39810284972190857, -0.296359658241272, 0.6659427881240845, 0.8016690015792847, -1.0376667976379395, -0.49028345942497253, -0.9453191757202148, 0.20868268609046936, 0.0638275220990181, -0.3367353677749634, 0.3481358587741852, -0.7556912899017334, -0.6877883672714233, 0.4829363524913788, 0.8370476365089417, 0.03618507832288742, -0.44319093227386475, 0.13220559060573578, -0.1513776183128357, 0.26139211654663086, 0.7327324151992798, 0.39727306365966797, -0.8652654886245728, -0.23828762769699097, -0.49117550253868103, 0.06821393966674805, 0.6621044278144836, 1.2505648136138916, -0.6896799206733704, 0.6795750260353088, 0.8220996856689453, 0.7204888463020325, 0.40441593527793884, 0.3740459978580475, 0.18748816847801208, -1.074913501739502, 0.22391381859779358, 0.5321942567825317, 0.3500537574291229, 0.5069813132286072, -0.018682707101106644, 0.5127107501029968, 0.27550822496414185, -0.2354595810174942, -0.8784205317497253, 0.6318520903587341, -0.7300414443016052, -0.2142833024263382, 0.8435773253440857, -0.3792315721511841, -0.2765349745750427, -0.34764692187309265, -0.20298436284065247, 0.06707621365785599, -0.28737279772758484, 0.13256268203258514, 0.6990616321563721, -0.277778685092926, -0.19503642618656158, -0.15024162828922272, 0.5138591527938843, 0.41029468178749084, -0.8499108552932739, 0.31174805760383606, 0.5465133190155029, 0.1067737564444542, 0.4987538754940033, 0.8626455664634705, -0.46848347783088684, -0.0932023897767067, 0.13199977576732635, -0.28509828448295593, 0.09570804983377457, -0.3862451910972595, -0.6795221567153931, 0.4818800389766693, 0.4449324607849121, -0.17830705642700195 ]
http://arxiv.org/abs/2402.02781v1
http://arxiv.org/pdf/2402.02781v1
Dual Knowledge Distillation for Efficient Sound Event Detection
2024-02-05T07:30:32
2024-02-05T07:30:32
Yang Xiao, Rohan Kumar Das
cs.SD
cs.SD, cs.AI, cs.CL, cs.LG, eess.AS
Sound event detection (SED) is essential for recognizing specific sounds and their temporal locations within acoustic signals. This becomes challenging particularly for on-device applications, where computational resources are limited. To address this issue, we introduce a novel framework referred to as dual knowledge distillation for developing efficient SED systems in this work. Our proposed dual knowledge distillation commences with temporal-averaging knowledge distillation (TAKD), utilizing a mean student model derived from the temporal averaging of the student model's parameters. This allows the student model to indirectly learn from a pre-trained teacher model, ensuring a stable knowledge distillation. Subsequently, we introduce embedding-enhanced feature distillation (EEFD), which involves incorporating an embedding distillation layer within the student model to bolster contextual learning. On DCASE 2023 Task 4A public evaluation dataset, our proposed SED system with dual knowledge distillation having merely one-third of the baseline model's parameters, demonstrates superior performance in terms of PSDS1 and PSDS2. This highlights the importance of proposed dual knowledge distillation for compact SED systems, which can be ideal for edge devices.
[ -0.36398324370384216, -0.6362991333007812, 0.905381977558136, 0.0059227957390248775, -0.5462131500244141, 0.08371809124946594, -0.16797253489494324, -0.3514757454395294, 0.05778023600578308, -0.08904224634170532, -0.44666698575019836, -0.43816477060317993, -0.541753888130188, -0.47705310583114624, -0.3221014738082886, 0.7417207956314087, 0.0769633948802948, 0.04163311421871185, -0.019468072801828384, -0.18213103711605072, -0.27454712986946106, -0.5066415071487427, -0.9100035429000854, -0.4260872006416321, 0.15984702110290527, 0.13351789116859436, 0.04988185688853264, 0.3261887729167938, 0.2568777799606323, 0.15065744519233704, -0.34663712978363037, 0.061948057264089584, 0.03475233539938927, 0.26710984110832214, 0.02068428508937359, -0.08945021778345108, -0.234480082988739, -0.07557927817106247, 0.22182027995586395, 0.630230188369751, -0.4037592113018036, 0.22693830728530884, 0.30030742287635803, 0.345623254776001, -0.6087486147880554, 0.05585462599992752, -0.4421428143978119, 0.4335223138332367, -0.17411983013153076, -0.3652741312980652, -0.0607151985168457, -0.10261256247758865, 0.3497064709663391, -0.6887766122817993, 0.12144137918949127, -0.6516648530960083, 0.2773817181587219, 0.6347391605377197, -0.5811719298362732, -0.36644837260246277, -0.8987861275672913, 0.4067048728466034, -0.4844379723072052, 0.7081567645072937, 0.19552594423294067, 0.595180094242096, 0.1011362299323082, -0.9951609373092651, -0.6290069818496704, 0.3296779990196228, 0.37855008244514465, 0.20746849477291107, -0.035551588982343674, 0.1328830122947693, 0.3383311331272125, 0.2027214914560318, -0.42449918389320374, 0.026469066739082336, -0.15116170048713684, -0.17851431667804718, 0.44873303174972534, -0.2036668360233307, 0.13624881207942963, 0.05195219814777374, -0.5531430840492249, -0.20157575607299805, -0.3080260455608368, 0.03845973312854767, 0.41163718700408936, 0.15815934538841248, -0.1426098495721817, -0.05725472792983055, -0.08929932117462158, 0.22891733050346375, 0.24552369117736816, -0.5341838598251343, 0.2166150063276291, -0.5045015811920166, 0.019757024943828583, 0.6178950667381287, 0.4020650088787079, 0.15596066415309906, -0.2626051604747772, 0.08243610709905624, -0.36026400327682495, 0.1608744114637375, -0.2143549770116806, -0.8188477754592896, -0.5099489092826843, 0.21110810339450836, -0.37655964493751526, -0.24808602035045624, -0.07236390560865402, -0.713985025882721, -0.5785175561904907, -0.48683008551597595, 0.7655168175697327, -0.297504186630249, -0.7260401248931885, 0.26842349767684937, -0.8307409286499023, -0.1461029052734375, 0.10069338232278824, -0.7386264801025391, 0.26762714982032776, 0.6515079736709595, 0.9242624640464783, 0.01716017536818981, 0.06523293256759644, -0.521311342716217, 0.44676610827445984, 0.04970049858093262, 0.6888970732688904, -0.3411738872528076, -0.8230781555175781, -0.4512450695037842, -0.4747821092605591, 0.11668632179498672, -0.6205037832260132, 0.7673216462135315, -0.2271658182144165, -0.20082701742649078, -0.3265521228313446, -0.44543078541755676, -0.08532463014125824, -0.4686603844165802, -0.45879095792770386, 0.9792112112045288, -0.21785013377666473, -0.6910574436187744, 0.9917163848876953, -0.7282083630561829, -0.5738575458526611, -0.06749878078699112, -0.2820335924625397, -0.48630619049072266, 0.3365691304206848, 0.4233667552471161, 0.319861501455307, -0.04133306443691254, 0.6395145654678345, -0.46191149950027466, -0.2750670909881592, -0.18127696216106415, -0.7383798956871033, 0.7249205112457275, 0.5048326849937439, -0.48296359181404114, -0.3651394248008728, -0.7489367127418518, -0.30533072352409363, -0.07145574688911438, -0.31744781136512756, -0.7145226001739502, 0.15901723504066467, 0.19433185458183289, 0.09095722436904907, 0.1916084885597229, -0.7685315012931824, -0.08130355924367905, 0.24954797327518463, 0.4662349224090576, 0.7231174111366272, 0.3220316767692566, 0.23605340719223022, -0.12841041386127472, 0.09823784977197647, 0.38115987181663513, -0.015989096835255623, -0.1045604720711708, -0.2454463690519333, -0.20552349090576172, -0.37533026933670044, 0.11893855780363083, 0.35877037048339844, -0.43367984890937805, 0.42570605874061584, 0.1559772491455078, -0.24613326787948608, -0.2273818701505661, 0.04517214372754097, 0.23565427958965302, 0.5566815137863159, 0.37578102946281433, 0.06208016723394394, -0.8635319471359253, -0.5443869233131409, -0.1957719624042511, -0.3323398232460022, -0.24178990721702576, 0.23985224962234497, 0.10487058013677597, 0.09976156800985336, 0.8691901564598083, -0.8044307827949524, -0.5701800584793091, 0.05190618708729744, 0.37181326746940613, 0.22420634329319, 0.35222864151000977, 0.7980169653892517, -0.8911781311035156, -0.24266602098941803, 0.11902021616697311, -0.7291024327278137, -0.490840882062912, -0.10998539626598358, 0.2880440354347229, 0.0355520136654377, 0.5879271030426025, -0.057443346828222275, 0.4072309732437134, 0.3178296685218811, -0.5592904090881348, 0.3078869879245758, -0.14496609568595886, 0.3199971914291382, -1.0512874126434326, -0.04010460898280144, 0.18826213479042053, -0.08747141808271408, -0.595618724822998, -0.4190111756324768, 0.06839828938245773, -0.19313573837280273, -0.3856624960899353, 0.2328953742980957, -0.28705382347106934, -0.23513656854629517, -0.40674373507499695, 0.17844048142433167, 0.31214267015457153, 0.32926470041275024, 0.4800443947315216, 0.4049082398414612, 0.4478444755077362, -0.493195116519928, 0.39606547355651855, -0.23687848448753357, -0.3257291615009308, 0.8503022789955139, -0.62466961145401, 0.18111464381217957, 0.18327808380126953, 0.1337222009897232, -0.8183485269546509, 0.14375534653663635, -0.45434948801994324, -0.2912854254245758, 0.4159137010574341, -0.5291218757629395, -0.28732043504714966, -0.5013901591300964, -0.08314421027898788, 0.49708232283592224, 0.6118781566619873, -1.1531314849853516, 0.5313146710395813, 0.8338389992713928, -0.19548840820789337, -0.12704190611839294, -0.6257651448249817, -0.23769842088222504, -0.643474817276001, -0.7786754369735718, 0.3552447259426117, 0.05192909762263298, -0.22343730926513672, 0.07154066860675812, -0.7018454074859619, -0.29693713784217834, 0.2993658185005188, 0.23354090750217438, -0.03571775555610657, -0.29845163226127625, 0.27287670969963074, 0.49250754714012146, -0.1133689284324646, -0.052299678325653076, -0.7385129928588867, 0.1676650196313858, 0.27256500720977783, -0.6518523693084717, -0.7837638854980469, 0.22738805413246155, 0.6451284885406494, 0.12538041174411774, 0.18216484785079956, 0.7575411200523376, -0.5726919174194336, -0.3943801820278168, -0.7366757392883301, -0.4984520673751831, -0.5041844844818115, 0.3759858012199402, -0.7173205614089966, -0.6153336763381958, 0.7067607641220093, -0.3228651285171509, 0.011934446170926094, 0.20373648405075073, 0.19101063907146454, -0.31503355503082275, 0.943317174911499, 0.22567465901374817, 0.045421719551086426, 0.4896734356880188, -0.21533794701099396, -0.061604928225278854, -0.9153594970703125, -0.3070138096809387, -0.5431874394416809, -0.6140043139457703, 0.18932472169399261, -0.2902638018131256, 0.7719120979309082, 0.16362223029136658, 0.002553089987486601, 0.12313823401927948, -0.5742269158363342, 0.44807887077331543, 0.6237568855285645, 0.2689305543899536, 0.42512595653533936, -0.08393852412700653, -0.22859716415405273, -0.0930495411157608, -0.4239077866077423, -0.10776861011981964, 1.193809151649475, 0.3401281535625458, 0.5668684840202332, -0.02939748391509056, 1.0903910398483276, 0.372713178396225, -0.7880589365959167, -0.36576929688453674, 0.21704384684562683, -0.1703745573759079, -0.47852906584739685, -0.4927150011062622, -0.21478873491287231, -0.4173378646373749, 0.5018962025642395, 0.1106213852763176, -0.5902377963066101, 0.6825680732727051, 0.01709662936627865, -0.6934013366699219, 0.6220844388008118, -0.979108452796936, 0.6191723346710205, -0.24238498508930206, -0.23643456399440765, -0.5239976048469543, -0.05148954689502716, 0.25066903233528137, -0.36040887236595154, 0.24857591092586517, -0.23067089915275574, 0.18936973810195923, 1.132748007774353, -0.4566667079925537, 0.6632779240608215, -1.01287043094635, -0.11412429064512253, 0.5870595574378967, -0.07970437407493591, 0.45454132556915283, 0.5206112265586853, -0.0834108516573906, 0.007043940015137196, 0.4127528667449951, 0.03873852640390396, -0.49153411388397217, 0.8071549534797668, -0.7872505784034729, -0.6256272792816162, -0.2068902552127838, -0.34866026043891907, -0.08929365873336792, -0.04178265482187271, 0.003460453823208809, 0.7775933146476746, -0.26738110184669495, 0.2738490700721741, 0.7880738377571106, 0.004597892984747887, 0.7867663502693176, 0.6818704009056091, 0.013169114477932453, -0.08139797300100327, 0.7314755916595459, 0.34825655817985535, -0.05595748499035835, 0.17776277661323547, 0.2949364483356476, -0.5218964219093323, -0.6991615295410156, -0.40436840057373047, -0.2568216919898987, -0.4681757390499115, -0.10256600379943848, -0.9067646861076355, 0.02031685598194599, -0.5708459615707397, -0.10657897591590881, -0.7008197903633118, -0.6991003155708313, -0.5782093405723572, -0.37324750423431396, 0.3667198717594147, 0.5106323957443237, -0.6806649565696716, -0.023864667862653732, -0.5566003322601318, 0.7581740617752075, 0.6137282252311707, 0.117589071393013, -0.28622081875801086, -0.7175413370132446, -0.06875558197498322, 0.2273857146501541, -0.36002352833747864, -0.8220324516296387, 0.07707691937685013, 0.5295328497886658, 0.804832398891449, 0.8012323379516602, 0.5346868634223938, 0.674056887626648, -0.11994664371013641, 0.6111547946929932, 0.2751346230506897, -0.9785370826721191, 0.9405689835548401, -0.10616409778594971, 0.3533921241760254, 0.5539761781692505, 0.029093865305185318, -0.5280229449272156, -0.1144181415438652, -0.4128107726573944, -0.7641808390617371, 0.852863609790802, -0.27693578600883484, -0.26468217372894287, 0.21216191351413727, 0.05063774809241295, 0.27866771817207336, 0.006662691943347454, -0.24615880846977234, -0.11087051033973694, -0.24363772571086884, -0.17742155492305756, 0.12517480552196503, -0.2681886851787567, -0.17841850221157074, -0.23974618315696716, 0.5519554018974304, 0.08188822865486145, -0.010003187693655491, 0.19131247699260712, -0.11790309846401215, 0.09616724401712418, 0.20611853897571564, 0.34641793370246887, 0.4295845329761505, -0.22355177998542786, 0.3499739170074463, 0.38131219148635864, -0.7111182808876038, 0.34030666947364807, 0.1360781341791153, 0.03646450489759445, 0.058859847486019135, -0.022344397380948067, 0.7344812154769897, 0.46093428134918213, -0.22622719407081604, 0.5805575251579285, -0.04347831383347511, -0.25922027230262756, -0.3832685649394989, 0.05283401161432266, 0.35344019532203674, 0.6954385042190552, 0.7583625912666321, -0.08796411007642746, 0.5711522102355957, -0.4757091701030731, 0.5395318269729614, 0.17565803229808807, -0.44049960374832153, -0.41555508971214294, 0.8270211815834045, 0.4811968207359314, 0.1049034520983696, 0.42233794927597046, -0.2526320815086365, -0.3940947949886322, 0.8945851922035217, 0.48815885186195374, 1.1107815504074097, -0.446530282497406, 0.04013435170054436, 0.2642431855201721, -0.08819811046123505, 0.1635609120130539, 0.47439295053482056, -0.6644189953804016, -0.5302807092666626, 0.008456991985440254, -0.9192737340927124, -0.24156519770622253, 0.06866882741451263, -0.7806251645088196, 0.41368916630744934, -0.3989468216896057, -0.41515180468559265, 0.10541412234306335, 0.051612526178359985, -0.5069982409477234, -0.10236618667840958, 0.4206966161727905, 0.6530826091766357, -1.0620074272155762, 0.9731389284133911, 0.5945609211921692, 0.019738709554076195, -0.7931880950927734, -0.14750537276268005, 0.534060001373291, -0.2621719241142273, 0.6042661070823669, -0.23485340178012848, -0.04025569558143616, -0.012692178599536419, 0.38997116684913635, -0.4191768765449524, 1.453762412071228, 0.35811278223991394, -0.9077709913253784, 0.10531380772590637, -0.16586677730083466, 0.25964662432670593, -0.12234465777873993, 0.21726267039775848, 0.7792452573776245, 0.6134522557258606, 0.5037017464637756, -1.1383864879608154, -0.31154143810272217, -0.09186355024576187, -0.19244001805782318, 0.2965347468852997, -0.23454587161540985, 0.3310384750366211, -0.45195257663726807, -0.5415354371070862, -0.6273754835128784, 0.6460636854171753, 0.2707615792751312, 1.0351849794387817, 0.581432580947876, 0.842271089553833, 0.9726445078849792, -0.44271746277809143, 0.40554529428482056, -0.17789490520954132, 0.1565992385149002, 1.2212042808532715, -0.2856035530567169, 0.5787118077278137, 0.552924633026123, -0.4886682331562042, 0.17542105913162231, 0.5495417714118958, 0.28782162070274353, 1.0861761569976807, -0.032034732401371, -0.7866869568824768, -0.16287113726139069, -0.06274917721748352, -0.7709709405899048, 0.4670554995536804, 0.36998409032821655, 0.05001850053668022, -0.16497811675071716, 0.6059617400169373, -0.35145026445388794, -0.08605027198791504, -0.25625988841056824, 1.1442269086837769, 0.20243248343467712, -0.20680470764636993, -0.02000962756574154, -0.33106639981269836, 0.7904931902885437, -0.30800190567970276, 0.0032910641748458147, -0.13613583147525787, 0.22174449265003204, -0.16797344386577606, -0.7211881279945374, 0.4709687829017639, -0.17347562313079834, -0.31109169125556946, -0.18950344622135162, 0.7693443894386292, -0.49401283264160156, -0.21483418345451355, 0.5365591645240784, 0.22944746911525726, -0.05529041960835457, -0.18811877071857452, -0.109994076192379, 0.35375967621803284, -0.06862807273864746, -0.14572028815746307, 0.3194018602371216, 0.7418104410171509, 0.31331783533096313, 0.230568990111351, 0.5462427735328674, 0.12680990993976593, 0.15346433222293854, 0.27166759967803955, 0.7312557101249695, -0.2469950169324875, -0.9646868705749512, -0.6122822165489197, 0.3361886441707611, -0.12345394492149353, -0.019256211817264557, 0.3951402008533478, 0.6439114809036255, 0.8537981510162354, 0.0345948301255703, 0.9676475524902344, 0.0667065903544426, 0.5910754799842834, -0.45075035095214844, 0.7483332753181458, -0.4514218270778656, 0.6667459607124329, -0.303682804107666, -0.734494686126709, 0.10183121263980865, 0.3024633228778839, -0.0942750871181488, -0.08564095944166183, 0.5198302865028381, 0.48773688077926636, -0.38630107045173645, 0.6300026178359985, 0.5188284516334534, -0.009112711064517498, 0.32378676533699036, 0.7775114178657532, 0.7888278961181641, -0.2269359976053238, 0.3892938196659088, -0.5411452651023865, -0.2508315443992615, -0.20548638701438904, -0.6667821407318115, -0.5983217358589172, -0.965576708316803, -0.7878832817077637, 0.19505392014980316, 0.35436704754829407, 0.6616843342781067, 0.8106197714805603, -0.8194024562835693, -0.12135665863752365, 0.020347770303487778, 0.21213530004024506, -0.2587062418460846, -0.20072610676288605, 0.48668092489242554, -0.09842725843191147, -0.7422541975975037, 0.9071663022041321, 0.40572938323020935, 0.11917713284492493, 0.1347101926803589, -0.13369283080101013, -0.11362937837839127, -0.1617119014263153, 0.3693174123764038, 0.20768190920352936, -0.3571191430091858, -0.5372348427772522, -0.3876606523990631, 0.07110710442066193, -0.27463507652282715, 0.8452399373054504, -0.9161375761032104, 0.6449809074401855, 0.717616081237793, 0.2716332674026489, 0.8545519113540649, -0.27620813250541687, 0.44606658816337585, -0.7975074648857117, 0.4048548936843872, 0.15519872307777405, 0.38962364196777344, -0.10345284640789032, -0.36357590556144714, 0.4592137336730957, 0.48351263999938965, -0.49065303802490234, -1.0308763980865479, 0.014698577113449574, -0.8524207472801208, -0.4470485746860504, 0.8946542143821716, -0.23329266905784607, 0.2622573673725128, -0.44991713762283325, -0.04309261962771416, 0.5499812960624695, -0.4972810447216034, 0.5435177087783813, 0.2828115224838257, -0.19969213008880615, -0.010413660667836666, -0.20075108110904694, 0.5366575121879578, -0.10509815812110901, -0.32702192664146423, -0.14272159337997437, 0.5610272884368896, 0.24825100600719452, 0.12704779207706451, 0.5958155989646912, -0.21657441556453705, 0.6486716270446777, 0.45857352018356323, 0.04177818074822426, -0.606013834476471, -0.6059060096740723, -0.22484976053237915, 0.3528425395488739, -0.18252582848072052, -0.383522629737854 ]
http://arxiv.org/abs/2402.02764v1
http://arxiv.org/pdf/2402.02764v1
List-aware Reranking-Truncation Joint Model for Search and Retrieval-augmented Generation
2024-02-05T06:52:53
2024-02-05T06:52:53
Shicheng Xu, Liang Pang, Jun Xu, Huawei Shen, Xueqi Cheng
cs.IR
cs.IR, cs.AI, cs.CL
The results of information retrieval (IR) are usually presented in the form of a ranked list of candidate documents, such as web search for humans and retrieval-augmented generation for large language models (LLMs). List-aware retrieval aims to capture the list-level contextual features to return a better list, mainly including reranking and truncation. Reranking finely re-scores the documents in the list. Truncation dynamically determines the cut-off point of the ranked list to achieve the trade-off between overall relevance and avoiding misinformation from irrelevant documents. Previous studies treat them as two separate tasks and model them separately. However, the separation is not optimal. First, it is hard to share the contextual information of the ranking list between the two tasks. Second, the separate pipeline usually meets the error accumulation problem, where the small error from the reranking stage can largely affect the truncation stage. To solve these problems, we propose a Reranking-Truncation joint model (GenRT) that can perform the two tasks concurrently. GenRT integrates reranking and truncation via generative paradigm based on encoder-decoder architecture. We also design the novel loss functions for joint optimization to make the model learn both tasks. Sharing parameters by the joint model is conducive to making full use of the common modeling information of the two tasks. Besides, the two tasks are performed concurrently and co-optimized to solve the error accumulation problem between separate stages. Experiments on public learning-to-rank benchmarks and open-domain Q\&A tasks show that our method achieves SOTA performance on both reranking and truncation tasks for web search and retrieval-augmented LLMs.
[ -0.428320974111557, -0.8202807307243347, 0.20113416016101837, -0.01051340438425541, -0.2433491051197052, 0.4088689088821411, -0.26122552156448364, -0.534254252910614, 0.31819576025009155, 0.4145698845386505, -0.5496866106987, -0.3343362808227539, -0.5476963520050049, -0.015301773324608803, -0.4941088557243347, 0.920993983745575, 0.0003850397770293057, -0.39403635263442993, -0.5423262715339661, -0.034774329513311386, -0.6027360558509827, -0.4906105399131775, -0.5663612484931946, -0.10432814806699753, 0.4297599196434021, 0.6066333651542664, 0.6875007152557373, 0.603965699672699, 0.6986724734306335, 0.1908617913722992, -0.10425503551959991, 0.38368287682533264, -0.7908383011817932, 0.5240386128425598, -0.11112474650144577, -0.3147640824317932, -0.4460020959377289, 0.05948009341955185, 0.8651958703994751, 0.6534485220909119, -0.2685949504375458, 0.43312495946884155, 0.37913185358047485, 0.6199902296066284, -0.8061325550079346, -0.18613098561763763, -0.4614114463329315, -0.028714701533317566, -0.26899614930152893, -0.4165414571762085, -0.4287455677986145, -0.3592633008956909, 0.1464821845293045, -0.7013430595397949, 0.34726306796073914, 0.04849168285727501, 0.9197248816490173, 0.20227406919002533, -0.24129176139831543, 0.16237159073352814, -0.8597111701965332, 0.603322446346283, -0.37809011340141296, 0.6784736514091492, 0.34357088804244995, 0.11525354534387589, -0.07706982642412186, -0.6738936901092529, -0.2533223330974579, -0.08189507573843002, 0.04952075704932213, 0.16585317254066467, 0.1259201169013977, -0.08733652532100677, 0.28143829107284546, 0.3573187291622162, -0.6652771830558777, -0.06255851686000824, -0.37840718030929565, 0.03321295231580734, 0.45191535353660583, -0.19257523119449615, 0.3355165123939514, -0.1960904598236084, -0.48810917139053345, -0.2142174243927002, -0.8877720236778259, -0.01841627061367035, 0.2624794840812683, 0.3068162202835083, 0.17378240823745728, 0.5438998937606812, -0.20964539051055908, 0.5791844129562378, 0.039428479969501495, -0.017028549686074257, 0.02808244898915291, -0.1851932406425476, -0.16006948053836823, -0.15626956522464752, 0.5062571167945862, 0.3057420253753662, 0.04826488345861435, -0.33821117877960205, -0.25880569219589233, -0.08004800975322723, 0.27601802349090576, -0.5469297766685486, -0.022882860153913498, 0.003220464801415801, -0.4288468360900879, -0.24883386492729187, 0.08518988639116287, -0.7041364908218384, -0.008431030437350273, -0.013965481892228127, 0.8850616812705994, -0.29006344079971313, -0.251796692609787, -0.11148136854171753, -0.10303935408592224, -0.17695888876914978, 0.13487307727336884, -0.5941934585571289, 0.3483624756336212, 0.6327515244483948, 0.7030548453330994, -0.06944230198860168, -0.239779531955719, -0.8207108378410339, 0.4626398980617523, -0.04447014257311821, 0.6151804327964783, -0.7209944725036621, -0.44417211413383484, -0.04993818700313568, -0.33366161584854126, -0.25678643584251404, -0.5643797516822815, 0.4021081030368805, -0.8423581719398499, 0.2795778810977936, -0.17596499621868134, -0.6959467530250549, -0.17193114757537842, 0.3907056450843811, -0.8670517802238464, 1.0575041770935059, 0.1256742775440216, -0.8138149976730347, 0.44681963324546814, -0.5957404375076294, -0.3314080238342285, 0.22960862517356873, 0.031251706182956696, -0.6321305632591248, -0.1309836506843567, 0.1019122526049614, 0.19982169568538666, -0.39310383796691895, 0.30051085352897644, -0.06171255558729172, -0.5714560151100159, -0.21079735457897186, -0.23601140081882477, 0.4132029712200165, 0.1977829486131668, -0.17577038705348969, 0.09125527739524841, -0.4248214662075043, 0.14897115528583527, 0.13389615714550018, -0.6852262020111084, -0.48304396867752075, 0.004370847716927528, -0.10583093762397766, 0.13877998292446136, 0.3660385012626648, -0.36032500863075256, 0.467217355966568, -0.3242155611515045, 0.2179410457611084, 0.4819909930229187, 0.2108834683895111, 0.3738914728164673, -0.5047026872634888, 0.6175762414932251, -0.194642573595047, 0.30218255519866943, 0.34390825033187866, -0.27491387724876404, -0.8025270104408264, -0.0656382218003273, 0.701948881149292, 0.5292463302612305, -0.7476717233657837, 0.3826431632041931, -0.5289631485939026, -0.43178534507751465, -0.5994074940681458, 0.07894410192966461, 0.48497575521469116, 0.14850884675979614, 0.2389761209487915, -0.37293311953544617, -0.694232702255249, -0.5734544992446899, -0.40690603852272034, -0.01673690602183342, 0.22129078209400177, 0.055729132145643234, 0.19978389143943787, -0.0116435457020998, 0.7733805179595947, -0.3024948537349701, -0.35142332315444946, -0.4596541225910187, 0.18619190156459808, -0.06204658001661301, 0.5247689485549927, 0.013077633455395699, -1.0419590473175049, -0.43413838744163513, -0.2540290355682373, -0.6351810693740845, 0.20057766139507294, 0.10993897914886475, -0.1931215524673462, 0.10155113786458969, 0.30608630180358887, -0.573922336101532, 0.5399882197380066, 0.23003315925598145, -0.0943773165345192, 0.40565022826194763, -0.29882386326789856, 0.34957557916641235, -0.9437438249588013, 0.2092834860086441, -0.1345190852880478, -0.5279849171638489, -0.6572956442832947, 0.42006468772888184, -0.06699033826589584, -0.09270220994949341, -0.21516989171504974, 0.2093585878610611, -0.514410138130188, -0.31197237968444824, -0.11852674186229706, 0.36289358139038086, 0.2622879445552826, 0.38911035656929016, -0.07170463353395462, 0.7605482339859009, 0.13791252672672272, -0.7345095276832581, -0.08708957582712173, 0.35113444924354553, -0.2652565538883209, -0.12505066394805908, -0.37326717376708984, 0.0262241642922163, -0.08495623618364334, 0.06689094007015228, -0.6294704079627991, 0.058917608112096786, 0.2540390193462372, -0.41310256719589233, 0.4197227954864502, -0.16369175910949707, -0.5628548860549927, -0.378073513507843, -0.37497350573539734, 0.7632396221160889, 0.23919758200645447, -0.4960309565067291, 0.28692421317100525, 0.4911179840564728, -0.12938587367534637, -0.7862139940261841, -0.2511386275291443, -0.12221615016460419, -0.16043512523174286, -0.5542718172073364, 0.6460379958152771, -0.00641325069591403, 0.058382514864206314, 0.14505736529827118, -0.15954318642616272, 0.11371222138404846, -0.02529231831431389, 0.18314151465892792, 0.29507166147232056, 0.2711593508720398, 0.2626516819000244, -0.06637806445360184, 0.0024847802706062794, -0.3109012544155121, -0.12763577699661255, 0.6582810878753662, 0.11104650795459747, -0.3587457835674286, -0.20193716883659363, 0.555363118648529, 0.4655347168445587, -0.5663238763809204, 0.7861948013305664, 0.47814127802848816, -0.39676329493522644, 0.009643212892115116, -0.7014623284339905, -0.20624470710754395, -0.4275658130645752, 0.2458599954843521, -0.6220740079879761, -1.0300601720809937, 0.4855630397796631, -0.07561678439378738, 0.2153811901807785, 0.48254114389419556, 0.28026360273361206, -0.06294061988592148, 0.9492484927177429, 0.7126624584197998, 0.054234448820352554, 0.5849649906158447, -0.6636064648628235, 0.3524048924446106, -0.9198617935180664, -0.2173241227865219, -0.3816840350627899, -0.523407518863678, -0.7307921648025513, -0.42829227447509766, 0.43795543909072876, 0.36424756050109863, -0.1834808737039566, 0.12045075744390488, -0.7529376149177551, 0.3307484984397888, 0.9067978858947754, 0.2863728702068329, 0.2979658544063568, 0.27765363454818726, -0.26177212595939636, -0.0180470272898674, -0.8354071974754333, -0.15492050349712372, 1.123093843460083, 0.05278205871582031, 0.5394484400749207, 0.3160751163959503, 0.9076938033103943, 0.45362934470176697, -0.006406294647604227, -0.511193573474884, 0.6381326913833618, -0.3463703691959381, -0.48243799805641174, -0.4092961251735687, -0.5328426957130432, -0.899021327495575, 0.2052648663520813, -0.23883748054504395, -0.6110644936561584, 0.22459498047828674, 0.008403899148106575, -0.34380587935447693, 0.5131184458732605, -0.42661723494529724, 0.735072135925293, 0.1904323250055313, -0.5585154294967651, -0.4535628855228424, -0.7036177515983582, 0.4657684564590454, 0.2543462812900543, 0.10595162212848663, 0.09785593301057816, 0.13998040556907654, 1.1319042444229126, -0.3357216417789459, 0.4363151788711548, -0.2586398720741272, 0.28336474299430847, 0.32868441939353943, 0.27123650908470154, 0.7361489534378052, -0.1233656108379364, -0.029822679236531258, -0.2252708375453949, 0.012933257035911083, -0.17762792110443115, -0.626851499080658, 0.6077457666397095, -0.8465155959129333, -0.8874619007110596, -0.36551299691200256, -0.5514875650405884, -0.0345291830599308, 0.1956503838300705, 0.32794883847236633, 0.41712114214897156, -0.06733698397874832, 0.05268795043230057, 0.6148375868797302, -0.08344843238592148, 0.21749965846538544, 0.3688247501850128, -0.25555670261383057, -0.18151085078716278, 1.1029964685440063, 0.3453042507171631, 0.3547346591949463, 0.7655718922615051, -0.009241058491170406, -0.3041952848434448, -0.435146301984787, -0.049284808337688446, 0.3143279254436493, -0.5286885499954224, -0.2850095331668854, -0.508173942565918, -0.6000356674194336, -0.5126987099647522, 0.10957705229520798, -0.27021560072898865, -0.6874927878379822, -0.015035603195428848, -0.09945306181907654, 0.16348084807395935, 0.680330753326416, -0.2929793894290924, 0.06000712141394615, -0.8023803234100342, 0.3822399377822876, 0.2055847942829132, 0.4166075885295868, 0.20292827486991882, -0.37270790338516235, -0.39346450567245483, -0.035208992660045624, -0.37703168392181396, -0.7402009963989258, 0.48806729912757874, 0.22232690453529358, 0.5380175113677979, 0.2535158395767212, 0.20301954448223114, 0.8853067755699158, -0.24990685284137726, 0.4378341734409332, 0.01278830599039793, -0.7413227558135986, 0.6966747045516968, -0.1512327641248703, 0.04353050887584686, 0.6087563037872314, 0.15926741063594818, -0.6618034243583679, -0.5552507042884827, -0.5710468292236328, -1.0534032583236694, 0.6646513342857361, 0.20443518459796906, -0.48288577795028687, -0.013390530832111835, 0.4116889238357544, 0.15005309879779816, 0.10761938244104385, -0.694366455078125, -0.21390202641487122, 0.05707811564207077, -0.06886552274227142, 0.15387454628944397, -0.6884101033210754, -0.10483682155609131, -0.19858884811401367, 0.8201372027397156, 0.3470776677131653, 0.3966224491596222, 0.23960740864276886, -0.4130975306034088, -0.402150422334671, 0.43334832787513733, 0.4925366938114166, 0.5878872871398926, -0.5650728940963745, 0.07293210178613663, -0.18662989139556885, -0.4562252461910248, 0.3375704288482666, 0.12764592468738556, -0.3411444127559662, -0.06499581784009933, 0.1247604563832283, 0.5904874205589294, 0.24229305982589722, -0.5550904273986816, 0.3612431287765503, -0.0908435806632042, -0.21274307370185852, -0.14617152512073517, 0.004297296516597271, -0.04608886316418648, 0.1848604679107666, 0.46918347477912903, 0.10665508359670639, 0.25922292470932007, -0.2799522578716278, 0.4824877083301544, 0.48551225662231445, -0.09196742624044418, -0.03380178287625313, 0.7213412523269653, 0.30884867906570435, -0.31451416015625, 0.7137892246246338, -0.2594766914844513, -0.5773153901100159, 0.34020182490348816, 0.4823911190032959, 0.6800094246864319, -0.2501908242702484, 0.20684407651424408, 0.3774612545967102, 0.16157978773117065, -0.1640309989452362, 0.2831907570362091, -0.14526037871837616, -0.5868255496025085, -0.47827020287513733, -0.5234325528144836, -0.2846587002277374, 0.017785726115107536, -0.8829371929168701, 0.07511817663908005, -0.26666826009750366, -0.2746855616569519, -0.3335300087928772, 0.4176797866821289, -0.7090348601341248, 0.14568501710891724, -0.17318414151668549, 0.6652585864067078, -0.5035676956176758, 0.7070782780647278, 0.5497080087661743, -0.5573241710662842, -0.8331679701805115, 0.147561714053154, -0.3238566219806671, -0.5797836780548096, 0.7739705443382263, 0.20831717550754547, -0.06897126138210297, 0.3359796702861786, 0.009156362153589725, -1.0984450578689575, 1.1766397953033447, 0.2859111726284027, -0.8183198571205139, -0.34616273641586304, -0.03377411514520645, -0.006129674147814512, -0.2640949487686157, 0.20271039009094238, 0.33133453130722046, 0.4109375774860382, 0.03849894553422928, -0.9619231820106506, 0.1594838798046112, -0.2085069715976715, -0.05284281447529793, 0.4246201515197754, -0.782360315322876, 0.7011966109275818, -0.2058531939983368, -0.5167590975761414, 0.08279255032539368, 0.5460721254348755, 0.41177988052368164, 0.2693415880203247, 0.7407461404800415, 0.8339661359786987, 0.6780620217323303, 0.07513150572776794, 0.8936514854431152, -0.305605947971344, 0.4017646312713623, 1.095528483390808, -0.185556560754776, 1.1174615621566772, 0.32990527153015137, -0.11943726986646652, 0.40392985939979553, 0.7237804532051086, 0.2451498955488205, 0.6241886615753174, 0.04659971594810486, -0.43741610646247864, -0.4142639935016632, -0.2007371187210083, -0.48118826746940613, 0.41366034746170044, 0.3457675278186798, -0.2823130488395691, -0.2464277297258377, 0.12974339723587036, -0.2502553164958954, 0.04408860206604004, -0.130801722407341, 0.712321400642395, -0.19553329050540924, -0.7331530451774597, 0.5654661059379578, 0.12968172132968903, 0.5606566667556763, -0.27613556385040283, -0.1268804967403412, -0.12201488018035889, -0.003404803341254592, -0.04712235555052757, -0.5429701805114746, 0.1537190079689026, -0.08423374593257904, -0.5557679533958435, -0.25921639800071716, 0.8383493423461914, -0.6431604623794556, -0.5083463788032532, 0.38496750593185425, 0.7607817053794861, 0.21606414020061493, 0.06246788427233696, -0.5367525219917297, 0.1961124688386917, 0.0916329100728035, -0.23516468703746796, 0.428171843290329, 0.05453496053814888, -0.2237473875284195, 0.9080905318260193, 0.5259379148483276, 0.19070015847682953, 0.12101604044437408, 0.423601359128952, 0.8454383015632629, -0.6144424080848694, -0.6025156378746033, -0.506681501865387, 0.24684622883796692, -0.03774028271436691, 0.3134378492832184, 0.39710167050361633, 0.6548058986663818, 0.7146635055541992, 0.2402368187904358, 0.7147018909454346, -0.10216100513935089, 0.9182752966880798, -0.29528188705444336, 0.7656301856040955, -0.8409058451652527, 0.47988516092300415, -0.05356181412935257, -0.9655860662460327, -0.29899662733078003, 0.3408907651901245, -0.17681953310966492, 0.22387100756168365, 0.44500231742858887, 0.6436820030212402, 0.1161208525300026, -0.3130579888820648, 0.3843976855278015, 0.0036668777465820312, 0.3336545526981354, 0.6586149334907532, 0.6387094259262085, -0.6154587268829346, 0.8641642332077026, -0.2342696636915207, 0.011861331760883331, -0.5006688833236694, -0.3003195822238922, -0.44854727387428284, -0.5786207318305969, -0.4184575080871582, -0.1934153437614441, 0.5245862007141113, 0.6885479092597961, 0.677929699420929, -0.40703901648521423, -0.1397629827260971, -0.021329939365386963, 0.4474770128726959, -0.5364683866500854, -0.31822696328163147, 0.5371330380439758, -0.1880611777305603, -0.6713712811470032, 0.3216550648212433, 0.22452625632286072, -0.131343275308609, -0.17303065955638885, -0.09694820642471313, -0.6765596866607666, -0.33238208293914795, 0.4003435969352722, 0.2874393165111542, -0.7573967576026917, -0.4476063847541809, -0.1888577789068222, -0.07635000348091125, -0.006491211708635092, 0.7297945618629456, -1.0783443450927734, 0.5637650489807129, 0.5342559814453125, 0.4707794189453125, 0.4713038206100464, 0.3394681513309479, 0.6744657754898071, -1.1198384761810303, 0.006522435694932938, 0.1347731500864029, 0.089647576212883, 0.3639349341392517, -0.569673478603363, 0.5668960809707642, 0.21561239659786224, -0.6400800347328186, -0.9128416180610657, 0.06756829470396042, -0.8875173330307007, -0.15758013725280762, 0.7830752730369568, -0.06797628849744797, -0.034129440784454346, 0.051465462893247604, 0.2346067726612091, 0.7222970128059387, -0.3482178747653961, 0.6887397766113281, 0.4188488721847534, -0.008917637169361115, -0.5427544713020325, -0.43876034021377563, 0.4713186025619507, 0.44850897789001465, -0.4533408582210541, 0.0020629549399018288, 0.22036215662956238, 0.2627812325954437, 0.14190228283405304, 0.5253683924674988, 0.15637214481830597, 0.3962608575820923, -0.1474766582250595, 0.22545118629932404, -0.22935666143894196, -0.39633122086524963, 0.18888501822948456, 0.4943419396877289, 0.35913264751434326, -0.5340656638145447 ]
http://arxiv.org/abs/2402.06147v2
http://arxiv.org/pdf/2402.06147v2
DeAL: Decoding-time Alignment for Large Language Models
2024-02-05T06:12:29
2024-02-21T02:25:32
James Y. Huang, Sailik Sengupta, Daniele Bonadiman, Yi-an Lai, Arshit Gupta, Nikolaos Pappas, Saab Mansour, Katrin Kirchhoff, Dan Roth
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) are nowadays expected to generate content aligned with human preferences. Current work focuses on alignment at model training time, through techniques such as Reinforcement Learning with Human Feedback (RLHF). However, it is unclear if such methods are an effective choice to teach alignment objectives to the model. First, the inability to incorporate multiple, custom rewards and reliance on a model developer's view of universal and static principles are key limitations. Second, the residual gaps in model training and the reliability of such approaches are also questionable (e.g. susceptibility to jail-breaking even after safety training). To address these, we propose DeAL, a framework that allows the user to customize reward functions and enables Decoding-time Alignment of LLMs (DeAL). At its core, we view decoding as a heuristic-guided search process and facilitate the use of a wide variety of alignment objectives. Our experiments with programmatic constraints such as keyword and length constraints (studied widely in the pre-LLM era) and abstract objectives such as harmlessness and helpfulness (proposed in the post-LLM era) show that we can DeAL with fine-grained trade-offs, improve adherence to alignment objectives, and address residual gaps in LLMs. Lastly, while DeAL can be effectively paired with RLHF and prompting techniques, its generality makes decoding slower, an optimization we leave for future work.
[ -0.002445189980790019, -0.37356463074684143, 0.6266688108444214, 0.2446310818195343, -0.3026670515537262, 0.2747795879840851, -0.5307548642158508, -0.33438509702682495, 0.1913800984621048, 0.35633572936058044, -0.578758716583252, -0.523409903049469, -0.5687595009803772, -0.10564174503087997, -0.26028910279273987, 0.8808870315551758, -0.20957589149475098, -0.08401954919099808, 0.009439428336918354, -0.031819917261600494, -0.44504010677337646, -0.5639970302581787, -0.6328344941139221, -0.5417832136154175, 0.7791861891746521, 0.35858649015426636, 0.8681647777557373, 1.1621559858322144, 0.537101686000824, 0.20803096890449524, -0.14190642535686493, 0.13292641937732697, -0.5852790474891663, 0.005262702237814665, -0.29261037707328796, -0.3334422707557678, -0.38475117087364197, -0.07219712436199188, 0.4805198013782501, 0.6751824617385864, -0.6006020307540894, -0.11450133472681046, -0.0437873974442482, 0.5334410667419434, -0.8018440008163452, 0.20280472934246063, -0.5313411355018616, 0.1868455857038498, -0.05620395764708519, -0.4063130021095276, -0.6215027570724487, -0.24514305591583252, -0.0726524218916893, -0.7268918752670288, -0.19243605434894562, 0.1502213031053543, 1.0991922616958618, 0.3431536555290222, -0.4078906774520874, -0.39048945903778076, -0.572282612323761, 1.0204843282699585, -0.9505764245986938, 0.39883309602737427, 0.3604028522968292, 0.2565288841724396, -0.37794846296310425, -0.2633975148200989, -0.43099868297576904, -0.05109948664903641, -0.13484059274196625, -0.0572088360786438, 0.19769860804080963, 0.20214307308197021, 0.20055897533893585, 0.32613059878349304, -0.4736558198928833, 0.3925415873527527, -0.00605758186429739, -0.3664129078388214, 0.703465461730957, 0.40486109256744385, 0.2588392198085785, -0.0025605831760913134, -0.4267026484012604, -0.14729242026805878, -0.7005261778831482, 0.1876308172941208, 0.609800398349762, 0.3948541581630707, -0.249714657664299, 0.6416164040565491, -0.25200214982032776, 0.9022783637046814, 0.07378892600536346, -0.29212796688079834, -0.05974783003330231, -0.27434173226356506, 0.0047484454698860645, 0.28823238611221313, 0.6602359414100647, 0.3841433823108673, 0.19864147901535034, -0.4138089418411255, -0.36286842823028564, 0.08250731974840164, 0.25450727343559265, -0.6832223534584045, 0.04851231351494789, 0.20235575735569, -0.38897356390953064, -0.24822215735912323, -0.02881798893213272, -0.3328550159931183, -0.15116533637046814, -0.5617472529411316, 0.2435687929391861, -0.2876652479171753, -0.08043952286243439, 0.6090272068977356, -0.023272553458809853, 0.6422722339630127, 0.23618173599243164, -1.288083553314209, 0.14934773743152618, 0.9504206776618958, 0.6896830201148987, -0.19025294482707977, -0.43649834394454956, -0.7956954836845398, 0.5858275294303894, -0.30041050910949707, 0.5757436752319336, -0.6039917469024658, -0.29439598321914673, 0.043396130204200745, -0.14322368800640106, -0.007404637522995472, -0.1368713229894638, 0.4188491106033325, -0.6909090876579285, 0.09679990261793137, -0.15585777163505554, -0.759756326675415, 0.2490984946489334, 0.45003414154052734, -0.495602011680603, 0.514643669128418, 0.15900476276874542, -0.5012461543083191, 0.23551735281944275, -0.30830398201942444, -0.5817499756813049, -0.07279854267835617, -0.22665661573410034, -0.38909912109375, -0.024508001282811165, 0.309011846780777, 0.3137767016887665, -0.18648570775985718, 0.6013749241828918, -0.24144287407398224, -0.6490878462791443, 0.591717541217804, -0.3696703612804413, 0.5205042362213135, 0.419098824262619, -0.35567864775657654, 0.14471298456192017, -0.36791539192199707, -0.0014266697689890862, 0.04564860463142395, -0.7103476524353027, -0.20359285175800323, 0.12203928828239441, -0.06441543251276016, -0.0031774083618074656, 0.41276490688323975, -0.2998404800891876, 0.5537897348403931, -0.5063199996948242, 0.5200494527816772, 0.7832311987876892, -0.18814148008823395, 0.6315089464187622, -0.4149475693702698, 0.7553914785385132, -0.10817360132932663, 0.1226540207862854, -0.21154627203941345, -0.02025248482823372, -0.5849547982215881, -0.22631700336933136, 0.5730172991752625, 0.5136308670043945, -0.48859596252441406, 0.5872185230255127, -0.38085299730300903, -0.07811205089092255, -0.7797315716743469, 0.19482320547103882, 0.6806201934814453, 0.22417713701725006, 0.1772635579109192, -0.14244796335697174, -0.5436998605728149, -0.8561918139457703, -0.35813358426094055, -0.05244677886366844, 0.03415866196155548, 0.11510942876338959, 0.10982771217823029, -0.0846703052520752, 0.8570461869239807, -0.4765734076499939, -0.20315062999725342, -0.2632482051849365, 0.07758523523807526, 0.24440337717533112, 0.34004995226860046, 0.1295129954814911, -0.7399413585662842, -0.4010315239429474, 0.09317266941070557, -0.5625060796737671, -0.04123310744762421, -0.25471940636634827, -0.14899632334709167, 0.46158361434936523, 0.61740642786026, -0.5410756468772888, 0.2178201526403427, 0.7048852443695068, -0.482930451631546, 0.2870030701160431, -0.2301904410123825, 0.3227792978286743, -1.1011698246002197, 0.0065747820772230625, -0.32144254446029663, -0.31294822692871094, -0.28172755241394043, 0.05766788870096207, 0.13446184992790222, 0.018871527165174484, -0.42092016339302063, 0.7408087253570557, -0.4543868899345398, -0.14811566472053528, -0.3619193732738495, 0.1816226691007614, 0.07355763763189316, 0.5976433157920837, 0.36450594663619995, 0.5822479128837585, -0.029980672523379326, -0.5317525267601013, 0.145473450422287, 0.38474878668785095, -0.49358463287353516, 0.646812379360199, -0.5289413928985596, 0.20335377752780914, 0.02088966593146324, 0.23817305266857147, -0.5660465359687805, -0.29387611150741577, 0.3188629150390625, -0.4507291316986084, 0.3811708986759186, -0.24260132014751434, -0.3128710389137268, 0.05771001800894737, -0.22622038424015045, 0.6620004177093506, 0.4724941849708557, -0.6102127432823181, 0.3969665467739105, 0.2800312340259552, 0.07110968232154846, -1.0466179847717285, -0.48834481835365295, 0.32504308223724365, -0.34363242983818054, -0.48422685265541077, 0.6707504391670227, -0.115492083132267, -0.16377389430999756, 0.19561952352523804, -0.02088109776377678, 0.30098116397857666, 0.20949529111385345, 0.020472070202231407, 0.24994613230228424, -0.0019249907927587628, -0.10274980217218399, -0.045981984585523605, -0.42281481623649597, -0.2237616777420044, -0.2845475673675537, 0.5438933968544006, 0.04389846697449684, -0.5107749104499817, -0.24309678375720978, 0.3367975354194641, 0.3837094306945801, -0.3504040539264679, 0.7383522987365723, 0.48955321311950684, -0.26226454973220825, -0.130360946059227, -0.40543174743652344, -0.16518886387348175, -0.4360908567905426, 0.24330203235149384, -0.3566933572292328, -1.065646767616272, 0.4290616512298584, 0.16354922950267792, 0.1344064325094223, -0.01043394673615694, 0.5625951290130615, -0.13708387315273285, 1.1337368488311768, 0.6414816379547119, -0.19273467361927032, 0.5644340515136719, 0.020649336278438568, 0.4867385923862457, -0.8749011158943176, -0.3906487226486206, -0.43863147497177124, -0.5478143095970154, -0.20987798273563385, -0.13288262486457825, 0.017592288553714752, 0.5155744552612305, -0.2650471031665802, 0.4390452802181244, -0.4012884199619293, 0.6068429350852966, 0.4611436724662781, 0.022274626418948174, 0.2833353579044342, -0.08903557062149048, 0.27742695808410645, -0.19568009674549103, -0.7489935159683228, -0.40231090784072876, 0.8081392645835876, 0.3937636613845825, 1.1724776029586792, 0.33803340792655945, 0.8917185068130493, 0.20600448548793793, 0.08899084478616714, -0.9659671783447266, 0.3932359218597412, -0.041047826409339905, -0.2331470102071762, -0.4249069094657898, -0.4632851779460907, -1.188328504562378, 0.005001663230359554, -0.16411708295345306, -0.7646107077598572, 0.09435345232486725, 0.40420180559158325, -0.34375524520874023, 0.16767597198486328, -0.4387798011302948, 1.0867946147918701, -0.5192839503288269, -0.2420697957277298, -0.21563321352005005, -0.6655892729759216, 0.3040267825126648, 0.1498442441225052, 0.3460243046283722, -0.15614408254623413, -0.10140622407197952, 0.6193547248840332, -0.2691226303577423, 0.8131647706031799, 0.10149635374546051, -0.331298828125, -0.11763567477464676, 0.26763737201690674, 0.7276250123977661, -0.09441959857940674, 0.04949723556637764, -0.09686296433210373, 0.1201104074716568, -0.46930399537086487, -0.611855685710907, 0.5924723148345947, -0.5989135503768921, -0.5972064137458801, -0.41398581862449646, -1.0629961490631104, -0.035841915756464005, 0.06544120609760284, 0.19264443218708038, 0.2835763394832611, -0.010881787165999413, 0.0687515065073967, 0.7447117567062378, -0.2350674718618393, 0.45674261450767517, 0.5462988018989563, -0.21599502861499786, -0.4234248399734497, 1.0397742986679077, -0.42779433727264404, 0.4779494106769562, 0.7437910437583923, 0.18946805596351624, -0.3831174075603485, -0.6908118724822998, -0.2564529478549957, 0.18262794613838196, -0.7569214105606079, -0.36156782507896423, -0.3717905282974243, -0.1323128044605255, -0.4123137593269348, -0.5888950228691101, -0.37213224172592163, -0.1971764713525772, -0.3240416347980499, 0.13320493698120117, 0.2282177358865738, 0.38789719343185425, -0.08269626647233963, 0.41912803053855896, -1.0201349258422852, 0.2964269518852234, 0.04219980165362358, 0.4618198871612549, -0.21677041053771973, -0.594935417175293, -0.5878384709358215, -0.005677998531609774, 0.015067276544868946, -0.6931732892990112, 0.3697942793369293, -0.07004373520612717, 0.4572805166244507, 0.31301018595695496, 0.16000039875507355, 0.6278443336486816, -0.341706246137619, 0.5536471605300903, 0.25565317273139954, -1.1204564571380615, 0.20440413057804108, -0.4233918786048889, 0.4187006652355194, 0.4103427231311798, -0.025005551055073738, -0.9707142114639282, -0.2991167902946472, -0.3575969636440277, -0.882680356502533, 0.892482340335846, -0.04463521018624306, 0.06931746751070023, 0.012539217248558998, 0.404611200094223, -0.012586894445121288, 0.2770628333091736, -0.8174247741699219, 0.10369089990854263, 0.20177917182445526, -0.6193209886550903, -0.055855248123407364, -0.3488030731678009, -0.29089799523353577, 0.11020500957965851, 0.632365882396698, -0.2864646911621094, 0.012607311829924583, -0.23959989845752716, -0.3384994864463806, -0.18504402041435242, 0.5930212140083313, 0.7144266366958618, 0.6628523468971252, -0.1708289384841919, 0.0789560005068779, -0.19131648540496826, 0.15117903053760529, 0.42962774634361267, -0.015745244920253754, -0.05872400477528572, -0.4045749008655548, 0.5723770260810852, 0.8969396948814392, 0.5452949404716492, -0.8762441277503967, 0.5188961029052734, -0.030481375753879547, -0.22129134833812714, -0.20542386174201965, 0.15535303950309753, 0.3773786425590515, 0.5450464487075806, -0.1351618766784668, -0.5687180757522583, -0.09455753117799759, -0.46105876564979553, 0.03167275711894035, 0.5889668464660645, -0.1892116814851761, -0.0020365638192743063, 0.6373451352119446, 0.020734397694468498, -0.6700401306152344, 0.8724431395530701, -0.2413330078125, -0.5758169293403625, 0.6220613121986389, 0.6017037034034729, 0.7122617959976196, -0.1466764211654663, 0.22442162036895752, 0.11207395046949387, 0.23912130296230316, -0.4092170298099518, 0.17106400430202484, -0.1024351716041565, -0.8181735277175903, -0.7455533742904663, -0.7407482862472534, -0.39817360043525696, -0.04905395582318306, -0.8185853362083435, 0.3868894577026367, -0.19454362988471985, 0.08743196725845337, -0.29474541544914246, -0.29078251123428345, -0.4290553629398346, -0.11007094383239746, 0.14668413996696472, 0.7915709614753723, -0.5383670330047607, 0.8147889375686646, 0.4686112403869629, -0.28496697545051575, -0.8835724592208862, -0.1326671540737152, -0.029330337420105934, -0.8139134049415588, 0.6040742993354797, 0.14337655901908875, -0.1212906539440155, 0.0014792387373745441, -0.46195530891418457, -0.8281852602958679, 1.0091654062271118, 0.6881610751152039, -1.010240912437439, -0.39926019310951233, 0.07456403225660324, 0.26115748286247253, -0.45606279373168945, -0.23697808384895325, 0.7193045020103455, 0.6111328601837158, 0.11591625213623047, -0.8810853362083435, 0.01066023949533701, 0.11541560292243958, 0.049965668469667435, 0.5901553630828857, -0.44506579637527466, 0.5774787068367004, -0.3964982032775879, -0.17429418861865997, 0.15746137499809265, 0.4344377815723419, 0.2697899043560028, 0.11299286037683487, 0.48656466603279114, 0.8581638932228088, 0.3761180341243744, -0.09251193702220917, 1.1563889980316162, -0.1893261820077896, 0.48300838470458984, 1.2103843688964844, -0.1891065388917923, 0.7854530215263367, 0.777976393699646, -0.1284172534942627, 0.23628605902194977, 0.8829519748687744, 0.09732110053300858, 0.7016959190368652, 0.42236778140068054, -0.09719423949718475, -0.5792073607444763, -0.12425724416971207, -0.14722654223442078, 0.23042508959770203, 0.396879106760025, -0.03362283483147621, -0.20076042413711548, -0.14718055725097656, -0.0825507640838623, 0.2793421149253845, -0.10467668622732162, 0.8498977422714233, 0.18588007986545563, -0.8649201393127441, 0.4818803668022156, 0.15494544804096222, 0.6353083252906799, -0.7304158210754395, -0.10749955475330353, -0.22565557062625885, 0.2966883182525635, -0.24392388761043549, -0.7821128368377686, 0.1670103669166565, -0.4111415445804596, -0.185831218957901, -0.319142609834671, 0.2370295375585556, -0.9833585619926453, -0.12762583792209625, 0.3392815589904785, 0.027864621952176094, -0.009316176176071167, 0.23426224291324615, -0.6837487816810608, 0.5560835003852844, 0.04071226343512535, -0.24373392760753632, 0.39717915654182434, 0.12187429517507553, 0.048500653356313705, 0.6393473744392395, 0.42072194814682007, 0.13551612198352814, -0.19706948101520538, 0.05022100731730461, 0.43119144439697266, -0.9372197985649109, -0.5738232731819153, -0.9153153896331787, 0.4575331211090088, 0.2123643159866333, -0.05959990993142128, 0.33396798372268677, 0.33982694149017334, 1.0212583541870117, 0.14262604713439941, 0.603635847568512, 0.14430604875087738, 0.08987656235694885, -1.0723377466201782, 0.2805313169956207, -0.6064763069152832, 0.6566808819770813, 0.08929555118083954, -0.9754202961921692, -0.3062790036201477, 0.4893827438354492, -0.18840153515338898, -0.007665348704904318, 0.6348551511764526, 0.761401355266571, -0.136557936668396, -0.33950480818748474, 0.30134448409080505, -0.32467880845069885, 0.5580629110336304, 0.9715158343315125, 0.9770053625106812, -0.03517947718501091, 0.6887795925140381, -0.18764334917068481, -0.02499065361917019, -0.38911008834838867, -1.0737104415893555, -0.7878401875495911, -0.457027792930603, -0.42792177200317383, -0.5284030437469482, 0.2164943665266037, 1.1589007377624512, 0.5532146692276001, -0.6031221747398376, -0.42414000630378723, 0.06876274943351746, 0.30387744307518005, -0.2522379457950592, -0.16425786912441254, 0.45255380868911743, -0.6059237718582153, -0.8053287267684937, 0.39638805389404297, 0.37615254521369934, 0.08638254553079605, -0.1879587173461914, -0.6686102151870728, -0.13452446460723877, -0.0532107874751091, 0.2930763363838196, 0.5137591361999512, -0.9126337766647339, -0.425234854221344, 0.0734873041510582, -0.37872782349586487, 0.025302957743406296, 1.2058756351470947, -0.40402016043663025, 0.2533980906009674, 0.2786933183670044, 1.1818230152130127, 0.4172675907611847, -0.04073695093393326, 0.9165740013122559, -0.628420352935791, 0.1540360450744629, 0.1352728009223938, 0.46384546160697937, 0.34634706377983093, -0.5291351079940796, 0.33231040835380554, -0.12884455919265747, -0.5189536809921265, -0.8483170866966248, 0.545659065246582, -0.9268337488174438, -0.41956549882888794, 1.1376127004623413, -0.16067306697368622, -0.2582613229751587, 0.08003227412700653, -0.19516144692897797, 0.2591797709465027, -0.545703113079071, 0.9543589353561401, 0.8618210554122925, -0.055041488260030746, -0.20168782770633698, -0.0653214082121849, 0.46212995052337646, 0.6446232199668884, -0.8255022168159485, 0.24662438035011292, 0.6244060397148132, 0.16011811792850494, -0.13528653979301453, 0.5265026688575745, -0.17825542390346527, 0.3463112413883209, -0.42139288783073425, 0.25322192907333374, -0.17182818055152893, -0.30980661511421204, -0.6418329477310181, -0.13765498995780945, 0.47097048163414, -0.15802782773971558 ]
http://arxiv.org/abs/2402.05127v1
http://arxiv.org/pdf/2402.05127v1
Illuminate: A novel approach for depression detection with explainable analysis and proactive therapy using prompt engineering
2024-02-05T06:08:06
2024-02-05T06:08:06
Aryan Agrawal
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces a novel paradigm for depression detection and treatment using advanced Large Language Models (LLMs): Generative Pre-trained Transformer 4 (GPT-4), Llama 2 chat, and Gemini. These LLMs are fine-tuned with specialized prompts to diagnose, explain, and suggest therapeutic interventions for depression. A unique few-shot prompting method enhances the models' ability to analyze and explain depressive symptoms based on the DSM-5 criteria. In the interaction phase, the models engage in empathetic dialogue management, drawing from resources like PsychDB and a Cognitive Behavioral Therapy (CBT) Guide, fostering supportive interactions with individuals experiencing major depressive disorders. Additionally, the research introduces the Illuminate Database, enriched with various CBT modules, aiding in personalized therapy recommendations. The study evaluates LLM performance using metrics such as F1 scores, Precision, Recall, Cosine similarity, and Recall-Oriented Understudy for Gisting Evaluation (ROUGE) across different test sets, demonstrating their effectiveness. This comprehensive approach blends cutting-edge AI with established psychological methods, offering new possibilities in mental health care and showcasing the potential of LLMs in revolutionizing depression diagnosis and treatment strategies.
[ -0.29668936133384705, -1.0883897542953491, 0.9726414680480957, 0.440766304731369, -0.16344547271728516, 0.06401358544826508, -0.1733558028936386, -0.14471760392189026, 0.22467364370822906, 0.11462534219026566, -0.913245677947998, -0.6425406336784363, -0.40628573298454285, 0.32252779603004456, -0.3939632475376129, 0.4904307425022125, -0.01312191504985094, 0.27193185687065125, 0.15892334282398224, 0.2257859706878662, -0.8545737862586975, -0.04801606386899948, -0.9798061847686768, -0.24870501458644867, 0.18428818881511688, 0.5022686123847961, 0.8103561401367188, -0.327973872423172, 0.5723212957382202, 0.26486170291900635, -0.04768437519669533, -0.03822289779782295, -0.3864425718784332, 0.10039451718330383, 0.06726493686437607, -0.6288794279098511, -0.5545657277107239, -0.23968619108200073, 0.0331127792596817, 0.5314370393753052, 0.028035234659910202, -0.2386322319507599, 0.29250654578208923, 0.2317575365304947, -0.6986712217330933, 0.05411414057016373, -0.27518516778945923, 0.3493078351020813, -0.057734739035367966, -0.08394897729158401, -0.35864442586898804, -0.19621889293193817, -0.40607643127441406, -0.4965269863605499, 0.12237992137670517, -0.25840994715690613, 0.4410124123096466, 0.4338979721069336, -0.32293185591697693, -0.3388483226299286, -0.6590098142623901, 0.603893518447876, -0.811461329460144, -0.27434393763542175, 0.5200299620628357, 0.5786305665969849, -0.07372641563415527, -0.7149032354354858, -0.2652927339076996, -0.12243963778018951, -0.22511325776576996, 0.39817166328430176, -0.3631012439727783, 0.2951851785182953, 0.23605236411094666, 0.6996245980262756, -0.6491467952728271, 0.41542625427246094, 0.08383244276046753, -0.14444810152053833, 0.5239062905311584, 0.534214973449707, 0.5323128700256348, -0.17472738027572632, -0.26464107632637024, 0.46949663758277893, -0.3320341408252716, -0.11693866550922394, -0.1984429806470871, -0.001891301479190588, -0.06270507723093033, 0.45109063386917114, -0.059369586408138275, 0.44840550422668457, 0.19173532724380493, -0.0021371222101151943, -0.13954831659793854, -0.2317906767129898, -0.39968404173851013, 0.11414038389921188, 0.8659756183624268, 0.48449382185935974, -0.1259918212890625, 0.03783022612333298, -0.1863703578710556, 0.22365176677703857, 0.048993341624736786, -0.8360186815261841, -0.6051769852638245, 0.4597867429256439, -0.7593121528625488, -0.28154700994491577, -0.5096346139907837, -1.0646814107894897, -0.8487988710403442, -0.2856592535972595, 0.6163203716278076, -0.7517575621604919, -0.6467995047569275, 0.3788596987724304, 0.09482469409704208, 0.075894296169281, 0.3372642397880554, -0.8510079979896545, 0.0053471107967197895, 0.4543409049510956, 1.2304319143295288, -0.10725343972444534, 0.33612701296806335, -0.3971865475177765, -0.07003428786993027, -0.19632191956043243, 0.7707010507583618, -0.5673923492431641, -0.4399259686470032, 0.2182590216398239, -0.11225248873233795, 0.007566129323095083, -0.37578055262565613, 0.6986632347106934, -0.11844771355390549, 0.10249810665845871, -0.11718769371509552, -0.5749481916427612, -0.05776200816035271, 0.3406687080860138, -0.713868260383606, 0.589719295501709, 0.3219321668148041, -0.7386420965194702, 0.010890056379139423, -0.8784764409065247, -0.023992186412215233, 0.47625115513801575, -0.060782402753829956, -0.21416452527046204, 0.27826252579689026, 0.47057896852493286, 0.5652744174003601, -0.2696859538555145, 0.3012889325618744, -0.32220980525016785, -0.3694628179073334, 0.276166170835495, -0.39062821865081787, 0.7929360270500183, 0.485809326171875, -0.24284759163856506, 0.1745748519897461, -0.8377931714057922, -0.06578082591295242, 0.2557556629180908, 0.03647242486476898, -0.3626108169555664, -0.37856003642082214, 0.07426176965236664, 0.06799469143152237, 0.2605073153972626, -0.2480260729789734, 0.11635547131299973, -0.3872031271457672, 0.5291866660118103, 0.5895300507545471, 0.15226790308952332, 0.16584104299545288, 0.08184128254652023, 1.1669187545776367, -0.03196495398879051, 0.46644139289855957, -0.7291094064712524, -0.2942894995212555, -0.497962087392807, -0.8207361698150635, -0.060717564076185226, 0.6258329153060913, -0.396308571100235, 0.5174139142036438, 0.2683587372303009, -0.29962319135665894, -0.5834392309188843, -0.2764149308204651, 0.07920727133750916, 0.3173724114894867, 0.6213917136192322, -0.1442657709121704, -0.4829154312610626, -0.7329809665679932, -0.2840415835380554, 0.3768264055252075, -0.003225399646908045, -0.08146248757839203, 0.1872766613960266, -0.45899251103401184, 0.9107698798179626, -0.6587129831314087, -0.41360414028167725, -0.6499611735343933, 0.35376328229904175, 0.49196895956993103, 0.20704618096351624, 0.5093258023262024, -0.5337172150611877, -0.553500771522522, -0.2513574957847595, -0.9423076510429382, -0.19211825728416443, -0.36085107922554016, -0.04990869015455246, -0.47543367743492126, 0.4891616404056549, -0.677803099155426, 0.7590746879577637, 0.13708485662937164, -0.494228720664978, 0.3608322739601135, -0.0034596859477460384, 0.12741152942180634, -0.9330220818519592, -0.09867390990257263, -0.09861055016517639, -0.12375663965940475, -0.5741952657699585, -0.525122880935669, -0.07681123912334442, -0.4255201816558838, -0.14234010875225067, 0.3718002140522003, -0.5105290412902832, 0.08500203490257263, -0.48311343789100647, 0.10982853919267654, -0.08084982633590698, 0.18055199086666107, -0.4390357434749603, 0.47164008021354675, 0.8955883383750916, -0.35052427649497986, 0.560967206954956, 0.3903244137763977, -0.37435218691825867, 0.9408887624740601, -0.5378337502479553, -0.10913928598165512, -0.2160380482673645, 0.014768799766898155, -1.4326250553131104, -0.24348047375679016, 0.42384085059165955, -0.15710501372814178, 0.3461518883705139, 0.27728471159935, -0.43440061807632446, -0.32960203289985657, -0.1058213859796524, 0.6516346335411072, 0.38029229640960693, -0.425601601600647, 0.4499976634979248, -0.25043734908103943, -0.4811904728412628, -0.1121983602643013, -0.5951117277145386, 0.42609062790870667, -0.6546982526779175, -0.6071570515632629, 0.6774112582206726, -0.2588672339916229, -0.3744613826274872, -0.17721369862556458, 0.2210407704114914, 0.07209581881761551, 0.49121132493019104, 0.019960155710577965, 0.1297384798526764, 0.03077717311680317, 0.4767105281352997, 0.039588019251823425, -0.4509035050868988, 0.21355777978897095, 0.3205283284187317, 0.7096285820007324, 0.04199400171637535, -0.5772539377212524, -0.9246078133583069, 0.5489462614059448, 0.34977614879608154, -0.1929107904434204, 0.5537598729133606, 0.6722518801689148, -0.34703880548477173, -0.13519306480884552, -0.07204968482255936, -0.4703972339630127, -0.4323063790798187, 0.3749845325946808, -0.34304943680763245, -0.4658660888671875, 0.42902684211730957, -0.5117858648300171, -0.21670638024806976, -0.002423468977212906, 0.5917220115661621, 0.19413448870182037, 1.6398895978927612, 0.8086515069007874, 0.029026178643107414, 0.675847589969635, -0.2734036147594452, 0.7700805068016052, -0.5711615681648254, 0.033582720905542374, -0.1046474277973175, -0.46230143308639526, -0.14648373425006866, 0.08908329904079437, 0.5092372298240662, 0.5203394889831543, -0.3522866368293762, -0.08293908089399338, -0.6787614226341248, 0.17522265017032623, 0.09882606565952301, 0.20363014936447144, 0.5649560689926147, -0.41143980622291565, 0.04000937193632126, -0.47177577018737793, -0.3464319705963135, -0.4776518642902374, 0.887982964515686, 0.24370889365673065, 1.0099445581436157, -0.01523477490991354, 0.600609540939331, 0.3739672005176544, 0.47737613320350647, -0.9912475347518921, 0.33764907717704773, 0.34456008672714233, -0.3887102007865906, 0.006963666994124651, 0.09731671214103699, -0.9910987615585327, 0.25514495372772217, 0.015178629197180271, -0.7217297554016113, 0.18517136573791504, 0.03249117732048035, -0.6423497200012207, -0.13619790971279144, -0.7717859745025635, 1.0455372333526611, -0.7025520205497742, -0.01613234356045723, -0.3546864688396454, -0.4338878095149994, 0.8168214559555054, -0.087303027510643, 0.3546646535396576, -0.16654643416404724, 0.1347099393606186, 0.25107142329216003, -0.14149783551692963, 0.8961115479469299, -0.25325965881347656, -0.20773781836032867, -0.12063901871442795, 0.1759752333164215, 0.36846432089805603, 0.34374475479125977, -0.06429217010736465, -0.28739073872566223, -0.1642804890871048, -0.20962080359458923, -0.9070152044296265, 0.5159450173377991, -0.3999575078487396, -0.5491447448730469, -0.2769613265991211, -0.4028981924057007, -0.18647333979606628, 0.294727623462677, 0.49885961413383484, 0.1751319319009781, -0.3546901047229767, -0.1383822113275528, 0.6271518468856812, -0.5077885389328003, 0.35395723581314087, 0.4562525153160095, -0.43493884801864624, -0.4456818401813507, 0.35068514943122864, -0.11606457084417343, 0.028475496917963028, 0.23920778930187225, 0.037862859666347504, 0.01851595751941204, -0.525216281414032, 0.4460926055908203, 0.34599992632865906, -0.8398080468177795, -0.5953971147537231, -0.6509540677070618, 0.043460384011268616, -0.3449695110321045, -0.13651293516159058, -0.32088902592658997, -0.21505849063396454, -0.6447165608406067, -0.39560022950172424, 0.4899214804172516, 0.5070382952690125, -0.1029706597328186, 0.4513612389564514, -0.5839207172393799, 0.583914041519165, -0.008870849385857582, 0.16904285550117493, 0.13829293847084045, -0.14372913539409637, -0.35563746094703674, 0.01211151760071516, -0.6898448467254639, -1.3561066389083862, 0.73661869764328, 0.1875312328338623, 0.548603892326355, 0.764928936958313, 0.2824583947658539, 0.5276213884353638, 0.017210572957992554, 0.7797728180885315, 0.6126937866210938, -1.019304633140564, 1.0719720125198364, 0.08570383489131927, 0.09917296469211578, 0.27413490414619446, 0.5354160666465759, -0.5074321031570435, -0.28304222226142883, -0.45947226881980896, -1.0173205137252808, 0.694044291973114, 0.18700359761714935, -0.13859392702579498, -0.18238094449043274, 0.4925447404384613, 0.12100419402122498, -0.12307310849428177, -0.7143692374229431, -0.1421499252319336, -0.46687278151512146, -0.7346781492233276, -0.10164079070091248, -0.25124844908714294, -0.36590442061424255, -0.0409497432410717, 0.3170156478881836, -0.3621065020561218, 0.6730862855911255, 0.22356024384498596, -0.13334999978542328, -0.06376241892576218, 0.3519098460674286, 0.033374715596437454, 0.6303240656852722, -0.06187652423977852, 0.16578368842601776, -0.1422022432088852, -0.03844885528087616, 0.033441390842199326, 0.30901822447776794, 0.03272669017314911, 0.17805898189544678, 0.37248191237449646, 0.8371539115905762, 0.07752837240695953, -0.6554068922996521, 0.633837878704071, -0.2567734718322754, 0.018629157915711403, -0.5484398603439331, 0.14520680904388428, 0.12938471138477325, 0.6697512269020081, 0.3112720847129822, -0.29124730825424194, 0.4275551438331604, -0.48684602975845337, -0.2789182662963867, 0.6610749959945679, -0.4685588479042053, -0.661867618560791, 0.6734490990638733, 0.03217693045735359, -0.40271973609924316, 0.6778261661529541, -0.03474397957324982, -0.25450843572616577, 0.5026999711990356, 0.5385380387306213, 1.0325803756713867, -0.3554774522781372, 0.5171259045600891, 0.4086807370185852, -0.03853916749358177, -0.05868065357208252, 0.34039971232414246, -0.20297740399837494, -0.5952081680297852, -0.25180158019065857, -0.3233549892902374, -0.06828512996435165, 0.47718051075935364, -0.7117869853973389, 0.4203212261199951, -0.4678785502910614, -0.28007203340530396, -0.04277190566062927, -0.22826305031776428, -0.5420796275138855, -0.009625954553484917, 0.22631321847438812, 0.765933632850647, -0.923559844493866, 0.33170703053474426, 0.6162708401679993, -0.729859471321106, -0.3180900514125824, 0.07418856769800186, 0.12758868932724, -0.7521426677703857, 0.49354708194732666, 0.5613036155700684, 0.24008168280124664, 0.33977770805358887, -0.6926235556602478, -0.6856624484062195, 1.3929420709609985, 0.5195985436439514, -0.3840342164039612, 0.029066458344459534, -0.08422238379716873, 0.5229597091674805, -0.33850717544555664, 0.6288708448410034, 0.9036022424697876, 0.7401901483535767, -0.09640441834926605, -0.5616785883903503, 0.164675772190094, -0.2540305554866791, 0.10472603887319565, 0.04412492364645004, -0.5889741778373718, 0.6994988918304443, -0.22659824788570404, -0.5860356092453003, 0.4552184045314789, 0.36098480224609375, 0.2131231129169464, 0.3903405964374542, 0.28073421120643616, 0.513867199420929, 0.898888885974884, -0.05848708376288414, 0.7948219180107117, -0.2747687101364136, 0.3380142152309418, 0.5029789209365845, -0.33659157156944275, 0.14823615550994873, 0.34662604331970215, -0.1525285392999649, 0.3887024521827698, 0.7781080603599548, -0.01950441300868988, 0.7607830166816711, 0.018569091334939003, -0.5824028849601746, -0.5091406106948853, -0.24229183793067932, -0.3380892276763916, 0.09734611958265305, 0.6570011973381042, -0.3982678949832916, -0.41763192415237427, 0.6873419880867004, 0.048530738800764084, 0.07381734251976013, -0.2629997432231903, 0.7223756909370422, 0.48890113830566406, -0.4578450620174408, 0.627705454826355, -0.13188602030277252, 0.5175856351852417, -0.4840681850910187, -0.00600441126152873, -0.5828337669372559, 0.5195072293281555, -0.388790488243103, -0.6562881469726562, 0.11587303876876831, -0.05453005060553551, -0.03953856602311134, -0.2510664761066437, 0.6487760543823242, -0.18219561874866486, -0.4169142246246338, 0.46970683336257935, 0.41617855429649353, -0.010134972631931305, -0.2889975309371948, -0.8112339973449707, -0.03897847607731819, -0.08032835274934769, -0.2981609106063843, 0.348100870847702, 0.7694371342658997, 0.06540002673864365, 0.7138014435768127, 0.1305229365825653, -0.298350065946579, -0.26709669828414917, 0.28300055861473083, 0.7641224265098572, -0.9716451168060303, -0.46087050437927246, -0.7984390258789062, 0.6803187727928162, -0.04318813979625702, -0.08368179947137833, 0.7017908096313477, 0.0617414191365242, 0.06525687873363495, -0.03650708124041557, 0.8586617708206177, 0.059979166835546494, 0.5189923048019409, -0.4839988648891449, 0.038385551422834396, -0.5236065983772278, 0.307790070772171, -0.20940779149532318, -0.8986799716949463, -0.6185688376426697, 0.7160994410514832, -0.4050941467285156, 0.13955718278884888, 0.8365599513053894, 0.7895767092704773, 0.017031783238053322, 0.15826986730098724, 0.2760140895843506, 0.6568743586540222, 0.8049111366271973, 0.7555374503135681, 1.356680989265442, -0.21857602894306183, 0.4781447947025299, 0.02399883233010769, -0.5652880668640137, -0.4226456880569458, -0.5406686067581177, -0.7770037651062012, -0.2186475247144699, -0.42781031131744385, 0.12891371548175812, -0.13920827209949493, 0.5233373045921326, 0.2064734548330307, -0.49013379216194153, 0.30102819204330444, -0.5368803143501282, -0.03386252373456955, -0.5442747473716736, -0.33699822425842285, 0.38402125239372253, -0.7008017897605896, -0.4948457181453705, 0.5778922438621521, 0.47238361835479736, 0.02761588804423809, -0.4729992151260376, -0.003480839543044567, 0.1296262890100479, -0.34010061621665955, 0.47375616431236267, -0.13108550012111664, -0.5428216457366943, 0.3329763412475586, -0.0876827985048294, 0.11554981023073196, 0.2418363243341446, 0.8192770481109619, -0.8190921545028687, 0.42158636450767517, 0.4705936014652252, 0.3165362477302551, 0.3153018057346344, 0.1012343317270279, 0.5771778225898743, -0.10131382197141647, 0.020160004496574402, 0.5120797753334045, 0.4262465238571167, 0.4629272520542145, -0.7821993827819824, 0.24611501395702362, 0.024280862882733345, -0.6567375063896179, -0.7091207504272461, 0.4692261219024658, -0.6523768305778503, -0.7355438470840454, 0.8350287079811096, -0.34814614057540894, 0.1376708447933197, -0.49533340334892273, -0.658341646194458, 0.16547206044197083, -0.17764708399772644, 1.0131011009216309, 0.5011643767356873, -0.5934851169586182, -0.5250391364097595, -0.39813485741615295, 0.5914321541786194, 0.46613848209381104, -0.7662544846534729, 0.034264396876096725, 0.5510188937187195, -0.129919171333313, 0.045170124620199203, 0.74756920337677, -0.15881861746311188, 0.1725771725177765, -0.41687923669815063, 0.029632961377501488, 0.10853532701730728, 0.11464060097932816, -0.5590722560882568, 0.11419110000133514, 0.0458628386259079, -0.0015977831790223718 ]
http://arxiv.org/abs/2402.02750v1
http://arxiv.org/pdf/2402.02750v1
KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache
2024-02-05T06:06:47
2024-02-05T06:06:47
Zirui Liu, Jiayi Yuan, Hongye Jin, Shaochen Zhong, Zhaozhuo Xu, Vladimir Braverman, Beidi Chen, Xia Hu
cs.CL
cs.CL, cs.LG, cs.PF
Efficiently serving large language models (LLMs) requires batching many requests together to reduce the cost per request. Yet, the key-value (KV) cache, which stores attention keys and values to avoid re-computations, significantly increases memory demands and becomes the new bottleneck in speed and memory usage. This memory demand increases with larger batch sizes and longer context lengths. Additionally, the inference speed is limited by the size of KV cache, as the GPU's SRAM must load the entire KV cache from the main GPU memory for each token generated, causing the computational core to be idle during this process. A straightforward and effective solution to reduce KV cache size is quantization, which decreases the total bytes taken by KV cache. However, there is a lack of in-depth studies that explore the element distribution of KV cache to understand the hardness and limitation of KV cache quantization. To fill the gap, we conducted a comprehensive study on the element distribution in KV cache of popular LLMs. Our findings indicate that the key cache should be quantized per-channel, i.e., group elements along the channel dimension and quantize them together. In contrast, the value cache should be quantized per-token. From this analysis, we developed a tuning-free 2bit KV cache quantization algorithm, named KIVI. With the hardware-friendly implementation, KIVI can enable Llama (Llama-2), Falcon, and Mistral models to maintain almost the same quality while using $\mathbf{2.6\times}$ less peak memory usage (including the model weight). This reduction in memory usage enables up to $\mathbf{4\times}$ larger batch size, bringing $\mathbf{2.35\times \sim 3.47\times}$ throughput on real LLM inference workload. The source code is available at https://github.com/jy-yuan/KIVI.
[ -0.31397581100463867, -0.4159635603427887, 0.45544174313545227, 0.4487690031528473, -0.8317003846168518, -0.11929517239332199, -0.22828122973442078, -0.2229432761669159, 0.1775152087211609, 0.34957998991012573, -0.46005746722221375, -0.3893418312072754, -0.3420265316963196, -0.503174901008606, -0.009069429710507393, 0.6160382628440857, 0.09920745342969894, 0.26337406039237976, -0.5152068138122559, -0.30530187487602234, -0.7464751601219177, -0.10951973497867584, -0.6080392003059387, -0.1486051380634308, 0.3110544681549072, 0.5872281789779663, 0.4746805429458618, 0.8346491456031799, 0.6078760027885437, 0.15765145421028137, -0.1631307154893875, -0.14828310906887054, -0.34670424461364746, 0.5035371780395508, 0.1691415011882782, -1.0291378498077393, -0.4905540645122528, -0.1766401082277298, 0.6418910622596741, -0.040039267390966415, -0.13077601790428162, 0.285125732421875, -0.36632952094078064, 0.7706819176673889, -1.1194332838058472, 0.14597290754318237, -0.7078834176063538, -0.0744129866361618, -0.4397558867931366, -0.20862552523612976, -0.3521377742290497, -0.17653797566890717, -0.20344282686710358, -0.8584390878677368, 0.28329983353614807, 0.012275265529751778, 0.8896110653877258, 0.6844946146011353, -0.5107697248458862, 0.024579908698797226, -0.5516714453697205, 0.7637783885002136, -0.5021505355834961, 0.49187004566192627, 0.5201027989387512, 0.3824133574962616, 0.06524664163589478, -0.7385478019714355, -0.49237746000289917, 0.07081668823957443, 0.45373305678367615, 0.18197666108608246, -0.10490451008081436, 0.20384706556797028, 0.1027183011174202, 0.4817589819431305, -0.6042752265930176, 0.052720483392477036, -0.20496438443660736, -0.2422046810388565, 0.4029514491558075, 0.21369719505310059, 0.08677366375923157, 0.07339994609355927, -0.31871137022972107, -0.42329177260398865, -1.0615171194076538, 0.2027464509010315, 0.4393167793750763, -0.05172234773635864, -0.16942091286182404, 0.28669098019599915, -0.5354073643684387, 0.18447957932949066, -0.14247392117977142, 0.030922558158636093, 0.04407351464033127, -0.27221354842185974, -0.3869319558143616, -0.032201722264289856, 0.6303481459617615, 0.4468247592449188, 0.3445913791656494, 0.04184335470199585, -0.08690163493156433, 0.3981587886810303, 0.2770126461982727, -1.2786695957183838, -0.46800702810287476, 0.054790183901786804, -0.3719232976436615, -0.4154592752456665, -0.3144684135913849, -0.7158973813056946, -0.027274224907159805, 0.08530986309051514, 0.49711620807647705, -0.07573599368333817, -0.18339157104492188, -0.005044077057391405, -0.2127295732498169, 0.3494839668273926, 0.12061040848493576, -0.9993186593055725, 0.15761999785900116, 0.5968019962310791, 0.8326655626296997, 0.020643198862671852, 0.3817688822746277, -0.6314539909362793, 0.0698864683508873, -0.3715580403804779, 0.5580253601074219, -0.6721183657646179, -0.7532162070274353, -0.3203095495700836, -0.16734449565410614, 0.5009514689445496, -0.4236452579498291, 0.11584746092557907, -1.0003540515899658, -0.6248917579650879, -0.859092652797699, -0.1456071138381958, 0.0701252743601799, -0.0407005175948143, -0.6652756333351135, 1.017855167388916, -0.12799951434135437, -0.33781638741493225, 0.5137841701507568, -0.23727606236934662, -0.2578098177909851, 0.10835964232683182, -0.14897312223911285, -0.5286861062049866, 0.5371776819229126, 0.3285522758960724, 0.013244297355413437, -0.5815508365631104, 0.17449481785297394, -0.3250710964202881, -0.43850815296173096, 0.15775084495544434, -0.6254438757896423, 0.4429255723953247, 0.4019468128681183, -0.3835959732532501, 0.03404843807220459, -0.6727567315101624, 0.3712153136730194, -0.05153243616223335, -0.2615146338939667, -0.3887649178504944, 0.12213525176048279, -0.01251829881221056, -0.03065941296517849, 0.19413451850414276, -0.39063596725463867, 0.43565163016319275, -0.41509997844696045, 0.624613344669342, 0.8292839527130127, 0.019341520965099335, 0.5516544580459595, 0.09064887464046478, 0.5629592537879944, 0.13721448183059692, 0.521364688873291, -0.046820227056741714, -0.6993919610977173, -1.3767105340957642, -0.3178249001502991, 0.4127783477306366, 0.2604930102825165, -0.7240647077560425, -0.1085188090801239, -0.4885760247707367, -0.26634541153907776, -0.9281551837921143, 0.03804374858736992, 0.701662003993988, -0.04886702820658684, 0.17633618414402008, -0.44631072878837585, -0.17093080282211304, -1.01602041721344, -0.029496503993868828, -0.3126026690006256, 0.0917438194155693, 0.39333075284957886, 0.48507800698280334, -0.018457937985658646, 0.9408402442932129, -0.534920871257782, 0.003693197388201952, 0.4671737849712372, 0.21202223002910614, -0.37715187668800354, 0.49802178144454956, 0.05597097799181938, -0.8214065432548523, -0.548552930355072, 0.07722451537847519, -0.33373934030532837, -0.2579054832458496, 0.38052788376808167, -0.25321921706199646, 0.2960699796676636, 0.3876757025718689, -0.6962891221046448, 0.7932819128036499, 0.3923124074935913, -0.2034982293844223, 0.33605316281318665, -0.19462887942790985, -0.06459332257509232, -1.0883597135543823, 0.10024826228618622, -0.27737802267074585, -0.3329409658908844, -0.26651695370674133, 0.49226462841033936, 0.47055795788764954, 0.10288891196250916, -0.2957764267921448, 0.5065850019454956, -0.3267894685268402, -0.14859990775585175, -0.3686680793762207, -0.13902848958969116, 0.05968276038765907, 0.4555014371871948, -0.22245097160339355, 1.1539435386657715, 0.1835174560546875, -0.5333638191223145, 0.2343004196882248, 0.050838105380535126, -0.3672145903110504, 0.45644721388816833, -0.738029956817627, 0.09446503221988678, -0.1761023849248886, 0.23919878900051117, -1.0865029096603394, 0.036093004047870636, 0.012533595785498619, -0.7128654718399048, 0.25859159231185913, -0.37632638216018677, -0.6221416592597961, 0.04329870641231537, -0.37608012557029724, 0.8084888458251953, 0.6549214124679565, -0.38710010051727295, 0.2672824561595917, 0.20106905698776245, 0.0731363445520401, -0.5217422842979431, -0.7746221423149109, -0.08303442597389221, -0.17899012565612793, -0.5687836408615112, 0.3118681013584137, -0.3132916986942291, -0.19819851219654083, 0.09315339475870132, -0.4865415692329407, -0.0643281564116478, 0.10813016444444656, 0.4283948540687561, 0.18062764406204224, -0.3907850384712219, 0.48451149463653564, 0.22667483985424042, -0.3996274769306183, -0.09635249525308609, -0.5861942768096924, 0.6427555084228516, -0.27335700392723083, -0.37545540928840637, -0.4512321352958679, 0.1451953947544098, 0.8121635317802429, -0.4247100055217743, 0.4980618357658386, 0.7677578330039978, -0.13235154747962952, -0.09219173341989517, -0.7305330038070679, -0.08185546100139618, -0.536922037601471, 0.16158141195774078, -0.5173296928405762, -0.9998136162757874, 0.6287975311279297, 0.16250549256801605, -0.14694906771183014, 0.5069482326507568, 0.7685956954956055, 0.09185318648815155, 1.088117003440857, 0.4882870316505432, -0.4705770015716553, 0.33136796951293945, -0.45298469066619873, 0.23470495641231537, -0.8753360509872437, -0.3331969678401947, -0.3274797797203064, -0.5941573977470398, -0.7697879672050476, -0.7492173910140991, 0.5368674993515015, 0.19592200219631195, -0.2538089156150818, -0.1629611700773239, -0.5486561059951782, 0.5820645689964294, 0.6801510453224182, -0.06581699848175049, 0.16226421296596527, 0.11851423978805542, -0.20009498298168182, -0.063904769718647, -0.3791017532348633, 0.056058891117572784, 1.1110820770263672, 0.04288022220134735, 0.9403666853904724, 0.15016864240169525, 0.19955769181251526, 0.23186807334423065, 0.13272027671337128, -0.8666864037513733, 0.47805458307266235, 0.050101589411497116, -0.6808249950408936, -0.1556013971567154, -0.3741162121295929, -0.6321916580200195, 0.27288150787353516, 0.15510013699531555, -0.7837584018707275, 0.2160913646221161, 0.23815923929214478, -0.3403441309928894, 0.20970264077186584, -0.39656323194503784, 0.4677538275718689, 0.03553074598312378, -0.33568716049194336, -0.5216502547264099, -0.7963224053382874, 0.33497145771980286, 0.11852465569972992, -0.27322420477867126, -0.21838699281215668, -0.23078210651874542, 0.5061412453651428, -0.7102872133255005, 0.6479318141937256, -0.25560253858566284, 0.08169727772474289, 0.39994552731513977, 0.11794919520616531, 0.8467695713043213, 0.5068767070770264, 0.2964155375957489, -0.07046228647232056, 0.09881649166345596, -0.48330190777778625, -0.6425617337226868, 1.0064116716384888, -1.1412042379379272, -0.5853708386421204, -0.008947254158556461, -0.6925262212753296, -0.09621621668338776, -0.135518416762352, 0.42642509937286377, 0.324832558631897, 0.36089059710502625, 0.4470095634460449, 0.9398927688598633, -0.030425628647208214, 0.4481337368488312, 0.6087461113929749, 0.1630205363035202, -0.6688001155853271, 1.2262450456619263, 0.0404820442199707, 0.5031362771987915, 0.5894863605499268, 0.079039566218853, -0.2629907429218292, -0.33090856671333313, -0.48647528886795044, 0.23307763040065765, -0.751820981502533, -0.4832688868045807, -0.5043825507164001, -0.2192920744419098, -0.28803205490112305, -0.18985696136951447, -0.7104124426841736, -0.6704546213150024, -0.5444942116737366, 0.16668444871902466, 0.6548863053321838, 0.16613003611564636, 0.20374441146850586, 0.9835779666900635, -0.44759392738342285, 0.18581826984882355, 0.43898138403892517, 0.5155588388442993, 0.20593883097171783, -0.33213290572166443, -0.2888151705265045, 0.11481375247240067, -0.45814746618270874, -0.5263116955757141, 0.4543113112449646, 0.1504693180322647, 0.01958341896533966, 0.7338351607322693, -0.214422345161438, 1.2245557308197021, -0.12724675238132477, 0.857494056224823, 0.015046462416648865, -1.0362635850906372, 0.4910198152065277, -0.21232230961322784, 0.39993467926979065, 0.7963584661483765, 0.049751393496990204, -0.5898878574371338, -0.09110315889120102, -0.4482235908508301, -1.0392322540283203, 0.5107048153877258, 0.3030282258987427, -0.02290215902030468, 0.06479193270206451, 0.5265229940414429, -0.19644354283809662, 0.3967728614807129, -0.42529547214508057, -0.4030587077140808, -0.02700909972190857, -0.1231120303273201, -0.04673260077834129, -0.48195335268974304, 0.3229411840438843, -0.3369884192943573, 0.7721906304359436, -0.15604229271411896, 0.572490394115448, 0.029944486916065216, -0.21826432645320892, -0.26925602555274963, -0.0068678054958581924, 0.6658792495727539, 0.28155994415283203, -0.12586699426174164, 0.20139750838279724, 0.20662100613117218, -0.6085616946220398, 0.3023316562175751, -0.32790014147758484, -0.17391015589237213, -0.12090664356946945, -0.3125469386577606, 0.9956051707267761, 0.18839555978775024, -0.593231201171875, 0.6790054440498352, -0.27493593096733093, -0.1312204748392105, -0.15693584084510803, 0.08448610454797745, 0.15367059409618378, 0.49738216400146484, 0.09758544713258743, -0.29528987407684326, -0.01293808501213789, -0.10595889389514923, -0.16566821932792664, 0.8674283027648926, -0.3691326975822449, -0.49047815799713135, 1.0149061679840088, 0.13028696179389954, -0.15403686463832855, 1.0691567659378052, -0.2973356246948242, -0.2663639783859253, 0.7558149099349976, 0.5092243552207947, 1.0228079557418823, -0.2208935022354126, -0.08038529753684998, 0.04756906256079674, 0.2502324879169464, -0.09422273933887482, 0.5016270279884338, -0.6726037263870239, -0.517835795879364, -0.4473956823348999, -0.8908065557479858, -0.008078914135694504, 0.2871887981891632, -0.9331355094909668, 0.20340365171432495, -0.39843207597732544, -0.27129870653152466, -0.18635256588459015, 0.2602522671222687, -0.7266506552696228, 0.15101315081119537, 0.0673416331410408, 0.9005584716796875, -0.7841132879257202, 1.1117113828659058, 0.29622846841812134, -0.1409444361925125, -0.46030446887016296, -0.31417733430862427, 0.04162720590829849, -1.1465373039245605, 0.625129222869873, -0.0004535055486485362, 0.17177705466747284, 0.2597808241844177, -0.5535025000572205, -1.1068307161331177, 1.4334462881088257, 0.14416787028312683, -0.6506057381629944, -0.034129440784454346, 0.1985449343919754, 0.27580028772354126, 0.05583838000893593, 0.12489333003759384, 0.5229605436325073, 0.4310908913612366, 0.2747419476509094, -0.6480603218078613, 0.019505420699715614, -0.48644599318504333, 0.5569748878479004, 0.8341540098190308, -1.1434941291809082, 0.6380684971809387, -0.003053460270166397, -0.10805649310350418, 0.4535837471485138, 0.6248278617858887, 0.25575384497642517, 0.19982761144638062, 0.3390675485134125, 1.1051342487335205, 0.6373809576034546, -0.09979016333818436, 0.8350990414619446, -0.5602896809577942, 0.31675803661346436, 0.6052980422973633, 0.06922867149114609, 0.8416914939880371, 0.8215300440788269, -0.08412909507751465, 0.15504230558872223, 0.604161262512207, 0.05124392360448837, 0.9131001830101013, 0.281520277261734, -0.6120336055755615, -0.41028472781181335, -0.04777810722589493, -0.3353232145309448, 0.3496149778366089, 0.5576154589653015, -0.2482183277606964, -0.020749615505337715, -0.16462305188179016, -0.13068296015262604, -0.9174727201461792, -0.2853803336620331, 0.5413632988929749, 0.20435041189193726, -0.5890548229217529, 0.5206286907196045, 0.19303201138973236, 0.4617895781993866, -0.6471442580223083, 0.11336229741573334, -0.30234819650650024, 0.06249339506030083, 0.15642204880714417, -0.20164327323436737, -0.08615314960479736, -0.07947821915149689, -0.4353930652141571, -0.03199900686740875, 0.6936531662940979, -0.30440542101860046, -0.4340157210826874, -0.22986342012882233, 0.1738296002149582, 0.20986703038215637, -0.19737666845321655, -0.021155141294002533, 0.3884100615978241, 0.023800289258360863, -0.36163172125816345, 0.6177003383636475, 0.25031745433807373, -0.5047652125358582, 0.9246023297309875, 0.7320079207420349, 0.1841052770614624, 0.18499822914600372, -0.073662169277668, 0.9902629256248474, -0.5298730731010437, -0.7067819237709045, -0.93528151512146, 0.5515698790550232, 0.3339320123195648, -0.39654654264450073, 0.5444138646125793, 0.57542884349823, 0.5952456593513489, 0.22803133726119995, 0.6351245045661926, 0.2811890244483948, -0.6696656942367554, -0.518053412437439, 0.7332790493965149, -0.8219525814056396, 0.13299518823623657, 0.23424537479877472, -0.7552537322044373, -0.17524243891239166, 0.45615866780281067, 0.0022904204670339823, -0.11685766279697418, 0.4656517803668976, 1.0726630687713623, -0.03538639470934868, -0.06904812157154083, 0.4123673439025879, -0.05232887342572212, 0.4691421687602997, 0.6101959943771362, 0.5621487498283386, -0.5075623989105225, 0.653435230255127, -0.09349031746387482, 0.032929904758930206, -0.6149865388870239, -0.6077219247817993, -0.5732061266899109, -0.6445621848106384, -0.15538880228996277, -0.12832440435886383, 0.2954084873199463, 0.5634007453918457, 0.9127378463745117, -0.4406801164150238, 0.11403705924749374, -0.42690718173980713, -0.11466338485479355, 0.11800879240036011, -0.2706148624420166, 0.26120254397392273, -0.4321507215499878, -0.44652214646339417, 0.23570379614830017, 0.5608183145523071, 0.012259858660399914, -0.31508079171180725, -0.12799781560897827, 0.4083400368690491, 0.1717383861541748, 0.46648135781288147, 0.0264402087777853, -0.9295960068702698, -0.23069176077842712, 0.0916842520236969, -0.027142483741044998, 0.1496712863445282, 1.0361254215240479, -0.8726597428321838, 0.9325616955757141, 0.5392329096794128, 0.5689992904663086, 1.1453620195388794, -0.14714403450489044, 0.31106942892074585, -0.9853935837745667, 0.24536047875881195, 0.014367598108947277, 0.10568751394748688, -0.1274891197681427, -0.27913209795951843, 0.1584138572216034, 0.3998695909976959, -0.7916688919067383, -0.8151216506958008, 0.14345361292362213, -1.1109715700149536, -0.0982038676738739, 1.2331231832504272, 0.19265462458133698, -0.39786770939826965, 0.33606991171836853, 0.16919682919979095, 0.4705238342285156, -0.5223052501678467, 0.6421442031860352, 0.6384789943695068, 0.3542413115501404, -0.10363317281007767, -0.8917360305786133, 0.49438226222991943, 0.470194548368454, -0.3444458544254303, -0.08016786724328995, 0.21089079976081848, 0.5077070593833923, -0.1852712482213974, 0.7206247448921204, -0.03295419365167618, 0.40885719656944275, 0.15218260884284973, 0.2524622082710266, 0.008838893845677376, -0.41378554701805115, -0.40514442324638367, -0.15736018121242523, 0.22361664474010468, -0.5021247267723083 ]
http://arxiv.org/abs/2402.02716v1
http://arxiv.org/pdf/2402.02716v1
Understanding the planning of LLM agents: A survey
2024-02-05T04:25:24
2024-02-05T04:25:24
Xu Huang, Weiwen Liu, Xiaolong Chen, Xingmei Wang, Hao Wang, Defu Lian, Yasheng Wang, Ruiming Tang, Enhong Chen
cs.AI
cs.AI, cs.CL, cs.LG
As Large Language Models (LLMs) have shown significant intelligence, the progress to leverage LLMs as planning modules of autonomous agents has attracted more attention. This survey provides the first systematic view of LLM-based agents planning, covering recent works aiming to improve planning ability. We provide a taxonomy of existing works on LLM-Agent planning, which can be categorized into Task Decomposition, Plan Selection, External Module, Reflection and Memory. Comprehensive analyses are conducted for each direction, and further challenges for the field of research are discussed.
[ -0.6005399823188782, -0.5889627933502197, 0.8024758696556091, -0.04012180492281914, 0.28648295998573303, 0.028255844488739967, -0.23491516709327698, -0.5088279247283936, 0.5291574001312256, 0.8926167488098145, -0.8403482437133789, -0.43379494547843933, -0.48878684639930725, 0.11736400425434113, -0.30675008893013, 0.441016286611557, -0.07361462712287903, 0.10815542191267014, -0.23298965394496918, -0.038613419979810715, -0.3557456433773041, -0.3313129246234894, -0.9207648634910583, -0.49852651357650757, 0.7987833619117737, 0.6041684746742249, 0.559558093547821, 0.5081333518028259, 0.5922301411628723, 0.40717199444770813, -0.2176554799079895, 0.23406614363193512, -0.3974418640136719, 0.2676106095314026, -0.3230976462364197, -0.5280985236167908, -0.9257628917694092, -0.04875455051660538, 0.7053804993629456, 0.7238359451293945, -0.08744259923696518, 0.049037665128707886, -0.3892975449562073, 0.5106457471847534, -0.4646128714084625, 0.38794127106666565, -0.6047540903091431, 0.07298856973648071, 0.12796588242053986, -0.11851978302001953, -0.49374186992645264, 0.07197906821966171, 0.039423923939466476, -0.14645789563655853, -0.01496055256575346, -0.11673644185066223, 0.051324497908353806, 0.2853853404521942, -0.6554074883460999, -0.4150976538658142, -1.0693507194519043, 0.8299149870872498, -0.4762043058872223, 0.09159428626298904, 0.40205830335617065, 0.4963569641113281, -0.5161910057067871, -0.6040844321250916, -0.2659902572631836, -0.3307096064090729, 0.03281620144844055, 0.06734316051006317, -0.13651607930660248, 0.39913466572761536, 0.14146363735198975, 0.13610680401325226, -0.6038105487823486, 0.5112475752830505, -0.28536728024482727, -0.07645409554243088, 1.098630666732788, 0.4482738673686981, 0.20511184632778168, 0.20808695256710052, -0.2401631772518158, 0.10720278322696686, -0.7399148344993591, -0.1982824057340622, 0.2062838077545166, 0.1249835193157196, 0.23460829257965088, 0.8657659888267517, -0.6634202599525452, 0.7579432129859924, -0.4636151194572449, -0.38902968168258667, -0.5409337282180786, -0.5261953473091125, -0.33196717500686646, -0.2902816832065582, 0.40109992027282715, 0.33579322695732117, 0.31505662202835083, -0.2726660668849945, -0.6051207780838013, -0.20625002682209015, 0.24247050285339355, -0.575332522392273, -0.022881824523210526, 0.3749678432941437, -0.365662544965744, 0.08808039873838425, -0.368521511554718, -0.10426409542560577, -0.43576982617378235, -0.43214431405067444, 0.022801797837018967, -0.17283432185649872, -0.29816359281539917, 0.0998622477054596, 0.030046654865145683, 0.5047866106033325, 0.47526952624320984, -0.6701189875602722, 0.5656094551086426, 0.8572783470153809, 0.34064576029777527, -0.016695531085133553, -0.5177432894706726, -0.11352463066577911, 0.2610260844230652, -0.3978195786476135, 1.3082624673843384, -0.2672562599182129, -0.5226747393608093, 0.40744930505752563, -0.06115526705980301, 0.13341709971427917, -0.4543774724006653, 0.15315932035446167, -0.6406639218330383, -0.20427951216697693, -0.4997505247592926, -0.5140550136566162, -0.3894372582435608, 0.7778190970420837, -0.6860559582710266, 0.3883224129676819, 0.02855200693011284, -0.23027710616588593, 0.49883779883384705, -0.6207467913627625, -0.28444966673851013, 0.11786410957574844, -0.25668865442276, 0.24755842983722687, -0.24711933732032776, -0.07678277790546417, 0.7355930805206299, -0.3902055323123932, 0.14772658050060272, 0.11332746595144272, -0.03587773069739342, 0.5181195735931396, 0.08473874628543854, 0.5421584248542786, 0.2674882113933563, 0.13325728476047516, 0.6398065686225891, -0.628322422504425, 0.031030496582388878, -0.055714480578899384, -0.22826066613197327, 0.08770635724067688, 0.43082764744758606, -0.1436883807182312, 0.24790813028812408, 0.4730258882045746, -0.2763875126838684, 0.7655388116836548, -0.2402999997138977, 0.2606891095638275, 0.682541012763977, -0.09736844152212143, 0.8732893466949463, -0.5301944017410278, 0.787302553653717, -0.4886387884616852, 0.3557467758655548, -0.15255947411060333, -0.4290832281112671, -0.642530083656311, -0.18393930792808533, -0.16679701209068298, 0.3486210107803345, -0.7641378045082092, 0.05269216373562813, -0.20301680266857147, -0.5938448309898376, 0.2642991244792938, 0.0688481405377388, 0.18149767816066742, -0.22547461092472076, 0.09485145658254623, -0.07482849806547165, -0.2524348199367523, -0.8955419659614563, 0.09445317089557648, -0.4212716817855835, 0.2297540307044983, 0.209043949842453, 0.5351876616477966, -0.43572306632995605, 0.893230140209198, -0.5137352347373962, -0.26425448060035706, -0.9859883189201355, -0.16229376196861267, -0.1056215837597847, -0.07482601702213287, 0.48242974281311035, -0.5628284811973572, -0.34429579973220825, -0.11327530443668365, -0.26513031125068665, -0.07842662185430527, -0.011574586853384972, -0.13624250888824463, 0.06583759933710098, 0.6209362745285034, -0.9657149910926819, 0.34459415078163147, 0.19210369884967804, -0.3949776887893677, 0.581993579864502, -0.09161289036273956, -0.4329250454902649, -0.7790917158126831, -0.26414093375205994, -0.14525045454502106, -0.12434914708137512, -0.7542659044265747, 0.2743850648403168, -0.18970559537410736, 0.37685665488243103, -0.5426745414733887, 0.8242880702018738, -0.9715888500213623, -0.4921227693557739, -0.8151857852935791, 0.05537950247526169, -0.5186124444007874, 0.38773515820503235, 0.08029045164585114, 0.5567952990531921, 0.4960600733757019, -0.7280336022377014, 0.5833837985992432, 0.31352511048316956, 0.06558511406183243, 0.1629219502210617, -0.20424573123455048, 0.26830020546913147, -0.3140169680118561, 0.4183589220046997, -0.9195345044136047, -0.326947420835495, 0.31667980551719666, -0.16623693704605103, 0.461088091135025, -0.14524713158607483, -0.48399272561073303, -0.31939780712127686, -0.27977558970451355, 0.37370163202285767, 0.2850760221481323, -0.09450962394475937, 0.8533504009246826, 0.5512385964393616, -0.26737457513809204, -0.5368004441261292, -0.486324667930603, 0.08963620662689209, -0.056028012186288834, -0.5748291015625, 0.09464523196220398, -0.02240641601383686, -1.0053261518478394, 0.05155681073665619, 0.2310902327299118, -0.07688803225755692, -0.19195614755153656, 0.11112402379512787, -0.024286866188049316, -0.16381442546844482, 0.024380359798669815, -0.5359212160110474, -0.09645530581474304, 0.2884725034236908, 0.007276022806763649, 0.7658262848854065, 0.37577563524246216, -0.24549904465675354, -0.007369220722466707, 0.33496153354644775, 0.3438436686992645, -0.3193049430847168, 0.6658605933189392, 0.0401621013879776, -0.20643799006938934, -0.5174534916877747, -0.5091891288757324, -0.07212869822978973, -0.433107852935791, 0.38291627168655396, -0.17455115914344788, -0.6182931661605835, 0.6167516112327576, -0.10163377970457077, 0.2575128376483917, 0.3941899538040161, 0.6394696831703186, 0.14017990231513977, 0.7532929182052612, 1.0513818264007568, -0.20103169977664948, 0.28136739134788513, -0.5294842720031738, -0.07220219075679779, -0.6094958782196045, -0.3736603558063507, -0.4809311330318451, -0.4938574433326721, -0.42407047748565674, -0.714006781578064, -0.07244355231523514, -0.583746075630188, 0.05283002182841301, 0.32145047187805176, -0.2611246705055237, 0.41110584139823914, 0.17943091690540314, -0.40516236424446106, 0.29441672563552856, -0.44358476996421814, 0.3931606113910675, 0.6112484335899353, -0.44582879543304443, -0.7152366042137146, 1.0957521200180054, 0.4836910665035248, 0.9043612480163574, 0.101023830473423, 0.6117275953292847, 0.006883672904223204, 0.3294545114040375, -1.1285412311553955, 1.1600443124771118, 0.2996632754802704, -0.793298602104187, -0.6363793015480042, -0.13885824382305145, -1.076634407043457, 0.20180507004261017, 0.16890504956245422, -0.6700731515884399, -0.02458144724369049, -0.29140231013298035, -0.11702041327953339, 0.3609426021575928, -0.40202367305755615, 0.34649401903152466, -0.4713931679725647, 0.13907964527606964, -0.5457411408424377, -0.31686413288116455, 0.2886877655982971, 0.07712776958942413, -0.03167485073208809, -0.4843341112136841, -0.37085840106010437, 0.6489244699478149, -0.21356624364852905, 0.477130264043808, -0.2705298066139221, -0.36427339911460876, 0.5931373238563538, -0.07686441391706467, 0.47341322898864746, -0.31194499135017395, -0.10255879163742065, -0.2748762369155884, -0.16627418994903564, -0.4208925664424896, -0.4255569279193878, 0.47063446044921875, -0.5116385221481323, -0.6114073991775513, -0.41680440306663513, -1.032179832458496, -0.2770482301712036, 0.07122267782688141, -0.052041903138160706, 0.4222765266895294, -0.6101227402687073, -0.22752489149570465, 0.42011240124702454, -0.09569168090820312, 0.8579117655754089, 0.815538227558136, -0.765902578830719, -0.035747501999139786, 0.4089518189430237, 0.6133152842521667, 0.30205148458480835, 0.5139309167861938, -0.21960222721099854, -0.30442461371421814, -1.3001123666763306, 0.0635455772280693, 0.3716021478176117, -0.829100489616394, 0.009228063747286797, -0.4444911479949951, -0.3517235219478607, -0.5241442918777466, -0.09808683395385742, -0.348545104265213, -0.3895639181137085, 0.18797554075717926, -0.13731497526168823, 0.13479764759540558, 1.5227636098861694, 0.1259239763021469, 0.6324378252029419, -0.30387017130851746, 0.20497377216815948, 0.2429044246673584, 0.10708398371934891, -0.12704217433929443, 0.10068998485803604, -0.3563351631164551, -0.29779964685440063, -0.16120237112045288, -0.8199735879898071, 0.5667611956596375, -0.18394359946250916, 0.8863040208816528, 0.5651935935020447, 0.06806560605764389, 0.24935737252235413, -0.3681904077529907, 0.7990679144859314, -0.25924935936927795, -0.08848276734352112, 0.5501129627227783, -0.33411097526550293, 0.3654704689979553, 0.299029678106308, 0.4521389305591583, -0.2672692835330963, -0.3357451260089874, -0.6218383312225342, -0.8248105049133301, 0.6347290277481079, 0.1774117350578308, -0.0258509311825037, 0.13105709850788116, 0.36102691292762756, 0.034832898527383804, 0.05738907307386398, -0.6333436965942383, -0.3156077265739441, 0.6654331684112549, 0.23014546930789948, -0.5488362312316895, -0.6090664863586426, -0.09243380278348923, -0.2355644255876541, 0.4518744945526123, -0.06905031949281693, 0.5858466029167175, 0.040572069585323334, -0.21777789294719696, -0.11874239146709442, 0.2570616900920868, 0.7543947100639343, 1.00406813621521, -0.021281395107507706, 0.20064781606197357, 0.32135432958602905, -0.4606527090072632, 0.17294949293136597, 0.03977121785283089, -0.003386031836271286, -0.292686402797699, 0.5859016180038452, 0.2499743551015854, -0.1499105989933014, -0.727375328540802, 0.1997309774160385, -0.18812911212444305, -0.3255952000617981, -0.7582473754882812, 0.23437097668647766, 0.05193907395005226, 0.5532575249671936, 0.3376350700855255, -0.33777695894241333, 0.13218361139297485, -0.9612581729888916, -0.11510570347309113, 0.6488105654716492, -0.3065212070941925, -0.3259589970111847, 0.02936583012342453, 0.10277549922466278, -0.503203272819519, 0.267977237701416, -0.4335300922393799, -0.4384114742279053, 0.8159863352775574, 0.4573255181312561, 0.9727960824966431, -0.2194465696811676, 0.08980943262577057, 0.021841319277882576, 0.5044723153114319, 0.028922947123646736, 0.683337390422821, -0.04133734852075577, -0.8764333128929138, -0.3778790235519409, -0.4159679114818573, -0.52705317735672, 0.07839858531951904, -0.07363592088222504, 0.14201393723487854, -0.5333311557769775, -0.17408306896686554, -0.303473562002182, 0.3521418869495392, -0.6128790378570557, 0.16426651179790497, 0.26665055751800537, 1.2105712890625, -0.3561939299106598, 0.8872466087341309, 1.292773723602295, -0.2968844771385193, -0.8189505338668823, -0.00003932896288461052, -0.05994947999715805, -0.9619974493980408, 0.6075299382209778, -0.047252994030714035, -0.5132563710212708, -0.15262562036514282, -0.6489713788032532, -0.8776648640632629, 1.2404475212097168, 0.021143317222595215, -0.23172824084758759, -0.32868918776512146, 0.47621315717697144, 0.32348138093948364, -0.39496660232543945, 0.4180096983909607, 0.6812112331390381, 0.6005798578262329, 0.10974475741386414, -0.8285552859306335, -0.14948917925357819, -0.07156344503164291, -0.31810063123703003, 0.3921387493610382, -0.8100363612174988, 0.9151349067687988, -0.030661098659038544, -0.0948982834815979, 0.3070448338985443, 0.6888534426689148, -0.11356428265571594, 0.5918329358100891, 0.31640997529029846, 0.2201060950756073, 0.4534348249435425, 0.13695965707302094, 0.959856390953064, -0.2879808247089386, -0.019299237057566643, 0.7207741737365723, -0.37989068031311035, 0.7172508239746094, 0.21582671999931335, -0.1844070553779602, 0.2801162600517273, 0.5040831565856934, 0.3572215437889099, 0.35369980335235596, 0.32670414447784424, -0.4086895287036896, -0.1055910661816597, -0.1720883995294571, -0.061809785664081573, 0.7604705691337585, 0.4680321216583252, -0.04176415875554085, -0.20094631612300873, -0.04653938114643097, -0.07047206908464432, -0.11480503529310226, -0.7756657004356384, 0.9433874487876892, 0.10074453800916672, -0.858106791973114, -0.03000923991203308, 0.024066783487796783, 0.43938833475112915, -0.5687322020530701, 0.21261419355869293, -0.1975845843553543, 0.19045411050319672, -0.16119593381881714, -1.1099584102630615, 0.34280160069465637, -0.2138841152191162, -0.038540106266736984, -0.6596871018409729, 1.2396024465560913, -0.18312467634677887, -0.033159464597702026, 0.48845863342285156, 0.8318518400192261, 0.23439794778823853, -0.23996104300022125, -0.23379085958003998, -0.13974615931510925, -0.2597264051437378, -0.2701786458492279, 0.2946063280105591, 0.5726637244224548, 0.0037286144215613604, 0.9579203724861145, 0.19172047078609467, 0.167649507522583, 0.24591825902462006, -0.1363212913274765, 0.8055785298347473, -1.2039774656295776, -0.19055785238742828, -0.6737458109855652, 0.4102962613105774, 0.041769836097955704, -0.059570301324129105, 0.7417478561401367, 0.5182013511657715, 0.6401843428611755, -0.059378381818532944, 0.3509332239627838, 0.2034267634153366, 0.37307533621788025, -0.6155039668083191, 0.7364731431007385, -0.389471173286438, 0.1297139823436737, 0.13647142052650452, -0.9677537679672241, 0.03308054804801941, 0.37630677223205566, -0.5851938724517822, -0.1075255274772644, 0.5176392793655396, 0.8077725172042847, 0.3432765007019043, -0.23158283531665802, 0.549013078212738, 0.06010597571730614, 0.3617750406265259, 0.5511042475700378, 1.6061879396438599, 0.2907983958721161, 0.201024129986763, -0.2167808562517166, -0.045794256031513214, -0.19691771268844604, -0.48144713044166565, -0.9518798589706421, -0.5608566999435425, -0.1278296709060669, 0.46238210797309875, -0.2985098958015442, 0.8837981820106506, 0.6522617936134338, -0.28267624974250793, -0.6886759400367737, 0.05932626500725746, 0.28666073083877563, 0.19584845006465912, -0.05215596780180931, -0.08743073046207428, -0.39583608508110046, -0.5084437727928162, 0.6219114661216736, 0.2630595266819, -0.010272587649524212, -0.7139634490013123, -0.2876996397972107, -0.29065847396850586, 0.3205593228340149, 0.9015340805053711, 0.48538902401924133, -0.7293857932090759, -0.01690136082470417, 0.1656818389892578, -0.2522880434989929, -0.1959787905216217, 0.8606123328208923, -0.4979501962661743, 0.025605246424674988, 0.5031737685203552, 0.25972244143486023, 0.47553643584251404, -0.30637258291244507, 0.4387386441230774, -0.39414751529693604, 0.2129749208688736, 0.509558916091919, 0.4403170645236969, -0.1683167964220047, -0.3560797870159149, 0.642745316028595, -0.3457878828048706, -1.0047601461410522, -0.5349243879318237, 0.5362271666526794, -1.2275630235671997, -0.3449092209339142, 1.4439650774002075, 0.3821386694908142, -0.3815511465072632, -0.19134904444217682, -0.620938777923584, 0.17576509714126587, -0.08721240609884262, 0.36806365847587585, 0.7017840147018433, -0.7323246598243713, -0.17388850450515747, -0.6413238048553467, 0.40684306621551514, -0.09964486211538315, -0.8344771862030029, -0.004417488817125559, 0.7988554835319519, -0.08348902314901352, 0.1772589534521103, 1.395127773284912, 0.30142179131507874, 0.02325752191245556, -0.06742401421070099, 0.15094377100467682, 0.11560966819524765, -0.7343038320541382, -0.1499345898628235, 0.2224791944026947, 0.8577948808670044, 0.11998205631971359 ]
http://arxiv.org/abs/2402.02695v2
http://arxiv.org/pdf/2402.02695v2
Exploiting Class Probabilities for Black-box Sentence-level Attacks
2024-02-05T03:15:26
2024-02-21T00:09:00
Raha Moraffah, Huan Liu
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Sentence-level attacks craft adversarial sentences that are synonymous with correctly-classified sentences but are misclassified by the text classifiers. Under the black-box setting, classifiers are only accessible through their feedback to queried inputs, which is predominately available in the form of class probabilities. Even though utilizing class probabilities results in stronger attacks, due to the challenges of using them for sentence-level attacks, existing attacks use either no feedback or only the class labels. Overcoming the challenges, we develop a novel algorithm that uses class probabilities for black-box sentence-level attacks, investigate the effectiveness of using class probabilities on the attack's success, and examine the question if it is worthy or practical to use class probabilities by black-box sentence-level attacks. We conduct extensive evaluations of our attack comparing with the baselines across various classifiers and benchmark datasets.
[ -0.16482025384902954, -1.1909995079040527, 0.3947499394416809, -0.0651761069893837, 0.12493649125099182, 0.23117461800575256, -0.02356916479766369, -0.6081389784812927, -0.07455210387706757, 0.26669493317604065, -0.27998507022857666, -0.44809484481811523, -0.6056782007217407, -0.2494429051876068, -0.6164541244506836, 1.1394826173782349, 0.5147642493247986, -0.1524129956960678, -0.03677419573068619, 0.30602842569351196, -0.5595635771751404, -0.9050120115280151, -0.6377881765365601, 0.0938941165804863, 0.5626698732376099, 0.23341482877731323, 0.7970608472824097, 0.1142461821436882, 0.41864559054374695, 0.2654133141040802, -0.00901569239795208, -0.26735255122184753, -0.4572286307811737, -0.014287430793046951, 0.04627109318971634, -0.6944987177848816, -0.2912641167640686, 0.07951508462429047, 0.5385996103286743, 0.5963183641433716, -0.053690310567617416, -0.040963590145111084, -0.007531692739576101, 0.4843493700027466, -1.1139655113220215, -0.044952504336833954, -0.8533433675765991, 0.5489982962608337, -0.29206788539886475, -0.5484181642532349, -1.0812139511108398, -0.34553322196006775, 0.1738976538181305, -0.2955698072910309, 0.29684171080589294, -0.07365109026432037, 0.49524417519569397, -0.06200413405895233, -0.13010966777801514, -0.2760951817035675, -0.5524294376373291, 0.48977646231651306, -0.5056654810905457, -0.1390695422887802, 0.259699285030365, 0.4956912696361542, -0.39257097244262695, -0.4110763967037201, -0.37826329469680786, -0.30404654145240784, -0.17971430718898773, 0.14465555548667908, -0.41975805163383484, 0.2814083397388458, 0.16963528096675873, 0.4399454891681671, -0.5242844820022583, -0.048118121922016144, -0.3901340067386627, -0.003310068277642131, 0.7228116989135742, -0.021585805341601372, 0.29355451464653015, -0.24181440472602844, -0.49132686853408813, -0.13915786147117615, -0.23433470726013184, 0.3276219367980957, 0.8209348320960999, 0.2356557697057724, 0.13868016004562378, 0.7680487036705017, -0.08974839746952057, 1.0109599828720093, -0.07679254561662674, 0.03948040306568146, 0.0448116660118103, -0.133529394865036, -0.24926233291625977, 0.3238881528377533, 0.9129742980003357, 0.35448405146598816, 0.2350424975156784, -0.6751283407211304, -0.18776394426822662, 0.4366167187690735, 0.8404222726821899, -0.5800328850746155, -0.4133707582950592, 0.31015744805336, -0.22455188632011414, -1.1006299257278442, 0.16940723359584808, -1.1959896087646484, -0.4894528090953827, 0.5974658131599426, 0.7739994525909424, -0.1502530574798584, -0.055245451629161835, 0.36863869428634644, -0.6321457624435425, 0.007096758112311363, -0.03906835988163948, -0.5493465065956116, 0.12980452179908752, 0.6108327507972717, 0.6280505061149597, 0.10505083948373795, -0.2832033038139343, -0.8044564723968506, 0.15857325494289398, -0.32594504952430725, 0.5488405823707581, -0.9313932657241821, -0.39070925116539, 0.16818730533123016, -0.286236435174942, 0.016789857298135757, -0.20462264120578766, 0.48805925250053406, -0.6383336782455444, 0.32304346561431885, 0.4791162312030792, -0.7574927806854248, -0.05164974182844162, 0.37461644411087036, -0.47948795557022095, 0.6806715726852417, -0.08126142621040344, -0.9503412246704102, 0.2694711685180664, -0.6204675436019897, -0.6508557200431824, 0.3156174123287201, 0.06854604929685593, -0.6197524666786194, 0.3355269134044647, 0.0807042047381401, 0.6112924814224243, 0.35339513421058655, -0.031506456434726715, -0.5789615511894226, -0.46252647042274475, 0.529437243938446, -0.549635112285614, 0.836837887763977, -0.019701270386576653, -0.4836280643939972, -0.02896421030163765, -0.8791903257369995, 0.14450648427009583, 0.3735902011394501, -0.029647456482052803, -0.4189336597919464, 0.18027406930923462, -0.09504620730876923, -0.10168393701314926, 0.25047409534454346, -0.6380871534347534, 0.6243220567703247, -0.559058427810669, 0.466457337141037, 0.5660774111747742, 0.38164573907852173, 0.4620143473148346, -0.24479223787784576, 0.6854878664016724, -0.23176315426826477, 0.3894454538822174, 0.16313496232032776, -0.39503973722457886, -0.38957804441452026, -0.0523681603372097, 0.384525328874588, 0.8104418516159058, -0.9556881785392761, 0.46863889694213867, 0.3230136036872864, -0.7667726278305054, -0.5876045227050781, -0.23605908453464508, 0.48433825373649597, 0.26756173372268677, 0.4719710350036621, -0.2516382932662964, -0.28933900594711304, -0.5311328768730164, -0.49997222423553467, -0.348958283662796, 0.14876991510391235, -0.264408677816391, 0.3287281394004822, 0.010240716859698296, 0.6584060192108154, -1.0764480829238892, -0.40337541699409485, -0.32287806272506714, 0.1276254504919052, -0.23874296247959137, 0.4473173916339874, 0.6487113237380981, -0.5689423084259033, -0.02601591870188713, -0.35467636585235596, -0.8584057688713074, 0.21990296244621277, -0.32575511932373047, -0.18933552503585815, 0.22241677343845367, 0.49937328696250916, -0.2599111497402191, 0.6833060383796692, 0.31123825907707214, -0.5753217935562134, 0.5449815988540649, -0.1262620985507965, 0.05152132734656334, -0.7724955081939697, -0.4083237946033478, 0.3664269745349884, -0.010952923446893692, -0.9058364629745483, 0.40037795901298523, 0.08071427047252655, -0.30600446462631226, -0.46180108189582825, 0.15951275825500488, -0.24570752680301666, 0.06859306246042252, -0.2708422839641571, -0.005622610449790955, -0.17294317483901978, 0.6745185852050781, -0.20463800430297852, 0.4754510223865509, 0.5906034111976624, -0.3767787218093872, 0.322649210691452, -0.009407439269125462, -0.2906167805194855, 0.7762434482574463, -0.5690711736679077, 0.017258204519748688, -0.11737431585788727, 0.24271467328071594, -0.765388548374176, 0.03800256922841072, 0.37345245480537415, -0.7134278416633606, 0.41066864132881165, -0.06553474813699722, -0.5567388534545898, -0.39112597703933716, -0.5193501114845276, 0.10896921902894974, 0.24799636006355286, -0.49436697363853455, 0.2443595975637436, 0.5908652544021606, 0.18163402378559113, -1.094664454460144, -0.6498885750770569, 0.36111071705818176, -0.1534947007894516, -0.29064318537712097, 0.09375964105129242, -0.09810269623994827, -0.029572831466794014, -0.01700695976614952, -0.24766303598880768, 0.09189628064632416, 0.6146434545516968, 0.1390550434589386, 0.27549290657043457, 0.12150713801383972, -0.29265305399894714, -0.21398869156837463, 0.059307828545570374, 0.436296671628952, -0.49331921339035034, 0.6389009952545166, -0.06648683547973633, -0.23909161984920502, -0.7628163695335388, 0.21670573949813843, 0.23736725747585297, -0.2320016771554947, 0.7671687602996826, 0.41191771626472473, -0.4956175684928894, -0.4858706295490265, -0.40341460704803467, -0.19724145531654358, -0.4990033507347107, 0.6663397550582886, -0.5590900778770447, -0.7641363739967346, 0.09829957038164139, 0.5123290419578552, 0.23632661998271942, 0.14723454415798187, 0.19493824243545532, -0.16847862303256989, 0.9049076437950134, 0.30114105343818665, -0.11637434363365173, 0.596560537815094, -0.38524067401885986, 0.3873378336429596, -0.4502415657043457, -0.34683138132095337, -0.5555254817008972, -0.27222973108291626, -0.6814009547233582, 0.08646935969591141, 0.16458524763584137, 0.12371514737606049, -0.014906446449458599, 0.6118371486663818, -0.8516638875007629, 0.5389901399612427, 0.8616992235183716, 0.4317490756511688, 0.09700325131416321, 0.06503453850746155, 0.27582085132598877, 0.2532752454280853, -0.7504540681838989, -0.20542672276496887, 1.30567467212677, 0.27176013588905334, 0.5477956533432007, 0.18580415844917297, 0.9342976808547974, 0.5548979640007019, -0.0020842268131673336, -0.6501502990722656, 0.862545371055603, -0.36781781911849976, -0.47389551997184753, -0.3769543766975403, -0.7267621159553528, -1.1428356170654297, 0.24811282753944397, -0.5220801830291748, -0.7010303735733032, 0.11679088324308395, -0.06472243368625641, -0.08000263571739197, 0.6498933434486389, -0.905497133731842, 1.2150728702545166, -0.06932184845209122, -0.2886546552181244, -0.030126644298434258, -0.6268516778945923, 0.2137656807899475, -0.036734454333782196, 0.2563469111919403, 0.439015656709671, 0.29467153549194336, 0.693424642086029, -0.44780585169792175, 0.9060137867927551, -0.5493559837341309, -0.12978044152259827, 0.21366223692893982, 0.1959700882434845, 0.3142814338207245, 0.10981254279613495, 0.10984180867671967, 0.08149535953998566, -0.0514313206076622, -0.7302342653274536, -0.7276157736778259, 0.3314533531665802, -0.8885748386383057, -0.742155134677887, -0.7246625423431396, -0.3798055946826935, -0.30188503861427307, -0.13285496830940247, 0.2209513783454895, 0.6748682260513306, -0.12434640526771545, 0.102959044277668, 0.5131198763847351, -0.2638980746269226, 0.5825214982032776, 0.4048549234867096, 0.14711220562458038, -0.57847660779953, 1.4668980836868286, 0.2164507508277893, 0.4526357054710388, 0.7962702512741089, 0.08207503706216812, -0.12446510046720505, -0.703816831111908, -0.3991732895374298, -0.237465962767601, -0.46780914068222046, -0.44007569551467896, -0.7171756029129028, -0.45480889081954956, -0.3745778203010559, -0.41339051723480225, 0.31009066104888916, -0.6128864288330078, 0.016213221475481987, -0.28345292806625366, 0.047417785972356796, 0.5643853545188904, 0.35998469591140747, 0.39049243927001953, -0.4890066683292389, 0.20238222181797028, 0.5880447030067444, 0.12458578497171402, 0.10007601231336594, -0.21803928911685944, 0.02541714534163475, -0.09041953831911087, -0.5692233443260193, -1.352696180343628, 0.2915196120738983, -0.11493109166622162, 0.4236094057559967, 0.11426829546689987, 0.3380119204521179, 0.44499319791793823, -0.4607114791870117, 0.7820250988006592, 0.2242465317249298, -0.9081164002418518, 0.8220566511154175, 0.054652776569128036, 0.09271415323019028, 0.5450143218040466, 0.19885650277137756, -0.12994599342346191, -1.2274515628814697, -1.0364556312561035, -0.6323429346084595, 0.8129069805145264, 0.4015481770038605, -0.10094943642616272, -0.036491625010967255, 0.5126867294311523, -0.17895010113716125, 0.37044602632522583, -0.9840067625045776, -0.6294773817062378, -0.4194748103618622, -0.34569665789604187, -0.21757882833480835, -0.23157593607902527, -0.055046118795871735, 0.24606651067733765, 0.6218454837799072, 0.23921720683574677, 0.11487603932619095, 0.0035171485505998135, -0.1850670874118805, 0.12363918125629425, 0.6849227547645569, 0.2979995608329773, 0.14597684144973755, -0.31608137488365173, 0.32421743869781494, 0.11485835164785385, -0.7635377049446106, 0.3599863350391388, 0.4508029520511627, -0.5448459982872009, -0.16536220908164978, 0.43798670172691345, 0.5436848998069763, 0.334714412689209, -0.47764772176742554, 0.7454944252967834, -0.35275033116340637, -0.2025839388370514, -0.35538774728775024, 0.34871718287467957, -0.5179648995399475, 0.28436797857284546, 0.4387884736061096, 0.23872727155685425, 0.391812801361084, -0.6515007615089417, 0.3240646719932556, 0.7423486113548279, -0.5095938444137573, -0.030508236959576607, 0.7676268815994263, 0.0424555204808712, -0.5070039629936218, 0.10678405314683914, -0.22839003801345825, -0.7057662606239319, 0.6657705903053284, 0.549613356590271, 0.8126776814460754, -0.09785689413547516, 0.5847043395042419, 0.1417282521724701, 0.5282207727432251, -0.21552711725234985, -0.06586329638957977, 0.07566358149051666, -0.45061686635017395, -0.1571861207485199, -0.6401811838150024, -0.6889182329177856, 0.0657191351056099, -0.8083372712135315, 0.19677138328552246, -0.6082459092140198, -0.10846652090549469, 0.3049182593822479, 0.3637339770793915, -0.20197217166423798, 0.2279486060142517, 0.00582905812188983, 0.7623080611228943, -0.5481044054031372, 0.5298731923103333, 0.7893154621124268, -0.5923498868942261, -0.37112823128700256, 0.20581454038619995, -0.05342483147978783, -0.6802338361740112, 0.42550376057624817, 0.29196473956108093, 0.19629260897636414, -0.10689126700162888, -0.43863528966903687, -0.1856350153684616, 0.610424280166626, 0.2003505378961563, -0.5589028596878052, -0.2816087603569031, 0.20512349903583527, 0.4834636151790619, -0.014782854355871677, 0.006387574132531881, 0.43020302057266235, 0.30156266689300537, -0.1754872053861618, -0.3883403241634369, -0.01683161035180092, -0.30242520570755005, -0.19138020277023315, 0.39372095465660095, -0.48233047127723694, 0.3946117162704468, -0.04202008247375488, -0.14837802946567535, -0.42641496658325195, 0.9845120906829834, 0.1968042105436325, 0.5755496621131897, 0.630255401134491, 0.9088535308837891, 0.6045722365379333, -0.132904052734375, 1.0933791399002075, -0.2432190626859665, 0.18232062458992004, 0.9495493173599243, 0.061099570244550705, 1.1091340780258179, -0.06577343493700027, -0.18812808394432068, 0.3996785581111908, 0.2662084996700287, -0.3054654002189636, 0.5388278365135193, 0.5649785399436951, -0.4142332077026367, 0.016605166718363762, 0.3507566452026367, -0.3424868881702423, 0.14389067888259888, 0.2658747136592865, 0.16556842625141144, -0.011135129258036613, 0.27965813875198364, 0.3129672706127167, 0.17335081100463867, -0.5274441242218018, 0.97678542137146, -0.21422022581100464, -0.6120243668556213, 0.48183757066726685, 0.022418834269046783, 0.9525448679924011, -0.41766855120658875, 0.2991580665111542, 0.048355039209127426, 0.2546647787094116, -0.3692633807659149, -1.0061020851135254, 0.1602601706981659, 0.1748490333557129, -0.13174358010292053, 0.049665119498968124, 0.4772528409957886, -0.5030876398086548, -0.556241512298584, 0.11927906423807144, -0.031232217326760292, -0.14481016993522644, -0.01829647086560726, -0.45586761832237244, -0.16946156322956085, -0.08298960328102112, 0.057393256574869156, 0.5812810063362122, 0.48812028765678406, 0.4066082537174225, 0.535876452922821, 0.4808866083621979, 0.39988142251968384, 0.1568009853363037, -0.03314843028783798, 0.5959938764572144, -0.7106005549430847, -0.48013195395469666, -0.966328501701355, 0.12310770153999329, -0.3723158836364746, -0.11692619323730469, 0.736007571220398, 0.6734367609024048, 1.1970546245574951, 0.11984038352966309, 0.9759179353713989, 0.17200511693954468, 0.22788113355636597, -0.46402931213378906, 0.6072142124176025, -0.5137174725532532, 0.4280225336551666, -0.5578089952468872, -0.607980489730835, -0.4276852309703827, 0.5426331162452698, -0.4593692421913147, -0.383938193321228, 0.703464925289154, 0.6457821726799011, 0.44040629267692566, 0.3175703287124634, 0.18553151190280914, 0.11946045607328415, 0.5921518802642822, 0.8314772844314575, 0.8958883881568909, -0.5451183319091797, 0.9992495179176331, -0.4009140133857727, -0.5155329704284668, -0.30363595485687256, -0.48665758967399597, -1.3267171382904053, -0.26295167207717896, -0.5824905037879944, -0.7220316529273987, 0.535677969455719, 0.3865554630756378, 0.38481223583221436, -0.672505259513855, -0.012215245515108109, -0.03997039049863815, 0.17934481799602509, -0.39330828189849854, -0.4137841761112213, 0.43677380681037903, -0.7912008762359619, -0.5166275501251221, 0.39303091168403625, 0.13636073470115662, 0.0994897410273552, -0.2594023644924164, 0.4967133104801178, -0.05881979316473007, 0.06600187718868256, 0.6006417274475098, 0.1437978446483612, -0.3333224058151245, -0.3256031274795532, -0.13767193257808685, -0.18109792470932007, -0.1912178248167038, 0.6834090352058411, -0.7115048766136169, 0.2932389974594116, 0.3145056962966919, 0.9019877314567566, 0.1882587969303131, -0.1168239638209343, 0.4902796447277069, -0.9865834712982178, 0.21763627231121063, 0.3185805082321167, 0.2637220025062561, 0.12908591330051422, -0.47478392720222473, 0.5335015654563904, 0.3695770800113678, -0.40389350056648254, -1.2510603666305542, 0.25712230801582336, -1.0789062976837158, -0.797157883644104, 0.8749943375587463, -0.0003770784824155271, -0.2071612924337387, 0.02679910510778427, -0.2079622745513916, 0.030002253130078316, -0.4050813317298889, 0.9789773225784302, 0.6597943902015686, 0.329632431268692, -0.06741106510162354, -0.7173543572425842, 0.5666776895523071, 0.29813963174819946, -0.9965390563011169, -0.11121411621570587, 0.3125905394554138, -0.07094103842973709, 0.24827736616134644, 0.24191038310527802, -0.13684582710266113, 0.2803082764148712, -0.007251631934195757, -0.17122937738895416, 0.03693539649248123, -0.5334940552711487, -0.34481751918792725, 1.2456815242767334, -0.29140999913215637, -0.3554595410823822 ]
http://arxiv.org/abs/2402.05126v1
http://arxiv.org/pdf/2402.05126v1
Graph Neural Network and NER-Based Text Summarization
2024-02-05T03:00:44
2024-02-05T03:00:44
Imaad Zaffar Khan, Amaan Aijaz Sheikh, Utkarsh Sinha
cs.CL
cs.CL, cs.LG
With the abundance of data and information in todays time, it is nearly impossible for man, or, even machine, to go through all of the data line by line. What one usually does is to try to skim through the lines and retain the absolutely important information, that in a more formal term is called summarization. Text summarization is an important task that aims to compress lengthy documents or articles into shorter, coherent representations while preserving the core information and meaning. This project introduces an innovative approach to text summarization, leveraging the capabilities of Graph Neural Networks (GNNs) and Named Entity Recognition (NER) systems. GNNs, with their exceptional ability to capture and process the relational data inherent in textual information, are adept at understanding the complex structures within large documents. Meanwhile, NER systems contribute by identifying and emphasizing key entities, ensuring that the summarization process maintains a focus on the most critical aspects of the text. By integrating these two technologies, our method aims to enhances the efficiency of summarization and also tries to ensures a high degree relevance in the condensed content. This project, therefore, offers a promising direction for handling the ever increasing volume of textual data in an information-saturated world.
[ -0.3132084012031555, -0.8308779001235962, 0.40535396337509155, 0.10409831255674362, -0.3707124888896942, 0.341765433549881, 0.04170164838433266, -0.5091211199760437, 0.680712878704071, 0.49386465549468994, -0.11912637948989868, -0.5808225274085999, -0.6390671133995056, 0.2397450953722, -0.7068047523498535, 1.3443206548690796, 0.049814723432064056, -0.12962576746940613, -0.23659969866275787, -0.05012945085763931, -0.339592307806015, -0.6252805590629578, -0.9953711628913879, -0.7671394944190979, 0.8494792580604553, 0.2309546023607254, 0.4900176227092743, 0.6027438044548035, 0.5631134510040283, 0.3605573773384094, -0.3982093334197998, 0.27662619948387146, -0.623124897480011, 0.19313466548919678, 0.09857210516929626, -0.10258786380290985, -0.5934052467346191, -0.3849111497402191, 0.8036664724349976, 0.7293340563774109, 0.26408714056015015, 0.033473581075668335, 0.2518107295036316, 0.9285848140716553, -0.3229052722454071, 0.42512601613998413, -0.1696772426366806, 0.2128886580467224, 0.12623269855976105, -0.16653864085674286, -0.18618528544902802, -0.549490749835968, 0.2207091897726059, -0.6840725541114807, 0.04913642257452011, 0.0025225221179425716, 0.9827550649642944, -0.04109781235456467, -0.592851996421814, -0.2483455091714859, -0.6438791155815125, 0.2342316061258316, -0.7551048398017883, 0.1295638233423233, 0.012491434812545776, 0.027417128905653954, -0.03635489568114281, -1.056904673576355, -0.36668041348457336, 0.12010219693183899, -0.28361406922340393, 0.33724766969680786, -0.17184622585773468, 0.07208339124917984, 0.0392458476126194, 0.24160043895244598, -0.6100243330001831, 0.04515118896961212, -0.23656444251537323, -0.23476119339466095, 0.5290058255195618, 0.3356069326400757, 0.5436578989028931, -0.3512153625488281, -0.18781577050685883, 0.16067750751972198, -0.3381456434726715, -0.22348754107952118, 0.521756112575531, 0.3279195725917816, 0.07449125498533249, 0.5572501420974731, -0.44235971570014954, 0.6289055347442627, -0.2563322186470032, 0.014830638654530048, 0.11345759779214859, -0.5066927671432495, -0.3251483142375946, 0.5003286004066467, 1.056788444519043, 0.6630010008811951, 0.37180468440055847, -0.4277137815952301, -0.10289771854877472, -0.09878652542829514, -0.04443000257015228, -1.0747824907302856, -0.319953978061676, -0.08128932118415833, -0.6782202124595642, -0.4276929199695587, -0.09698931127786636, -0.85440593957901, -0.43862849473953247, -0.5354006290435791, 0.21816998720169067, -0.4336600601673126, -0.27690067887306213, -0.2137337476015091, -0.5777660608291626, -0.07712246477603912, 0.5403284430503845, -0.9689672589302063, 0.5705280303955078, 0.7298586368560791, 1.3676173686981201, 0.02123071439564228, -0.11628617346286774, -0.35806599259376526, 0.3684130311012268, -0.18808820843696594, 0.8053256869316101, -0.15442310273647308, -0.38977205753326416, -0.35144272446632385, -0.17506790161132812, -0.21755772829055786, -0.3355315029621124, 0.14344526827335358, -0.6917673349380493, -0.029119135811924934, -0.08849715441465378, -0.6473757028579712, -0.5255816578865051, 0.4166082739830017, -0.7723119854927063, 0.9159733653068542, 0.07720198482275009, -1.070880651473999, -0.005241189152002335, -0.5709319710731506, -0.7127824425697327, 0.09785565733909607, -0.1196378841996193, -0.5402483344078064, 0.03840816393494606, 0.2637283504009247, 0.48536670207977295, -0.09842807054519653, 0.16155403852462769, 0.018567141145467758, -0.49829748272895813, 0.1317930519580841, -0.0840286836028099, 0.6080467700958252, -0.14023424685001373, -0.04578162357211113, 0.1941409707069397, -0.6030803918838501, 0.06245970353484154, 0.16984739899635315, -0.3745565712451935, -0.48976585268974304, -0.12753356993198395, 0.23881085216999054, -0.04422224685549736, 0.2724706828594208, -0.25070464611053467, 0.2019200474023819, -0.505547285079956, 0.7023051381111145, 0.39394208788871765, 0.3560951352119446, 0.5379230976104736, -0.1694038212299347, 0.41409507393836975, -0.24626122415065765, -0.1978588104248047, -0.2833822965621948, -0.5616822838783264, -0.5584151744842529, 0.08896811306476593, 0.7220475077629089, 0.9813517928123474, -0.8543552756309509, 0.3463345468044281, -0.5189434289932251, -0.5158978700637817, 0.2337063103914261, -0.049960535019636154, 0.3146935999393463, 0.9362152218818665, 0.2586629092693329, -0.3061835765838623, -0.6286313533782959, -0.6483608484268188, -0.19196142256259918, -0.15349431335926056, 0.08190198987722397, 0.4061789810657501, 0.5985691547393799, 0.03457199037075043, 0.8031145930290222, -0.6320317387580872, -0.4306541979312897, -0.5796465873718262, 0.14942656457424164, 0.3155333697795868, 0.44258347153663635, 0.3547336757183075, -1.0678589344024658, -0.4812794029712677, 0.20445646345615387, -1.1216251850128174, 0.19886071979999542, -0.01123812235891819, 0.015939636155962944, -0.13259756565093994, 0.9442922472953796, -0.43720579147338867, 0.630732536315918, 0.1852681040763855, -0.2882894277572632, 0.4072510302066803, -0.46924328804016113, 0.024342838674783707, -1.0892056226730347, 0.21478809416294098, -0.1672276258468628, -0.3370388448238373, -0.6226580739021301, -0.3221155107021332, -0.04908979684114456, -0.39948150515556335, -0.02918015420436859, 0.35554608702659607, -0.7018155455589294, -0.14967069029808044, -0.3694549798965454, 0.472406804561615, 0.26541054248809814, 0.3968355059623718, -0.20100924372673035, 0.5875808596611023, 0.23792505264282227, -0.7709043025970459, 0.588607668876648, 0.5592486262321472, -0.01386238168925047, 0.3438529968261719, -0.8245230913162231, -0.0487496517598629, -0.4109381139278412, 0.2960854470729828, -0.7465959787368774, -0.2169458568096161, 0.4380600154399872, -0.6543939113616943, 0.4309273660182953, -0.12126459926366806, -0.5764105916023254, -0.1301136314868927, -0.07919357717037201, 0.2918410301208496, 0.10160047560930252, 0.040732719004154205, 0.939102292060852, 0.5165067315101624, -0.554911196231842, -0.6504111289978027, -0.8320227265357971, 0.7834798097610474, -0.07798610627651215, -0.42284494638442993, 0.5250071883201599, 0.23323896527290344, -0.006579732988029718, 0.4711648225784302, -0.01373718585819006, -0.11254917085170746, 0.19967222213745117, 0.2528685927391052, 0.2692948579788208, -0.22160376608371735, 0.2959665060043335, 0.14667938649654388, -0.4695824086666107, -0.03922353312373161, -0.5595057010650635, 0.5657287836074829, -0.15970519185066223, 0.1626005321741104, -0.4622565507888794, 0.5802837014198303, 0.3203127682209015, -0.32759878039360046, 0.7516310214996338, 0.42748409509658813, -0.6016852855682373, 0.13254030048847198, -0.08196457475423813, 0.0852118730545044, -0.3677231967449188, 0.6005758047103882, -0.06573443114757538, -0.7951198220252991, 0.7418266534805298, -0.34533971548080444, -0.45390045642852783, 0.5140548348426819, 0.14782476425170898, -0.1035386249423027, 0.75333571434021, 0.6198168396949768, -0.3265524208545685, 0.6955572962760925, -0.5185494422912598, 0.3272632360458374, -1.0811198949813843, -0.37480491399765015, -0.46942558884620667, -0.6713220477104187, -0.38043907284736633, 0.1380009949207306, 0.19586020708084106, 0.21994648873806, -0.043358128517866135, 0.39211395382881165, -0.8456431031227112, 0.6714978814125061, 0.49032050371170044, 0.21850153803825378, 0.3226422965526581, -0.13959191739559174, -0.21244356036186218, 0.25252217054367065, -0.6458970904350281, -0.4059734642505646, 0.9529590010643005, 0.03916424512863159, 0.39128851890563965, -0.04981409013271332, 0.8491485714912415, 0.2844199240207672, 0.2430613934993744, -0.9120034575462341, 0.8101277351379395, -0.24170507490634918, -0.19932012259960175, -0.6038344502449036, -0.6164659857749939, -1.0279104709625244, 0.14013205468654633, -0.21692897379398346, -0.8288247585296631, 0.1708647459745407, -0.04605572298169136, -0.22142940759658813, 0.4245046079158783, -0.6463514566421509, 0.8275099992752075, -0.12576159834861755, 0.06394103169441223, 0.08072831481695175, -0.889835774898529, 0.05183861777186394, 0.20702004432678223, -0.038023386150598526, -0.0005321435746736825, -0.1832512468099594, 0.8864947557449341, -0.4047403633594513, 0.6132780909538269, 0.014638316817581654, 0.35021036863327026, 0.31027349829673767, -0.18848976492881775, 0.5293793678283691, 0.1910405457019806, 0.0624152347445488, 0.11114656180143356, -0.5089666843414307, -0.16062043607234955, -0.7031261920928955, 0.7085254788398743, -0.5223773717880249, -0.010428537614643574, -0.4549817740917206, -0.5906558632850647, 0.1908973753452301, 0.8894449472427368, 0.44295722246170044, 0.8024775385856628, -0.36043456196784973, 0.026741115376353264, 0.7590724229812622, 0.03685816749930382, 0.7244797945022583, -0.13384035229682922, -0.4965997338294983, -1.0856894254684448, 1.150471568107605, 0.556853711605072, -0.04880714789032936, 0.6648030281066895, -0.037355318665504456, -0.14438194036483765, -1.0073142051696777, -0.5599536299705505, 0.2354041486978531, -0.7905613780021667, -0.35215479135513306, -0.9831163287162781, -0.538232684135437, -0.45176637172698975, -0.25178492069244385, 0.21317845582962036, -0.6384190320968628, -0.5533365607261658, -0.21481123566627502, 0.29339686036109924, 0.9048652052879333, 0.274111270904541, 0.3619239032268524, -0.9308369159698486, 0.48897674679756165, 0.0928536206483841, 0.3519256114959717, 0.21648897230625153, -0.0014121108688414097, -0.3737529218196869, -0.3471766412258148, -0.1481722593307495, -1.0605653524398804, 0.5663580894470215, 0.1658114492893219, 0.393454372882843, 0.2111511379480362, -0.2614656686782837, 0.36090362071990967, -0.45899027585983276, 0.4436296820640564, 0.3066202700138092, -0.9506246447563171, 0.4401792883872986, -0.5455948114395142, 0.3744280934333801, 0.5531874299049377, 0.18258629739284515, -0.8336114883422852, -0.22863352298736572, -0.5545214414596558, -1.268872618675232, 0.5554593801498413, 0.3729060888290405, -0.05277009308338165, 0.17670036852359772, 0.6020147800445557, -0.2512805163860321, 0.4888950288295746, -0.4149578809738159, -0.37706607580184937, -0.4380796253681183, -0.5357692241668701, -0.2200954258441925, -0.06997166574001312, 0.13220715522766113, -0.03453018143773079, 0.8481652736663818, -0.3146841824054718, 0.31827929615974426, 0.4483988285064697, -0.2957276701927185, 0.5233693718910217, 0.11721533536911011, 0.7266693711280823, 0.5363650321960449, -0.10553673654794693, 0.06859549134969711, 0.24788540601730347, -0.849341869354248, 0.0832330510020256, 0.3812890648841858, -0.698074221611023, 0.29720765352249146, 0.2670329213142395, 0.7945313453674316, 0.19733747839927673, -0.1473560482263565, 0.3316044807434082, -0.28800535202026367, -0.16893304884433746, -0.26232001185417175, -0.12372077256441116, 0.41153356432914734, 0.12689267098903656, 0.37334442138671875, 0.2805681824684143, 0.41995275020599365, -0.23839029669761658, 0.17201903462409973, 0.12757597863674164, -0.6222519278526306, -0.0651993602514267, 0.5652470588684082, 0.19242914021015167, -0.49716490507125854, 0.7930242419242859, -0.1669628620147705, -0.546969473361969, 1.1267313957214355, 0.6067733764648438, 0.9127944111824036, 0.2080867886543274, 0.36022284626960754, 0.3571861982345581, 0.237528458237648, 0.06196499988436699, 0.20658718049526215, 0.10092992335557938, -0.580621063709259, -0.38113877177238464, -0.21274183690547943, -0.46586713194847107, -0.20934052765369415, -0.4210263788700104, 0.10847016423940659, -0.6098853349685669, -0.3521451950073242, 0.2113429605960846, -0.1541730910539627, -0.20588469505310059, 0.33755046129226685, 0.01548384502530098, 0.816402018070221, -0.5819960832595825, 0.3144717514514923, 0.7131487131118774, -0.571240246295929, -0.7346639633178711, -0.20978036522865295, -0.12749940156936646, -0.36090755462646484, 0.6344122886657715, 0.390200674533844, -0.041161421686410904, 0.42924219369888306, -0.10220802575349808, -0.7621362209320068, 1.3008203506469727, 0.3249238133430481, -0.23497061431407928, -0.555541455745697, -0.13098055124282837, 0.5593537092208862, -0.3559275269508362, 0.30615437030792236, 0.270724892616272, 0.46197715401649475, -0.1007053330540657, -0.6325643658638, 0.06742140650749207, -0.5164871215820312, 0.12164165079593658, 0.8033719658851624, -0.6821484565734863, 0.8247326016426086, -0.26636338233947754, -0.1823461651802063, -0.10363198071718216, 0.7873302698135376, -0.3140209913253784, 0.735517680644989, 0.17511093616485596, 0.6423220634460449, 0.9892708659172058, -0.31630173325538635, 0.9151086807250977, -0.1694408506155014, 0.31785401701927185, 1.2435847520828247, -0.06169092655181885, 0.44562041759490967, 0.15080901980400085, 0.21898820996284485, 0.6829692125320435, 0.47697773575782776, -0.050609759986400604, 0.28178226947784424, 0.2206391543149948, -0.2697640359401703, 0.1660173386335373, -0.4388320744037628, -0.34829768538475037, 0.30320194363594055, 0.42340412735939026, -0.47920843958854675, -0.33571577072143555, 0.025904620066285133, 0.1357092410326004, 0.11486396193504333, -0.6269758343696594, 1.1436153650283813, 0.19020745158195496, -0.33845168352127075, -0.10595757514238358, -0.15677909553050995, 0.16957803070545197, -0.551220178604126, -0.09813957661390305, 0.0967727079987526, 0.05713105574250221, -0.387428343296051, -0.6665334701538086, 0.3316691517829895, -0.30104103684425354, -0.40781229734420776, -0.2524413466453552, 1.2872503995895386, -0.23778574168682098, -0.42190638184547424, 0.40566304326057434, 0.37673288583755493, 0.064342200756073, -0.16412848234176636, -0.4401782155036926, -0.32173240184783936, -0.23155800998210907, -0.09179897606372833, 0.25065407156944275, 0.5837680697441101, -0.031189946457743645, 0.5853796005249023, 0.5526772737503052, 0.2888285219669342, -0.2010357826948166, 0.24296912550926208, 0.98295658826828, -0.8310372233390808, -0.9484645128250122, -0.9171012043952942, 0.351946085691452, -0.6043686270713806, -0.235159769654274, 0.7136895060539246, 0.9613890051841736, 0.44260284304618835, 0.14696045219898224, 0.8209244608879089, 0.15136124193668365, 0.33246320486068726, -0.46169060468673706, 1.1602762937545776, -0.12831556797027588, -0.15330295264720917, -0.4203251302242279, -0.9160367250442505, -0.555873692035675, 0.2631397843360901, -0.10993874818086624, -0.04136219248175621, 0.7736513018608093, 0.2448832243680954, 0.20570017397403717, 0.24002303183078766, -0.014310118742287159, -0.025529593229293823, 0.25953343510627747, 0.4642842411994934, 0.5726562738418579, -0.678398609161377, 0.8282630443572998, 0.10266665369272232, -0.12250538915395737, -0.4017148017883301, -1.0157333612442017, -0.8141736388206482, -0.32776954770088196, -0.36728474497795105, -0.3413211405277252, 0.05867689475417137, 0.3074440658092499, 0.3534218370914459, -0.7893924117088318, -0.05922869220376015, -0.44176459312438965, 0.5090984106063843, -0.28982800245285034, -0.21974334120750427, 0.539986252784729, -0.041634753346443176, -0.4545506536960602, 0.19640235602855682, 0.6155644655227661, 0.5082758665084839, 0.14661546051502228, 0.02349579520523548, -0.28658315539360046, -0.032909002155065536, 0.4654829502105713, 0.31909897923469543, -0.09972486644983292, -0.10466621071100235, 0.1065468117594719, -0.17389144003391266, 0.16499866545200348, 0.9205176830291748, -0.8922010064125061, 0.2925110459327698, 0.8999351859092712, 0.862967848777771, 0.5545528531074524, -0.022264733910560608, 0.42274010181427, -0.48079708218574524, -0.17217160761356354, 0.25269097089767456, 0.3436526358127594, 0.4876320958137512, -0.6555890440940857, 0.5723153948783875, 0.2582606375217438, -0.6834144592285156, -0.6210421323776245, 0.031162019819021225, -1.0407367944717407, -0.12580010294914246, 0.5813858509063721, -0.05554744973778725, -0.18598797917366028, -0.36054089665412903, -0.4356228709220886, 0.7549596428871155, -0.48086443543434143, 0.39561936259269714, 0.6338529586791992, -0.30960825085639954, 0.011373039335012436, -0.41395679116249084, 0.15433605015277863, -0.028352536261081696, -1.0644081830978394, -0.1592179536819458, 0.34357428550720215, 0.03358763828873634, 0.4834500551223755, 0.7194958925247192, 0.04830768331885338, 0.09913886338472366, 0.14582204818725586, -0.1539703756570816, -0.4809996783733368, -0.39715075492858887, -0.4027787148952484, 0.5430014729499817, -0.5965067148208618, -0.16798976063728333 ]
http://arxiv.org/abs/2402.06655v1
http://arxiv.org/pdf/2402.06655v1
Adversarial Text Purification: A Large Language Model Approach for Defense
2024-02-05T02:36:41
2024-02-05T02:36:41
Raha Moraffah, Shubh Khandelwal, Amrita Bhattacharjee, Huan Liu
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Adversarial purification is a defense mechanism for safeguarding classifiers against adversarial attacks without knowing the type of attacks or training of the classifier. These techniques characterize and eliminate adversarial perturbations from the attacked inputs, aiming to restore purified samples that retain similarity to the initially attacked ones and are correctly classified by the classifier. Due to the inherent challenges associated with characterizing noise perturbations for discrete inputs, adversarial text purification has been relatively unexplored. In this paper, we investigate the effectiveness of adversarial purification methods in defending text classifiers. We propose a novel adversarial text purification that harnesses the generative capabilities of Large Language Models (LLMs) to purify adversarial text without the need to explicitly characterize the discrete noise perturbations. We utilize prompt engineering to exploit LLMs for recovering the purified examples for given adversarial examples such that they are semantically similar and correctly classified. Our proposed method demonstrates remarkable performance over various classifiers, improving their accuracy under the attack by over 65% on average.
[ -0.3998337388038635, -1.2708348035812378, 0.3776666522026062, -0.23264040052890778, -0.2322188764810562, 0.23955343663692474, -0.3385481834411621, -0.22198519110679626, -0.2537112236022949, 0.7286930084228516, -0.30090922117233276, -0.4896593391895294, -0.7495951056480408, 0.11874789744615555, -0.9429647326469421, 1.2185173034667969, 0.2663383483886719, -0.030588390305638313, -0.00721744354814291, 0.3179576098918915, -0.048056963831186295, -0.7359328269958496, -0.7873628735542297, -0.27312424778938293, 0.42147237062454224, -0.12799949944019318, 0.738516092300415, 0.6082579493522644, 0.473823219537735, 0.44455525279045105, -0.6364622712135315, 0.12726391851902008, -0.48878756165504456, 0.4482397139072418, 0.029761044308543205, -0.4636116027832031, -0.1577150523662567, 0.19714801013469696, 0.5360255837440491, 0.3728482723236084, 0.007923067547380924, -0.415701687335968, 0.23327778279781342, 0.46445396542549133, -0.6799997091293335, -0.31308647990226746, -0.9628754258155823, 0.11907584220170975, -0.38175636529922485, -0.16460129618644714, -0.7567389011383057, -0.19518673419952393, -0.10921032726764679, -0.4965871274471283, 0.3979344367980957, -0.2799101769924164, 0.9730785489082336, 0.3456161618232727, -0.28501924872398376, -0.21632741391658783, -0.8888283371925354, 0.7379469275474548, -0.6691038012504578, -0.10571130365133286, 0.28228989243507385, 0.25745686888694763, -0.48387566208839417, -0.6726717352867126, -0.551487147808075, -0.2863449156284332, -0.03307138383388519, -0.009050422348082066, -0.4305029809474945, 0.423166424036026, 0.3343856930732727, 0.4791804850101471, -0.6798259019851685, 0.12545128166675568, -0.25587818026542664, -0.36385464668273926, 0.5581461787223816, -0.21703389286994934, 0.6565127372741699, -0.09646955877542496, -0.5905951261520386, -0.2202068418264389, -0.805009126663208, -0.17949533462524414, 0.6382681727409363, 0.23266398906707764, 0.5075799226760864, 0.3579169809818268, 0.018807685002684593, 0.6576783657073975, -0.0592975877225399, -0.2190893143415451, -0.24279911816120148, -0.12337443232536316, -0.24854306876659393, 0.1402384340763092, 0.9749928712844849, -0.3185289204120636, 0.2721967399120331, -0.3020223081111908, -0.4200838804244995, 0.22117988765239716, 0.6320751905441284, -0.8646422028541565, -0.42150652408599854, 0.14030267298221588, -0.4769428074359894, -0.7694405913352966, -0.06488999724388123, -0.9090668559074402, -0.8668326139450073, 0.07658494263887405, 0.43912273645401, -0.4187857508659363, -0.017738429829478264, 0.10536906868219376, -0.17904409766197205, -0.02863667719066143, 0.17364415526390076, -0.8351114392280579, 0.20782427489757538, 0.8648928999900818, 0.5086324214935303, 0.00016378736472688615, -0.07575008273124695, -0.6431622505187988, -0.2438959926366806, -0.24484345316886902, 0.8230147957801819, -0.29787829518318176, -0.48469069600105286, 0.10187404602766037, -0.2628464698791504, 0.02433256059885025, -0.6620218753814697, 0.8681510090827942, -0.9872179627418518, 0.17888322472572327, 0.2725330889225006, -0.5178966522216797, -0.35982730984687805, 0.4189824163913727, -0.865157425403595, 0.47750619053840637, -0.3411999046802521, -0.7493191957473755, -0.1638413965702057, -0.3338264226913452, -0.6354598999023438, 0.08982446044683456, 0.10101082175970078, -0.5920721888542175, 0.10081269592046738, 0.37710756063461304, 0.3013105094432831, -0.3241569995880127, 0.3452450633049011, -0.6162614822387695, -0.2268363982439041, 0.4852079749107361, -1.0128564834594727, 1.0625348091125488, 0.40295466780662537, -0.11966968327760696, 0.2725793719291687, -0.8857072591781616, -0.02997010573744774, 0.13796725869178772, -0.36848339438438416, -0.44341662526130676, 0.07056742161512375, -0.11839306354522705, 0.13797971606254578, 0.180264413356781, -0.556861937046051, 0.23541322350502014, -0.7668012976646423, 0.6882880330085754, 0.7790247797966003, 0.06502123177051544, 0.2662774920463562, -0.16579031944274902, 0.5691941380500793, -0.26098015904426575, 0.14183767139911652, -0.1091654822230339, -0.3555881381034851, -0.6495420336723328, -0.6097655296325684, 0.30342790484428406, 0.4762856662273407, -0.9749371409416199, 0.4148360788822174, -0.14821870625019073, -0.42745959758758545, -0.37219369411468506, 0.2308100014925003, 0.4865722060203552, 0.35809168219566345, 0.3348587453365326, 0.28095492720603943, -0.547261655330658, -0.7363300323486328, -0.21773965656757355, -0.2763545513153076, -0.18309801816940308, -0.18056559562683105, 0.4559706449508667, -0.2335260510444641, 0.7022237181663513, -0.5269102454185486, -0.20184071362018585, -0.2145492285490036, 0.04139312356710434, -0.1025092601776123, 0.1759408861398697, 0.4474688768386841, -1.0568344593048096, -0.22411078214645386, -0.12943069636821747, -0.6912111639976501, -0.2593493163585663, -0.01727096550166607, -0.10954254865646362, -0.03936678171157837, 0.7637077569961548, -0.6521224975585938, 0.3193747401237488, 0.42227548360824585, -0.38979214429855347, 0.5324434638023376, -0.03932781517505646, 0.17472419142723083, -1.014819622039795, 0.07434666901826859, -0.0728975310921669, -0.39004820585250854, -0.8719814419746399, 0.4228573739528656, -0.09949088841676712, -0.5505012273788452, -0.4544927477836609, 0.40721601247787476, -0.07348959892988205, 0.4684440791606903, -0.646697998046875, 0.17416664958000183, 0.27877816557884216, 0.20141173899173737, -0.12629789113998413, 0.614896833896637, 0.3961181044578552, -0.6462118029594421, 0.6008653044700623, 0.29526349902153015, -0.07549848407506943, 0.5102778673171997, -0.6976563334465027, 0.06100068241357803, -0.03045894205570221, 0.3466046452522278, -1.0988044738769531, 0.12655186653137207, 0.28571370244026184, -0.5317050814628601, 0.5423597097396851, -0.15201209485530853, -0.5042340159416199, -0.2063932567834854, -0.25221648812294006, 0.169484481215477, 0.4421752989292145, -0.9505783319473267, 0.5240088105201721, 0.2672409415245056, -0.14004799723625183, -0.6320467591285706, -0.552757978439331, 0.3565208911895752, -0.4608354866504669, -0.49232181906700134, 0.4137972295284271, -0.06255654990673065, -0.24139221012592316, -0.013868395239114761, -0.027608375996351242, -0.12667249143123627, 0.6256777048110962, 0.16533547639846802, 0.39624691009521484, -0.05495896562933922, 0.06486465781927109, -0.20587687194347382, -0.12161802500486374, 0.20013433694839478, -0.28895846009254456, 0.5070301294326782, 0.2862303853034973, -0.18595601618289948, -0.40976107120513916, 0.4210539162158966, 0.6698154211044312, -0.1623126119375229, 0.7413082718849182, 0.5210621356964111, -0.5466108918190002, -0.3512286841869354, -0.5359878540039062, -0.1633853167295456, -0.5517487525939941, 0.5539948344230652, -0.40605929493904114, -0.5820856094360352, 0.28108805418014526, 0.041527021676301956, -0.043684836477041245, 0.5625794529914856, 0.07877930998802185, 0.14617708325386047, 1.1763821840286255, 0.24001756310462952, -0.3290722370147705, 0.5938787460327148, -0.18392814695835114, 0.17105406522750854, -0.6277408599853516, -0.06585802137851715, -0.8588930368423462, 0.004779062233865261, -0.28936368227005005, 0.09848914295434952, 0.037489861249923706, 0.2617220878601074, -0.3092954754829407, 0.2094791829586029, -0.5147219896316528, 0.4771825671195984, 0.643081545829773, 0.2487230896949768, 0.16931189596652985, 0.2737194895744324, -0.12682634592056274, -0.03178717568516731, -0.41450631618499756, -0.7056577205657959, 0.8190394639968872, 0.37570083141326904, 0.7111158967018127, 0.10947492718696594, 0.788997232913971, 0.317579984664917, 0.321115106344223, -0.7883420586585999, 0.8230077028274536, -0.7237971425056458, -0.5795637965202332, -0.1722835898399353, -0.6527000665664673, -1.0004711151123047, 0.38257429003715515, -0.32002124190330505, -0.644040584564209, -0.0702766701579094, -0.148381769657135, -0.2963844835758209, 0.653297483921051, -0.4186599552631378, 0.6474304795265198, 0.01606113277375698, -0.07382865995168686, -0.16210946440696716, -0.18937668204307556, 0.535560667514801, -0.29360681772232056, 0.15731769800186157, 0.4185331165790558, 0.191749706864357, 0.7717477083206177, -0.5219079852104187, 0.8035282492637634, -0.031351473182439804, -0.5065619945526123, 0.2695356011390686, 0.13074705004692078, 0.6359447836875916, -0.2955673933029175, 0.04537977650761604, -0.07302802801132202, -0.34621745347976685, -0.20671243965625763, -0.8326852917671204, 0.7642910480499268, -0.7376652956008911, -1.0781360864639282, -0.351938933134079, -0.17154569923877716, 0.08612377196550369, 0.30727720260620117, 0.4725642502307892, 0.47857949137687683, -0.23000405728816986, 0.3442087173461914, 1.113921046257019, -0.49190688133239746, 0.617866575717926, 0.4765227138996124, 0.21768055856227875, -0.7843062877655029, 1.0550237894058228, -0.10655345022678375, 0.31164097785949707, 0.5859614610671997, 0.16315504908561707, -0.3937563896179199, -0.742769181728363, -0.34221744537353516, -0.014871257357299328, -0.7748261094093323, -0.4020078778266907, -0.7721416354179382, -0.4629833996295929, -0.4891490638256073, 0.00845253374427557, -0.22583554685115814, -0.2443544566631317, -0.41244474053382874, 0.13371522724628448, 0.14606375992298126, 0.638779878616333, 0.285089373588562, 0.26765623688697815, -0.8446123600006104, 0.5360192656517029, 0.4630484879016876, -0.07898712158203125, -0.053548820316791534, -0.7781949639320374, -0.0411139577627182, 0.10732053220272064, -0.5547152757644653, -1.0160243511199951, 0.5465160608291626, 0.06815876066684723, 0.4657086730003357, 0.484466552734375, 0.4497201442718506, 0.37318935990333557, -0.5477534532546997, 0.8448941707611084, 0.0784473568201065, -0.9667390584945679, 0.6564362049102783, -0.17075999081134796, 0.20268769562244415, 0.2975839376449585, 0.13429392874240875, -0.1560545712709427, -0.7284347414970398, -0.6948448419570923, -0.9009062051773071, 0.47394827008247375, 0.22674894332885742, -0.12250512838363647, -0.006277925334870815, 0.38874197006225586, -0.3635033071041107, 0.07426447421312332, -0.6189578771591187, -0.16303929686546326, -0.1176576092839241, -0.3287375569343567, -0.29615116119384766, -0.4915773272514343, -0.35171738266944885, 0.5340609550476074, 1.0098555088043213, 0.4377439618110657, -0.10912329703569412, 0.1242167055606842, -0.24946627020835876, 0.37882179021835327, 0.49121472239494324, 0.496956467628479, -0.29048341512680054, 0.2821403443813324, 0.3128109276294708, -0.1249217838048935, -0.6835537552833557, 0.6730051040649414, 0.5283612012863159, -0.48182761669158936, -0.286631315946579, 0.4085412919521332, 0.46393802762031555, -0.0773589164018631, -0.49471691250801086, 0.6115149259567261, -0.33611375093460083, -0.03367917612195015, -0.10425995290279388, 0.09690854698419571, -0.31606540083885193, 0.2243194878101349, 0.35805124044418335, 0.16689756512641907, 0.4225606620311737, -0.21623189747333527, 0.2694091498851776, 0.6438581347465515, -0.4120026230812073, -0.1299225240945816, 0.7222273945808411, 0.2568729519844055, -0.26560965180397034, 0.43065106868743896, -0.11638715118169785, -0.8433657288551331, 0.553693950176239, 0.6195912957191467, 1.0544360876083374, -0.3444831073284149, 0.10213001817464828, 0.19307845830917358, 0.27459588646888733, -0.21090200543403625, -0.3227718472480774, 0.010068950243294239, -0.6534721255302429, -0.38493120670318604, -0.6872048377990723, -0.09271308034658432, 0.5233379602432251, -0.5210465788841248, 0.008356839418411255, -0.5290924906730652, -0.20204710960388184, 0.20723888278007507, 0.17981041967868805, -0.0630996972322464, 0.3264017105102539, 0.2883840799331665, 0.5651856064796448, -0.7270451784133911, 0.5815287828445435, 0.6716068387031555, -0.19125431776046753, -0.4771534502506256, 0.10443244874477386, 0.22058351337909698, -0.27669668197631836, 0.665743887424469, 0.14207081496715546, -0.20268221199512482, -0.2352794110774994, -0.3881525993347168, -0.5316839218139648, 0.4013073742389679, 0.5225226879119873, -0.314509779214859, 0.17574511468410492, -0.1722683310508728, 0.6412091851234436, 0.22351692616939545, -0.004625978879630566, 0.27265381813049316, 0.26358917355537415, -0.10501508414745331, -0.42649492621421814, 0.30633071064949036, -0.5957865715026855, 0.1394938826560974, 0.18246512115001678, -0.464435338973999, 0.6370922923088074, 0.007915513589978218, -0.5372755527496338, 0.4676070511341095, 0.7619261145591736, 0.1911315768957138, 0.011830423027276993, 0.5911049246788025, 0.6119076013565063, 0.7351890802383423, -0.1303880363702774, 0.9900845885276794, -0.2018241137266159, 0.14719273149967194, 0.900976300239563, -0.11522552371025085, 0.7431543469429016, 0.1028214618563652, -0.09363143891096115, 0.17964130640029907, 0.3875528573989868, -0.08027195930480957, 0.43627187609672546, 0.5233175754547119, -0.6618794202804565, -0.17775806784629822, -0.10002076625823975, -0.2618304491043091, 0.46804115176200867, 0.3277110755443573, -0.45454496145248413, -0.16525352001190186, 0.48595643043518066, 0.09001854062080383, 0.46549177169799805, -0.2345244586467743, 0.9752294421195984, -0.13732574880123138, -0.746741533279419, 0.8538358211517334, 0.033432647585868835, 0.6874105930328369, -0.5488402247428894, 0.12523256242275238, 0.04292258620262146, 0.5073235034942627, -0.0883377194404602, -0.4697524309158325, 0.1827710121870041, 0.1119673028588295, -0.39304301142692566, -0.19858528673648834, 0.8848108053207397, -0.45022982358932495, -0.1623249500989914, 0.2915778160095215, -0.20500925183296204, -0.035234931856393814, -0.36147573590278625, -0.3223113417625427, 0.009551674127578735, 0.0941367894411087, -0.33961179852485657, 0.343507319688797, 0.31448131799697876, 0.45753830671310425, 0.8546069264411926, 0.6735321283340454, 0.44369587302207947, -0.2391882687807083, 0.21114976704120636, 0.8754734992980957, -0.4267255961894989, -0.37274235486984253, -1.2649391889572144, 0.20367088913917542, -0.13727226853370667, -0.008111316710710526, 0.8314952850341797, 0.3775998055934906, 0.469235360622406, 0.087789386510849, 0.8992294669151306, 0.45408502221107483, 0.335056334733963, -0.585736095905304, 0.878420889377594, -0.25310659408569336, 0.6392038464546204, -0.13972915709018707, -0.6275911927223206, -0.5006049871444702, 0.4381747245788574, -0.16074246168136597, -0.1645418107509613, 0.5793176889419556, 0.8218696117401123, 0.2064594328403473, 0.2504224181175232, 0.445048063993454, 0.4488416314125061, 0.8186345100402832, 0.45291849970817566, 0.9783631563186646, -0.5739241242408752, 1.1572617292404175, -0.1177544966340065, -0.29995712637901306, 0.0528816357254982, -0.595554769039154, -1.0884013175964355, -0.27746596932411194, -0.4678668677806854, -0.7901508808135986, 0.41800183057785034, 0.46985921263694763, 0.5129290819168091, -0.7699623703956604, 0.321076899766922, -0.1801077127456665, 0.20150819420814514, -0.08363822847604752, -0.29837051033973694, 0.4037392735481262, -0.383269727230072, -0.9453716278076172, 0.604203999042511, -0.023635026067495346, 0.2663387954235077, -0.5096962451934814, 0.4072440266609192, 0.03105098381638527, 0.05708654969930649, 0.44578656554222107, 0.2716677784919739, -0.7250822186470032, -0.04326589033007622, -0.2624136805534363, -0.4170714020729065, -0.3668552339076996, 0.5741671323776245, -0.6819611191749573, 0.3811749219894409, 0.6901773810386658, 1.0203477144241333, 0.0003251633606851101, 0.016030993312597275, 0.5357217788696289, -0.744820237159729, 0.11669804155826569, 0.29845115542411804, 0.4291726052761078, 0.3354989290237427, -0.609969973564148, 0.1376938670873642, 0.30709558725357056, -0.5411320924758911, -0.9301100969314575, 0.4962502419948578, -0.5444393754005432, -0.6554290652275085, 1.476034164428711, -0.5547387003898621, -0.2188071310520172, -0.12468846887350082, -0.3469407558441162, 0.3351295590400696, -0.23814931511878967, 0.9197243452072144, 0.7851284146308899, 0.7017413377761841, 0.15478911995887756, -0.21000266075134277, 0.5638437867164612, 0.20307375490665436, -0.7247815728187561, 0.15510967373847961, 0.2824895679950714, 0.03164457529783249, 0.29334914684295654, 0.1441067010164261, -0.3437351584434509, 0.02680170349776745, 0.1504395455121994, -0.1803635060787201, 0.02242927998304367, -0.32483699917793274, -0.6389431357383728, 0.6287007927894592, -0.08734983950853348, -0.32776740193367004 ]
http://arxiv.org/abs/2402.02680v1
http://arxiv.org/pdf/2402.02680v1
Large Language Models are Geographically Biased
2024-02-05T02:32:09
2024-02-05T02:32:09
Rohin Manvi, Samar Khanna, Marshall Burke, David Lobell, Stefano Ermon
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
Large Language Models (LLMs) inherently carry the biases contained in their training corpora, which can lead to the perpetuation of societal harm. As the impact of these foundation models grows, understanding and evaluating their biases becomes crucial to achieving fairness and accuracy. We propose to study what LLMs know about the world we live in through the lens of geography. This approach is particularly powerful as there is ground truth for the numerous aspects of human life that are meaningfully projected onto geographic space such as culture, race, language, politics, and religion. We show various problematic geographic biases, which we define as systemic errors in geospatial predictions. Initially, we demonstrate that LLMs are capable of making accurate zero-shot geospatial predictions in the form of ratings that show strong monotonic correlation with ground truth (Spearman's $\rho$ of up to 0.89). We then show that LLMs exhibit common biases across a range of objective and subjective topics. In particular, LLMs are clearly biased against locations with lower socioeconomic conditions (e.g. most of Africa) on a variety of sensitive subjective topics such as attractiveness, morality, and intelligence (Spearman's $\rho$ of up to 0.70). Finally, we introduce a bias score to quantify this and find that there is significant variation in the magnitude of bias across existing LLMs.
[ -0.5708909034729004, -0.7099459767341614, 0.9150979518890381, 0.03437761589884758, 0.07383302599191666, -0.193661168217659, -0.7216242551803589, -0.47596853971481323, 0.2518540620803833, 0.7392114996910095, -0.29554444551467896, -0.8360742926597595, -0.9251511096954346, -0.37803915143013, -0.17184332013130188, 0.9359129071235657, 0.07022885978221893, 0.2289891093969345, -0.1122201532125473, -0.2708880305290222, -0.263051837682724, -0.8033036589622498, -0.01918911002576351, -0.4751090407371521, 0.4393896460533142, 0.36215609312057495, 1.0409470796585083, 0.37940534949302673, 0.49338585138320923, 0.26214146614074707, -0.4044881761074066, -0.0678832083940506, -0.6967551708221436, 0.08617863059043884, -0.49809256196022034, -0.45762205123901367, -0.1372283697128296, 0.13577252626419067, 0.6252375841140747, 1.0761531591415405, -0.030556151643395424, 0.38844525814056396, -0.020207326859235764, 0.5062355399131775, -0.4881344735622406, 0.03742268681526184, -0.6852905750274658, 0.09889212250709534, -0.1985745131969452, -0.010891853831708431, -0.10379136353731155, -0.50847989320755, 0.47150322794914246, -0.3311176300048828, 0.44621700048446655, 0.2064221054315567, 0.7639979124069214, 0.29180246591567993, -0.6965745091438293, -0.3533586859703064, -0.7603338360786438, 0.9356569051742554, -0.4203161299228668, 0.2693231999874115, 0.45605921745300293, 0.300741046667099, -0.29274672269821167, 0.000938209006562829, -0.3322981595993042, -0.23631858825683594, -0.009628226049244404, -0.15417687594890594, 0.06035284325480461, -0.11668948084115982, 0.4077639579772949, 0.1425771266222, -0.48497265577316284, 0.10991928726434708, -0.41195887327194214, -0.04842996597290039, 0.5976496338844299, 0.06846010684967041, 0.4666651487350464, -0.26675549149513245, -0.059692077338695526, 0.180526003241539, -1.11343252658844, -0.07262156903743744, 0.5359224677085876, 0.39043062925338745, -0.3112293481826782, 0.5328190922737122, 0.0001345478231087327, 0.7999972701072693, -0.09112951904535294, -0.3151910603046417, 0.06592628359794617, 0.1604337841272354, -0.13034093379974365, -0.04254463315010071, 0.5709627866744995, 0.5072177648544312, 0.6561880707740784, -0.10629789531230927, 0.09577232599258423, 0.041933927685022354, 0.13443881273269653, -0.5107825994491577, 0.193992480635643, -0.028032751753926277, -0.2571302354335785, -0.1032073050737381, 0.07340185344219208, -0.8698840737342834, -0.6213813424110413, -0.44687849283218384, -0.13475848734378815, -0.0557442344725132, -0.09017810970544815, -0.008127346634864807, 0.1779540777206421, 0.1975945383310318, 0.2779909372329712, -0.8478001356124878, 0.014252342283725739, 0.9067643284797668, 0.8310062289237976, 0.07865792512893677, -0.5211711525917053, 0.028408953920006752, 0.031108364462852478, -0.41512346267700195, 0.8092974424362183, -0.4515121579170227, -0.3837902247905731, 0.07236120849847794, 0.008969651535153389, 0.45333409309387207, -0.48615869879722595, 0.5833688974380493, -0.5659525394439697, 0.10641954094171524, -0.8369151949882507, -0.04654931649565697, -0.2672072649002075, 0.36968299746513367, -0.5828375220298767, 0.9245563745498657, 0.02907532826066017, -0.7025465965270996, 0.5731603503227234, -0.37040063738822937, -0.3669142425060272, -0.23211655020713806, -0.23594339191913605, -0.07925787568092346, 0.319841593503952, 0.305266410112381, 0.3445628881454468, -0.4357438087463379, 0.8092342615127563, -0.6448855996131897, -0.4988444745540619, 0.22692570090293884, -0.49539944529533386, 0.8393219709396362, 0.03124360553920269, -0.6617227792739868, -0.27992773056030273, -0.5870577096939087, -0.18256092071533203, 0.04080893471837044, -0.10921864956617355, -0.5285972952842712, 0.14461858570575714, -0.15573012828826904, 0.30546295642852783, 0.1597737967967987, -0.5168599486351013, 0.1051686629652977, -0.3620899021625519, 0.27866360545158386, 0.930098831653595, -0.3346330225467682, 0.8626230359077454, -0.11804305016994476, 0.34520286321640015, -0.10578764230012894, 0.13503287732601166, 0.29692432284355164, -0.34622201323509216, -0.589709997177124, -0.17535188794136047, 0.047984201461076736, 0.38937118649482727, -0.22540704905986786, 0.41711628437042236, -0.65187668800354, -0.5762878656387329, -0.16086138784885406, 0.0413249135017395, 0.06810551136732101, 0.4219743013381958, 0.013302777893841267, -0.19982409477233887, -0.5156487822532654, -0.7729549407958984, -0.4392539858818054, -0.07968707382678986, -0.09713906794786453, 0.6131742596626282, 0.6561220288276672, -0.12085390836000443, 1.1199779510498047, -0.507708728313446, -0.14791609346866608, 0.08654063194990158, -0.2289409339427948, 0.25655806064605713, 0.07360927760601044, 0.712457537651062, -0.6904722452163696, -0.21352490782737732, -0.09359534829854965, -1.0502158403396606, -0.34231266379356384, 0.3904312551021576, -0.17938794195652008, 0.003875753143802285, -0.00708326231688261, -0.7104703187942505, 0.3537430465221405, 0.8154698014259338, -0.5702897310256958, 0.3786611258983612, -0.032327864319086075, 0.021946879103779793, -0.6055983901023865, -0.05996117740869522, 0.30291101336479187, -0.11411624401807785, -0.26004135608673096, 0.13841190934181213, -0.34804439544677734, -0.09961283206939697, -0.32994183897972107, 0.7314903140068054, -0.5165326595306396, -0.6113624572753906, -0.13995419442653656, 0.427115797996521, -0.04849894717335701, 0.06750941276550293, 0.09539277106523514, 0.5927421450614929, 0.48548316955566406, -0.25172364711761475, 0.34141185879707336, 0.006854096427559853, -0.6784223914146423, 0.6826680302619934, -0.44804173707962036, -0.1056932806968689, -0.596929669380188, 0.7107452750205994, -0.648510217666626, -0.3409310281276703, -0.11123331636190414, -0.3145654499530792, -0.10945852845907211, -0.2641948163509369, -0.2810637950897217, -0.4043000340461731, 0.056334465742111206, 0.19996418058872223, 0.4881937801837921, -0.6615467667579651, 0.4553525745868683, 0.7907298803329468, -0.14487381279468536, -0.807088315486908, -0.8909491896629333, 0.1558009833097458, -0.3449264466762543, -0.5787366032600403, -0.26496610045433044, 0.16856245696544647, -0.8413413763046265, -0.0071885595098137856, 0.042724475264549255, -0.01966749131679535, 0.03649343550205231, 0.703594982624054, 0.21148335933685303, -0.12264316529035568, -0.03526633232831955, -0.42119020223617554, 0.04677757993340492, 0.3250972330570221, -0.5588420629501343, 0.4212387204170227, -0.10669848322868347, -0.4495674669742584, 0.1783459633588791, 0.25837841629981995, 0.6314947009086609, 0.027525484561920166, 0.8429898619651794, 0.2829990088939667, -0.4605187177658081, -0.14312830567359924, -0.628070056438446, -0.04181740805506706, -0.3701055347919464, 0.48227575421333313, -0.15559551119804382, -1.1817268133163452, 0.6075308918952942, -0.045998819172382355, -0.09801539778709412, 0.255280464887619, 0.7656905651092529, 0.022246044129133224, 0.6704537868499756, 0.676365852355957, -0.5004515647888184, 0.21152223646640778, -0.1667531430721283, 0.5366082191467285, -0.6045913696289062, -0.24356244504451752, -0.6521004438400269, -0.31217148900032043, -0.873784601688385, -0.5879302024841309, 0.5268422961235046, 0.008295613341033459, -0.8239898681640625, -0.1955992579460144, -0.32048654556274414, 0.8401380777359009, 0.4917793273925781, -0.0397447794675827, -0.06163192540407181, 0.37261858582496643, -0.2035534828901291, -0.3867311477661133, -0.6378562450408936, -0.804572582244873, 1.1755695343017578, 0.4314118027687073, 0.9734786748886108, 0.12538708746433258, 0.30007684230804443, 0.1736123114824295, 0.8323472738265991, -0.5625942349433899, 0.31413036584854126, -0.1715238243341446, -0.8539912700653076, -0.34134042263031006, -0.4054691791534424, -0.564756453037262, 0.4454413950443268, -0.11170469224452972, -0.6778150796890259, 0.15924566984176636, -0.03380206227302551, -0.24145175516605377, 0.5541988015174866, -0.3612522780895233, 0.4976709187030792, -0.4748305082321167, -0.48621484637260437, 0.03948729485273361, -0.765312135219574, 0.5375217795372009, 0.040104132145643234, 0.730187714099884, -0.49519863724708557, 0.2023618221282959, 0.2761847972869873, -0.1009148433804512, 0.9761189222335815, -0.2933078706264496, -0.3536761701107025, 0.19924189150333405, 0.09556986391544342, 0.1763571798801422, 0.2096714824438095, -0.3017566204071045, 0.7737244963645935, -0.3606010377407074, -0.621610701084137, -0.557183027267456, 0.9898993968963623, -1.254393219947815, -0.5622539520263672, -0.5327337384223938, -0.6084433197975159, -0.0357656255364418, 0.09346205741167068, 0.25294211506843567, 0.3156612813472748, -0.4946552515029907, -0.18842753767967224, 0.802036464214325, -0.5341323614120483, -0.05079730600118637, 0.5928241610527039, -0.3213157653808594, -0.34558752179145813, 0.45421531796455383, 0.20572035014629364, 0.20848599076271057, 0.14444267749786377, 0.22997623682022095, -0.36032527685165405, -0.18719740211963654, -0.14350268244743347, 0.4184240996837616, -0.8952344655990601, -0.08396033942699432, -0.3896079361438751, -0.062208015471696854, -0.3415224850177765, -0.5447694659233093, -0.19277293980121613, 0.010957126505672932, -0.00885582435876131, -0.2279519885778427, 0.10471004992723465, 1.010405421257019, -0.2713194787502289, 0.467961847782135, -0.40934503078460693, 0.10247163474559784, 0.022734811529517174, 0.2925264537334442, -0.1309557557106018, -0.6397043466567993, -0.14223574101924896, 0.1959763914346695, -0.13987167179584503, -0.6532400846481323, 0.3882744610309601, -0.2015848010778427, 0.31686604022979736, 0.3696643114089966, -0.16420523822307587, 0.7679932117462158, -0.8910172581672668, 0.9778550863265991, -0.006906723137944937, -0.9107406735420227, 0.458435982465744, -0.3617788851261139, 0.24862949550151825, 0.3165709674358368, 0.6324007511138916, -0.6261875033378601, -0.6013708114624023, -0.5023972988128662, -0.6742541790008545, 0.33064165711402893, -0.5080525279045105, 0.3977530002593994, -0.09991712868213654, 0.553526759147644, -0.035660237073898315, 0.11315283924341202, -1.020223617553711, -0.3240269422531128, -0.0336378812789917, 0.012117992155253887, -0.44743481278419495, -0.5644124150276184, -0.44075772166252136, -0.06999527662992477, 0.4292643964290619, -0.08160030841827393, -0.005115460138767958, 0.2831070125102997, -0.13118022680282593, -0.3610784113407135, 0.4571695923805237, 0.6595182418823242, 1.170607566833496, -0.1388346403837204, 0.5304778814315796, 0.324645459651947, -0.35157865285873413, 0.4619220197200775, -0.20059847831726074, -0.4043166935443878, 0.16102835536003113, 0.5011767148971558, 0.671860933303833, 0.2361183762550354, -0.5279189348220825, 0.6308881640434265, 0.14227552711963654, 0.02371317334473133, -0.5173565745353699, -0.4243125915527344, 0.1496243178844452, 0.36665138602256775, 0.3118371069431305, 0.04933895543217659, -0.025435920804739, -0.6648188829421997, -0.07999802380800247, 0.6722347736358643, -0.3491412401199341, -0.37817344069480896, 0.49268415570259094, 0.24380046129226685, -0.08169892430305481, 0.5056971311569214, -0.13328811526298523, -0.8563269972801208, 0.49951574206352234, 0.4614019989967346, 0.41179391741752625, -0.2085290402173996, 0.10345759987831116, 0.4353101849555969, 0.7799797058105469, -0.21833357214927673, 0.012656239792704582, 0.319347083568573, -0.9050635695457458, -0.48990699648857117, -0.8617902994155884, -0.2367689162492752, 0.07812273502349854, -0.41905614733695984, 0.2311500906944275, -0.4602331519126892, -0.263334184885025, -0.3378400504589081, 0.1977596879005432, -0.6911805868148804, 0.31567463278770447, 0.44532856345176697, 0.7966800332069397, -1.1750692129135132, 0.45555824041366577, 0.6358050107955933, 0.13094474375247955, -0.5431293249130249, 0.04832211509346962, 0.22745288908481598, -0.8921818137168884, 1.0959848165512085, 0.18364782631397247, -0.09425393491983414, -0.5758061408996582, -0.7955239415168762, -1.1971821784973145, 0.7790262699127197, 0.5564521551132202, -0.7269480228424072, -0.05383062735199928, 0.3239455223083496, 0.6554032564163208, -0.2841356098651886, 0.45821619033813477, 0.6013490557670593, 0.5032538771629333, -0.14588743448257446, -0.9401453137397766, 0.04333657771348953, 0.40352684259414673, 0.29829370975494385, 0.20974873006343842, -0.8164142370223999, 0.8725902438163757, -0.3761078119277954, 0.011624014005064964, -0.28570523858070374, 0.5056843161582947, 0.4392040967941284, 0.1768733561038971, 0.2728556990623474, 0.6053123474121094, 0.7376596927642822, -0.3059314787387848, 1.1187503337860107, -0.49198585748672485, 0.68598872423172, 1.0405795574188232, -0.6935303807258606, 0.5538787841796875, 0.2985316812992096, -0.3041803538799286, 0.5576347708702087, 0.6878654956817627, 0.16937704384326935, 0.4256228804588318, 0.5924056768417358, -0.3392771780490875, -0.12397781759500504, -0.18875162303447723, -0.21544170379638672, 0.7459210753440857, 0.3725384771823883, -0.3175159692764282, -0.4126729369163513, -0.05579392984509468, 0.36102432012557983, 0.15868385136127472, -0.41675713658332825, 0.2181086391210556, 0.20014789700508118, -0.6133466362953186, 0.29234641790390015, 0.060077399015426636, 0.7458201050758362, -0.5202817320823669, 0.1785511076450348, -0.2424846589565277, 0.07996664196252823, -0.23512707650661469, -0.9004924893379211, 0.39508554339408875, 0.12176573276519775, -0.3334729075431824, -0.11314105242490768, 0.6973508596420288, -0.4022068381309509, -0.499178409576416, 0.4326974153518677, 0.4262504577636719, 0.2874966859817505, 0.0026852216105908155, -0.46517136693000793, 0.3403215706348419, -0.13610611855983734, -0.30949029326438904, 0.2524859607219696, 0.597370445728302, -0.12939272820949554, 0.7513500452041626, 0.5700830817222595, 0.4762694835662842, 0.022824030369520187, -0.12992800772190094, 0.5119069814682007, -0.7716390490531921, -0.42150425910949707, -1.105365514755249, -0.05918484926223755, -0.07974918186664581, -0.1616222858428955, 0.8903017640113831, 0.4534939229488373, 0.7697358727455139, 0.25803112983703613, 0.9313546419143677, 0.09090131521224976, 0.4176400303840637, -0.40531885623931885, 0.6857581734657288, -0.22798600792884827, 0.24944914877414703, -0.03744419291615486, -1.054025650024414, -0.32003021240234375, 0.8858699798583984, -0.9769441485404968, 0.19281832873821259, 0.48509523272514343, 0.6299018859863281, 0.04677301272749901, -0.0895894318819046, 0.24589309096336365, 0.30532515048980713, 0.19395607709884644, 0.5402886271476746, 0.9675536155700684, -0.08806709945201874, 0.02107301726937294, -0.049665577709674835, -0.4399930536746979, 0.01295931451022625, -0.884699285030365, -0.9370355010032654, -0.11118917912244797, 0.21014586091041565, -0.5777289867401123, 0.11630356311798096, 0.7021480202674866, 0.8706344366073608, -0.576155424118042, -0.46309924125671387, 0.3374880254268646, 0.5164884924888611, 0.4426063895225525, -0.29988130927085876, 0.2021908015012741, 0.05773795768618584, -0.6586742401123047, -0.14282892644405365, 0.4565519392490387, -0.06769634783267975, -0.7891045212745667, 0.05155574530363083, 0.15257613360881805, -0.06446995586156845, 0.7646092176437378, 0.024507561698555946, -0.9889701008796692, -0.503642737865448, -0.25826215744018555, -0.32755520939826965, -0.09458912163972855, 0.8737890720367432, -0.5584144592285156, 0.020971376448869705, 0.11379741877317429, 0.39657098054885864, 0.17550654709339142, -0.06729526817798615, 0.4766874313354492, -0.692491352558136, 0.4288017749786377, 0.0610344372689724, 0.34792932868003845, 0.7285434603691101, -0.42352789640426636, 0.4113794267177582, 0.27211621403694153, -1.0308359861373901, -0.6691520810127258, 0.2534571886062622, -0.45778316259384155, -0.22190329432487488, 1.417700171470642, -0.12441230565309525, -0.45378759503364563, 0.11379446089267731, 0.06589727848768234, -0.12215407192707062, -0.12136181443929672, 0.834999680519104, 1.061303973197937, 0.2463761866092682, 0.07538663595914841, -0.9817542433738708, 0.27117255330085754, 0.280010461807251, -0.6237993240356445, -0.03030533343553543, 0.9280217885971069, 0.8356807827949524, 0.29470470547676086, 0.6700547337532043, -0.04630911722779274, -0.14096783101558685, -0.1674095094203949, 0.11202520877122879, 0.546043872833252, -0.25118547677993774, -0.4804386496543884, 0.18194587528705597, 0.13648545742034912, 0.4788239598274231 ]
http://arxiv.org/abs/2402.02662v1
http://arxiv.org/pdf/2402.02662v1
Image-Caption Encoding for Improving Zero-Shot Generalization
2024-02-05T01:14:07
2024-02-05T01:14:07
Eric Yang Yu, Christopher Liao, Sathvik Ravi, Theodoros Tsiligkaridis, Brian Kulis
cs.CV
cs.CV, cs.CL, cs.LG
Recent advances in vision-language models have combined contrastive approaches with generative methods to achieve state-of-the-art (SOTA) on downstream inference tasks like zero-shot image classification. However, a persistent issue of these models for image classification is their out-of-distribution (OOD) generalization capabilities. We first show that when an OOD data point is misclassified, the correct class can be typically found in the Top-K predicted classes. In order to steer the model prediction toward the correct class within the top predicted classes, we propose the Image-Caption Encoding (ICE) method, a straightforward approach that directly enforces consistency between the image-conditioned and caption-conditioned predictions at evaluation time only. Intuitively, we take advantage of unique properties of the generated captions to guide our local search for the correct class label within the Top-K predicted classes. We show that our method can be easily combined with other SOTA methods to enhance Top-1 OOD accuracies by 0.5% on average and up to 3% on challenging datasets. Our code: https://github.com/Chris210634/ice
[ -0.24856425821781158, -0.19420363008975983, 0.43322688341140747, -0.1817326843738556, -0.6016316413879395, 0.011089243926107883, 0.03381836786866188, -0.3645506203174591, 0.030651606619358063, 0.486946165561676, -0.24997590482234955, -0.6975634694099426, -0.6789222359657288, -0.04417421296238899, -0.2644702196121216, 0.877328634262085, -0.19564737379550934, 0.20034825801849365, -0.39233821630477905, -0.34294551610946655, -0.39380204677581787, -0.43253087997436523, -0.3744942843914032, -0.2657180428504944, 0.12142950296401978, 0.7897602319717407, 0.7322027087211609, 0.880395770072937, 0.6746439337730408, 0.08572610467672348, 0.2654562294483185, 0.05895156040787697, -0.5302771329879761, 0.0031286661978811026, -0.05149437487125397, -0.6227927803993225, -0.2410920411348343, -0.27675727009773254, 0.6061814427375793, 0.45298588275909424, -0.37109512090682983, 0.07906344532966614, -0.3584628999233246, 0.7171867489814758, -1.0913968086242676, 0.3985387980937958, -0.7037428617477417, 0.2262638658285141, -0.07870961725711823, -0.448520302772522, -0.5880811810493469, 0.021186623722314835, -0.012725642882287502, -0.8116708397865295, 0.4827646017074585, 0.3210045397281647, 1.1115617752075195, 0.3757537007331848, 0.0020115734077990055, 0.23817597329616547, -0.706413209438324, 0.9466067552566528, -0.5074552297592163, 0.3049464225769043, 0.3922490179538727, 0.5590115785598755, 0.07635566592216492, -0.31611937284469604, -0.6469247341156006, -0.03944285213947296, 0.08969292789697647, 0.4154956042766571, -0.3255171775817871, 0.21788714826107025, 0.0007073982851579785, 0.4992278218269348, -0.4988028109073639, 0.22620554268360138, -0.46099454164505005, 0.08554979413747787, 0.7052488923072815, 0.010939298197627068, 0.35237041115760803, 0.306801438331604, -0.39728784561157227, -0.29910871386528015, -0.7521141171455383, -0.2781873941421509, 0.13775239884853363, 0.20744073390960693, -0.38402459025382996, 0.6051592826843262, -0.24321533739566803, 0.6169115900993347, 0.27859264612197876, 0.1489265114068985, 0.4002835154533386, 0.0055281613022089005, -0.36892253160476685, 0.16102570295333862, 0.5091558694839478, 0.7318249344825745, 0.11740480363368988, -0.28655362129211426, -0.13368657231330872, 0.20286157727241516, -0.009289387613534927, -0.9421069622039795, -0.2642236351966858, 0.25953754782676697, -0.31695517897605896, -0.3857695162296295, 0.1358529031276703, -0.8198711276054382, -0.49948981404304504, -0.08938036859035492, 0.5062507390975952, -0.24679997563362122, -0.14788666367530823, 0.3551143407821655, -0.43602100014686584, 0.4026113748550415, 0.3373655378818512, -1.0167479515075684, 0.35247737169265747, 0.0469539649784565, 0.8165367245674133, -0.09696181118488312, -0.13218626379966736, -0.7136151790618896, 0.41477328538894653, -0.6327471733093262, 0.9398409724235535, -0.6398677229881287, 0.17194567620754242, 0.08015330880880356, -0.44376569986343384, 0.03693342208862305, -0.7044605612754822, 0.1292664259672165, -0.6370917558670044, 0.14270570874214172, 0.13440588116645813, -0.598164439201355, -0.176496684551239, 0.11534541100263596, -0.5031353831291199, 0.6641107201576233, 0.24002082645893097, -0.7785837650299072, 0.5859227776527405, -0.7303479313850403, -0.1782727837562561, 0.34388265013694763, -0.5297088623046875, -0.7397035956382751, 0.30198073387145996, 0.5704209804534912, 0.49684908986091614, -0.3070642352104187, -0.01993756927549839, -0.37053927779197693, -0.5575301647186279, -0.003739091334864497, -0.08108452707529068, 0.3590523898601532, 0.29502174258232117, -0.3710046708583832, -0.016976628452539444, -0.6387209892272949, -0.13402576744556427, 0.37866201996803284, 0.035874225199222565, -0.26135626435279846, -0.250999391078949, -0.23588736355304718, -0.1775553971529007, -0.07931330054998398, -0.7523419260978699, 0.3213491439819336, -0.144285187125206, 0.4377642273902893, 0.5314727425575256, 0.08221456408500671, 0.8684768676757812, -0.11295140534639359, 0.6062257289886475, 0.4728679060935974, 0.17418928444385529, -0.5303059220314026, -0.5568863749504089, -0.6819793581962585, -0.2872830629348755, 0.25885728001594543, 0.659601628780365, -1.330505132675171, 0.24797703325748444, -0.27936798334121704, -0.40691208839416504, -0.47999662160873413, -0.03636062890291214, 0.5388914346694946, 0.45214831829071045, 0.4744933247566223, -0.6391834020614624, -0.3695550262928009, -0.5755478739738464, 0.1945362091064453, 0.09022332727909088, 0.003595832735300064, 0.2695307433605194, 0.48727837204933167, -0.07045956701040268, 0.9848152995109558, -0.9756655693054199, -0.5323117971420288, -0.4175460934638977, 0.22075510025024414, 0.13350459933280945, 0.6919643878936768, 0.8400865197181702, -0.7918477654457092, -0.7107771635055542, 0.09229462593793869, -0.9298578500747681, 0.22017385065555573, -0.03446905314922333, -0.23784518241882324, 0.35539501905441284, 0.5352922081947327, -0.5434775948524475, 0.6155869960784912, 0.4617805480957031, -0.04863820597529411, 0.44419559836387634, -0.34756213426589966, 0.2177731841802597, -0.663623034954071, -0.09615600854158401, 0.08065294474363327, 0.02032463811337948, -0.9520120620727539, 0.31767168641090393, 0.10208437591791153, -0.46218976378440857, -0.48625752329826355, 0.4908934235572815, -0.5847686529159546, 0.07147104293107986, -0.0231921523809433, -0.07141515612602234, 0.020687386393547058, 0.4805893003940582, 0.39206749200820923, 0.6510788202285767, 1.273070216178894, -0.45681068301200867, 0.1976102888584137, 0.1864750236272812, -0.3415036201477051, 0.7631898522377014, -0.43683674931526184, 0.29318946599960327, -0.8826134204864502, 0.23178721964359283, -1.0673822164535522, -0.5598434805870056, 0.43826454877853394, -0.45000526309013367, 0.7000161409378052, -0.3905324935913086, -0.4175124168395996, -0.11922600865364075, -0.35843268036842346, 0.6541656255722046, 0.7357770800590515, -0.6299778819084167, 0.42871418595314026, 0.050694458186626434, 0.1371467411518097, -0.714852511882782, -0.9830350875854492, 0.02720070257782936, -0.17446717619895935, -0.29592010378837585, 0.37915709614753723, -0.21232543885707855, 0.08520878106355667, 0.09336758404970169, -0.3042432367801666, -0.3853524923324585, -0.370947003364563, 0.16906104981899261, 0.4285820722579956, -0.2199806421995163, 0.11115024983882904, 0.0903933048248291, -0.04521692916750908, -0.4728833734989166, -0.5428519248962402, 0.35372111201286316, -0.025487342849373817, -0.2365289330482483, -0.5234820246696472, 0.2867414951324463, 0.4686114490032196, -0.15225519239902496, 0.9042655825614929, 0.37840044498443604, -0.33032602071762085, -0.15012091398239136, -0.4204461872577667, -0.32466161251068115, -0.4294762909412384, 0.1958020180463791, -0.20492881536483765, -0.5586675405502319, 0.495286226272583, 0.24865713715553284, -0.1509920358657837, 0.23727339506149292, -0.16046369075775146, -0.4402138590812683, 1.0044833421707153, 0.7333997488021851, -0.009997320361435413, 0.6736432909965515, -0.6614153981208801, 0.11652278900146484, -0.44172242283821106, -0.2012234926223755, -0.23568178713321686, -0.11697638034820557, -0.35688871145248413, -0.27832886576652527, 0.40167129039764404, 0.10427889227867126, -0.0875079333782196, 0.3234081268310547, -0.42266926169395447, 0.7462239265441895, 0.6644318699836731, 0.349124014377594, 0.029192058369517326, 0.7171134948730469, 0.202157124876976, -0.006866327486932278, -0.9206191301345825, 0.04769621416926384, 1.1473960876464844, 0.18026675283908844, 0.872268795967102, -0.15050864219665527, 0.9546263217926025, 0.472249299287796, 0.3412340581417084, -0.6025117635726929, 0.3998839557170868, -0.603699803352356, -0.697963297367096, -0.3445601165294647, -0.51307213306427, -0.8053054809570312, 0.04191405698657036, -0.25796329975128174, -0.5442724823951721, 0.38603001832962036, 0.5468685626983643, -0.3770746886730194, 0.485850989818573, -0.733262836933136, 0.9174844622612, 0.006917305290699005, -0.12446193397045135, 0.050064779818058014, -0.7201998233795166, 0.2442856729030609, 0.25896042585372925, 0.2801457345485687, -0.024743637070059776, 0.11428973078727722, 0.31415656208992004, -0.4142959713935852, 0.9911398887634277, -0.5203611254692078, 0.1841931939125061, 0.45785003900527954, -0.10471241921186447, 0.2524690330028534, -0.5314184427261353, 0.2744429111480713, 0.5596571564674377, -0.13670484721660614, -0.7083187103271484, -0.8131051659584045, 0.10821917653083801, -0.8482247591018677, -0.319113165140152, -0.5179632902145386, -0.4157957434654236, 0.025149352848529816, 0.12983667850494385, 0.6718857288360596, 0.6538739800453186, 0.42163750529289246, 0.1681140959262848, 0.8024383783340454, -0.1909196525812149, 0.2862848937511444, 0.3756975531578064, -0.09014085680246353, -0.754509449005127, 1.1583211421966553, 0.19979839026927948, 0.4951505959033966, 0.7153072953224182, 0.2092742770910263, -0.13022224605083466, -0.8882041573524475, -0.8626157641410828, 0.18977072834968567, -0.9746723771095276, -0.5783044695854187, -0.05534711852669716, -0.16176171600818634, -0.5254480242729187, -0.5106102228164673, -0.22452135384082794, -0.294929563999176, -0.35157501697540283, -0.10477939248085022, 0.21203555166721344, 0.46292316913604736, -0.10663086920976639, 0.6703269481658936, -0.7032634615898132, 0.43385857343673706, 0.16492857038974762, 0.5477049946784973, -0.110540971159935, -0.8622195720672607, -0.19607168436050415, -0.24509313702583313, -0.20863448083400726, -0.7812123894691467, 0.38252514600753784, 0.548437237739563, 0.563942015171051, 0.6664707660675049, 0.38309043645858765, 0.7172400951385498, -0.3461451530456543, 0.6862512826919556, 0.7166796326637268, -0.7574126720428467, 0.594481885433197, -0.11507616192102432, 0.4740966558456421, 0.44422632455825806, 0.43829840421676636, -0.2789853811264038, -0.5085843205451965, -0.5774858593940735, -0.8556755781173706, 0.9189750552177429, 0.35201558470726013, 0.36677661538124084, 0.08287779241800308, 0.40942344069480896, 0.32459622621536255, 0.2727862596511841, -0.7660401463508606, -0.40146404504776, -0.5235904455184937, -0.290024071931839, -0.027798963710665703, -0.3051895797252655, 0.00835474207997322, -0.030588194727897644, 0.5893028974533081, -0.2247074395418167, 0.24292737245559692, 0.22543194890022278, -0.090394027531147, -0.4240362346172333, 0.30732712149620056, 0.708322286605835, 0.4770830273628235, -0.48011311888694763, 0.26610493659973145, 0.03400183841586113, -0.5694560408592224, 0.11431729048490524, -0.02410794235765934, -0.7145503759384155, 0.0033931764774024487, 0.30235910415649414, 0.9489051103591919, -0.11201586574316025, -0.6121721267700195, 0.6270717978477478, 0.03983531519770622, -0.30986323952674866, -0.16579586267471313, 0.1044003814458847, -0.6568765640258789, 0.0007372514810413122, 0.5679542422294617, 0.38408172130584717, 0.18897272646427155, -0.6509371995925903, -0.03165891766548157, 0.20564672350883484, -0.4210869073867798, -0.20360420644283295, 0.6740342974662781, 0.09780716896057129, 0.19106729328632355, 0.6611304879188538, -0.5288905501365662, -0.24769406020641327, 0.6348565816879272, 0.5730701684951782, 0.9703329801559448, -0.04523400962352753, 0.3383601903915405, 0.5053174495697021, 0.24264976382255554, -0.10875758528709412, 0.5410639643669128, -0.11868293583393097, -0.9810746312141418, -0.30333468317985535, -0.31269189715385437, -0.5737593770027161, 0.011222383007407188, -0.7702417373657227, 0.22942779958248138, -0.4738505482673645, -0.0016180925304070115, -0.07150814682245255, -0.5044891834259033, -0.610217273235321, 0.45911821722984314, 0.43774309754371643, 0.7653876543045044, -0.9748486876487732, 0.6268570423126221, 0.8945499062538147, -0.7200284600257874, -0.4416200816631317, -0.0913446769118309, -0.2927156984806061, -0.796264111995697, 0.5544863343238831, 0.2385120391845703, -0.10523857176303864, -0.00151708850171417, -1.1177334785461426, -0.790890634059906, 1.1575160026550293, 0.7392964363098145, -0.5829558968544006, 0.23883004486560822, 0.255183607339859, 0.358480304479599, -0.5969491004943848, 0.05798213183879852, 0.3365546464920044, 0.20364205539226532, 0.6609111428260803, -0.6236764788627625, -0.14992065727710724, -0.02378261648118496, 0.13130654394626617, 0.03341410309076309, -0.36338943243026733, 0.35376694798469543, -0.6777985095977783, -0.3956857919692993, 0.17785906791687012, 0.6155031323432922, 0.22603026032447815, 0.7733332514762878, 0.3913652300834656, 0.700831949710846, 0.4120866656303406, -0.0862831249833107, 1.0825378894805908, -0.01992056332528591, 0.35315296053886414, 1.2027407884597778, -0.22955849766731262, 0.8771106004714966, 0.4414454400539398, 0.06832640618085861, 0.4703928530216217, 0.43462568521499634, -0.3223355710506439, 1.10060453414917, 0.07225058972835541, -0.06152428314089775, -0.2618037164211273, -0.2695254683494568, -0.15913556516170502, 0.37983962893486023, 0.09985509514808655, -0.32840538024902344, -0.20511016249656677, 0.12722259759902954, -0.054218389093875885, 0.09899449348449707, -0.6773760318756104, 0.6242362260818481, -0.17556695640087128, -0.46012789011001587, 0.8356515169143677, -0.26037755608558655, 0.5363037586212158, -0.29777756333351135, -0.2957504987716675, -0.55436110496521, 0.06742240488529205, -0.41633492708206177, -0.8787872195243835, 0.042935069650411606, -0.07118896394968033, -0.16577839851379395, -0.03713836520910263, 0.5205667614936829, -0.5714016556739807, -0.41812819242477417, -0.07665988802909851, -0.04031209275126457, 0.5415675044059753, -0.10921928286552429, -0.28291642665863037, 0.10773581266403198, -0.22191131114959717, 0.30044806003570557, 0.14723818004131317, 0.14989392459392548, -0.03725367784500122, 0.5363216996192932, 0.36854541301727295, 0.006315446458756924, 0.12575672566890717, 0.3192998766899109, 0.672767698764801, -0.47451797127723694, -0.3406411111354828, -0.6956303715705872, 0.6073299050331116, -0.11576350033283234, -0.0209138635545969, 0.19351458549499512, 0.48335835337638855, 1.0414166450500488, -0.7373611927032471, 0.8387758731842041, -0.06724346429109573, -0.08436591178178787, -0.5875069499015808, 0.5843930244445801, -0.5893344879150391, -0.14078198373317719, -0.07994935661554337, -0.8995014429092407, -0.8934032320976257, 0.3857559859752655, -0.2617039084434509, -0.007553065661340952, 0.4844938814640045, 0.5604140758514404, -0.27560362219810486, -0.4905587434768677, 0.7289071083068848, -0.03687585890293121, 0.08569452166557312, 0.4318309724330902, 0.6570609211921692, -0.6838169693946838, 0.7801682949066162, -0.4557206332683563, -0.3926776051521301, -0.29319098591804504, -1.067461371421814, -0.8312069773674011, -0.29280799627304077, -0.9300495386123657, 0.12024800479412079, 0.26364925503730774, 0.5821334719657898, 1.0839650630950928, -1.1373732089996338, -0.09784384071826935, -0.31545379757881165, -0.18354499340057373, -0.4796428084373474, -0.165487602353096, 0.2766542434692383, -0.3611278235912323, -0.6419199109077454, -0.01655052788555622, 0.5417713522911072, 0.3021533489227295, -0.027609599754214287, -0.2845481038093567, 0.2893354892730713, 0.14784154295921326, 0.5115334987640381, 0.44784116744995117, -0.5883550047874451, -0.31903576850891113, -0.015201796777546406, 0.15781930088996887, 0.47848543524742126, 0.46148693561553955, -0.3524298369884491, 0.7597066760063171, 0.317994087934494, 0.28858068585395813, 0.5986599922180176, 0.11364491283893585, 0.31912705302238464, -0.9134879112243652, 0.022242482751607895, -0.050700705498456955, 0.38094261288642883, 0.5008305907249451, -0.19848835468292236, 0.6593770980834961, 0.3057718575000763, -0.18013618886470795, -0.9166709780693054, 0.3038654327392578, -0.923085629940033, -0.025129221379756927, 0.8578481078147888, -0.46818915009498596, -0.16071976721286774, 0.16477590799331665, -0.2156851440668106, 0.1066063717007637, -0.5558255910873413, 1.0023515224456787, 0.3395737111568451, -0.16202843189239502, -0.6790410876274109, -0.2564263939857483, 0.20751473307609558, 0.1957465410232544, -0.7671748995780945, -0.043884050101041794, 0.4888699948787689, 0.3081168532371521, 0.364852637052536, 0.547743558883667, -0.015215883031487465, 0.5352569222450256, 0.30890142917633057, 0.45957228541374207, -0.1866341382265091, -0.5320724248886108, -0.5568111538887024, 0.1105072870850563, 0.17362159490585327, -0.6698963046073914 ]
http://arxiv.org/abs/2402.02658v1
http://arxiv.org/pdf/2402.02658v1
Multi-step Problem Solving Through a Verifier: An Empirical Analysis on Model-induced Process Supervision
2024-02-05T00:57:51
2024-02-05T00:57:51
Zihan Wang, Yunxuan Li, Yuexin Wu, Liangchen Luo, Le Hou, Hongkun Yu, Jingbo Shang
cs.AI
cs.AI, cs.CL, cs.LG
Process supervision, using a trained verifier to evaluate the intermediate steps generated by reasoner, has demonstrated significant improvements in multi-step problem solving. In this paper, to avoid expensive human annotation effort on the verifier training data, we introduce Model-induced Process Supervision (MiPS), a novel method for automating data curation. MiPS annotates an intermediate step by sampling completions of this solution through the reasoning model, and obtaining an accuracy defined as the proportion of correct completions. Errors in the reasoner would cause MiPS to underestimate the accuracy of intermediate steps, therefore, we suggest and empirically show that verification focusing on high predicted scores of the verifier shall be preferred over that of low predicted scores, contrary to prior work. Our approach significantly improves the performance of PaLM 2 on math and coding tasks (accuracy +0.67% on GSM8K, +4.16% on MATH, +0.92% on MBPP compared with an output supervision trained verifier). Additionally, our study demonstrates that the verifier exhibits strong generalization ability across different reasoning models.
[ -0.3768457770347595, -0.7189634442329407, 0.7359977960586548, 0.185317724943161, -0.0760687068104744, 0.11334526538848877, 0.31107065081596375, -0.46422407031059265, -0.32925963401794434, 0.5413619875907898, -0.37855032086372375, -0.052187953144311905, -0.929387629032135, -0.01889779418706894, -0.26307985186576843, 0.9533840417861938, -0.4916619658470154, 0.2864922881126404, -0.2840223014354706, 0.34608781337738037, -0.27124711871147156, -0.5810419321060181, -0.6467617750167847, -0.6224392056465149, 0.1969996988773346, 0.6102237701416016, 0.5356345772743225, 0.6688703894615173, 0.7092887163162231, 0.3255882263183594, 0.10077860206365585, 0.4537391662597656, -0.05669477954506874, 0.1188613772392273, 0.019715052098035812, -0.7680188417434692, -0.47342321276664734, 0.21052852272987366, 0.19219745695590973, 0.41397154331207275, -0.22531655430793762, 0.4183402359485626, 0.11531423777341843, 0.6684353351593018, -0.8857073783874512, 0.08915539085865021, -0.42078983783721924, 0.04887473210692406, -0.040840212255716324, -0.474405437707901, -0.5809990763664246, -0.203565314412117, -0.21679799258708954, -0.4506233036518097, 0.5395402908325195, 0.027880892157554626, 0.790079653263092, 0.42245954275131226, -0.48991522192955017, -0.2415093332529068, -1.1808751821517944, 0.5926628708839417, -0.5423606038093567, -0.0032336122822016478, 0.47769778966903687, 0.753667950630188, -0.20939068496227264, -0.6063881516456604, -0.6522688269615173, 0.004119035787880421, -0.13192158937454224, 0.04133285954594612, 0.1459963321685791, 0.08608706295490265, 0.9329410791397095, 0.3245339095592499, -0.19027192890644073, -0.26545602083206177, -0.6036636233329773, -0.24121646583080292, 0.718237042427063, 0.09115927666425705, 0.19750387966632843, 0.0994429811835289, -0.4900248646736145, 0.01494616735726595, -0.5775131583213806, 0.41531145572662354, 0.34137633442878723, 0.007076677400618792, 0.06841964274644852, 0.637302815914154, -0.39188718795776367, 0.5882672071456909, 0.1715981662273407, -0.2970482409000397, 0.4283827841281891, -0.4442444145679474, -0.3250451385974884, -0.17688879370689392, 0.51973557472229, 0.29798656702041626, 0.3209339380264282, 0.07943099737167358, -0.2762707769870758, 0.17003759741783142, 0.43496638536453247, -0.886640727519989, -0.21015483140945435, 0.3852825164794922, -0.21133750677108765, -0.16030441224575043, 0.11416152119636536, -0.47467005252838135, -0.43030452728271484, -0.57558673620224, 0.4308255612850189, -0.32811009883880615, -0.14627918601036072, 0.00850688386708498, -0.11833915114402771, 0.24442662298679352, 0.719749927520752, -0.7323147654533386, 0.3274652063846588, 0.8542069792747498, 0.9821897745132446, 0.2944408357143402, -0.2317044585943222, -0.7371548414230347, 0.18663236498832703, -0.5490301251411438, 0.7390371561050415, -0.40717270970344543, -0.3656591475009918, -0.17117421329021454, -0.13982079923152924, -0.11534411460161209, -0.4160325229167938, 0.9337387084960938, -0.3211773633956909, -0.019910825416445732, -0.32147544622421265, -0.5406794548034668, -0.1277233213186264, 0.2950529456138611, -0.3538440763950348, 1.2949037551879883, -0.21649524569511414, -0.7469355463981628, 0.5273251533508301, -0.73538738489151, -0.12277477234601974, -0.1713891327381134, -0.35768356919288635, -0.5574467778205872, 0.04497893527150154, 0.44833633303642273, 0.5968131422996521, -0.21379686892032623, 0.2115224450826645, -0.44221678376197815, -0.3993385434150696, 0.10593091696500778, -0.2872582674026489, 0.6874735355377197, 0.08496781438589096, -0.2567918598651886, 0.11787842214107513, -0.7786173820495605, 0.127940371632576, 0.026216939091682434, -0.301212877035141, -0.19272403419017792, -0.024127721786499023, -0.29649266600608826, 0.6549632549285889, 0.05089877173304558, -0.8225457072257996, 0.36543986201286316, -0.2338457703590393, 0.1861502230167389, 0.5426883101463318, 0.19299927353858948, 0.22283776104450226, -0.4247044026851654, 0.3629775047302246, 0.2622559070587158, 0.32261693477630615, -0.39728254079818726, -0.6409380435943604, -0.8596703410148621, -0.04713809862732887, 0.1567852646112442, 0.7432032823562622, -0.6916022896766663, 0.17684563994407654, -0.04738641902804375, -0.8353357911109924, -0.3147999346256256, 0.4117586016654968, 0.5843366980552673, 0.7485750317573547, 0.44355252385139465, -0.1721973568201065, -0.3204821050167084, -0.8745088577270508, -0.18468569219112396, -0.091407410800457, -0.2685719132423401, 0.03798862174153328, 0.6028167009353638, -0.03843221068382263, 0.7751729488372803, -0.3716883957386017, -0.22983740270137787, 0.026354879140853882, 0.44648465514183044, 0.43596822023391724, 0.7771081924438477, 0.29980793595314026, -0.8482998609542847, -0.5162100195884705, -0.03632974997162819, -0.8445590138435364, -0.05188371241092682, -0.19696682691574097, -0.12323448807001114, 0.20878362655639648, 0.4475362300872803, -0.35559895634651184, 0.6801615357398987, 0.31682977080345154, -0.2565973103046417, 0.7417694926261902, -0.7696555256843567, 0.39849376678466797, -0.6700690388679504, 0.18123751878738403, 0.3835964500904083, -0.24311797320842743, -0.7106824517250061, -0.09764392673969269, 0.2806159257888794, 0.03583681955933571, -0.07167750597000122, -0.06892623752355576, -0.47971341013908386, 0.0743989571928978, -0.5222367644309998, -0.3121285140514374, -0.03744333237409592, 0.43308934569358826, 0.035765036940574646, 0.8324826955795288, 0.6230068206787109, -0.6424587965011597, 0.3609771430492401, 0.0028088917024433613, -0.2502764165401459, 0.4410257339477539, -0.8524389863014221, 0.24213643372058868, -0.10191592574119568, 0.23324938118457794, -1.1962920427322388, -0.08234827220439911, 0.44512394070625305, -0.430715948343277, 0.31821408867836, -0.4637870192527771, -0.8073069453239441, -0.5673034191131592, -0.13655489683151245, 0.04954928904771805, 0.33064544200897217, -0.47912564873695374, 0.8304387331008911, 0.11375360190868378, -0.14768041670322418, -0.6037642955780029, -0.5784666538238525, -0.10503750294446945, -0.18614152073860168, -0.6093630790710449, 0.22305747866630554, -0.015756290405988693, -0.09154725819826126, -0.5868784785270691, -0.4183518588542938, -0.28941982984542847, 0.23735152184963226, 0.709755539894104, 0.4474175274372101, 0.18096822500228882, -0.2666807770729065, 0.3514530658721924, -0.5825980305671692, 0.5236572623252869, 0.21246473491191864, 0.1424369215965271, 0.13058336079120636, -0.8104773759841919, -0.7123928070068359, 0.28882426023483276, 0.6621415019035339, -0.26668116450309753, 0.4511263072490692, 0.3996782600879669, -0.5030719637870789, 0.034580156207084656, -0.6006432771682739, -0.1710808128118515, -0.46302440762519836, -0.2621230185031891, -0.843061625957489, -0.3804522752761841, 0.4789019227027893, -0.5414514541625977, 0.3263651132583618, 0.12119486182928085, 0.3545597195625305, -0.2002611756324768, 1.440332293510437, 0.6114577651023865, -0.0828859880566597, 0.2152785360813141, -0.25083133578300476, 0.3259872496128082, -0.7403714656829834, -0.23743310570716858, -0.6247439980506897, -0.12985838949680328, -0.26792478561401367, -0.4111725986003876, 0.5168958902359009, 0.5335307717323303, -0.2396266907453537, 0.2954905331134796, -0.578732430934906, 0.3337511122226715, 0.6758953928947449, 0.27113771438598633, 0.397360235452652, -0.1784873902797699, -0.13273048400878906, 0.011670079082250595, -0.5066387057304382, -0.7570812702178955, 1.3407741785049438, 0.49548932909965515, 0.274502158164978, 0.09696175903081894, 0.7915313243865967, 0.34770476818084717, 0.38702231645584106, -0.3534358739852905, 0.16723565757274628, 0.4089770019054413, -0.6961408257484436, -0.2816365957260132, -0.1344907134771347, -0.24594557285308838, 0.4494743049144745, -0.10013435781002045, -1.0551021099090576, 0.1999950259923935, 0.7085615992546082, -0.44030502438545227, -0.012842521071434021, -0.7020681500434875, 0.7649289965629578, -0.15413914620876312, -0.7302894592285156, -0.3040769696235657, -0.5866797566413879, 0.6365769505500793, -0.1459585726261139, 0.446697860956192, -0.10755567997694016, 0.16604463756084442, 0.6931543946266174, -1.0042173862457275, 0.737716019153595, -0.7416584491729736, -0.28867271542549133, 0.27007269859313965, -0.04546569660305977, 0.8983544707298279, 0.12625251710414886, -0.14804407954216003, -0.12502336502075195, 0.1867285966873169, -0.3933570683002472, -0.8253138661384583, 0.3718228042125702, -0.4223777651786804, -0.7792266607284546, -0.5713642239570618, -0.15163160860538483, -0.2666151225566864, 0.00961638055741787, 0.18419331312179565, -0.021001407876610756, 0.507564127445221, -0.2499033361673355, 0.5924524068832397, 0.44997623562812805, 0.32124119997024536, 0.3661123216152191, -0.4049370586872101, -0.135703906416893, 0.5496779084205627, 0.22479602694511414, 0.13093383610248566, 0.0336061492562294, 0.05206843838095665, 0.11483396589756012, -0.5477061867713928, -0.7731119394302368, -0.024263860657811165, -0.591590166091919, -0.16670487821102142, -0.5103208422660828, -0.09114253520965576, -0.27875280380249023, -0.08188427239656448, -0.41530030965805054, -0.2176257222890854, 0.14098303020000458, -0.10036935657262802, 0.17155387997627258, 0.3767470419406891, -0.21851246058940887, 0.5082627534866333, -0.609652042388916, 0.49587589502334595, 0.0749586820602417, 0.14437326788902283, -0.20968204736709595, -0.5439432263374329, -0.2939372658729553, 0.146558940410614, -0.461505264043808, -0.8683861494064331, 0.05937100946903229, -0.04884470999240875, 0.5150647163391113, 0.69208824634552, -0.07285609096288681, 0.7805587649345398, -0.43113279342651367, 0.42752936482429504, 0.1206418052315712, -1.088482141494751, 0.8766103386878967, -0.10967081040143967, -0.017727749422192574, 0.512934148311615, 0.506372332572937, -0.18645721673965454, -0.34001782536506653, -0.5625438690185547, -0.6965116262435913, 0.7396737933158875, 0.20774585008621216, -0.08275114744901657, 0.4970000386238098, 0.5646526217460632, -0.024099424481391907, -0.0661306381225586, -0.31900453567504883, -0.4086668789386749, -0.05669943243265152, 0.4555947780609131, 0.021025313064455986, -0.49905768036842346, -0.12004221230745316, -0.3239143490791321, 1.0456395149230957, -0.1509145051240921, 0.05518363043665886, 0.34276288747787476, -0.025767724961042404, -0.24744905531406403, 0.21381844580173492, 0.34669995307922363, 0.6696078181266785, -0.08714452385902405, 0.01549579668790102, 0.06645523756742477, -0.27072635293006897, 0.33273255825042725, 0.21835719048976898, -0.37625136971473694, -0.009214219637215137, 0.2859354317188263, 0.42590010166168213, -0.1033690795302391, -0.20920775830745697, 0.5105077624320984, 0.06928927451372147, -0.3247518241405487, -0.39675337076187134, 0.4344223141670227, -0.0983428955078125, 0.2841534912586212, 0.5380091071128845, 0.23411233723163605, 0.5055065751075745, -0.08021150529384613, 0.13781490921974182, 0.19391369819641113, -0.12038812041282654, -0.06549130380153656, 0.6737497448921204, 0.044431380927562714, -0.24736887216567993, 0.5155297517776489, -0.1032319888472557, -0.4156489968299866, 0.6879433989524841, 0.5349993705749512, 0.3182174563407898, -0.5064669847488403, 0.027752194553613663, 0.7076647877693176, 0.3052034378051758, -0.26524561643600464, 0.6536946296691895, -0.536196768283844, -0.7409936785697937, -0.7319309711456299, -0.3831378221511841, -0.7984556555747986, -0.1449759304523468, -0.8208869695663452, 0.23457132279872894, -0.6580994725227356, -0.22868667542934418, 0.33935344219207764, -0.1433836817741394, -0.5178412199020386, 0.4071626365184784, 0.18382862210273743, 1.0484373569488525, -1.095516324043274, 1.0527862310409546, 0.579750120639801, -0.4408363401889801, -0.8557534217834473, -0.20598885416984558, 0.1727532595396042, -0.5062638521194458, 0.6252747178077698, 0.42248526215553284, -0.19210146367549896, -0.10794268548488617, -0.398780882358551, -0.7713196277618408, 1.1139590740203857, 0.2281905710697174, -0.7778761982917786, 0.22227995097637177, 0.15572354197502136, 0.3842123746871948, -0.07247098535299301, 0.5390095114707947, 0.5671166181564331, 0.5296074748039246, 0.12375748157501221, -0.9291322827339172, 0.010502738878130913, -0.6061947345733643, -0.04069092497229576, 0.27938494086265564, -0.11383450031280518, 0.5534119009971619, -0.5303018093109131, -0.036935605108737946, -0.08637577295303345, 0.7505747675895691, 0.5576143264770508, 0.6004881262779236, 0.5048123598098755, 0.411277711391449, 0.7803886532783508, -0.008684626780450344, 0.8675376772880554, -0.523431122303009, 0.34043145179748535, 1.439730167388916, -0.42035993933677673, 0.724341630935669, 0.7620833516120911, -0.4497666358947754, 0.631004810333252, 0.4609622657299042, -0.006230887491255999, 0.11633338779211044, 0.3837079107761383, -0.3008958399295807, -0.4519352614879608, 0.16164518892765045, -0.1135241836309433, 0.45911598205566406, 0.29118841886520386, -0.5875099897384644, -0.26801928877830505, 0.036902401596307755, 0.059038739651441574, 0.1654386669397354, -0.19939373433589935, 0.459288626909256, -0.19373208284378052, -0.7210522890090942, 0.11694613844156265, 0.22725291550159454, 0.47645148634910583, -0.4895239472389221, -0.2160436511039734, 0.10562431812286377, 0.33220717310905457, -0.37593862414360046, -0.6140023469924927, 0.4603154957294464, 0.10293729603290558, -0.25905874371528625, -0.4209764897823334, 0.8433462381362915, 0.03599623218178749, -0.5874974131584167, 0.14171625673770905, 0.6112940311431885, 0.15829798579216003, -0.30990853905677795, -0.5283511281013489, -0.16560764610767365, -0.2202884405851364, -0.4692850112915039, 0.03042946569621563, 0.28100183606147766, -0.11108488589525223, 0.8473063707351685, 0.8086018562316895, -0.0839972272515297, 0.12113012373447418, -0.06677393615245819, 0.695317804813385, -0.37656137347221375, -0.35931864380836487, -1.0863900184631348, 0.6865721940994263, -0.44988322257995605, -0.3019174337387085, 0.8335242867469788, 0.8328125476837158, 0.9355483651161194, 0.028539979830384254, 1.0392882823944092, -0.046774230897426605, 0.5833640098571777, -0.4368095397949219, 0.3473255932331085, -0.08517603576183319, 0.2411724478006363, -0.21996045112609863, -0.5790130496025085, -0.27580493688583374, 0.5965247750282288, -0.6996253132820129, -0.11309389770030975, 0.4308733642101288, 0.8723888397216797, -0.23324230313301086, 0.14696945250034332, 0.19033877551555634, -0.2685190439224243, 0.3988429605960846, 0.5867102146148682, 0.6139784455299377, -0.5629376769065857, 0.09813503175973892, -0.8049959540367126, -0.555717408657074, -0.05748739838600159, -0.8350568413734436, -0.6210815906524658, -0.4544603228569031, -0.5338833928108215, -0.3136100172996521, -0.09440595656633377, 0.7189649343490601, 0.6885397434234619, -0.7846029996871948, -0.16865374147891998, -0.3768499195575714, -0.10325630754232407, -0.515532374382019, -0.1208338513970375, 0.1126287579536438, -0.42614465951919556, -0.56770259141922, 0.3056838810443878, 0.1883625090122223, -0.008413223549723625, -0.2258797585964203, -0.1479879915714264, -0.08015275001525879, -0.07126369327306747, 0.35675397515296936, 0.27160805463790894, -0.6600606441497803, -0.15719012916088104, -0.5091904401779175, -0.059612762182950974, 0.20542646944522858, 1.028059959411621, -0.7310522198677063, 0.44800275564193726, 0.4556630551815033, 0.37765219807624817, 0.6603375673294067, 0.05219373479485512, 0.5815437436103821, -0.20590625703334808, -0.34076517820358276, -0.2274954915046692, 0.7778828144073486, -0.009863041341304779, -0.557212233543396, 0.6199564337730408, 0.1394319385290146, -0.6288806796073914, -0.7631332278251648, 0.2274700105190277, -0.7647342681884766, 0.14966942369937897, 0.724471390247345, -0.6238035559654236, -0.19678063690662384, -0.19117321074008942, -0.4343195855617523, 0.4729297161102295, -0.2917279601097107, 0.927626371383667, 0.5967002511024475, -0.6109016537666321, -0.2681150734424591, -0.5625688433647156, 0.32067298889160156, 0.42020270228385925, -1.010280728340149, 0.2828570008277893, 0.5170350670814514, 0.282987505197525, 0.5403391718864441, 0.5964288115501404, -0.03949018195271492, 0.4758189022541046, 0.08398032933473587, 0.07535857707262039, -0.4918074905872345, -0.3969310522079468, -0.23098129034042358, 0.5271399617195129, 0.14009542763233185, -0.4930919408798218 ]
http://arxiv.org/abs/2402.02656v1
http://arxiv.org/pdf/2402.02656v1
RACER: An LLM-powered Methodology for Scalable Analysis of Semi-structured Mental Health Interviews
2024-02-05T00:56:30
2024-02-05T00:56:30
Satpreet Harcharan Singh, Kevin Jiang, Kanchan Bhasin, Ashutosh Sabharwal, Nidal Moukaddam, Ankit B Patel
cs.CL
cs.CL, q-bio.QM
Semi-structured interviews (SSIs) are a commonly employed data-collection method in healthcare research, offering in-depth qualitative insights into subject experiences. Despite their value, the manual analysis of SSIs is notoriously time-consuming and labor-intensive, in part due to the difficulty of extracting and categorizing emotional responses, and challenges in scaling human evaluation for large populations. In this study, we develop RACER, a Large Language Model (LLM) based expert-guided automated pipeline that efficiently converts raw interview transcripts into insightful domain-relevant themes and sub-themes. We used RACER to analyze SSIs conducted with 93 healthcare professionals and trainees to assess the broad personal and professional mental health impacts of the COVID-19 crisis. RACER achieves moderately high agreement with two human evaluators (72%), which approaches the human inter-rater agreement (77%). Interestingly, LLMs and humans struggle with similar content involving nuanced emotional, ambivalent/dialectical, and psychological statements. Our study highlights the opportunities and challenges in using LLMs to improve research efficiency and opens new avenues for scalable analysis of SSIs in healthcare research.
[ -0.32425615191459656, -0.823974072933197, 0.7397763133049011, 0.2629704773426056, -0.03346037119626999, 0.49191007018089294, -0.3212108314037323, -0.4368469715118408, 0.3311883211135864, -0.05683362856507301, -0.9269834756851196, -0.42552369832992554, -0.46926143765449524, 0.26823708415031433, -0.16393227875232697, 1.178268313407898, 0.10785876214504242, 0.2945387065410614, -0.24011555314064026, -0.006297308020293713, -0.18613144755363464, -0.5503906011581421, -0.8691295385360718, -0.1680910438299179, 0.5788066387176514, 0.29269659519195557, 0.5608375072479248, 0.1365649551153183, 0.643328845500946, 0.21742181479930878, -0.06320676952600479, -0.039495743811130524, -0.8791866302490234, 0.39000624418258667, -0.05838058516383171, -0.09900668263435364, -0.6231858134269714, 0.09337668865919113, 0.2807316780090332, 0.6299523115158081, -0.5765154957771301, 0.6738196611404419, -0.23999536037445068, 0.14657030999660492, -0.6872523427009583, 0.13236939907073975, -0.3604459762573242, 0.1373792290687561, -0.40592268109321594, -0.43693098425865173, -0.34101662039756775, -0.005842178128659725, -0.34755510091781616, -0.32869040966033936, 0.22828303277492523, -0.022573864087462425, 0.4013483226299286, 0.5962240695953369, -0.3761550188064575, 0.060028523206710815, -0.9133077263832092, 0.5879087448120117, -0.7650832533836365, 0.02689925767481327, -0.018937956541776657, 0.4532560706138611, -0.2539155185222626, -0.5837780833244324, -0.5120575428009033, 0.21957077085971832, 0.13683170080184937, 0.24447007477283478, -0.25611814856529236, 0.20339606702327728, 0.42926469445228577, 0.2665085792541504, -0.5606458783149719, 0.4417648911476135, -0.3779691159725189, -0.058271851390600204, 1.239861011505127, 1.1478415727615356, 0.5814018249511719, 0.008052730932831764, 0.05554347485303879, 0.2533322274684906, -0.24402865767478943, 0.13499613106250763, -0.2821125090122223, 0.17545799911022186, -0.3114204406738281, 0.6460846066474915, -0.19446556270122528, 0.5661192536354065, 0.09843714535236359, -0.4383719265460968, -0.030513791367411613, -0.16914309561252594, -0.12320562452077866, 0.06774856895208359, 1.0393879413604736, 0.5799495577812195, -0.07319444417953491, -0.4266008138656616, 0.0006783152348361909, 0.09423436969518661, 0.5735366344451904, -0.8667377233505249, -0.04638448730111122, 0.49638471007347107, -0.27508068084716797, -0.14164762198925018, -0.22462382912635803, -1.1711879968643188, -0.6338356733322144, -0.20166629552841187, -0.00788048468530178, -0.12717421352863312, -0.23166808485984802, 0.25966158509254456, -0.1340932548046112, 0.3172360956668854, 0.22681160271167755, -0.4662383198738098, 0.1811738908290863, 0.7429797649383545, 0.8069383502006531, -0.2812953591346741, 0.21592697501182556, -0.8194994330406189, 0.2597194314002991, -0.1883390098810196, 0.6813185214996338, -0.711979329586029, -0.5575826168060303, -0.06017126142978668, -0.29091885685920715, -0.2755964398384094, -0.3578490614891052, 0.38618040084838867, -0.2782460153102875, 0.1438182294368744, -0.1815132051706314, -0.45984795689582825, 0.34057071805000305, 0.26430168747901917, -0.16756649315357208, 1.1413249969482422, 0.2026919722557068, -0.9766398668289185, 0.1745654046535492, -0.4556090533733368, -0.6198760867118835, 0.3671090006828308, -0.6914036870002747, -0.5077940225601196, 0.46105316281318665, 0.15260206162929535, 0.6159124970436096, -0.5871514678001404, 0.6482239961624146, -0.7374380230903625, -0.43366679549217224, 0.06197889894247055, 0.21727800369262695, 0.7833356857299805, 0.04524398595094681, -0.3532901108264923, 0.14231352508068085, -0.8430584073066711, 0.07667933404445648, -0.02911633811891079, -0.11780495941638947, -0.4263421297073364, 0.04096534475684166, 0.2023838311433792, 0.4654638171195984, -0.15404370427131653, -0.6951737999916077, -0.04870344325900078, -0.17229442298412323, 0.4730985760688782, 0.5122938752174377, 0.17807026207447052, -0.0059556555934250355, -0.11015377938747406, 1.142172932624817, -0.2707952558994293, 0.22396419942378998, 0.2713107168674469, -0.48402145504951477, -0.2887660264968872, -0.8058733940124512, -0.3537273406982422, 0.6146491765975952, -0.6276203989982605, 0.31163308024406433, -0.3766796588897705, -0.5962197184562683, -0.6737446188926697, -0.17290431261062622, 0.24696125090122223, 0.7297302484512329, 0.17209552228450775, -0.2690518796443939, -0.5791799426078796, -0.8156033754348755, -0.432348370552063, -0.150108203291893, -0.08388251811265945, 0.2590954005718231, 0.5130653977394104, -0.3417302370071411, 0.9933937788009644, -0.5478574633598328, -0.006147413048893213, -0.45898357033729553, 0.47221559286117554, 0.015029381029307842, 0.15593522787094116, 0.30582016706466675, -0.1357485055923462, -0.41598203778266907, -0.2111683487892151, -0.9528636336326599, -0.2986212968826294, -0.04512209817767143, -0.13251210749149323, -0.4251602292060852, 0.3640791177749634, -0.6568762063980103, 0.4297250509262085, 0.3094410300254822, -0.38089871406555176, 0.5430788397789001, 0.017633037641644478, 0.055480871349573135, -1.0528645515441895, 0.24477225542068481, 0.215584859251976, -0.09694726020097733, -0.6102003455162048, 0.013677244074642658, -0.36410966515541077, -0.30969953536987305, -0.1384812742471695, 0.41320523619651794, -0.30001258850097656, 0.08455663174390793, 0.011709733866155148, -0.18283917009830475, -0.21223360300064087, 0.17793193459510803, -0.06238725036382675, 1.0534741878509521, 0.2691318690776825, -0.1455874741077423, 0.3559111952781677, 0.2838309705257416, -0.37180355191230774, 0.8549814224243164, -0.6139113306999207, 0.502433717250824, -0.37917110323905945, 0.3233812749385834, -0.7744652032852173, -0.3021931052207947, -0.07891907542943954, -0.24601727724075317, 0.3087172210216522, 0.2698870599269867, -0.21069206297397614, -0.4088651239871979, -0.25656116008758545, 0.4080694317817688, 0.32885614037513733, 0.23433421552181244, 0.40103602409362793, 0.9431578516960144, -0.6247677206993103, -0.17011211812496185, -0.40309998393058777, 0.4625384509563446, -0.5010767579078674, -0.5980504751205444, 0.15314213931560516, -0.19075864553451538, -0.7201680541038513, -0.4098365306854248, -0.14969033002853394, -0.29684609174728394, 0.22422091662883759, 0.1698167771100998, 0.42534956336021423, -0.14221951365470886, -0.04221651703119278, 0.10711802542209625, -0.0764247253537178, 0.48219117522239685, 0.2058693766593933, 0.15793025493621826, -0.13023337721824646, -0.03189070522785187, -0.6486205458641052, 0.7066541910171509, 0.7510119080543518, -0.28551825881004333, 0.8262513875961304, 0.6532025933265686, -0.26652470231056213, -0.08559457212686539, -0.48747000098228455, -0.14829117059707642, -0.3205447494983673, 0.5988474488258362, -0.17825083434581757, -1.0747103691101074, 0.34198668599128723, -0.09804336726665497, -0.14154447615146637, 0.31973129510879517, 0.9000338315963745, -0.45601287484169006, 1.1021368503570557, 0.6141065359115601, -0.3782345652580261, 0.08111049979925156, -0.18340563774108887, 0.3350578546524048, -0.6797173023223877, -0.589330792427063, -0.7407336235046387, -0.44641372561454773, -0.35382696986198425, -0.5030253529548645, 1.0627479553222656, -0.5503408908843994, -0.362633615732193, -0.37168967723846436, -0.39610886573791504, -0.0162587258964777, 0.02225577086210251, 0.36705270409584045, 0.25631752610206604, -0.3817431330680847, 0.21757397055625916, -0.3792669475078583, -0.837901771068573, -0.21226242184638977, 0.759774386882782, 0.33908548951148987, 0.8754702210426331, -0.021504852920770645, 0.47710120677948, 0.4243130683898926, 0.48271432518959045, -0.8050426244735718, 0.5233214497566223, 0.21008460223674774, -0.860264241695404, -0.2885909676551819, -0.43801814317703247, -0.5600422620773315, -0.08553028851747513, -0.26729485392570496, -0.776393473148346, 0.11774078756570816, -0.2568739950656891, -0.9117797613143921, 0.13832345604896545, -0.24705344438552856, 0.6914588809013367, -0.3566437363624573, -0.5071707963943481, -0.2497127652168274, -0.8044739961624146, 0.5153796076774597, -0.29128527641296387, 0.3803563416004181, -0.37784111499786377, -0.055626142770051956, 0.9465156197547913, -0.5946904420852661, 0.7866036295890808, -0.09704388678073883, 0.08019275218248367, -0.06358950585126877, -0.09608417749404907, 0.3704158365726471, 0.32353708148002625, -0.19655168056488037, 0.102961964905262, 0.2863929569721222, -0.4294731616973877, -0.8542571663856506, 0.1729525625705719, -0.7610883116722107, -0.6206991076469421, -0.5593427419662476, -0.7509632706642151, -0.6900806427001953, -0.09136083722114563, 0.10569814592599869, 0.33507928252220154, -0.22432662546634674, -0.17272064089775085, 0.6272934675216675, -0.2917627990245819, 0.054881878197193146, 0.7320391535758972, 0.20107460021972656, -0.26578289270401, 0.3714834451675415, -0.14605993032455444, -0.19393093883991241, 0.1521175503730774, 0.13665913045406342, 0.0640011876821518, -0.5657616257667542, -0.2540973126888275, 0.5126131176948547, -0.05814091116189957, -0.1083335354924202, -0.6170243620872498, -0.20135661959648132, -0.2986229658126831, 0.0015899374848231673, -0.540217936038971, -0.21310684084892273, -0.09344609081745148, -0.14577379822731018, 0.3362753987312317, 0.725810170173645, 0.19987447559833527, 0.2219357043504715, -0.6598833799362183, 0.1756593883037567, 0.20510907471179962, 0.18525183200836182, -0.12090002000331879, -0.4361071288585663, -0.6009369492530823, -0.2089838832616806, -0.05940984934568405, -1.0213245153427124, 0.5667018890380859, 0.2070200890302658, 0.38628238439559937, 0.48612844944000244, 0.48999813199043274, 1.22968327999115, -0.4589787721633911, 0.65177321434021, 0.3192638158798218, -0.6049604415893555, 0.5223853588104248, -0.5136229991912842, -0.02895902842283249, 1.0852099657058716, 0.3973050117492676, -0.50346440076828, -0.6176706552505493, -0.4432864487171173, -0.678247332572937, 0.5976626873016357, 0.17097266018390656, -0.15944576263427734, -0.07721665501594543, 0.6015034914016724, -0.11763310432434082, 0.22484692931175232, 0.10311903804540634, -0.10525573045015335, 0.4113313555717468, -0.5339956283569336, -0.4569689631462097, -0.3795672655105591, -0.5205328464508057, -0.6086134314537048, 0.4153045117855072, 0.0053032864816486835, 0.31435438990592957, 0.18153926730155945, 0.20400777459144592, -0.1488385945558548, 0.43066641688346863, 0.2906875014305115, 0.4575601816177368, -0.3980865180492401, 0.24999678134918213, 0.132241889834404, -0.55168616771698, 0.29704728722572327, 0.21338823437690735, -0.022283222526311874, -0.035397596657276154, 0.503589928150177, 0.5902965068817139, 0.2614383101463318, -1.0627307891845703, 0.43485426902770996, -0.16674774885177612, 0.3159716725349426, -0.28181540966033936, 0.045904818922281265, 0.0516253225505352, 0.40105438232421875, -0.0012557955924421549, -0.28991588950157166, 0.4259180724620819, -0.582493782043457, 0.13054479658603668, 0.5295912623405457, -0.5136700868606567, -0.6273855566978455, 0.9006447792053223, 0.307612806558609, -0.37617290019989014, 0.9377215504646301, 0.06000693514943123, -0.1485615223646164, 0.2869308292865753, 0.29111090302467346, 0.9336331486701965, -0.2243427336215973, 0.3342263102531433, 0.1827082633972168, 0.16537730395793915, 0.022594310343265533, 0.420139342546463, 0.05941858887672424, -0.38807106018066406, -0.5586016178131104, -0.4454508125782013, -0.5102589130401611, 0.14936743676662445, -1.3603118658065796, -0.019921904429793358, -0.32623401284217834, -0.6633386611938477, 0.0018701755907386541, -0.053603142499923706, -0.7671839594841003, 0.2690017521381378, 0.35497424006462097, 0.9593130350112915, -1.1084730625152588, 0.641627848148346, 1.0463536977767944, -0.3484724164009094, -0.9367586970329285, -0.029877595603466034, 0.3702174723148346, -0.7849331498146057, 0.27416741847991943, -0.10898346453905106, -0.059318266808986664, -0.05239485204219818, -0.47153908014297485, -0.3779127299785614, 1.1494601964950562, 0.6904971599578857, -0.46513837575912476, -0.3922097682952881, 0.20982463657855988, 0.8594174385070801, -0.49129271507263184, 0.6409544348716736, 0.7385907769203186, 0.26360946893692017, 0.14078888297080994, -0.9694060683250427, 0.04220049828290939, -0.6421681642532349, 0.03601427748799324, -0.2166270762681961, -0.7850004434585571, 0.32712551951408386, -0.33819833397865295, -0.06901107728481293, -0.23533004522323608, 0.44451096653938293, 0.5025507807731628, 0.8061907887458801, 0.23812328279018402, 0.6191812753677368, 1.2013146877288818, 0.32012027502059937, 1.1490085124969482, -0.3020268678665161, 0.5266691446304321, 1.3020490407943726, -0.49173492193222046, 0.6978954672813416, 0.4749387502670288, -0.5261252522468567, 0.5947482585906982, 0.7686918377876282, 0.3068273663520813, 0.06215842068195343, 0.22997987270355225, -0.5803813934326172, -0.6800342202186584, -0.21155758202075958, -0.25165876746177673, 0.5016416311264038, 0.22880366444587708, -0.11871083825826645, -0.21643337607383728, 0.09258395433425903, 0.3577841520309448, -0.15913274884223938, -0.163286030292511, 0.6069515943527222, 0.2689094543457031, -0.392477422952652, 0.33249983191490173, 0.022545861080288887, 0.26064422726631165, -0.4004099667072296, 0.41721248626708984, -0.44226011633872986, -0.04032949358224869, -0.22327359020709991, -0.4199715554714203, 0.5393237471580505, 0.4535309076309204, -0.2950376272201538, -0.2687460780143738, 0.4244258999824524, -0.1414472609758377, -0.756284236907959, 0.18965214490890503, 0.7542600631713867, 0.3341033160686493, -0.09479302912950516, -0.6581836938858032, 0.25417205691337585, -0.3509784936904907, -0.28359660506248474, 0.4225653409957886, 0.36788055300712585, 0.03525073826313019, 0.6593979001045227, 0.08483441919088364, 0.39461928606033325, 0.025211604312062263, 0.11890510469675064, 0.8181479573249817, -0.8618839979171753, -0.46142998337745667, -0.9147056937217712, 0.6643010973930359, -0.22100089490413666, -0.10163915157318115, 0.7185645699501038, 0.9179966449737549, 0.20797395706176758, 0.062211040407419205, 0.942195475101471, -0.043261073529720306, 0.5056949853897095, -0.14900103211402893, 0.6739987134933472, -0.5877739191055298, 0.17313678562641144, -0.28187260031700134, -0.06120571494102478, -0.219862163066864, 0.33265602588653564, -0.4910542666912079, -0.12208478152751923, 0.5346400737762451, 0.7077557444572449, 0.27191975712776184, 0.05134136602282524, 0.0911446362733841, 0.5330628156661987, 0.42206037044525146, 0.742273211479187, 0.8680224418640137, 0.07791829854249954, -0.012709463015198708, 0.12029554694890976, -0.49226731061935425, 0.14542512595653534, -0.5377729535102844, -0.9022107720375061, -0.22301512956619263, -0.6199179291725159, -0.3542171120643616, 0.2819920480251312, 0.7943877577781677, 0.7334924936294556, -0.5872839689254761, -0.33531126379966736, 0.4098398983478546, -0.08348938822746277, -0.21276645362377167, -0.20150376856327057, 0.13379141688346863, -0.20107057690620422, -0.5726249814033508, 0.48366376757621765, 0.7364426851272583, -0.5839160680770874, -0.3944670259952545, -0.022540975362062454, 0.10130900144577026, 0.07964818924665451, 0.41801539063453674, 0.17056944966316223, -0.36069273948669434, -0.028162991628050804, 0.005700156558305025, -0.15717916190624237, 0.09980626404285431, 1.0710536241531372, -0.7429504990577698, 0.6216853260993958, 0.15079781413078308, 0.7781851291656494, 0.4926513135433197, 0.103196881711483, 0.6445014476776123, -0.33258241415023804, -0.06415877491235733, 0.3125373125076294, 0.016623834148049355, 0.06304780393838882, -0.5650147795677185, 0.43879979848861694, 0.6322073936462402, -0.40895509719848633, -1.0992846488952637, -0.14550112187862396, -1.121264934539795, 0.03800320625305176, 1.1888763904571533, -0.14182385802268982, -0.12097473442554474, -0.3496300280094147, 0.13603579998016357, 0.36801114678382874, -0.18509048223495483, 1.0707145929336548, 0.45905908942222595, -0.6733913421630859, -0.22730235755443573, -0.7764155268669128, 0.3418407440185547, 0.10231208801269531, -0.9858229160308838, -0.23174676299095154, 0.3738078474998474, 0.4591243863105774, -0.42343419790267944, 1.1390893459320068, -0.009082801640033722, 0.04911156743764877, -0.2321568727493286, 0.08911573141813278, -0.12390206009149551, -0.07140380144119263, -0.34430280327796936, 0.2723686397075653, -0.24603386223316193, 0.19751086831092834 ]
http://arxiv.org/abs/2402.02655v2
http://arxiv.org/pdf/2402.02655v2
VlogQA: Task, Dataset, and Baseline Models for Vietnamese Spoken-Based Machine Reading Comprehension
2024-02-05T00:54:40
2024-04-06T04:29:58
Thinh Phuoc Ngo, Khoa Tran Anh Dang, Son T. Luu, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen
cs.CL
cs.CL
This paper presents the development process of a Vietnamese spoken language corpus for machine reading comprehension (MRC) tasks and provides insights into the challenges and opportunities associated with using real-world data for machine reading comprehension tasks. The existing MRC corpora in Vietnamese mainly focus on formal written documents such as Wikipedia articles, online newspapers, or textbooks. In contrast, the VlogQA consists of 10,076 question-answer pairs based on 1,230 transcript documents sourced from YouTube -- an extensive source of user-uploaded content, covering the topics of food and travel. By capturing the spoken language of native Vietnamese speakers in natural settings, an obscure corner overlooked in Vietnamese research, the corpus provides a valuable resource for future research in reading comprehension tasks for the Vietnamese language. Regarding performance evaluation, our deep-learning models achieved the highest F1 score of 75.34% on the test set, indicating significant progress in machine reading comprehension for Vietnamese spoken language data. In terms of EM, the highest score we accomplished is 53.97%, which reflects the challenge in processing spoken-based content and highlights the need for further improvement.
[ -0.32882553339004517, -0.9035417437553406, 0.4486887753009796, -0.2740779519081116, -0.2713756263256073, 0.19286859035491943, 0.06461962312459946, -0.2567014694213867, -0.12177423387765884, 0.9676167964935303, -0.587027370929718, -0.7777788639068604, -0.3867347538471222, 0.24376079440116882, -0.4137313961982727, 0.7855551242828369, -0.09382976591587067, -0.16615653038024902, -0.36679595708847046, -0.19408667087554932, -0.6243528723716736, -0.6514741778373718, -0.3861408829689026, 0.008468110114336014, 0.5292222499847412, 0.8064752817153931, 0.4895218312740326, 0.7227802276611328, 0.31998300552368164, 0.22387798130512238, -0.038374122232198715, 0.343196302652359, -0.6708143353462219, 0.20679570734500885, 0.0227312371134758, -0.5400782823562622, -0.2708348333835602, -0.09875617176294327, 0.7125223278999329, 0.4760611355304718, -0.105307437479496, 0.4283156096935272, 0.052987925708293915, 0.6809551119804382, -0.49079757928848267, 0.1557765156030655, -0.6098834872245789, -0.06808322668075562, 0.19409213960170746, -0.17015832662582397, -0.551242470741272, 0.0231013186275959, 0.14756828546524048, -0.685464084148407, 0.19611942768096924, -0.2123095840215683, 1.0406454801559448, 0.5478626489639282, -0.7649344205856323, -0.28779473900794983, -0.5059442520141602, 0.8459542989730835, -0.46771061420440674, 0.4683980643749237, 0.9332051277160645, 0.3161795735359192, 0.5159246325492859, -0.7603570222854614, -0.672961413860321, -0.46813395619392395, -0.11878164857625961, 0.3005366027355194, -0.09885041415691376, -0.18103092908859253, 0.1789916306734085, 0.23008954524993896, -1.147971510887146, -0.02203020453453064, -0.8013365268707275, 0.00280354218557477, 0.44905635714530945, 0.24780800938606262, -0.08595994114875793, -0.5575376152992249, -0.4093194007873535, -0.05767003446817398, -0.4128154218196869, -0.03742027282714844, 0.14736101031303406, 0.19744522869586945, -0.03065536543726921, 0.8380663394927979, -0.5625802278518677, 1.1149263381958008, -0.5776805877685547, -0.20865370333194733, 0.41452428698539734, -0.6764379739761353, -0.5595483183860779, -0.16648806631565094, 0.2951233983039856, 0.37049081921577454, 0.5129877328872681, 0.34733158349990845, -0.20011670887470245, -0.19774867594242096, 0.5707019567489624, -0.34989669919013977, -0.1503814458847046, 0.5353929400444031, -0.450145423412323, -0.12989991903305054, 0.07553280889987946, -0.47930195927619934, 0.029269490391016006, -0.8161864876747131, 0.4033735394477844, -0.4224046468734741, -0.2661658823490143, 0.1380079686641693, -0.24856466054916382, 0.5056349635124207, 0.1879701018333435, -0.5219125151634216, 0.15571558475494385, 0.8617242574691772, 0.9622991681098938, -0.12772898375988007, -0.19917109608650208, -0.7464141845703125, 0.045539263635873795, -0.028289463371038437, 0.8498749136924744, -0.34538599848747253, -0.4823465645313263, 0.32592111825942993, 0.13941174745559692, -0.338818222284317, -0.7051560282707214, 0.6868634819984436, -0.5022459626197815, 0.27195531129837036, 0.03963371738791466, -0.5985212922096252, -0.34614846110343933, 0.37630704045295715, -0.766819417476654, 1.0962116718292236, 0.38526585698127747, -0.6549449563026428, 0.1563078761100769, -0.11730717122554779, -0.4095534682273865, 0.15914402902126312, 0.2096986472606659, -0.16079804301261902, -0.2625633180141449, 0.40490972995758057, 0.5307389497756958, -0.001685085124336183, 0.061221178621053696, 0.07280726730823517, -0.3861175775527954, 0.27878713607788086, -0.4643988013267517, 1.0001899003982544, 0.62529456615448, -0.1381632387638092, 0.21878913044929504, -0.7252483367919922, 0.37997594475746155, -0.19710281491279602, -0.3032101094722748, -0.2570619583129883, -0.29196518659591675, 0.1533229649066925, 0.14519578218460083, 0.15677881240844727, -0.024033907800912857, 0.03694179281592369, -0.010896964929997921, 0.3627574145793915, 0.39801573753356934, 0.05813620612025261, 0.13582497835159302, -0.2246093451976776, 0.763089656829834, -0.05267871916294098, -0.0009565261425450444, -0.6308314800262451, -0.633704423904419, -0.8299586772918701, -0.4673403799533844, 0.4845573604106903, 1.238179326057434, -0.8616024851799011, 0.35661712288856506, -0.09885496646165848, -0.6339238882064819, -1.0662733316421509, 0.1406036615371704, 0.48549291491508484, 0.9954434633255005, 0.47055530548095703, -0.008771463297307491, -0.5224305391311646, -0.7956932783126831, -0.059813156723976135, -0.47224703431129456, -0.40625202655792236, 0.35940611362457275, 0.5471516847610474, -0.40841081738471985, 0.4953638017177582, -0.6642653942108154, -0.234610915184021, -0.34503284096717834, -0.013877062126994133, 0.275199830532074, 0.26042577624320984, 0.15072640776634216, -1.0012835264205933, -0.5128389000892639, 0.08741670846939087, -0.9354093670845032, -0.1163577139377594, -0.012770590372383595, -0.13749916851520538, 0.3282083570957184, 0.8534604907035828, -0.5230294466018677, 0.309408038854599, 0.6952605247497559, -0.42803314328193665, 0.7082298994064331, -0.11373666673898697, 0.2873622179031372, -0.9660730957984924, 0.17224723100662231, 0.036899883300065994, -0.47620755434036255, -0.5737839341163635, 0.2908872067928314, 0.038638100028038025, 0.010873248800635338, -0.6306917071342468, 0.48770442605018616, -0.1424262523651123, 0.18671250343322754, -0.12280062586069107, 0.3343695104122162, 0.009916090406477451, 0.2477836012840271, 0.2819657325744629, 0.6447515487670898, 0.47322967648506165, -0.7790255546569824, 0.38805055618286133, 0.27305009961128235, -0.35166269540786743, 0.7798335552215576, -0.8031110167503357, 0.08469462394714355, -0.1417446881532669, 0.0631459653377533, -1.0585567951202393, -0.10160022228956223, 0.34846848249435425, -0.7607555389404297, 0.13836538791656494, -0.08983097970485687, -0.20981504023075104, -0.3142469823360443, 0.20184697210788727, 0.12838199734687805, 0.5089648365974426, -0.2429511398077011, 0.19180943071842194, 0.49034014344215393, -0.2177807092666626, -0.6234686970710754, -0.6994260549545288, 0.08026852458715439, -0.24318267405033112, -0.6152065396308899, 0.002895892132073641, 0.01092902198433876, -0.4235474169254303, 0.06185277923941612, 0.14661799371242523, -0.3784593641757965, -0.20491111278533936, 0.11182224750518799, 0.20843368768692017, -0.643639087677002, 0.19267882406711578, -0.16001123189926147, -0.3605140149593353, -0.21936798095703125, -0.5906820297241211, 0.29764246940612793, -0.09124185889959335, 0.0029113355558365583, -0.48480287194252014, 0.5097581148147583, 0.1747114062309265, -0.4186685383319855, 0.8142295479774475, 0.8881123065948486, -0.35677459836006165, -0.0010301594156771898, -0.33445408940315247, 0.05925419554114342, -0.4101722240447998, 0.38347959518432617, -0.67657470703125, -1.214303731918335, 0.15915001928806305, 0.46244633197784424, 0.07135054469108582, 0.5781943798065186, 0.6984627842903137, -0.4003589451313019, 0.6146175861358643, 0.5045377612113953, -0.1347869634628296, 0.31981220841407776, -0.26979345083236694, -0.3245548605918884, -0.407929003238678, -0.13509951531887054, -0.6997557282447815, 0.11393822729587555, -0.694529116153717, -0.8782878518104553, 0.021785572171211243, -0.20544786751270294, -0.22290253639221191, 0.5280368328094482, -0.4149533808231354, 0.21703237295150757, 0.9436099529266357, -0.054269734770059586, 0.6377082467079163, -0.046423666179180145, -0.19632397592067719, -0.049845945090055466, -0.4795690178871155, -0.9325193166732788, 1.0769413709640503, 0.3097611367702484, 0.29534196853637695, -0.15740320086479187, 0.465514212846756, 0.6008339524269104, -0.1137763187289238, -0.8074181079864502, 0.404563307762146, 0.12032749503850937, -0.6969278454780579, -0.5709130167961121, -0.6157825589179993, -0.9960403442382812, 0.371413916349411, 0.25789254903793335, -0.502166748046875, -0.1896650493144989, 0.0025098260957747698, -0.13303427398204803, -0.08889110386371613, -0.8793100714683533, 1.2852948904037476, -0.07206066697835922, 0.011256490834057331, -0.2271561324596405, -0.812890350818634, 0.4830179214477539, -0.00027144295745529234, 0.14871704578399658, 0.16772577166557312, -0.2056283801794052, 0.5266684889793396, -0.15788458287715912, 0.585820198059082, -0.021843111142516136, -0.10150108486413956, 0.8790721893310547, -0.10731763392686844, 0.079548679292202, 0.5860772132873535, -0.2236834168434143, 0.0754016637802124, 0.3495825529098511, -0.8733099699020386, -0.2915385663509369, 0.38370996713638306, -0.6239057779312134, -0.49082517623901367, -0.4804123342037201, -0.12357509881258011, -0.18830741941928864, 0.2688226103782654, 0.09651023894548416, 0.03345899656414986, -0.40408551692962646, 0.21570447087287903, 0.8906291723251343, -0.185061514377594, -0.028283949941396713, 0.5668371319770813, -0.10832098871469498, -0.5783301591873169, 1.0529944896697998, -0.009400635026395321, 0.42907625436782837, 0.866155207157135, -0.3646721839904785, -0.165260449051857, -0.423345148563385, -0.5161135792732239, 0.35065189003944397, -0.5811967849731445, 0.01563367247581482, -0.7565814256668091, -0.43323245644569397, -0.4801250696182251, 0.11275041103363037, -0.1563170850276947, -0.26491451263427734, -0.5471022129058838, -0.5306867361068726, 0.10929329693317413, 0.7688570618629456, 0.014791159890592098, 0.40405723452568054, -0.8518519997596741, 0.7002557516098022, 0.2943955063819885, -0.10806606709957123, -0.39699986577033997, -0.8682593703269958, -0.5931162238121033, 0.051565930247306824, -0.2371455878019333, -0.7040150761604309, 0.573740541934967, -0.017886212095618248, 0.40903258323669434, 0.2792036533355713, 0.02500106394290924, 0.6577062606811523, -0.34049952030181885, 0.7638851404190063, -0.42683151364326477, -0.7413594722747803, 0.3163251280784607, -0.3984892666339874, 0.7707507610321045, 0.6433320641517639, 0.562706708908081, -0.8745607733726501, -0.3435204029083252, -0.4585508704185486, -0.6587674617767334, 0.36200350522994995, 0.299915075302124, -0.013125400990247726, 0.31278344988822937, 0.2305404394865036, 0.22214429080486298, 0.3382444977760315, -0.31234192848205566, -0.13787741959095, -0.40071991086006165, -0.13413237035274506, -0.5687001347541809, -0.3733801543712616, 0.13106243312358856, -0.44905370473861694, 0.46041786670684814, -0.236596018075943, 0.27475255727767944, 0.3024117350578308, -0.2583114504814148, 0.10770437866449356, -0.13759540021419525, 0.8773861527442932, 0.6838452219963074, -0.2477341741323471, 0.14682777225971222, 0.11275603622198105, -0.6654443144798279, -0.11055651307106018, -0.0546112023293972, -0.19226010143756866, 0.195497065782547, 0.7135764360427856, 0.7431265711784363, -0.1336635947227478, -1.127279281616211, 0.0003394295636098832, -0.2305659055709839, -0.43574362993240356, -0.5108028054237366, 0.01414575707167387, 0.26514410972595215, 0.16452042758464813, 0.45901474356651306, -0.35356035828590393, 0.09538304805755615, -0.31898191571235657, 0.7731872200965881, 0.015435602515935898, -0.7942197322845459, -0.09058719128370285, 0.4312953054904938, -0.0015332286711782217, -0.2490128129720688, 1.1102744340896606, -0.07198082655668259, -0.45333003997802734, 0.6325734853744507, 0.1310833990573883, 0.6073681116104126, -0.24444909393787384, 0.6908233761787415, 0.6378062963485718, 0.6090037226676941, 0.28713473677635193, 0.5137270092964172, -0.10682433098554611, -0.23282474279403687, -0.40224170684814453, -0.5380731821060181, -0.4939520061016083, 0.13912104070186615, -0.6667677164077759, 0.34311115741729736, 0.12155336141586304, 0.021639594808220863, -0.26957422494888306, 0.14019742608070374, -0.7883820533752441, 0.5789505243301392, 0.24654968082904816, 0.9418236613273621, -0.4670679271221161, 0.8807704448699951, 0.488023042678833, -0.3947625756263733, -0.45039454102516174, -0.007362960837781429, 0.06027267128229141, -0.7895379066467285, 0.34110453724861145, 0.16593536734580994, 0.2460753619670868, 0.05815848335623741, -0.40471112728118896, -0.8113439679145813, 0.8054413795471191, 0.15558455884456635, -0.3845466077327728, -0.10389900207519531, 0.3242323696613312, 0.6609921455383301, -0.3281361162662506, 0.23806703090667725, 0.7024518847465515, 0.6252094507217407, -0.04576777294278145, -0.926527202129364, -0.3209686279296875, -0.1267623007297516, -0.3972339332103729, -0.28882744908332825, -0.5813113451004028, 0.7091616988182068, -0.17169231176376343, -0.0635349377989769, 0.0706794261932373, 1.089798092842102, 0.26550936698913574, 0.6351088881492615, 0.3407282531261444, 0.5174027681350708, 0.9927764534950256, 0.23226289451122284, 0.920744001865387, 0.195321187376976, 0.1286875158548355, 1.150228500366211, -0.010408259928226471, 1.2135157585144043, 0.47768834233283997, -0.10081873834133148, 0.4112105667591095, 0.9705343842506409, 0.08029589802026749, 0.42937254905700684, 0.22893942892551422, -0.1812797486782074, -0.38166090846061707, -0.15436069667339325, -0.20610010623931885, 0.5627634525299072, 0.39245888590812683, -0.3123967945575714, 0.27805304527282715, 0.05731811746954918, -0.13544738292694092, 0.16912902891635895, -0.10970527678728104, 0.7394479513168335, 0.40624162554740906, -0.8601961135864258, 0.9549086093902588, -0.1361081749200821, 0.118547223508358, -0.31893429160118103, -0.09536921977996826, -0.12994706630706787, 0.08581820130348206, -0.09883931279182434, -1.0830811262130737, 0.42535266280174255, 0.1209006980061531, -0.15521597862243652, -0.1920909434556961, 0.3999250531196594, -0.42550721764564514, -0.5209750533103943, 0.11473234742879868, 0.8701605200767517, 0.31268906593322754, -0.3076938986778259, -0.7200803160667419, 0.08182962983846664, 0.20310308039188385, -0.3260746896266937, 0.12068179249763489, 0.5999080538749695, 0.17486214637756348, 0.6269463300704956, 0.3666161298751831, -0.28746774792671204, 0.174353688955307, -0.06512648612260818, 0.4662243127822876, -0.9148569703102112, -0.38984414935112, -0.5423467755317688, 0.8561475872993469, 0.07700280100107193, -0.6322174072265625, 0.7420526742935181, 0.689812421798706, 1.248769998550415, -0.36056843400001526, 0.946987509727478, 0.15087556838989258, 0.7564736604690552, -0.6309953331947327, 0.6284535527229309, -0.5993480086326599, -0.10319533944129944, -0.12547561526298523, -0.7531116008758545, -0.15656179189682007, 0.3110372722148895, 0.06305790692567825, -0.1127030998468399, 0.8377142548561096, 0.7063273191452026, 0.08592869341373444, -0.15054775774478912, 0.6265137791633606, -0.028484588488936424, 0.06412717700004578, 0.5199583172798157, 0.7309178113937378, -0.5280565023422241, 0.8238781094551086, -0.04836323484778404, -0.058499183505773544, -0.37440723180770874, -0.3728434443473816, -1.0469892024993896, -1.1215081214904785, -0.3032376766204834, -0.37907692790031433, 0.2745223939418793, 0.3744501769542694, 0.5616744756698608, -0.8596247434616089, -0.5180054903030396, 0.22493427991867065, 0.44256073236465454, -0.4749642312526703, -0.2611065208911896, 0.19227491319179535, -0.2378903031349182, -0.8839269280433655, 0.43842414021492004, -0.007686307188123465, -0.21832580864429474, -0.3467688262462616, -0.2172532081604004, -0.43178096413612366, -0.08630611002445221, 0.7662970423698425, 0.4210340678691864, -0.5315045714378357, -0.025904295966029167, 0.46395447850227356, -0.4284573197364807, 0.0101671377196908, 0.7396460771560669, -1.0662211179733276, 0.5005128979682922, 0.6235057711601257, 0.6448602676391602, 0.6402785778045654, 0.2544151246547699, 0.5987982153892517, -0.3722294569015503, 0.04329468309879303, 0.40121206641197205, 0.032126378268003464, 0.3438699543476105, -0.10857486724853516, 0.6546620726585388, 0.2839849591255188, -0.6418805122375488, -1.017983078956604, 0.1436339020729065, -1.1554417610168457, -0.2352120578289032, 1.1297482252120972, -0.04831157997250557, -0.4476945102214813, -0.43647706508636475, -0.5775067210197449, 0.44240057468414307, -0.2925886809825897, 0.45975181460380554, 0.5953100323677063, 0.2157701849937439, -0.3746985197067261, -1.3333264589309692, 0.4045511782169342, 0.3962680399417877, -0.6892610788345337, 0.021766452118754387, 0.43118199706077576, -0.05125412344932556, -0.2203805297613144, 0.4787413775920868, 0.2963807284832001, 0.25241854786872864, 0.20464357733726501, -0.3277304172515869, 0.15488538146018982, -0.45178869366645813, -0.2879762351512909, 0.2984160780906677, -0.10326764732599258, -0.20069994032382965 ]
http://arxiv.org/abs/2402.02648v2
http://arxiv.org/pdf/2402.02648v2
Recursive Chain-of-Feedback Prevents Performance Degradation from Redundant Prompting
2024-02-05T00:44:28
2024-03-01T10:46:01
Jinwoo Ahn, Kyuseung Shin
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) frequently struggle with complex reasoning tasks, failing to construct logically sound steps towards the solution. In response to this behavior, users often try prompting the LLMs repeatedly in hopes of reaching a better response. This paper studies such repetitive behavior and its effect by defining a novel setting, Chain-of-Feedback (CoF). The setting takes questions that require multi-step reasoning as an input. Upon response, we repetitively prompt meaningless feedback (e.g. 'make another attempt') requesting additional trials. Surprisingly, our preliminary results show that repeated meaningless feedback gradually decreases the quality of the responses, eventually leading to a larger deviation from the intended outcome. To alleviate these troubles, we propose a novel method, Recursive Chain-of-Feedback (R-CoF). Following the logic of recursion in computer science, R-CoF recursively revises the initially incorrect response by breaking down each incorrect reasoning step into smaller individual problems. Our preliminary results show that majority of questions that LLMs fail to respond correctly can be answered using R-CoF without any sample data outlining the logical process.
[ -0.6161413788795471, -1.1159785985946655, 0.46278730034828186, 0.24853244423866272, -0.12120817601680756, 0.4274108409881592, -0.05649751052260399, -0.25057029724121094, 0.169901505112648, 0.5608254075050354, -1.088681936264038, -0.12950779497623444, -0.3313106298446655, 0.36751464009284973, -0.5786870718002319, 1.0786991119384766, -0.040297478437423706, -0.08770930767059326, -0.3913497030735016, -0.2504960596561432, -0.7994263768196106, -0.5694944858551025, -0.896099865436554, -0.6234157085418701, 0.8292704820632935, 0.5771874189376831, 0.4249521791934967, 0.17750799655914307, 0.3848610520362854, 0.25560706853866577, 0.1836196780204773, 0.3883054256439209, -0.6560170650482178, 0.40080538392066956, -0.14456810057163239, -0.5261318683624268, -0.1937474012374878, -0.1334042102098465, 0.651215672492981, 0.866901695728302, -0.5319936275482178, 0.22464622557163239, 0.2696177661418915, 1.1333870887756348, -0.6472563743591309, -0.059961386024951935, -0.2718011736869812, 0.04992975294589996, 0.26289641857147217, -0.5948570966720581, -0.6710260510444641, -0.4482291638851166, -0.023878416046500206, -0.5563288927078247, 0.09268105030059814, 0.10254792124032974, 0.4057466685771942, 0.3491160571575165, 0.1764068752527237, -0.44661468267440796, -1.082034945487976, 0.6533729434013367, -0.4246554672718048, 0.2577905058860779, 0.15393273532390594, 0.07914234697818756, -0.6782630681991577, -0.4379318356513977, -0.690804660320282, -0.4238191545009613, -0.10715199261903763, 0.1039203330874443, -0.12846027314662933, -0.010983678512275219, 0.4234602749347687, 0.2360295057296753, -0.2928282618522644, -0.29517796635627747, -0.32179760932922363, 0.05245178937911987, 0.34057652950286865, 0.3921634554862976, 0.19019730389118195, 0.19953584671020508, -0.18586179614067078, -0.16993150115013123, -0.8226761221885681, 0.18556223809719086, 0.20012538135051727, 0.3161822259426117, 0.28939732909202576, 0.2923019528388977, -0.1994480937719345, 0.915728747844696, 0.49414339661598206, -0.28551772236824036, 0.18644003570079803, -0.2634350061416626, -0.13192492723464966, -0.2410171777009964, 0.608443021774292, 0.19562509655952454, 0.37217098474502563, -0.23409214615821838, -0.26751676201820374, 0.023893436416983604, 0.29755717515945435, -0.5026377439498901, -0.04753943905234337, 0.36442887783050537, -0.17490507662296295, -0.25047922134399414, 0.13855192065238953, -0.5452160835266113, -0.03310278803110123, -0.21207775175571442, 0.2574812173843384, -0.24091804027557373, -0.08948399871587753, 0.1991415023803711, -0.10245709121227264, -0.2801416218280792, 0.3922947645187378, -0.4565802216529846, 0.708406925201416, 0.5625017881393433, 0.7086710929870605, -0.17623284459114075, -0.46789583563804626, -1.0424275398254395, 0.01740712858736515, -0.29964569211006165, 0.7442149519920349, -0.5098024606704712, -0.44601157307624817, -0.18241198360919952, 0.02992752380669117, 0.08460504561662674, -0.8778331279754639, 0.11858820915222168, -0.6690518260002136, 0.19296802580356598, -0.4545034170150757, -0.15385830402374268, -0.1614796668291092, 0.4615210294723511, -0.9085278511047363, 0.9517500996589661, -0.2478969395160675, -0.7289406061172485, 0.1667962372303009, -0.3625764846801758, -0.5634867548942566, -0.18658098578453064, -0.053521957248449326, -0.28593263030052185, 0.016698798164725304, 0.13525964319705963, 0.022367332130670547, -0.15354903042316437, 0.20147396624088287, -0.5485863089561462, -0.42932215332984924, 0.3260554075241089, -0.3679915964603424, 0.32048583030700684, 0.15134114027023315, -0.35265490412712097, -0.08811653405427933, -0.8438843488693237, 0.15812470018863678, 0.040601857006549835, -0.47835537791252136, -0.17670495808124542, 0.3037165403366089, -0.44942706823349, 0.42939865589141846, -0.17018944025039673, -0.43676790595054626, 0.1704004853963852, -0.311552494764328, 0.4071562886238098, 0.7295288443565369, 0.22915881872177124, 0.08692094683647156, -0.8690305948257446, 0.7407450079917908, -0.027126453816890717, -0.0291206706315279, -0.26011842489242554, -0.25233015418052673, -0.7643057703971863, 0.26725757122039795, -0.031900595873594284, 0.5153206586837769, -0.8111625909805298, 0.20708037912845612, -0.1416313648223877, -0.008316104300320148, -0.2294786125421524, 0.24026677012443542, 0.4964219033718109, 0.4059293568134308, 0.25887003540992737, -0.43487709760665894, -0.6050344705581665, -0.5170589089393616, -0.17967934906482697, -0.3023556172847748, 0.06344617903232574, 0.19981805980205536, 0.5036361217498779, 0.038033612072467804, 0.7058359384536743, -0.3025510609149933, 0.03921157121658325, -0.22716324031352997, 0.2468375861644745, 0.19375810027122498, 0.23281541466712952, -0.2724345922470093, -0.28186526894569397, 0.006062488537281752, -0.21816277503967285, -0.44701316952705383, -0.13457009196281433, -0.38186535239219666, 0.08121384680271149, 0.42561623454093933, 0.39256104826927185, -0.3899517357349396, 0.23992820084095, 0.5353276133537292, 0.1135832890868187, 0.599698007106781, -0.23171494901180267, 0.2677423357963562, -0.4173119068145752, 0.334923654794693, -0.3152785301208496, -0.35664376616477966, -0.0592983216047287, 0.05570470914244652, -0.41742703318595886, 0.037596963346004486, -0.051012519747018814, 0.32785195112228394, -0.32032230496406555, 0.03877480328083038, -0.3629090189933777, 0.3397626578807831, 0.08247368782758713, 0.6176754832267761, -0.037868279963731766, 0.6148632168769836, -0.049114592373371124, -0.9641313552856445, 0.41216984391212463, 0.09745482355356216, -0.12197629362344742, 0.5234397649765015, -0.7602766156196594, 0.3986251950263977, -0.10872452706098557, 0.6269694566726685, -1.2477892637252808, -0.1051265075802803, 0.47192972898483276, -0.3826550245285034, 0.008852245286107063, 0.17157253623008728, -0.6066594123840332, -0.797555148601532, -0.3879968822002411, 0.3701905608177185, 0.15714505314826965, -0.6587068438529968, 0.15354077517986298, 0.05815752595663071, -0.13183452188968658, -0.6648136973381042, -0.7870458960533142, -0.20154504477977753, 0.3788973093032837, -0.6119785904884338, 0.034133557230234146, -0.31962060928344727, -0.15765616297721863, -0.01623833179473877, -0.35150671005249023, 0.0701783150434494, -0.036795735359191895, 0.18762154877185822, 0.13344338536262512, 0.1785339117050171, 0.36719056963920593, -0.20203299820423126, -0.06671614944934845, 0.3271404802799225, -0.3272087574005127, 0.6222302913665771, -0.08486759662628174, -0.49880877137184143, -0.6090027093887329, 0.5221607685089111, 0.7861195802688599, 0.05758167803287506, 0.4302757978439331, -0.13879510760307312, -0.06390166282653809, -0.5195450186729431, -0.5597397685050964, -0.43040207028388977, -0.4232005178928375, 0.16156266629695892, -0.3512144684791565, -1.0576176643371582, 0.319794625043869, -0.22212335467338562, 0.11523369699716568, -0.011944804340600967, 0.5075311064720154, -0.23294129967689514, 0.9506326913833618, 0.2263588160276413, 0.0729350596666336, 0.3163723647594452, -0.21534602344036102, 0.30326247215270996, -0.585102915763855, -0.45396167039871216, -0.3487863838672638, -0.31318992376327515, -0.36784613132476807, -0.2193530797958374, 0.34758907556533813, 0.14267979562282562, -0.3963897228240967, -0.01960957609117031, -0.6952456831932068, 0.43099403381347656, 0.2882928252220154, 0.25187695026397705, 0.5927832722663879, 0.1979212611913681, -0.30102360248565674, 0.3090667724609375, -0.9615378379821777, -0.21415121853351593, 0.5635151267051697, 0.2707774043083191, 1.0620746612548828, -0.07725772261619568, 0.8005746603012085, 0.2302749752998352, 0.340188592672348, -0.7755035758018494, 0.5311087369918823, 0.08738809823989868, -0.379915714263916, -0.27115902304649353, -0.5590884685516357, -0.9257423877716064, 0.0526641421020031, 0.1900632381439209, -0.5353713631629944, 0.10266122221946716, 0.5935494303703308, -0.7316005229949951, 0.29609501361846924, -0.4848569631576538, 0.1830846220254898, -0.10377343744039536, -0.5065058469772339, -0.34328338503837585, -0.420221745967865, 0.466132789850235, 0.18080618977546692, 0.47213277220726013, 0.3780573010444641, 0.2613389790058136, 0.6205617189407349, -0.7850369215011597, 1.0385652780532837, -0.15485693514347076, -0.09911007434129715, 0.5457170009613037, 0.4147234559059143, 0.971358597278595, 0.034037183970212936, 0.26175814867019653, -0.2933933734893799, 0.003538473742082715, -0.07225124537944794, -0.9514680504798889, 0.8220627903938293, -0.5012264847755432, -0.8890796303749084, -0.47714272141456604, -0.4092593491077423, -0.32891032099723816, -0.04240491986274719, 0.18866899609565735, 0.4631046950817108, 0.09821710735559464, -0.006199688650667667, 0.5417261123657227, -0.14704547822475433, 0.3036702871322632, 0.2556983232498169, -0.5617137551307678, -0.6273251175880432, 0.665153443813324, 0.1662871390581131, 0.7083242535591125, 0.22122745215892792, 0.033497508615255356, -0.24698509275913239, -0.20854362845420837, -0.1303846836090088, 0.2523815631866455, -0.5799320936203003, -0.16880930960178375, -0.4745062291622162, -0.0061351521871984005, -0.008860217407345772, 0.1290081888437271, -0.32236430048942566, -0.45853859186172485, 0.058086100965738297, -0.02843298390507698, 0.26604747772216797, 1.0453790426254272, -0.11598736047744751, -0.13208818435668945, -0.7429702281951904, 0.34511569142341614, 0.43579864501953125, 0.5864765644073486, 0.5918890833854675, -0.3765435814857483, 0.006207492668181658, 0.08300133794546127, -0.5095219016075134, -0.5941503047943115, 0.11159086227416992, -0.09056330472230911, 0.4642389714717865, -0.052590202540159225, 0.042326826602220535, 0.969683051109314, -0.5562689900398254, 0.5635968446731567, 0.4411015510559082, -0.8555338978767395, 0.5445542335510254, -0.2432590276002884, 0.6437860131263733, 0.49358102679252625, 0.27198317646980286, -0.7454596161842346, -0.4434206485748291, -0.31602537631988525, -0.9398916959762573, 0.7277222275733948, 0.0022832260001450777, -0.11043644696474075, -0.3526110053062439, 0.5343640446662903, 0.07123970240354538, 0.2476860135793686, -0.7300773859024048, -0.4397200047969818, -0.054434046149253845, 0.5149788856506348, 0.48449093103408813, -0.27146589756011963, -0.2128220498561859, -0.30856120586395264, 0.5815418362617493, 0.052749428898096085, 0.30470263957977295, 0.5864149332046509, 0.05933813005685806, -0.594318151473999, 0.36974361538887024, 0.7079423069953918, 0.7875412702560425, -0.1850605458021164, 0.10941086709499359, 0.22347597777843475, -0.21921010315418243, 0.4001424312591553, -0.5466486811637878, -0.07462700456380844, -0.1129605695605278, 0.37276628613471985, 0.4206722378730774, 0.21393975615501404, -0.5831260085105896, 0.037220943719148636, 0.009943580254912376, -0.28244078159332275, -0.4041918218135834, 0.25533682107925415, 0.035270415246486664, -0.09394455701112747, 0.36651068925857544, 0.3078015148639679, 0.03837862238287926, -0.741718053817749, 0.6303501129150391, 0.18044798076152802, -0.3294431269168854, -0.0648248940706253, 0.27930742502212524, 0.3096081018447876, -0.6209983229637146, 0.7387217879295349, -0.16607871651649475, -0.3869918882846832, 0.492902010679245, 0.71113520860672, 0.629515528678894, -0.056303057819604874, 0.36631888151168823, 0.7581140995025635, 0.10381926596164703, -0.4349079430103302, 0.3128919303417206, -0.0888262391090393, -0.5299807190895081, -0.7891003489494324, -0.36836162209510803, -0.4072093665599823, 0.3028338551521301, -0.9160120487213135, -0.05357782915234566, -1.0120482444763184, -0.17921963334083557, -0.296676903963089, -0.2264675498008728, -0.3054354786872864, 0.15291957557201385, -0.0873531922698021, 0.6949029564857483, -0.18786782026290894, 0.6318254470825195, 0.29147303104400635, -0.476082980632782, -0.8049509525299072, 0.17695128917694092, 0.004687096457928419, -0.646386444568634, 0.8326594829559326, 0.11878184229135513, -0.8884779810905457, -0.19433662295341492, -0.6980481147766113, -0.8466442823410034, 0.793152928352356, 0.16428576409816742, -1.1581671237945557, 0.20705853402614594, 0.07120505720376968, 0.514471173286438, -0.32191139459609985, 0.07136545330286026, 0.617056667804718, 0.49722182750701904, 0.38491082191467285, -0.7988442778587341, 0.311077356338501, -0.28156477212905884, -0.029918933287262917, 0.2932600677013397, -0.6791914701461792, 0.7762728929519653, -0.6738002300262451, -0.5072594285011292, 0.3337508738040924, 0.21046046912670135, 0.7236774563789368, 0.19727833569049835, 0.7495653629302979, 0.6385296583175659, 0.8856547474861145, -0.022492730990052223, 1.325773000717163, -0.2167002409696579, 0.37765923142433167, 1.5498073101043701, -0.206643208861351, 0.9235156178474426, 0.6983230113983154, -0.290486216545105, 0.9592905640602112, 0.2703966200351715, -0.004902360960841179, 0.5271779894828796, 0.8272966146469116, -0.284536212682724, -0.39121702313423157, 0.05597693473100662, -0.32642418146133423, -0.08754991739988327, 0.15785439312458038, 0.002819567685946822, -0.2226344794034958, -0.05087331309914589, -0.08606415241956711, 0.16141937673091888, -0.1843787133693695, 0.49557963013648987, 0.18139153718948364, -1.2768454551696777, 0.9407928586006165, -0.33624815940856934, 0.5459423065185547, -0.3180066645145416, -0.3779130280017853, -0.20354516804218292, 0.3136231601238251, -0.3708968758583069, -0.7121365070343018, 0.5222182273864746, -0.1696619689464569, -0.6712626218795776, -0.08536053448915482, 0.2878211736679077, -0.30128714442253113, -0.2641138732433319, 0.6551926136016846, 0.298450767993927, -0.1837228387594223, 0.15774498879909515, -0.7591407895088196, 0.23468424379825592, -0.05858459696173668, -0.16436021029949188, 0.06978936493396759, 0.36199045181274414, 0.03018411248922348, 1.04296875, 0.7541522979736328, -0.0990108773112297, -0.2151401787996292, 0.2485070526599884, 0.8757525086402893, -0.7784230709075928, -0.2386484295129776, -0.8308138251304626, 0.26549261808395386, 0.1051526665687561, -0.043527498841285706, 0.45325133204460144, 0.10418074578046799, 1.0652453899383545, 0.004275570157915354, 1.005855917930603, 0.0893147811293602, 0.642223060131073, -0.4215189516544342, 0.2960696220397949, -0.5533612966537476, 0.6715947389602661, -0.23293501138687134, -0.431914359331131, -0.4407484233379364, 0.5253339409828186, -0.2805682420730591, 0.27061882615089417, 1.1272990703582764, 0.833949089050293, 0.44968381524086, -0.015311979688704014, 0.23074615001678467, 0.3947053849697113, 0.27123671770095825, 0.7089310884475708, 1.1392284631729126, -0.17590701580047607, 0.8060849905014038, -0.15451757609844208, -0.06218435987830162, -0.004124870058149099, -0.5723939538002014, -0.7856355905532837, -0.319970041513443, -0.2127210795879364, -0.6850214004516602, 0.29288506507873535, 0.9575711488723755, 0.5297656059265137, -1.0325320959091187, -0.47070446610450745, -0.5436198711395264, 0.40977418422698975, -0.5040850043296814, -0.21661636233329773, 0.030381426215171814, -0.755619466304779, -0.26742279529571533, 0.1472000777721405, 0.48708781599998474, -0.4306566119194031, -0.42939993739128113, -0.23644305765628815, -0.3346879482269287, -0.0002857120707631111, 0.5738790035247803, 0.5085777640342712, -0.92325758934021, -0.4963778257369995, 0.039854563772678375, 0.08882450312376022, 0.1885235458612442, 1.070682406425476, -1.0050336122512817, 0.5393709540367126, 0.605128824710846, 0.4276004135608673, 0.20667079091072083, -0.06497898697853088, 0.7686663866043091, -0.6081632971763611, -0.2270086109638214, 0.1776367723941803, 0.10754615813493729, 0.09039492905139923, -0.46444928646087646, 0.2996983230113983, 0.5172082185745239, -0.5263267159461975, -0.6194928288459778, 0.34941497445106506, -0.8663034439086914, -0.36583417654037476, 1.0717500448226929, -0.11707979440689087, -0.31495174765586853, -0.2900899052619934, -0.16678982973098755, -0.08947374671697617, -0.6291263699531555, 1.0238819122314453, 1.0445388555526733, -0.5037997364997864, -0.25087738037109375, -0.28748929500579834, 0.2964794933795929, 0.5643742084503174, -0.6374836564064026, 0.2892414629459381, 0.5313088893890381, 0.4946790337562561, 0.3385430574417114, 0.7663906216621399, -0.26319262385368347, 0.6216979622840881, -0.1447398066520691, -0.16973906755447388, -0.19696639478206635, -0.6309353113174438, -0.3333825170993805, 0.480625718832016, 0.2011733204126358, -0.12010230123996735 ]
http://arxiv.org/abs/2402.05125v3
http://arxiv.org/pdf/2402.05125v3
Zero-Shot Clinical Trial Patient Matching with LLMs
2024-02-05T00:06:08
2024-04-10T05:37:26
Michael Wornow, Alejandro Lozano, Dev Dash, Jenelle Jindal, Kenneth W. Mahaffey, Nigam H. Shah
cs.CL
cs.CL, cs.AI
Matching patients to clinical trials is a key unsolved challenge in bringing new drugs to market. Today, identifying patients who meet a trial's eligibility criteria is highly manual, taking up to 1 hour per patient. Automated screening is challenging, however, as it requires understanding unstructured clinical text. Large language models (LLMs) offer a promising solution. In this work, we explore their application to trial matching. First, we design an LLM-based system which, given a patient's medical history as unstructured clinical text, evaluates whether that patient meets a set of inclusion criteria (also specified as free text). Our zero-shot system achieves state-of-the-art scores on the n2c2 2018 cohort selection benchmark. Second, we improve the data and cost efficiency of our method by identifying a prompting strategy which matches patients an order of magnitude faster and more cheaply than the status quo, and develop a two-stage retrieval pipeline that reduces the number of tokens processed by up to a third while retaining high performance. Third, we evaluate the interpretability of our system by having clinicians evaluate the natural language justifications generated by the LLM for each eligibility decision, and show that it can output coherent explanations for 97% of its correct decisions and 75% of its incorrect ones. Our results establish the feasibility of using LLMs to accelerate clinical trial operations.
[ 0.30929264426231384, -0.4694201648235321, 1.2653321027755737, 0.1951054036617279, -0.4236137568950653, -0.0567345954477787, -0.06811497360467911, -0.5616492033004761, 0.1499406099319458, 0.8148547410964966, -0.3221016824245453, -0.5325408577919006, -0.5548829436302185, 0.2097131907939911, -0.47545126080513, 0.9396577477455139, -0.4019728899002075, 0.2301819622516632, -0.1992272436618805, -0.2403847873210907, -0.6185029149055481, -0.3073717951774597, -0.6538124084472656, -0.6600416302680969, 0.6001471281051636, 0.6202659606933594, 0.4502827823162079, 0.7862086892127991, 0.5437254309654236, 0.1542820930480957, -0.028462320566177368, -0.2410508245229721, -0.6263242959976196, 0.4652791917324066, 0.01820819079875946, -0.5390419363975525, -0.3090203106403351, -0.029386961832642555, 0.1894282102584839, 0.8137375712394714, -0.3102661669254303, 0.0020963905844837427, -0.15020275115966797, 0.3309338092803955, -0.6195581555366516, -0.12771031260490417, -0.7116044759750366, 0.3378673791885376, -0.17743197083473206, -0.49132582545280457, -0.49099159240722656, -0.3400956094264984, 0.1366962194442749, -0.6481673717498779, 0.42976221442222595, 0.03708261996507645, 0.8829827308654785, 0.03648337721824646, -0.47884055972099304, -0.5223543047904968, -0.5178203582763672, 0.5561737418174744, -0.7713664174079895, -0.019148273393511772, 0.42250362038612366, 0.405121773481369, -0.47621604800224304, -0.4319196939468384, -0.4489196240901947, -0.48488643765449524, -0.1960439682006836, 0.25559860467910767, -0.010970626957714558, 0.32786276936531067, 0.24529707431793213, 0.42923927307128906, -0.8875306248664856, 0.542184591293335, -0.23204660415649414, -0.41813814640045166, 0.4720980226993561, 0.3742419481277466, 0.3803887963294983, -0.008193761110305786, -0.5356290936470032, 0.23517398536205292, -0.7186620831489563, -0.3092498481273651, -0.19727787375450134, 0.5349478721618652, -0.09947111457586288, 1.0108259916305542, -0.46083760261535645, 0.6780386567115784, -0.020827578380703926, 0.09321273863315582, -0.03772972896695137, -0.30428338050842285, -0.34925955533981323, 0.4402431547641754, 0.7878060340881348, 0.6455836296081543, 0.43920648097991943, -0.16827210783958435, -0.022860946133732796, 0.15928004682064056, 0.09900680184364319, -0.9912536144256592, 0.19706028699874878, 0.6383563876152039, -0.4920676350593567, -0.35960352420806885, -0.31336912512779236, -0.6499237418174744, -0.5970918536186218, -0.13507986068725586, 0.7112345099449158, -0.3575473129749298, 0.13325421512126923, 0.5280255675315857, -0.33701345324516296, 0.5708535313606262, 0.4943322241306305, -0.7116634845733643, 0.15656034648418427, 0.6611670255661011, 1.0984609127044678, -0.1162361279129982, 0.17309637367725372, -0.9480196833610535, 0.15711870789527893, -0.559310257434845, 0.8467965126037598, -0.20565946400165558, -0.39815250039100647, 0.23010824620723724, -0.0322246178984642, -0.1931537389755249, -0.4326699376106262, 0.651509165763855, -0.5263262391090393, 0.45318326354026794, -0.12895281612873077, -0.9694086909294128, 0.24563638865947723, 0.26913684606552124, -0.32625964283943176, 0.43050727248191833, 0.18061207234859467, -0.2859267294406891, 0.5665334463119507, -0.49982643127441406, -0.34129732847213745, 0.6920008063316345, -0.32994529604911804, -0.48872917890548706, 0.28853753209114075, 0.1047678291797638, 0.42008545994758606, -0.31245702505111694, 0.10354063659906387, -0.5452877283096313, -0.6482390761375427, 0.19124485552310944, 0.023402376100420952, 0.5329359769821167, 0.3861950933933258, -0.3216499090194702, -0.011166070587933064, -0.460827499628067, 0.0051828292198479176, 0.23207560181617737, -0.2768717408180237, -0.14635002613067627, -0.22036118805408478, 0.22315950691699982, 0.1466110348701477, 0.02881006896495819, -0.8514103889465332, 0.25174978375434875, -0.4021550416946411, 0.39785081148147583, 0.5610601902008057, -0.0006443990278057754, 0.16436654329299927, -0.19421343505382538, 0.5207984447479248, -0.17576970160007477, 0.25290602445602417, -0.2833966016769409, -0.4375044107437134, -0.5453096628189087, -0.36636632680892944, 0.45772209763526917, 0.6342875957489014, -0.5975130796432495, 0.3555062413215637, -0.16340117156505585, -0.1359027922153473, -0.4778750538825989, -0.08079184591770172, 0.37807509303092957, 0.5785509943962097, 0.2201932817697525, -0.4525604248046875, -0.41880178451538086, -0.907016932964325, -0.17355887591838837, -0.07988923043012619, -0.43769222497940063, 0.4599558711051941, 0.5015084147453308, -0.1927989274263382, 0.8888682723045349, -0.7174506187438965, -0.7958332300186157, -0.3988693356513977, -0.0859793946146965, 0.46178245544433594, 0.10041660815477371, 0.37436556816101074, -0.3862772583961487, -0.6341142654418945, 0.1699911206960678, -0.9907985329627991, -0.41742679476737976, -0.3030044734477997, -0.07018779218196869, 0.015500652603805065, 0.5778955817222595, -0.49993225932121277, 0.6017951965332031, 0.43749067187309265, -0.46690961718559265, 0.04864407703280449, -0.6865900158882141, 0.216582253575325, -0.8647795915603638, 0.29085102677345276, 0.14134155213832855, -0.43938153982162476, -0.6715300679206848, -0.048649486154317856, 0.10000108182430267, -0.32268378138542175, -0.441147118806839, 0.7567154765129089, -0.4381559193134308, 0.1504623293876648, -0.4934392273426056, 0.3995601534843445, -0.03974631801247597, 0.06925803422927856, -0.07626736909151077, 0.4742037355899811, 0.3278827667236328, -0.3193487524986267, 0.084595687687397, 0.39074093103408813, -0.4149405062198639, 0.8241887092590332, -0.8631063103675842, -0.00965789519250393, -0.2554055452346802, 0.480791836977005, -1.0240986347198486, -0.48023250699043274, 0.15994518995285034, -0.37804317474365234, 0.021160626783967018, -0.24972334504127502, -0.2264670878648758, -0.3611399531364441, -0.24549289047718048, 0.3704204857349396, 0.4030527174472809, -0.11687827855348587, 0.3429652452468872, 0.044805269688367844, -0.22144410014152527, -0.3661530613899231, -0.7155532836914062, 0.4599721133708954, 0.07798383384943008, -0.1417204886674881, 0.24651497602462769, -0.011093233712017536, 0.13962240517139435, -0.08439502120018005, 0.1398262232542038, -0.0842137336730957, -0.1018267348408699, 0.27545759081840515, 0.34286195039749146, -0.1250474452972412, 0.006678982172161341, -0.03612210601568222, -0.2152900993824005, -0.3474290370941162, -0.17432844638824463, 0.427433043718338, 0.48354119062423706, -0.45844119787216187, -0.7247771620750427, 0.6608785390853882, 0.7333753705024719, 0.16708660125732422, 0.6395454406738281, 0.17073923349380493, -0.4194704592227936, -0.04225574806332588, -0.7174878120422363, -0.058149900287389755, -0.4046834707260132, 0.15102604031562805, -0.05617891252040863, -0.9459369778633118, 0.29012882709503174, 0.16017818450927734, -0.06635642796754837, 0.38476327061653137, 0.8989335894584656, -0.026636216789484024, 0.9989513158798218, 0.5443328022956848, 0.03498169407248497, 0.3348427712917328, 0.2932891547679901, 0.2440558522939682, -0.6787213087081909, -0.3773405849933624, -0.5729321241378784, -0.28296998143196106, -0.2846091687679291, -0.41851750016212463, 0.47182250022888184, -0.1353384554386139, -0.1665179282426834, 0.2928042709827423, -0.5060334205627441, 0.5725987553596497, 0.2931773066520691, 0.1273084580898285, 0.43096914887428284, -0.05300242453813553, -0.26954561471939087, -0.06392879039049149, -0.5288180112838745, -0.4464173913002014, 1.4106824398040771, 0.21274688839912415, 0.4280211627483368, -0.003025240497663617, 0.5594716668128967, 0.4111005663871765, 0.5295606851577759, -0.8362947106361389, 0.4960409104824066, -0.26773643493652344, -0.7139692902565002, 0.0003080496098846197, -0.458649605512619, -1.250194787979126, 0.14481079578399658, -0.3983340561389923, -0.6602620482444763, 0.14102135598659515, -0.08795461058616638, -0.9312346577644348, 0.007578280288726091, -0.6529672145843506, 0.7128750681877136, -0.4006531238555908, -0.06320638209581375, 0.02948378212749958, -0.6102045774459839, 0.2906375229358673, -0.29660916328430176, 0.011866915039718151, -0.3478403687477112, 0.0033076321706175804, 0.4392995238304138, -0.37129902839660645, 0.4809429943561554, -0.17407211661338806, 0.06511016190052032, -0.10659968852996826, 0.060399189591407776, 0.23015715181827545, -0.0458492748439312, -0.19469085335731506, 0.19456256926059723, 0.2841002643108368, -0.5584067702293396, -0.4853067994117737, 0.790296196937561, -0.35612568259239197, -0.20122532546520233, -0.6802055239677429, -0.554731547832489, -0.001368517056107521, 0.348068505525589, 0.09657708555459976, 0.20496432483196259, -0.3232327103614807, 0.2737775146961212, 0.38851407170295715, -0.48943591117858887, 0.056388624012470245, 1.202309250831604, -0.2756613790988922, -0.3645935654640198, 0.4431881606578827, -0.04112379997968674, 0.3358747363090515, 0.5527679920196533, 0.2159571796655655, -0.47861936688423157, -0.9379470944404602, -0.4726404845714569, 0.3429544270038605, -0.27729716897010803, -0.18088944256305695, -0.6969109177589417, -0.024070467799901962, -0.43245717883110046, -0.17726737260818481, 0.047677986323833466, -0.005485697649419308, -0.15204863250255585, 0.23815041780471802, 0.14970770478248596, 0.6171019673347473, 0.2092030793428421, 0.44581538438796997, -0.7080165147781372, 0.619515061378479, 0.053234346210956573, 0.6535760164260864, -0.3645886778831482, -0.6889169216156006, -0.1568680852651596, -0.10146301239728928, -0.14370061457157135, -0.8591857552528381, 0.21457608044147491, 0.15235275030136108, 0.5859885215759277, 0.3973602056503296, 0.06229143962264061, 0.6839143633842468, -0.6436713337898254, 0.5022836923599243, 0.2598258852958679, -0.8208310604095459, 0.6633825898170471, -0.3831077814102173, 0.10673823207616806, 0.8100142478942871, 0.2670300006866455, -0.9530273079872131, -0.14489129185676575, -0.19813288748264313, -0.8096479773521423, 0.7931135892868042, 0.32793647050857544, -0.0729280337691307, 0.08921298384666443, 0.806904673576355, -0.20280176401138306, 0.1418488323688507, -0.4408538043498993, 0.12248428165912628, 0.3826783001422882, -0.6087852716445923, -0.3353011906147003, -0.24476787447929382, -0.35929396748542786, 0.11518479883670807, 0.41725489497184753, -0.4009786546230316, 0.32985788583755493, 0.5338249206542969, -0.16206693649291992, -0.3408251106739044, 0.31328681111335754, 0.6725047826766968, 0.3339770436286926, -0.4916158616542816, -0.25776952505111694, 0.05476705729961395, -0.42439278960227966, 0.14377592504024506, 0.2170434296131134, -0.30739691853523254, 0.017144648358225822, 0.39169418811798096, 0.7189001441001892, 0.17366841435432434, -1.0284771919250488, 0.7665265202522278, -0.4829774498939514, -0.6155697703361511, -0.038560424000024796, -0.10727004706859589, -0.15617124736309052, 0.329254150390625, 0.3196612000465393, -0.42676615715026855, 0.11868052929639816, -0.6044877767562866, 0.3556941747665405, 0.7955024242401123, -0.773598313331604, 0.0829034298658371, 0.7745381593704224, 0.03678179904818535, -0.42958417534828186, 0.5675293803215027, 0.1646117866039276, -0.06427950412034988, 0.5070132613182068, 0.5610920190811157, 0.7588400840759277, 0.13597805798053741, 0.34749194979667664, 0.0719853937625885, 0.09404931962490082, -0.2956119775772095, 0.08148189634084702, 0.27413707971572876, -0.520465612411499, -0.5401458740234375, -0.5965341925621033, -0.7999676465988159, 0.1801033765077591, -0.3766043782234192, 0.5513516068458557, -0.4752095937728882, 0.008358047343790531, 0.22138555347919464, 0.1240641176700592, -0.43619516491889954, 0.08575303852558136, 0.38084936141967773, 0.9199850559234619, -0.9323611855506897, 0.6101622581481934, 0.2771322727203369, -0.2892720699310303, -0.6649426817893982, -0.32899588346481323, 0.13313032686710358, -0.933992326259613, 0.0979095995426178, 0.39175137877464294, 0.2576083838939667, -0.32943180203437805, -0.2826979458332062, -0.5515109300613403, 1.2931859493255615, 0.5769126415252686, -0.7664475440979004, -0.03615745157003403, 0.34611669182777405, 0.8675072193145752, -0.4261949062347412, 0.5079548358917236, 0.5714256763458252, 0.1746080368757248, 0.5880134105682373, -0.9684157371520996, 0.19451603293418884, 0.036567572504282, -0.17698079347610474, 0.25865960121154785, -0.23940718173980713, 0.5656163096427917, -0.31904423236846924, -0.3188968002796173, 0.4933648407459259, 0.13778111338615417, 0.24679601192474365, 0.7756996750831604, 0.39798709750175476, 0.6043512225151062, 0.6125082969665527, -0.15704602003097534, 0.9328818321228027, -0.3178718090057373, 0.5818831920623779, 0.8741034269332886, -1.0495907068252563, 0.8124423623085022, 0.38641056418418884, -0.15808144211769104, 0.45089277625083923, 0.4309772253036499, -0.03694033622741699, 0.27584025263786316, 0.248877614736557, -0.36794987320899963, -0.4268726408481598, -0.449273943901062, -0.10758649557828903, 0.3058144748210907, 0.20653894543647766, -0.42722705006599426, -0.5333260893821716, 0.048971597105264664, -0.0033248981926590204, 0.01871856302022934, 0.017578471451997757, 0.866868793964386, 0.1804099678993225, -0.6958383917808533, 0.41689351201057434, -0.03995800018310547, 0.4140375256538391, -0.8508473634719849, 0.05636981874704361, -0.28751322627067566, 0.5471643805503845, -0.24909980595111847, -0.7077394723892212, 0.022742625325918198, 0.09125557541847229, 0.036438364535570145, -0.13407641649246216, 0.5217584371566772, -0.4805981516838074, -0.6297279000282288, 0.4791709780693054, 0.3490145802497864, 0.19799110293388367, -0.20028933882713318, -0.7166876196861267, 0.00405924255028367, -0.11613421887159348, 0.04745258763432503, 0.48423486948013306, 0.32100850343704224, -0.09650366008281708, 0.5642737746238708, 0.828096866607666, 0.4338167905807495, -0.49980369210243225, 0.17899835109710693, 0.519126296043396, -0.78426593542099, -0.13597291707992554, -0.9275974631309509, 0.12650036811828613, -0.13322332501411438, -0.2537093758583069, 0.42824587225914, 0.632706344127655, 0.12464740872383118, 0.28079190850257874, 0.5910204648971558, 0.32665345072746277, 0.5669954419136047, -0.36943483352661133, 0.7293201088905334, -0.6562244296073914, 0.11467749625444412, 0.031838130205869675, -0.5620030760765076, -0.8190955519676208, 0.17273163795471191, -0.21405945718288422, -0.2156781256198883, 0.5383044481277466, 0.8594419956207275, 0.14657796919345856, -0.1595504879951477, 0.4789407253265381, 0.13601355254650116, 0.6855908036231995, 0.9503529071807861, 0.45070499181747437, -0.6426203846931458, 0.5290687680244446, 0.3473272919654846, -0.6366738080978394, -0.6379185914993286, -0.9358691573143005, -0.7618048787117004, 0.07477911561727524, -0.16013525426387787, -0.450579971075058, 0.17849618196487427, 1.0633032321929932, 0.535240650177002, -0.7063885927200317, -0.2586097717285156, 0.08185694366693497, -0.12570162117481232, 0.010177436284720898, -0.14458394050598145, 0.18633422255516052, -0.1102033257484436, -0.5213226079940796, 0.38358333706855774, 0.7161401510238647, -0.03892000392079353, -0.04033905640244484, -0.0994911938905716, -0.24488870799541473, 0.3828449249267578, 0.5116006135940552, 0.4285082519054413, -0.4610428810119629, -0.10843382030725479, 0.2593117654323578, -0.3917750418186188, -0.006367702968418598, 1.0176265239715576, -0.8163995742797852, 0.6501761078834534, 0.2939688563346863, 0.5180962085723877, 0.6700520515441895, -0.10863946378231049, 0.6586352586746216, -0.11666276305913925, 0.013687770813703537, 0.4130394160747528, 0.35356199741363525, 0.22819268703460693, -0.3362025320529938, 0.2537166178226471, 0.15171058475971222, -0.822225034236908, -0.8820076584815979, 0.1308237761259079, -1.183619499206543, -0.21374619007110596, 1.1974849700927734, 0.0238064993172884, -0.05862869694828987, -0.5685073137283325, -0.2341078668832779, 0.13755929470062256, -0.32730793952941895, 0.8789699673652649, 0.5338683128356934, -0.18300612270832062, 0.1863560527563095, -0.7403700947761536, 0.2982397973537445, 0.6185596585273743, -0.5829150080680847, -0.07612473517656326, 0.45536860823631287, 0.4170435070991516, -0.1360677182674408, 1.2468458414077759, -0.20496271550655365, 0.20634736120700836, -0.563424825668335, 0.03679174929857254, 0.17836232483386993, 0.10636357963085175, -0.7216177582740784, 0.05175020918250084, -0.11569590121507645, -0.1388021856546402 ]
http://arxiv.org/abs/2402.02643v1
http://arxiv.org/pdf/2402.02643v1
LLM-Enhanced Data Management
2024-02-04T23:42:02
2024-02-04T23:42:02
Xuanhe Zhou, Xinyang Zhao, Guoliang Li
cs.DB
cs.DB, cs.AI, cs.CL, cs.LG
Machine learning (ML) techniques for optimizing data management problems have been extensively studied and widely deployed in recent five years. However traditional ML methods have limitations on generalizability (adapting to different scenarios) and inference ability (understanding the context). Fortunately, large language models (LLMs) have shown high generalizability and human-competitive abilities in understanding context, which are promising for data management tasks (e.g., database diagnosis, database tuning). However, existing LLMs have several limitations: hallucination, high cost, and low accuracy for complicated tasks. To address these challenges, we design LLMDB, an LLM-enhanced data management paradigm which has generalizability and high inference ability while avoiding hallucination, reducing LLM cost, and achieving high accuracy. LLMDB embeds domain-specific knowledge to avoid hallucination by LLM fine-tuning and prompt engineering. LLMDB reduces the high cost of LLMs by vector databases which provide semantic search and caching abilities. LLMDB improves the task accuracy by LLM agent which provides multiple-round inference and pipeline executions. We showcase three real-world scenarios that LLMDB can well support, including query rewrite, database diagnosis and data analytics. We also summarize the open research challenges of LLMDB.
[ -0.42370954155921936, -1.146884560585022, 0.6291444301605225, 0.10016632080078125, -0.1376311480998993, 0.14319054782390594, -0.18452754616737366, -0.4397297203540802, 0.21696077287197113, 0.8055336475372314, -0.6405754685401917, -0.7054155468940735, -0.378329336643219, 0.15354207158088684, -0.34632715582847595, 0.5391326546669006, -0.12621431052684784, -0.031141895800828934, -0.5624313950538635, -0.027735047042369843, -0.7380165457725525, -0.8118085265159607, -0.5109067559242249, -0.35284993052482605, 0.4930777847766876, 0.4247016906738281, 0.8535031676292419, 0.9624060988426208, 0.6297372579574585, 0.27529752254486084, 0.10397687554359436, 0.7678616046905518, -0.6504868268966675, 0.4158167541027069, -0.05369161069393158, -0.4889116883277893, -0.7866824269294739, -0.2696703374385834, 0.4098435342311859, 0.9493060111999512, -0.19461724162101746, -0.13856399059295654, 0.011606048792600632, 0.9295810461044312, -0.5166306495666504, 0.29331591725349426, -0.7348923683166504, 0.17364178597927094, -0.009545466862618923, -0.31040024757385254, -0.2203182727098465, -0.16468781232833862, -0.033357154577970505, -0.5893697142601013, 0.07526286691427231, 0.08060763776302338, 0.6022990345954895, 0.7619625329971313, -0.333185613155365, -0.3470621407032013, -0.6905791759490967, 0.7532908916473389, -0.24145551025867462, 0.40456026792526245, 0.3834613859653473, 0.4018358886241913, -0.4631376266479492, -0.49559104442596436, -0.3157607614994049, 0.10188151150941849, 0.08790917694568634, -0.033219434320926666, -0.17811685800552368, 0.10987655073404312, 0.18399038910865784, 0.24045468866825104, -0.5577904582023621, 0.49651363492012024, -0.040237460285425186, -0.11325763911008835, 0.529741644859314, 0.49947866797447205, -0.08590003848075867, 0.045812323689460754, -0.3412472903728485, 0.18091937899589539, -0.752332329750061, -0.4257293939590454, 0.07480879127979279, 0.3222668766975403, 0.3958108723163605, 0.6140877604484558, -0.4375816881656647, 0.7762030363082886, -0.2643606960773468, 0.0673767477273941, 0.09135778993368149, -0.16336669027805328, -0.4675569534301758, -0.04398137331008911, 0.3183736503124237, 0.3544577658176422, 0.09990598261356354, -0.6251973509788513, -0.421601265668869, 0.0797024667263031, 0.3679518699645996, -0.8857202529907227, -0.14091773331165314, 0.4841242730617523, -0.4436081647872925, -0.36050882935523987, -0.22304584085941315, -0.7285935878753662, -0.6824985146522522, -0.5787995457649231, 0.49317631125450134, -0.3884041905403137, -0.2827226519584656, 0.13924884796142578, 0.15967565774917603, 0.22722981870174408, 0.5325653553009033, -0.5749956369400024, 0.31189408898353577, 0.8240483403205872, 0.7506974339485168, -0.6965381503105164, 0.036941323429346085, -0.5840494632720947, 0.38324061036109924, -0.3596581518650055, 0.6834874749183655, -0.6163998246192932, -0.4111223518848419, -0.09866302460432053, 0.0366002656519413, 0.04985272139310837, -0.9964801669120789, 0.3782702088356018, -0.5229263305664062, -0.10059144347906113, -0.045041799545288086, -0.7648499011993408, -0.3415490984916687, 0.2170877903699875, -0.6591030359268188, 0.9229684472084045, 0.21687820553779602, -0.31983062624931335, 0.3828984498977661, -0.46337056159973145, -0.23379607498645782, 0.060588665306568146, -0.2873654365539551, -0.5899205207824707, 0.1333625465631485, 0.3127126395702362, 0.8151170611381531, -0.4366786479949951, 0.5019081830978394, -0.31198009848594666, -0.5125951766967773, 0.04534885287284851, -0.19515903294086456, 0.4585275948047638, 0.3050139844417572, 0.026635238900780678, 0.1586340069770813, -0.8565821051597595, -0.1210893839597702, 0.2435646951198578, -0.46546468138694763, -0.20999272167682648, 0.04415502771735191, -0.1759737730026245, -0.10315218567848206, 0.1174408346414566, -0.037818826735019684, 0.4666888117790222, -0.11233555525541306, 0.18905217945575714, 0.8260648250579834, -0.12099047750234604, 0.3650471270084381, -0.5572922229766846, 0.526763916015625, 0.175191730260849, -0.06960595399141312, 0.03487255424261093, -0.3500688374042511, -0.7006956338882446, -0.6258437633514404, 0.21106931567192078, 0.8066384196281433, -0.7421993613243103, 0.5830351710319519, -0.2244604229927063, -0.2406320422887802, -0.7162607312202454, 0.4164341688156128, -0.0832296833395958, 0.6253900527954102, 0.6359140276908875, -0.2357366532087326, -0.6388493180274963, -0.7828493118286133, -0.21155770123004913, 0.3074360191822052, -0.13755013048648834, 0.6328250169754028, 0.1948927342891693, -0.8512421250343323, 0.9553332328796387, -0.5167149901390076, -0.4595157206058502, -0.3379686176776886, -0.30240070819854736, 0.4393908977508545, 0.35073474049568176, 0.05274252966046333, -0.7396493554115295, -0.06430864334106445, -0.05682029202580452, -1.0403763055801392, -0.30584684014320374, -0.28509509563446045, -0.22991928458213806, 0.344425767660141, 0.3655664920806885, -0.8416450619697571, 0.22389215230941772, 0.17547939717769623, -0.16085654497146606, 0.43488749861717224, -0.2596225440502167, -0.0333138182759285, -0.8852697610855103, -0.21960608661174774, -0.139961376786232, -0.28968545794487, -0.6967915892601013, -0.16040797531604767, 0.23552697896957397, -0.12492580711841583, -0.2947174906730652, 0.44581732153892517, -0.4514952600002289, -0.1661074310541153, -0.36258208751678467, 0.18839900195598602, -0.18686966598033905, 0.3343339264392853, 0.08321071416139603, 0.6108434796333313, 0.7081411480903625, -1.1873483657836914, 0.6625334620475769, 0.2547387182712555, -0.20832858979701996, 0.6134232878684998, -0.36526554822921753, 0.18083398044109344, -0.3584762215614319, 0.07573924213647842, -0.6064295172691345, -0.27306273579597473, 0.18402458727359772, -0.27154165506362915, 0.476176917552948, 0.012149970978498459, -0.6468648314476013, -0.26874467730522156, -0.21565058827400208, -0.12316460907459259, 0.45408961176872253, -0.8421978950500488, 0.6907476782798767, 0.2307555377483368, 0.041334621608257294, -0.7063352465629578, -0.6887755990028381, 0.3362511992454529, -0.5199220776557922, -0.6802466511726379, 0.48954859375953674, 0.005886406172066927, -0.33590027689933777, -0.022527698427438736, -0.3476775884628296, -0.08662932366132736, 0.43477293848991394, 0.10558412224054337, 0.3162524402141571, -0.07317081838846207, 0.3339582681655884, 0.12506608664989471, -0.22837308049201965, 0.11727400124073029, -0.17004042863845825, 0.44271206855773926, 0.3538164496421814, -0.28541257977485657, -0.31168225407600403, 0.21425054967403412, 0.26478874683380127, 0.08878139406442642, 0.75382399559021, 0.5675902366638184, -0.44352665543556213, -0.45112714171409607, -0.6173846125602722, -0.38793009519577026, -0.4858161211013794, 0.5544753074645996, -0.6575877666473389, -0.7182824015617371, 0.34737077355384827, -0.4750520884990692, -0.022586338222026825, 0.16952690482139587, 0.6393370032310486, -0.1794532686471939, 0.8507034778594971, 0.4643233120441437, -0.20760495960712433, 0.19674928486347198, -0.24346917867660522, 0.1209413930773735, -0.705637514591217, -0.27717968821525574, -0.3795682191848755, -0.25673454999923706, -0.5930410623550415, -0.5968974232673645, 0.14109955728054047, 0.21961183845996857, -0.2536982297897339, 0.10168341547250748, -0.49326401948928833, 0.4213731586933136, 0.3404206335544586, 0.27945375442504883, 0.5621691346168518, 0.14718204736709595, 0.13593223690986633, 0.10817930102348328, -0.6752780675888062, -0.576704204082489, 1.3224178552627563, 0.4569871723651886, 1.0243874788284302, 0.1286805272102356, 0.6592370867729187, 0.36804667115211487, 0.05068879574537277, -0.6682468056678772, 0.5892795324325562, 0.04994705691933632, -0.33136922121047974, -0.18707579374313354, -0.7904497981071472, -0.9254534840583801, 0.46666908264160156, -0.2035994678735733, -0.52094566822052, -0.05147257447242737, 0.10638603568077087, 0.09326734393835068, 0.314816951751709, -0.5194604396820068, 0.5696573257446289, -0.23827971518039703, -0.4322836399078369, -0.2765668034553528, -0.2944628894329071, 0.2230149209499359, -0.35044360160827637, 0.1946621537208557, -0.12574632465839386, -0.37998539209365845, 0.4572829306125641, -0.25517815351486206, 0.7080003023147583, -0.31394699215888977, -0.09796537458896637, -0.03006802685558796, 0.23288488388061523, 0.9281776547431946, 0.03712649643421173, -0.2980528175830841, 0.10176775604486465, -0.3333568572998047, -0.40919816493988037, -0.5291290879249573, 0.7342309355735779, -0.6005616188049316, -0.7514708638191223, -0.1417795568704605, -0.7338127493858337, -0.3688858449459076, 0.037451330572366714, -0.21161897480487823, 0.04863426089286804, -0.029219379648566246, 0.40591761469841003, 0.9797415137290955, -0.5471170544624329, 0.15755099058151245, 0.5441067814826965, -0.27426350116729736, -0.20025479793548584, 1.0338494777679443, 0.09956900775432587, 0.10003447532653809, 0.5062239766120911, 0.07181331515312195, -0.2710648775100708, -0.6761507391929626, -0.32334381341934204, 0.13468249142169952, -0.6267537474632263, -0.3788812756538391, -0.9234645366668701, 0.025934729725122452, -0.3003062307834625, -0.10785961896181107, -0.14115971326828003, -0.41917112469673157, -0.5891112685203552, -0.21971848607063293, 0.6014761328697205, 0.4523504674434662, -0.0685887485742569, 0.10233205556869507, -0.3801010847091675, 0.4951842129230499, 0.10299364477396011, 0.306711882352829, -0.12457932531833649, -0.28816697001457214, -0.2220626175403595, -0.21527805924415588, -0.2128576934337616, -0.6662367582321167, 0.4877850115299225, 0.09150933474302292, 0.6501296758651733, 0.18626776337623596, 0.037668291479349136, 0.633741557598114, -0.22950701415538788, 0.35270121693611145, -0.19143478572368622, -0.6115136742591858, 0.5150089263916016, -0.18431566655635834, -0.03938950225710869, 0.16288699209690094, 0.44844144582748413, -0.25558966398239136, -0.29166826605796814, -0.08892670273780823, -0.8934570550918579, 0.48041990399360657, 0.11461860686540604, 0.014689113013446331, 0.19507330656051636, 0.5491785407066345, 0.3883335590362549, 0.3497343957424164, -0.35575369000434875, -0.4615570306777954, 0.07437672466039658, -0.2707129716873169, -0.039867039769887924, -0.15361297130584717, 0.06133996322751045, -0.3408132493495941, 0.6031496524810791, -0.20460475981235504, 0.3177734613418579, 0.029116356745362282, -0.44047361612319946, 0.12850911915302277, 0.13470375537872314, 0.23197200894355774, 0.6798120141029358, -0.34855037927627563, 0.02062561735510826, 0.4139672517776489, -0.3362259268760681, -0.057199738919734955, 0.037756308913230896, -0.08589550852775574, -0.11593088507652283, 0.059314776211977005, 0.6911444067955017, -0.09607639163732529, -0.7748181223869324, -0.04395096004009247, 0.08581887930631638, -0.25562724471092224, -0.16649718582630157, 0.3518736958503723, 0.2717718482017517, 0.4002765119075775, 0.393358051776886, -0.34153178334236145, 0.09028829634189606, -0.3403313159942627, 0.19187720119953156, 0.5408427715301514, -0.12334152311086655, 0.2735068202018738, 0.6641005277633667, 0.015345039777457714, -0.15605150163173676, 0.6762632727622986, -0.04739394411444664, -0.23752231895923615, 0.7014460563659668, 0.4911828935146332, 0.6102047562599182, -0.17028599977493286, -0.061221376061439514, -0.057683080434799194, 0.2777514159679413, 0.12669983506202698, 0.5026768445968628, -0.06843354552984238, -0.7402415871620178, -0.23673681914806366, -0.5650895833969116, -0.6825428605079651, 0.16943666338920593, -0.4106372892856598, 0.3170938193798065, -0.32299357652664185, 0.03287283703684807, -0.19677135348320007, 0.37533286213874817, -0.7822774052619934, 0.1595541089773178, -0.14638778567314148, 0.8793277144432068, -0.2962234616279602, 1.0277540683746338, 0.24395187199115753, -0.19056694209575653, -0.1415378302335739, -0.5611298084259033, 0.050293635576963425, -0.9638736844062805, 0.5953088402748108, 0.3278268575668335, 0.09402830898761749, 0.04669329524040222, -0.36458995938301086, -0.5133194327354431, 1.361322283744812, 0.4547595977783203, -0.6284248232841492, 0.1278291940689087, 0.2867773771286011, 0.33180925250053406, -0.48632729053497314, -0.1012033075094223, 0.8254764676094055, 0.6175341010093689, -0.047890663146972656, -0.5637332201004028, 0.09998064488172531, 0.2769756019115448, 0.008191448636353016, 0.10329624265432358, -0.34026628732681274, 0.7227890491485596, -0.21884767711162567, -0.11484919488430023, -0.17609292268753052, 0.6079824566841125, 0.2545386552810669, 0.42109718918800354, 0.21561354398727417, 0.6624165773391724, 1.1567047834396362, -0.11945191770792007, 0.9975231289863586, -0.13800537586212158, 0.16745483875274658, 1.0408941507339478, -0.46454867720603943, 0.4785972535610199, 0.3866480886936188, -0.13438710570335388, 0.12446364015340805, 0.7915683388710022, -0.15930776298046112, 0.3698175549507141, 0.39742663502693176, -0.3712752163410187, -0.28970086574554443, -0.16115617752075195, -0.3221876919269562, 0.3200705945491791, 0.5218831300735474, -0.2580415606498718, 0.040355291217565536, 0.04887016490101814, -0.06435703486204147, -0.028841210529208183, -0.35595008730888367, 0.8247766494750977, 0.06160733476281166, -0.026410290971398354, 0.6347312927246094, -0.04590864107012749, 0.7433694005012512, -0.29336994886398315, -0.05697965621948242, -0.38090792298316956, 0.305934876203537, -0.4146786034107208, -0.6861323118209839, 0.38993844389915466, -0.07255680859088898, -0.19465892016887665, -0.20092205703258514, 0.8899309039115906, -0.3576190173625946, -0.21396662294864655, 0.44351986050605774, 0.7702139616012573, 0.38764792680740356, -0.3170570135116577, -0.5932058691978455, 0.296051949262619, -0.17363715171813965, -0.31068336963653564, 0.44069957733154297, 0.6146883964538574, 0.09953561425209045, 1.1116594076156616, 0.5145902633666992, 0.2786514163017273, -0.029612183570861816, 0.09965068101882935, 0.8349243998527527, -0.8173651695251465, -0.19469475746154785, -0.8392287492752075, 0.055478379130363464, -0.16160456836223602, 0.36062881350517273, 0.5383927226066589, 0.6654821038246155, 0.6156915426254272, -0.011133993975818157, 0.7150701880455017, 0.2828079164028168, 0.6366193890571594, -0.7159929871559143, 0.5226014852523804, -0.6111835241317749, 0.5378220081329346, -0.050021108239889145, -1.170688271522522, -0.48052024841308594, 0.5110223889350891, -0.036919571459293365, 0.018850000575184822, 0.49007919430732727, 1.026046872138977, 0.07505969703197479, -0.10657431930303574, 0.5416125655174255, 0.2229098081588745, 0.3969435691833496, 0.6137781143188477, 0.6185824871063232, -0.08513357490301132, 0.41209667921066284, -0.06057746708393097, -0.13830684125423431, -0.31526249647140503, -0.7067172527313232, -1.015924096107483, -0.22170919179916382, -0.24498289823532104, -0.20601920783519745, 0.1368960589170456, 0.9289693236351013, 0.6385106444358826, -0.6700108647346497, -0.18053153157234192, -0.15521621704101562, 0.5196593403816223, -0.10805448889732361, -0.2532128691673279, 0.3308137059211731, -0.5076138973236084, -0.6183238625526428, 0.6095748543739319, 0.23773415386676788, 0.05484432354569435, -0.31350088119506836, -0.19718512892723083, 0.17946363985538483, -0.11337874084711075, 0.758319616317749, -0.03681908920407295, -0.3994166851043701, -0.0018346995348110795, 0.006918264087289572, -0.10036757588386536, 0.024841483682394028, 0.5721369385719299, -0.9685520529747009, 0.3528350591659546, 0.2713567316532135, 1.2211462259292603, 0.5566387176513672, -0.02416227012872696, 0.5968625545501709, -0.47612717747688293, 0.001790150417946279, 0.2387627214193344, 0.2259349226951599, 0.29938653111457825, -0.6845268607139587, 0.7958602905273438, 0.3203122913837433, -0.5374507904052734, -0.9344709515571594, 0.137451171875, -0.8534573912620544, -0.5963252782821655, 1.0915988683700562, 0.2893209159374237, -0.02037818357348442, -0.29981347918510437, -0.09577187895774841, 0.19349713623523712, -0.33686602115631104, 0.8048810362815857, 0.5360023975372314, -0.4222036898136139, -0.14768196642398834, -0.9426283836364746, 0.47595351934432983, 0.30716899037361145, -1.0545276403427124, 0.28617340326309204, 0.5001117587089539, 0.021157803013920784, -0.49079379439353943, 0.30256229639053345, 0.0857330784201622, -0.07617437094449997, -0.2204241007566452, -0.026125840842723846, -0.3270856440067291, -0.4137476980686188, -0.3621255159378052, 0.1994459629058838, -0.12201814353466034, -0.15656721591949463 ]
http://arxiv.org/abs/2402.02639v2
http://arxiv.org/pdf/2402.02639v2
"It's how you do things that matters": Attending to Process to Better Serve Indigenous Communities with Language Technologies
2024-02-04T23:23:51
2024-02-06T02:50:48
Ned Cooper, Courtney Heldreth, Ben Hutchinson
cs.CL
cs.CL
Indigenous languages are historically under-served by Natural Language Processing (NLP) technologies, but this is changing for some languages with the recent scaling of large multilingual models and an increased focus by the NLP community on endangered languages. This position paper explores ethical considerations in building NLP technologies for Indigenous languages, based on the premise that such projects should primarily serve Indigenous communities. We report on interviews with 17 researchers working in or with Aboriginal and/or Torres Strait Islander communities on language technology projects in Australia. Drawing on insights from the interviews, we recommend practices for NLP researchers to increase attention to the process of engagements with Indigenous communities, rather than focusing only on decontextualised artefacts.
[ -0.34472015500068665, -0.5836108326911926, 0.4171033501625061, 0.3197711408138275, -0.08424808084964752, 0.2976764738559723, -0.27243295311927795, -0.8008842468261719, 0.46919286251068115, 0.6431694030761719, -0.18104085326194763, -0.07870326936244965, -0.8098017573356628, 0.34303268790245056, -0.07628481835126877, 0.6124469637870789, 0.08443864434957504, -0.17112791538238525, 0.2236488163471222, -0.39369142055511475, -0.6272705793380737, -0.4266398549079895, -0.8880828022956848, -0.2400633543729782, 0.43739303946495056, 0.2744804918766022, 1.2726962566375732, 0.8242362141609192, 0.5813024640083313, 0.256550133228302, -0.5982150435447693, 0.017213456332683563, -0.08681902289390564, 0.1057676151394844, -0.6461284756660461, -0.5095537900924683, 0.12145210057497025, 0.04588541388511658, 0.13150985538959503, 0.6383697986602783, -0.27743053436279297, 0.7367264628410339, -0.29785582423210144, 0.3770485520362854, -0.6867030262947083, 0.13446320593357086, -0.19194863736629486, 0.4733355939388275, -0.32281506061553955, -0.39546865224838257, -0.37815529108047485, -0.7648778557777405, -0.2553849518299103, -0.43933457136154175, -0.1765785962343216, 0.1463920623064041, 0.2934280335903168, 0.2013358175754547, -0.33820053935050964, -0.06356248259544373, -0.8496639132499695, 1.0397531986236572, -1.0855735540390015, -0.058635272085666656, 0.8191639184951782, -0.09834038466215134, -0.09261102229356766, -0.7784655094146729, -0.4800271689891815, 0.29897797107696533, -0.4651232957839966, -0.2572799324989319, -0.10814562439918518, 0.19780932366847992, 0.44877633452415466, 0.3383535146713257, -0.39503204822540283, 0.16085384786128998, -0.726460874080658, -0.14128170907497406, 0.5480237603187561, -0.0952080562710762, 0.5753458738327026, -0.23022973537445068, 0.1825024038553238, 0.05728738382458687, -0.662935733795166, 0.12273524701595306, 0.3601697087287903, 0.5084574222564697, 0.3727198541164398, 0.8490942716598511, -0.00815145019441843, 0.8301291465759277, -0.14981353282928467, -0.10863929241895676, 0.03614451736211777, -0.34840676188468933, -0.10052083432674408, 0.2448975294828415, 0.25246840715408325, 0.5659236311912537, 0.1787053495645523, -0.07328783720731735, 0.1167912557721138, 0.09293054044246674, 0.4411028325557709, -0.4587107002735138, 0.07864495366811752, 0.4877464473247528, -0.5356720685958862, 0.051655758172273636, -0.27423301339149475, 0.041166726499795914, -0.22701536118984222, -0.7202360033988953, 0.25870481133461, -0.15632188320159912, -1.012542486190796, 0.47475045919418335, -0.49204471707344055, 0.26584288477897644, -0.08872395008802414, -1.3041870594024658, 0.3222716450691223, 0.8870898485183716, 0.5369192957878113, 0.3762434124946594, -0.2562825381755829, -0.5813857316970825, 0.14756354689598083, -0.4748738706111908, 0.6395324468612671, -0.6279038190841675, -0.42874038219451904, 0.271875262260437, -0.10616494715213776, -0.056531600654125214, -0.4741503596305847, 0.7277163863182068, -0.42742207646369934, 0.03301990404725075, -0.5659230351448059, -0.17528168857097626, -0.24677129089832306, -0.12037733942270279, -0.46251609921455383, 1.2028909921646118, -0.06664593517780304, -0.671464741230011, 0.49401772022247314, -0.9561614990234375, -0.7573152780532837, 0.49108627438545227, 0.16035296022891998, -0.12487421929836273, 0.3830176293849945, -0.026040028780698776, 0.3992997705936432, 0.16965541243553162, 0.43221381306648254, 0.09702581912279129, -0.45493441820144653, 0.2109815925359726, -0.04159685969352722, 1.1866594552993774, 0.41654446721076965, -0.6390134692192078, -0.28786641359329224, -0.3315100371837616, 0.37009382247924805, -0.39063194394111633, -0.41215112805366516, -0.5572370290756226, 0.15810179710388184, 0.32564792037010193, 0.1962541788816452, -0.07296593487262726, -0.5449339747428894, 0.15733560919761658, -0.38802653551101685, 0.9126482605934143, 0.3296472728252411, -0.05838993564248085, 0.6394676566123962, -0.33902373909950256, 0.4778123199939728, -0.6119264364242554, 0.5305556654930115, 0.04242035374045372, -0.9311283230781555, -0.5188708305358887, 0.4638085663318634, 0.09674467891454697, 0.22459790110588074, -0.690407395362854, 0.24979330599308014, 0.09266764670610428, -0.25777143239974976, -0.9703564047813416, -0.10966894775629044, -0.016659565269947052, 0.22944855690002441, 0.21022042632102966, -0.4321838915348053, -0.4943358302116394, -0.9103637933731079, -0.3754050135612488, -0.8101186156272888, 0.07594119757413864, 0.056011103093624115, 0.1367238163948059, -0.1152665838599205, 1.280333399772644, -0.24499297142028809, -0.14762164652347565, -0.07087048888206482, 0.4262518286705017, 0.08320940285921097, 0.38960498571395874, 0.40335026383399963, -1.189846396446228, -0.34414395689964294, 0.27462688088417053, -0.7025764584541321, -0.20274484157562256, -0.04526760056614876, 0.12748171389102936, 0.01607414148747921, 0.31539076566696167, -0.5629549622535706, 0.3229048252105713, 0.45701542496681213, -0.5362147688865662, -0.07982707768678665, -0.2666657567024231, 0.3314337730407715, -0.7016392350196838, 0.1382557600736618, -0.23287652432918549, -0.13753290474414825, -0.6060366034507751, 0.5201811194419861, -0.09688258916139603, -0.13759486377239227, -0.6894956827163696, 0.38193419575691223, -0.297383189201355, -0.09490738809108734, -0.29814064502716064, -0.1562504768371582, 0.11403416842222214, 0.06766120344400406, 0.5475611090660095, 0.547788679599762, 0.3860214650630951, -0.5430678129196167, 0.06642349064350128, 0.49929079413414, -0.19809457659721375, 0.7265893816947937, -0.41233953833580017, 0.39608925580978394, -0.0404936820268631, -0.2607070803642273, -0.4631968140602112, 0.27062347531318665, 0.18561628460884094, -0.4785822033882141, 0.032414257526397705, -0.25582486391067505, -0.66559898853302, -0.3921964168548584, -0.15526346862316132, 0.26303911209106445, 0.24816298484802246, -0.18401861190795898, 0.8077082633972168, 1.0199253559112549, -0.5738199949264526, -0.8718595504760742, -1.4891753196716309, 0.6147076487541199, -0.45880213379859924, -0.6771937608718872, -0.11093445867300034, -0.014531324617564678, -0.7840906977653503, 0.08601131290197372, 0.15641511976718903, -0.4016963541507721, 0.5728509426116943, 0.20415011048316956, -0.48166990280151367, -0.4278337359428406, 0.07412297278642654, 0.17944373190402985, -0.19477300345897675, 0.19628579914569855, -0.2234085500240326, 0.35687628388404846, -0.05587633699178696, -0.18733760714530945, -0.34252262115478516, 0.8981058597564697, 0.08569486439228058, -0.3032127320766449, 0.7513163685798645, 0.7572091221809387, -0.31873154640197754, 0.11785364151000977, -0.7854071259498596, -0.09836188703775406, -0.5168962478637695, -0.021732425317168236, 0.1967986822128296, -0.9832260608673096, 0.21881002187728882, 0.15110182762145996, 0.5467098355293274, 0.257267028093338, 0.32189661264419556, -0.1899157017469406, 0.17624981701374054, 1.0749709606170654, -0.018536187708377838, 0.366569459438324, -0.059851109981536865, 0.6962223649024963, -0.7082159519195557, 0.14566029608249664, -0.6419144868850708, -0.28656381368637085, -0.6472769379615784, -0.516541063785553, -0.051276471465826035, -0.04296300560235977, -0.1995936781167984, 0.9604282379150391, -0.8956817388534546, 0.5672466158866882, 0.5845762491226196, -0.11930648237466812, 0.8218201398849487, -0.2630162835121155, 0.6055989861488342, -0.150961235165596, -0.6551328897476196, -0.9353376030921936, 0.7524154782295227, 0.18140409886837006, 0.6005973815917969, 0.41912370920181274, 0.8100252151489258, 0.5991824865341187, 0.3206866979598999, -0.7033271193504333, 0.2277352511882782, 0.26322346925735474, -0.8278389573097229, -0.509639322757721, -0.09770304709672928, -1.1954963207244873, 0.06393697112798691, 0.09599713981151581, -0.5535535216331482, 0.4652518928050995, -0.11730040609836578, -0.5099658966064453, 0.471393883228302, -0.9032971858978271, 0.3514619469642639, 0.08310005068778992, -0.06296378374099731, -0.46596065163612366, -0.6374346017837524, -0.18008622527122498, 0.23078393936157227, 0.5398096442222595, 0.09043359756469727, -0.014276129193603992, 0.6412013173103333, -0.11100766807794571, 0.963493287563324, 0.07646854966878891, -0.20170801877975464, 0.7365105748176575, 0.07868709415197372, -0.002386751351878047, 0.23489786684513092, -0.4254313111305237, 0.16877852380275726, 0.047858063131570816, -0.4076269865036011, -0.11140068620443344, 0.5446769595146179, -0.5300199389457703, -0.7704742550849915, -0.41498076915740967, -0.0927114337682724, 0.11281266808509827, -0.020005101338028908, -0.05135668069124222, 0.14637434482574463, -0.02715037576854229, 0.01924184150993824, 0.6682822704315186, -0.0979638621211052, 0.9026333689689636, 0.29522648453712463, 0.1102341040968895, 0.21340535581111908, 0.6041361689567566, 0.3925130069255829, 0.3907649517059326, 0.4353196918964386, 0.17874287068843842, -0.24620287120342255, -0.43921995162963867, -0.6331356167793274, 0.05579940229654312, -0.8680951595306396, 0.007629790343344212, -0.7112367153167725, -0.01445157639682293, -0.3154376447200775, -0.45071133971214294, -0.2992568612098694, -0.6235300898551941, -0.19588591158390045, -0.4786585867404938, 0.5521754622459412, 0.8588565587997437, -0.5092186331748962, 0.09840759634971619, -0.6969735622406006, 0.2496330440044403, 0.3980887532234192, 0.11572615057229996, -0.20088250935077667, -0.15638163685798645, -0.07932571321725845, -0.16192229092121124, -0.1349487602710724, -0.14066588878631592, 0.4735034704208374, -0.003540968056768179, 0.6402195692062378, -0.21310369670391083, 0.24438945949077606, 0.4783456027507782, -0.26345381140708923, 0.9747360944747925, 0.03022966906428337, -0.73708176612854, 0.5906925797462463, -0.34206801652908325, 0.27081283926963806, 0.672191858291626, 0.30133965611457825, -1.179736852645874, -0.5414419174194336, -0.7303595542907715, -1.058876395225525, 0.7132473587989807, 0.4766657054424286, 0.6426070332527161, -0.11839227378368378, 0.1932060867547989, 0.005601507145911455, 0.36657553911209106, -1.1169975996017456, -0.40429091453552246, -0.040409233421087265, 0.31908315420150757, 0.2786826491355896, -0.03359658271074295, -0.42258355021476746, 0.2861657738685608, 0.19541776180267334, -0.24151979386806488, 0.20695361495018005, 0.17987759411334991, -0.09305490553379059, -0.2993147671222687, 0.4346407949924469, 0.10767288506031036, 0.9334049224853516, 0.17134502530097961, 0.16980107128620148, 0.08875041455030441, -0.5092488527297974, 0.15694904327392578, -0.2449144572019577, -0.16549701988697052, -0.025750882923603058, 0.1523863524198532, 0.38160377740859985, 0.006670344155281782, -0.3562217652797699, 0.16502609848976135, -0.3154710829257965, 0.23089449107646942, -0.1651248186826706, 0.05061296373605728, 0.39562663435935974, 0.08149649202823639, 0.4761851131916046, 0.4976237118244171, 0.32559144496917725, -0.8447193503379822, -0.2079876810312271, 0.03770847246050835, -0.13152563571929932, -0.04289183020591736, 0.3938680589199066, 0.3919317424297333, -0.8443894982337952, 0.3718881905078888, 0.24559947848320007, -0.023802053183317184, 0.5192509293556213, 0.19904541969299316, 0.6703777313232422, -0.1846865862607956, 0.6180013418197632, 0.24135391414165497, 0.6199929714202881, -0.49282240867614746, 0.2161037027835846, -0.37940341234207153, -0.6447582840919495, -0.9723367691040039, -0.46172770857810974, -0.7273873686790466, -0.22966653108596802, -0.8095372915267944, 0.09252514690160751, -0.3419974744319916, -0.5195218920707703, -0.19850125908851624, -0.025158468633890152, -0.28295984864234924, 0.1085474044084549, 0.3504279851913452, 0.7178823947906494, -1.1159300804138184, 0.35494866967201233, 0.36622172594070435, -0.31902623176574707, -0.47043558955192566, -0.27804452180862427, -0.1469372659921646, -0.41583704948425293, 0.5850721001625061, -0.3104802966117859, -0.18885336816310883, -0.11181771010160446, -0.3834410011768341, -1.055804967880249, 0.7815075516700745, 0.32857048511505127, -0.14595960080623627, 0.20410121977329254, 0.4377860426902771, 0.5515321493148804, 0.3103378713130951, 0.40601733326911926, 0.4167012870311737, 0.770143985748291, -0.4124356210231781, -1.1450092792510986, -0.24953900277614594, -0.19707337021827698, 0.15982341766357422, 0.22548411786556244, -0.7494170069694519, 0.25945302844047546, -0.03423366695642471, -0.38480934500694275, 0.0015355529030784965, 0.42579248547554016, -0.011484145186841488, 0.1110754981637001, 0.021710749715566635, 0.15756769478321075, 0.7242363095283508, -0.056355033069849014, 1.2043784856796265, 0.1720128059387207, 0.06462782621383667, 0.7445154190063477, -0.011277702637016773, 0.689461886882782, 0.9151117205619812, -0.3321221172809601, -0.002868299838155508, 0.7519536018371582, 0.38222241401672363, 0.1459030658006668, 0.3253667950630188, -0.1938028782606125, -0.01785370521247387, -0.409053236246109, -0.3128089904785156, 0.32770946621894836, 0.44456395506858826, -0.03176385536789894, -0.08375097066164017, 0.13703277707099915, -0.14243973791599274, 0.580659806728363, -0.329080730676651, 0.6823174953460693, 0.29604464769363403, -0.5504879951477051, 0.08040212839841843, 0.14129871129989624, 0.8495951294898987, -0.4929567873477936, 0.0622609406709671, 0.017769165337085724, -0.3729632794857025, -0.5942330956459045, -1.1785131692886353, 0.9796354174613953, -0.25216320157051086, -0.07793360948562622, -0.6938602924346924, 0.5006667375564575, 0.06279055029153824, -0.35647526383399963, 0.30664825439453125, 0.38553088903427124, 0.08044880628585815, 0.10427577048540115, -0.40576037764549255, 0.11438434571027756, -0.02382928691804409, -0.22122369706630707, 0.38854125142097473, 0.4528280198574066, -0.2906872034072876, 0.6600180268287659, 0.5885318517684937, 0.3805912137031555, 0.06458582729101181, 0.22572845220565796, 0.6082370281219482, -0.7737236022949219, -0.14446039497852325, -0.63616544008255, 0.5773314237594604, -0.04404071345925331, -0.7960245609283447, 0.5938323736190796, 0.30888500809669495, 0.841424286365509, 0.14763030409812927, 0.5534578561782837, -0.450865775346756, 0.1920456439256668, -0.4717147946357727, 0.518995463848114, 0.15583230555057526, 0.14230675995349884, -0.2804581820964813, -0.7242138385772705, -0.6002101302146912, 0.916520357131958, -0.275027871131897, -0.19390588998794556, 0.35026854276657104, 0.489432692527771, 0.28977012634277344, 0.5256479978561401, 0.4307049810886383, -0.10680177807807922, 0.31101685762405396, -0.00852794386446476, 0.8435113430023193, -0.511093020439148, 0.25302183628082275, -0.4502343237400055, -0.010771770030260086, 0.14259763062000275, -0.9846796989440918, -0.2453773468732834, -0.5937013030052185, -0.5754472613334656, 0.026224583387374878, -0.2341611236333847, 0.9290810227394104, 0.8993580341339111, -0.6624614596366882, -0.49871551990509033, 0.2282683402299881, 0.0707859918475151, -0.6169564723968506, -0.24752174317836761, 0.11469274759292603, -0.22056297957897186, -0.8619545698165894, 0.3136832118034363, 0.6690912246704102, -0.4492422938346863, -0.29648131132125854, 0.2954850494861603, -0.4827418923377991, -0.31050628423690796, 0.7840034365653992, 0.685025691986084, -0.6561053395271301, -0.2815577983856201, -0.008880739100277424, -0.12854477763175964, 0.3040561378002167, 1.0504223108291626, -0.6054614782333374, 0.3938208818435669, 0.20748348534107208, 0.8985667824745178, 0.522972822189331, -0.09256704896688461, 0.838289201259613, -0.42234519124031067, 0.11423728615045547, 0.7084555625915527, 0.3268187642097473, 0.7499996423721313, -0.9105105400085449, 0.7711848616600037, -0.18301834166049957, -0.8523581624031067, -0.45064571499824524, 0.09885130077600479, -0.8092946410179138, -0.19831721484661102, 1.1841931343078613, 0.019538141787052155, -0.23400668799877167, -0.9439888000488281, -0.5525282025337219, -0.11145754903554916, -0.30695202946662903, 0.7651643753051758, 0.41272619366645813, -0.22876931726932526, -0.10881784558296204, -0.5465509295463562, 0.44045549631118774, 0.4684840440750122, -0.36091306805610657, 0.16836586594581604, -0.12927469611167908, 0.1483025848865509, 0.6147896647453308, 0.8571353554725647, -0.19631414115428925, 0.1741810292005539, -0.11049968749284744, -0.049178916960954666, 0.37376171350479126, 0.24817951023578644, -0.14139729738235474, 0.11780422180891037, 0.45435017347335815, 0.32505184412002563 ]
http://arxiv.org/abs/2402.02636v1
http://arxiv.org/pdf/2402.02636v1
Can Large Language Models Learn Independent Causal Mechanisms?
2024-02-04T23:04:02
2024-02-04T23:04:02
Gaël Gendron, Bao Trung Nguyen, Alex Yuxuan Peng, Michael Witbrock, Gillian Dobbie
cs.CL
cs.CL, cs.AI, cs.IT, cs.LG, math.IT, I.2.3; I.2.6; I.2.7; G.3
Despite impressive performance on language modelling and complex reasoning tasks, Large Language Models (LLMs) fall short on the same tasks in uncommon settings or with distribution shifts, exhibiting some lack of generalisation ability. This issue has usually been alleviated by feeding more training data into the LLM. However, this method is brittle, as the scope of tasks may not be readily predictable or may evolve, and updating the model with new data generally requires extensive additional training. By contrast, systems, such as causal models, that learn abstract variables and causal relationships can demonstrate increased robustness against changes in the distribution. One reason for this success is the existence and use of Independent Causal Mechanisms (ICMs) representing high-level concepts that only sparsely interact. In this work, we apply two concepts from causality to learn ICMs within LLMs. We develop a new LLM architecture composed of multiple sparsely interacting language modelling modules. We introduce a routing scheme to induce specialisation of the network into domain-specific modules. We also present a Mutual Information minimisation objective that trains a separate module to learn abstraction and domain-invariant mechanisms. We show that such causal constraints can improve out-of-distribution performance on abstract and causal reasoning tasks.
[ -0.1639915555715561, -0.6875195503234863, 0.7361102104187012, 0.22860370576381683, -0.03384978324174881, -0.3801186978816986, -0.29972943663597107, -0.39562347531318665, 0.0763845145702362, 0.46002650260925293, -0.5037679076194763, -0.19647817313671112, -0.6563459634780884, 0.11772345006465912, -0.2336108237504959, 0.7803559303283691, 0.0011566614266484976, 0.26386943459510803, -0.16631917655467987, -0.23716969788074493, -0.3646407127380371, -0.38131067156791687, -0.7681543827056885, -0.5859098434448242, 0.8026413917541504, 0.1985340416431427, 0.4266274571418762, 0.6715867519378662, 0.39851969480514526, 0.3736500144004822, 0.09146495908498764, 0.21235789358615875, -0.3490377962589264, 0.008640201762318611, -0.6493822336196899, -0.4996616542339325, 0.06611272692680359, -0.30095991492271423, 0.6655188202857971, 0.9236528873443604, -0.04841341823339462, -0.1811385601758957, 0.20136426389217377, 0.4294646382331848, -0.6581385135650635, 0.6646693348884583, -0.6541250348091125, -0.2814251482486725, -0.0766933262348175, -0.2583077549934387, -0.6154776811599731, 0.10780825465917587, 0.07198093086481094, -0.555478572845459, 0.09663068503141403, 0.015220713801681995, 0.42126789689064026, 0.2560305893421173, -0.7464040517807007, -0.21216048300266266, -0.7502549886703491, 0.626410722732544, -0.5768946409225464, 0.15087246894836426, 0.21730588376522064, 0.2473791241645813, -0.31308260560035706, -0.40187835693359375, -0.2771323621273041, -0.199861541390419, -0.27142247557640076, -0.051880959421396255, -0.19892849028110504, 0.060471028089523315, 0.14430096745491028, -0.2571248412132263, -0.12974543869495392, 0.49792414903640747, -0.36646589636802673, -0.05894920229911804, 0.5879931449890137, 0.4008770287036896, 0.2320857048034668, -0.13440777361392975, -0.47602784633636475, 0.08520281314849854, -1.0406111478805542, -0.10495688766241074, 0.5140585899353027, 0.4734833538532257, -0.3544157147407532, 0.23507803678512573, -0.05802048370242119, 0.5850222706794739, -0.03655432537198067, -0.07979649305343628, -0.21239590644836426, 0.1202082484960556, -0.13128772377967834, -0.11217660456895828, 0.714734673500061, -0.4962024688720703, -0.0584222786128521, -0.3174750804901123, -0.3127322196960449, 0.05146782100200653, 0.01977476105093956, -0.2895413041114807, -0.2222883105278015, -0.011039553210139275, -0.15859225392341614, 0.0042923735454678535, -0.16165724396705627, -0.21166622638702393, -0.3487433195114136, -0.5816660523414612, 0.6999458074569702, -0.2786098122596741, -0.24858802556991577, 0.269700825214386, 0.1277923732995987, 0.021993262693285942, 0.5267494320869446, -1.050897240638733, 0.5048547387123108, 0.5714191198348999, 0.6233307719230652, -0.25556978583335876, -0.6100218296051025, -0.6847720742225647, 0.5644237399101257, -0.24381090700626373, 0.7020905017852783, -0.4698939025402069, 0.11677858233451843, 0.07785482704639435, 0.14379353821277618, -0.36002933979034424, -0.44566768407821655, 0.2762967646121979, -0.7678714394569397, -0.1743737906217575, -0.056145086884498596, -0.4890010356903076, -0.364279568195343, -0.1551925092935562, -0.6686686873435974, 0.45773056149482727, -0.17015814781188965, -1.0186322927474976, 0.17983923852443695, -0.2693325877189636, -0.6389529705047607, -0.17632833123207092, -0.3973153829574585, -0.2436361312866211, 0.169902965426445, -0.015768632292747498, 0.693143367767334, -0.6380746960639954, 0.705522358417511, -0.7468002438545227, -0.1452733278274536, 0.11880283057689667, -0.6299774050712585, 0.7443706393241882, -0.06369598954916, -0.5591747760772705, 0.1441350281238556, -0.938174843788147, -0.4429253041744232, -0.06433281302452087, -0.38613811135292053, -0.5778332948684692, 0.3146374821662903, -0.3004004955291748, 0.4337000250816345, -0.06029780954122543, -0.11032575368881226, 0.09654927253723145, -0.2744394838809967, 0.21951480209827423, 1.082915186882019, 0.12222073972225189, 0.5975437164306641, -0.21003028750419617, 0.1484447568655014, 0.45294538140296936, 0.07271669805049896, 0.0886419266462326, -0.33124664425849915, -0.9191356897354126, -0.2982522249221802, -0.2108060121536255, 0.3818471133708954, -0.7953512668609619, 0.37552034854888916, -0.036330707371234894, -0.11590326577425003, -0.02525644563138485, 0.29653188586235046, 0.408738911151886, 0.24486100673675537, 0.2559371292591095, -0.29853522777557373, -0.24740047752857208, -0.7597230672836304, -0.10561083257198334, -0.26123371720314026, 0.2983671724796295, 0.20270417630672455, 0.5727046132087708, -0.17508138716220856, 0.5703374743461609, -0.41454795002937317, -0.15977594256401062, -0.29827648401260376, 0.07738063484430313, 0.1297987550497055, 0.5141590237617493, 0.14970451593399048, -0.5594058632850647, -0.17277969419956207, 0.17663191258907318, -0.9723487496376038, -0.17026683688163757, -0.22335144877433777, -0.1184588074684143, -0.07297333329916, 0.729013204574585, -0.8040264248847961, 0.13158240914344788, 0.3301919996738434, -0.25020650029182434, 0.46874362230300903, -0.46301019191741943, -0.3854184150695801, -0.6111693382263184, -0.06965496391057968, 0.031818658113479614, -0.023606793954968452, -0.6152607202529907, 0.06712331622838974, -0.04722020775079727, 0.09198302775621414, -0.6058807969093323, 0.9415819048881531, -0.7204375267028809, -0.01928890123963356, -0.3655725419521332, 0.26394763588905334, -0.18011769652366638, 0.7776529788970947, 0.053914960473775864, 0.06988345831632614, 1.0662164688110352, -0.9376845955848694, 0.008151724934577942, 0.00991090852767229, -0.38677388429641724, 0.2650068402290344, -0.4583999514579773, -0.26583823561668396, -0.43683522939682007, 0.09748947620391846, -0.7390161156654358, -0.33846092224121094, 0.2545018494129181, 0.059180185198783875, 0.48580071330070496, -0.07335711270570755, -0.5000793933868408, 0.07662846893072128, 0.30123960971832275, 0.2489544153213501, 0.2928962707519531, -0.6838871240615845, 0.6063221096992493, 0.3963974118232727, 0.1156245693564415, -0.6542242169380188, -0.5339938998222351, -0.22967010736465454, -0.2951645255088806, -0.5218878388404846, -0.25529614090919495, 0.13220776617527008, -0.4484765827655792, 0.04487144947052002, 0.07641585171222687, -0.06610983610153198, 0.21575912833213806, 0.25124573707580566, -0.11671443283557892, -0.12000016868114471, 0.5226471424102783, 0.2498856782913208, -0.2251410186290741, 0.21286757290363312, -0.5967282652854919, 0.3202178478240967, 0.36493149399757385, -0.6931841373443604, -0.38764333724975586, 0.44753438234329224, 0.5111121535301208, -0.03885388746857643, 0.9329211711883545, 0.5580241680145264, -0.2084677666425705, -0.4260343015193939, -0.544820249080658, -0.39954450726509094, -0.4529966413974762, 0.3444472551345825, -0.38067999482154846, -1.0886790752410889, 0.5613778829574585, -0.2368169128894806, -0.25083884596824646, 0.48642176389694214, 0.6176275610923767, 0.41352707147598267, 1.0373950004577637, 0.9589400887489319, -0.22793230414390564, 0.35845768451690674, 0.019195428118109703, 0.12932436168193817, -0.5856747627258301, -0.16976557672023773, -0.44097164273262024, 0.012705420143902302, -0.4241941273212433, -0.45676136016845703, 0.3964141309261322, 0.34994208812713623, -0.5100807547569275, 0.06459154188632965, 0.15482909977436066, 0.2972531020641327, 0.5567692518234253, 0.29304295778274536, 0.3509480059146881, 0.0722498744726181, -0.38824817538261414, 0.3051500618457794, -1.0839425325393677, -0.1629457175731659, 0.6968836784362793, 0.15973001718521118, 1.1563844680786133, 0.2929878234863281, 0.563136100769043, 0.044657543301582336, 0.4991098940372467, -0.27790141105651855, 0.5619970560073853, -0.03935445472598076, -0.45800483226776123, -0.2437954545021057, -0.7536652088165283, -0.8964396119117737, 0.4219527840614319, -0.15213751792907715, -0.7896028161048889, 0.5694527626037598, 0.07559407502412796, 0.050237707793712616, 0.49526652693748474, -0.7471826076507568, 0.5852728486061096, -0.07046233117580414, -0.6622557640075684, -0.33773162961006165, -0.7228278517723083, 0.5779559016227722, -0.21565689146518707, 0.40913328528404236, -0.17286540567874908, -0.030120518058538437, 0.4462663233280182, -0.32528650760650635, 1.629246711730957, -0.10820060223340988, -0.19620859622955322, 0.30402278900146484, 0.18848200142383575, 0.8368598222732544, 0.2163151651620865, 0.02800443023443222, 0.06124217435717583, -0.6149181723594666, -0.4583759605884552, -0.6044839024543762, 0.8165773153305054, -1.0034263134002686, -0.9330441355705261, -0.20608317852020264, -0.5648095607757568, -0.2925209701061249, 0.30375170707702637, 0.029786448925733566, 0.5653857588768005, 0.03775341063737869, -0.04117027297616005, 0.7442978024482727, -0.2649568021297455, 0.4746462106704712, 0.7604983448982239, 0.18777024745941162, -0.32756006717681885, 0.5401347875595093, -0.12741903960704803, 0.6674333810806274, 0.7757471203804016, 0.3476448059082031, -0.14182701706886292, -0.40499183535575867, -0.1789739727973938, 0.4101913273334503, -1.0128132104873657, -0.18035878241062164, -0.8740689754486084, -0.13920141756534576, -0.34311774373054504, -0.06805381178855896, -0.03915754705667496, -0.35981616377830505, -0.28777775168418884, -0.18027682602405548, 0.3040200471878052, 0.9575485587120056, -0.48189231753349304, 0.36224550008773804, -0.6186450719833374, -0.024556690827012062, 0.46947696805000305, 0.14456382393836975, 0.5348432660102844, -0.47208869457244873, -0.537022054195404, -0.3369544446468353, -0.15067094564437866, -0.6152859330177307, 0.2511124908924103, 0.15535283088684082, 0.6040678024291992, 0.6265753507614136, -0.05694233998656273, 0.5905817151069641, -0.8001109957695007, 0.2743700444698334, 0.4008151590824127, -0.8600198030471802, 0.1349194049835205, -0.5069669485092163, 0.2789899706840515, 0.07853210717439651, 0.6698172092437744, -0.26143720746040344, -0.6405982971191406, -0.5263011455535889, -0.5960891246795654, 0.7901650667190552, -0.0668041780591011, 0.07412736862897873, -0.19531579315662384, 0.4484988749027252, 0.14024022221565247, -0.021186668425798416, -1.064462661743164, -0.16710388660430908, 0.5216422080993652, -0.0690637081861496, -0.23033244907855988, -0.16178807616233826, -0.199210062623024, -0.10280227661132812, 0.747140109539032, -0.3272322714328766, 0.11503569781780243, 0.08017224073410034, -0.13794414699077606, -0.17390526831150055, 0.13584640622138977, 0.4363449215888977, 0.736391007900238, 0.3588283956050873, 0.49061015248298645, 0.09152799099683762, -0.05809818208217621, 0.4290713965892792, -0.11217030137777328, -0.17462196946144104, -0.16246993839740753, 0.666427731513977, 1.1110771894454956, 0.579687237739563, -0.48712289333343506, 0.5529499650001526, 0.11329249292612076, 0.02932826429605484, 0.018348190933465958, 0.1898791342973709, 0.223906472325325, 0.5654821991920471, 0.06662029772996902, 0.2454887330532074, -0.016544250771403313, -0.5010545253753662, 0.2554439604282379, 0.2644953429698944, -0.4936659336090088, -0.4145040810108185, 0.7818238139152527, -0.06355472654104233, 0.059986747801303864, 0.19192029535770416, -0.20799751579761505, -0.16487811505794525, 0.418636679649353, 0.6984825134277344, 0.8785114288330078, -0.33027058839797974, 0.2037828117609024, 0.14629989862442017, 0.48645713925361633, -0.42556652426719666, -0.05407951772212982, -0.07210606336593628, -0.717819094657898, -0.5884203910827637, -0.4158022701740265, -0.19427822530269623, -0.08537591993808746, -0.31746986508369446, 0.42902329564094543, -0.3442869782447815, 0.1760168820619583, -0.2760895788669586, -0.47465378046035767, -0.5989418029785156, 0.1267050802707672, -0.3067256808280945, 0.5843783617019653, -1.1439573764801025, 0.7831275463104248, 0.41322627663612366, -0.46138784289360046, -0.9996155500411987, -0.2712991237640381, -0.08670904487371445, -0.6831822991371155, 1.1021054983139038, -0.1352761685848236, -0.16890834271907806, -0.1752842366695404, -0.3326782286167145, -0.9751659631729126, 0.7273977398872375, 0.5925698280334473, -0.5302735567092896, 0.0109045235440135, 0.09558342397212982, 0.37059205770492554, -0.289788156747818, 0.12658046185970306, 0.10725106298923492, 0.22464151680469513, -0.08819562196731567, -0.5444729328155518, 0.19892124831676483, 0.09423018991947174, -0.22961941361427307, 0.2721211612224579, -0.9350074529647827, 1.0085004568099976, -0.22438809275627136, -0.16347253322601318, -0.08793845027685165, 0.596581220626831, 0.016154495999217033, 0.09789186716079712, 0.31827905774116516, 0.4414374828338623, 0.6054772138595581, 0.12801873683929443, 0.9743788838386536, -0.27263790369033813, 0.36184918880462646, 1.1560347080230713, -0.4372973144054413, 0.635103166103363, 0.27441132068634033, 0.19910135865211487, 0.43609097599983215, 0.2961558401584625, 0.5937793254852295, 0.6533750295639038, 0.4689094126224518, -0.6262942552566528, -0.4761044383049011, 0.12407512962818146, 0.05337244272232056, 0.225316122174263, 0.3541654348373413, -0.20886828005313873, -0.5186303853988647, 0.19498290121555328, 0.07059980928897858, -0.13032840192317963, -0.47032681107521057, 0.8325737714767456, 0.49438712000846863, -0.5623258352279663, 0.43571555614471436, 0.10421402007341385, 0.33631905913352966, -0.9206979274749756, 0.1245405524969101, -0.2567603886127472, 0.5470249652862549, -0.012411164119839668, -0.12112119048833847, 0.20102271437644958, -0.42727547883987427, -0.13112132251262665, 0.002957666525617242, 0.7651692628860474, -0.5634845495223999, -0.338685542345047, 0.6164833307266235, 0.6658245921134949, -0.10822825133800507, 0.34542316198349, -0.3916870653629303, 0.03742818161845207, -0.32023319602012634, -0.039621978998184204, 0.6077620387077332, 0.9927592873573303, -0.3735657334327698, 0.8130135536193848, 0.4538448750972748, 0.3525215685367584, 0.2623456120491028, 0.25145605206489563, 0.8546878695487976, -0.5840079188346863, -0.5689389109611511, -0.9844037890434265, 0.1465153992176056, 0.1459323763847351, -0.14282162487506866, 0.8581428527832031, 0.11881715804338455, 0.889243483543396, -0.22897286713123322, 0.5679177641868591, 0.3315686583518982, 0.07710818201303482, -0.8476715683937073, 0.44815686345100403, -0.4512023627758026, 0.3965652287006378, -0.27315494418144226, -0.6476746201515198, -0.6037494540214539, 0.24481768906116486, -0.4292130470275879, -0.08971738815307617, 0.8991778492927551, 0.8370251655578613, -0.2723732590675354, -0.18173126876354218, 0.3884575366973877, 0.4619760513305664, 0.38907575607299805, 0.5964733958244324, 0.8831033110618591, -0.03839758038520813, 0.18864896893501282, -0.016930151730775833, -0.22091399133205414, 0.006354528479278088, -0.7509472370147705, -1.108604907989502, -0.5615085959434509, -0.37411078810691833, -0.0873866155743599, 0.163211852312088, 0.7272372841835022, 0.7853356599807739, -0.5216629505157471, -0.4966767132282257, -0.3943323493003845, 0.5140165090560913, -0.2349725216627121, -0.19181649386882782, 0.5204390287399292, -0.7930617928504944, -0.3161144256591797, 0.3401773273944855, 0.7371927499771118, -0.1844502091407776, -0.44305071234703064, -0.003610119689255953, -0.27437299489974976, 0.26659318804740906, 0.6075473427772522, 0.27068233489990234, -0.3701978027820587, -0.48555988073349, -0.44435030221939087, 0.036064524203538895, -0.2434840202331543, 1.245327353477478, -0.42120370268821716, 0.11118453741073608, 0.46253451704978943, 0.8196330666542053, 0.299864798784256, -0.5884357690811157, 0.4555262327194214, -0.667192280292511, 0.4101428985595703, -0.042923904955387115, 0.6252914071083069, 0.15645791590213776, -0.3325076103210449, 0.16744524240493774, 0.4702342748641968, -0.5159013271331787, -0.5483334064483643, 0.5259936451911926, -0.5650995969772339, -0.3817553222179413, 1.194596290588379, -0.2165396511554718, -0.5629264116287231, -0.3879510164260864, 0.15890423953533173, 0.11127875000238419, 0.004534413572400808, 0.7496063113212585, 0.49071499705314636, -0.1859574317932129, 0.01521007064729929, -0.3261670172214508, 0.34002089500427246, 0.298666387796402, -0.8865676522254944, 0.10835441201925278, 0.48417380452156067, 0.3474515676498413, -0.06575880199670792, 0.7333671450614929, -0.05973745882511139, 0.07182972133159637, 0.0454665869474411, -0.0858415737748146, 0.31104516983032227, -0.7065675258636475, -0.4286261200904846, 0.09082233905792236, 0.022107908502221107, 0.30319908261299133 ]
http://arxiv.org/abs/2402.02633v1
http://arxiv.org/pdf/2402.02633v1
Predicting Machine Translation Performance on Low-Resource Languages: The Role of Domain Similarity
2024-02-04T22:56:56
2024-02-04T22:56:56
Eric Khiu, Hasti Toossi, David Anugraha, Jinyu Liu, Jiaxu Li, Juan Armando Parra Flores, Leandro Acros Roman, A. Seza Doğruöz, En-Shiun Annie Lee
cs.CL
cs.CL, cs.LG
Fine-tuning and testing a multilingual large language model is expensive and challenging for low-resource languages (LRLs). While previous studies have predicted the performance of natural language processing (NLP) tasks using machine learning methods, they primarily focus on high-resource languages, overlooking LRLs and shifts across domains. Focusing on LRLs, we investigate three factors: the size of the fine-tuning corpus, the domain similarity between fine-tuning and testing corpora, and the language similarity between source and target languages. We employ classical regression models to assess how these factors impact the model's performance. Our results indicate that domain similarity has the most critical impact on predicting the performance of Machine Translation models.
[ -0.5631403923034668, -0.6985737681388855, 0.3843871057033539, -0.014243010431528091, -0.07212702929973602, 0.167960986495018, -0.4536167085170746, -0.75006502866745, -0.35236504673957825, 0.7500811815261841, -0.5776501297950745, -0.0435343012213707, -0.6941226124763489, 0.5862041711807251, -0.24555808305740356, 0.8871809840202332, -0.1300489604473114, 0.017499225214123726, -0.163834348320961, -0.2717236578464508, -0.49613386392593384, -0.6013553142547607, -0.6288211941719055, -0.5261331796646118, 0.5600061416625977, 0.1627478450536728, 1.084726333618164, 0.7530148029327393, 0.9148662686347961, 0.2547454237937927, -0.09523338824510574, 0.2793298363685608, -0.4584955871105194, 0.1079016625881195, -0.2297522872686386, -0.46432027220726013, -0.2194645255804062, -0.03822990879416466, 0.6389684677124023, 0.8452373147010803, 0.3676016330718994, 0.4311302900314331, 0.4260711669921875, 0.7010242342948914, -0.5010536313056946, 0.1441812515258789, -0.7384825348854065, -0.1776057928800583, -0.1972007006406784, -0.18988604843616486, -0.38591521978378296, -0.312503457069397, 0.09096308052539825, -0.4327518045902252, 0.5255886912345886, 0.42746463418006897, 0.810316801071167, 0.5084903240203857, -0.18422555923461914, -0.10871276259422302, -0.8184046745300293, 1.1111594438552856, -0.6138296127319336, 0.5381181836128235, 0.6211439967155457, 0.0062601566314697266, -0.0380847305059433, -0.2167886644601822, -0.2838442027568817, -0.2776608169078827, -0.37934550642967224, -0.3930632770061493, -0.16097579896450043, -0.07042963057756424, 0.4205104112625122, 0.3018154501914978, -0.8504772782325745, 0.22649511694908142, -0.617331862449646, -0.054585110396146774, 0.42043033242225647, 0.18833254277706146, 0.16637353599071503, -0.03003864921629429, -0.1549685001373291, -0.08662797510623932, -0.6699150204658508, -0.03611786291003227, 0.10032347589731216, 0.9603434205055237, 0.011341067962348461, 0.4573978781700134, -0.028043141588568687, 0.8682435154914856, -0.1372528076171875, -0.28538835048675537, 0.18941403925418854, -0.48200029134750366, -0.41318798065185547, -0.02455008402466774, 0.5939650535583496, 0.20256248116493225, 0.5019109845161438, -0.2753262519836426, -0.2559884786605835, 0.003600041614845395, 0.32784223556518555, -0.7032092809677124, 0.21253849565982819, -0.09296669065952301, -0.5676778554916382, -0.07587119936943054, -0.4297443628311157, -0.5415899753570557, -0.19291837513446808, -0.5133705139160156, 0.21404977142810822, -0.677367627620697, -0.041553106158971786, -0.09944423288106918, 0.21229757368564606, -0.07312463223934174, 0.14976242184638977, -0.7307046055793762, 0.5610693693161011, 0.8205367922782898, 1.042850375175476, -0.6034096479415894, -0.5010708570480347, -0.5917801260948181, -0.21352297067642212, -0.3433283567428589, 0.504747748374939, -0.4056122601032257, -0.20863009989261627, 0.17989958822727203, 0.17895764112472534, -0.32445210218429565, -0.7985764741897583, 0.4702804684638977, -0.6573516130447388, -0.0917213186621666, -0.21929360926151276, -0.5401561260223389, -0.13461804389953613, 0.02429535798728466, -0.9236242175102234, 1.0171847343444824, 0.3663071095943451, -0.5958386063575745, 0.333613783121109, -0.5059467554092407, -0.6825947761535645, -0.05101904273033142, 0.2854540944099426, -0.4567174017429352, 0.3402681052684784, -0.08579280227422714, 0.5556644201278687, -0.6169078350067139, -0.004434780217707157, -0.20355339348316193, -0.436893492937088, 0.3465927243232727, -0.3024231791496277, 0.5138042569160461, 0.5835329294204712, -0.11230242997407913, -0.03455907478928566, -0.5973824262619019, 0.20543892681598663, -0.10452651977539062, -0.3254677355289459, -0.48518091440200806, -0.09390237927436829, 0.3391992449760437, 0.32649824023246765, 0.20556223392486572, -0.21816405653953552, 0.04008481279015541, -0.39777183532714844, 0.22137032449245453, 0.39620527625083923, -0.23773977160453796, 0.6143456697463989, -0.20207616686820984, 0.8274020552635193, -0.12549234926700592, 0.0711216852068901, 0.16688132286071777, -0.6411976218223572, -0.5090283155441284, -0.030176958069205284, 0.6372033953666687, 0.4691990613937378, -0.5292178988456726, -0.21336792409420013, -0.2992226183414459, -0.4266343414783478, -1.0080149173736572, 0.5090823769569397, 0.642941415309906, 0.048330679535865784, 0.5439509749412537, -0.29341331124305725, -0.45666933059692383, -1.068006992340088, -0.4547105133533478, 0.012660326436161995, 0.08737971633672714, 0.16307204961776733, 0.4235280156135559, -0.24988998472690582, 0.39969602227211, -0.4065215587615967, -0.3264814019203186, -0.3603964149951935, 0.2664521038532257, 0.21539711952209473, 0.37602460384368896, 0.6176578998565674, -0.8115834593772888, -0.8043296933174133, 0.38998931646347046, -0.2788839042186737, -0.12229742854833603, 0.24542482197284698, 0.19635732471942902, 0.5642138719558716, 0.5873123407363892, -0.3598182499408722, 0.04964558035135269, 0.998594343662262, -0.13810841739177704, 0.3568601906299591, -0.3405348062515259, 0.18618573248386383, -0.8360631465911865, 0.21530570089817047, 0.16743390262126923, -0.16047264635562897, -0.5186393857002258, 0.20555154979228973, 0.1091737449169159, -0.17004017531871796, -0.4645138680934906, 0.4632980227470398, -0.3301842212677002, -0.30585750937461853, -0.33267083764076233, -0.03131847828626633, -0.1922110617160797, 0.23527440428733826, -0.08098717033863068, 1.167657732963562, 0.1286957561969757, -0.6911694407463074, -0.04979338496923447, -0.05632169544696808, -0.5451855659484863, 0.2325417697429657, -0.5170547962188721, -0.14334718883037567, 0.23379074037075043, -0.3683928847312927, -0.6050311326980591, 0.04267057776451111, -0.35768431425094604, -0.3787263035774231, 0.2863267958164215, -0.21229466795921326, -0.5642991065979004, -0.27830055356025696, 0.2781517207622528, 0.43667423725128174, 0.5345848202705383, -0.014367545023560524, 0.2889486253261566, 0.10893776267766953, -0.21868503093719482, -0.5423651933670044, -0.6263526082038879, -0.2019260823726654, -0.24107299745082855, -0.3576769530773163, 0.4900816082954407, -0.0002003571717068553, -0.29742568731307983, 0.019291803240776062, 0.17538882791996002, -0.28381025791168213, 0.45871850848197937, 0.3278346061706543, 0.13956142961978912, -0.4783209264278412, 0.12138654291629791, -0.3049016296863556, -0.09523391723632812, -0.07188821583986282, -0.2612181007862091, 0.5126157402992249, -0.28912433981895447, -0.14174117147922516, -0.14093154668807983, 0.3168677091598511, 0.6778056025505066, -0.4167036712169647, 0.8891009092330933, 0.7348026633262634, -0.30788490176200867, -0.17983928322792053, -0.3591533601284027, -0.05945971980690956, -0.384742796421051, 0.5467408299446106, -0.6264744997024536, -0.8427190780639648, 0.44457754492759705, -0.1347225159406662, -0.213334321975708, 0.5690211653709412, 0.7444875240325928, 0.03360604867339134, 1.0886633396148682, 0.993821382522583, -0.32754626870155334, 0.3791157901287079, -0.19365127384662628, 0.29891327023506165, -0.5917044281959534, 0.27697134017944336, -0.8157241940498352, -0.3510589003562927, -1.164724349975586, -0.5895620584487915, 0.11635329574346542, 0.15369702875614166, -0.13622720539569855, 0.774010419845581, -0.11043232679367065, 0.4641185402870178, 0.8642321825027466, -0.49929434061050415, 0.5104756951332092, 0.14047843217849731, -0.19366909563541412, -0.1501583606004715, -0.6423114538192749, -0.6574657559394836, 0.9638005495071411, 0.2449074238538742, 0.5466340184211731, 0.037279434502124786, 0.4480244815349579, 0.33649301528930664, 0.045527949929237366, -0.5735980272293091, 0.20499522984027863, -0.505509078502655, -0.6143388748168945, -0.2953263521194458, -0.40657004714012146, -1.0544016361236572, 0.21071180701255798, -0.3114995062351227, -0.2833167314529419, -0.15431368350982666, 0.0015853599179536104, -0.31798428297042847, 0.24965976178646088, -0.5470356345176697, 0.9314284324645996, -0.2812155485153198, -0.34512630105018616, -0.5706812143325806, -0.38731658458709717, -0.041212063282728195, -0.4424019157886505, 0.3336934745311737, -0.11045683920383453, 0.12481150031089783, 0.4724879860877991, 0.1915103793144226, 0.57122403383255, 0.25416484475135803, 0.023751497268676758, 0.025252418592572212, 0.557776153087616, 0.22937798500061035, -0.2553250789642334, -0.4085126519203186, 0.3187943696975708, 0.2001871019601822, -0.41130125522613525, -0.2956176698207855, 0.9177866578102112, -0.9078242778778076, -0.35786283016204834, -0.19152161478996277, -0.5909010767936707, -0.30204811692237854, 0.18899331986904144, 0.3422294855117798, -0.10969839245080948, -0.33410221338272095, 0.18127930164337158, 0.5860475301742554, -0.23268964886665344, 0.29342082142829895, 0.54579758644104, -0.23823830485343933, 0.1076882854104042, 0.8670024275779724, 0.16331997513771057, 0.5094307065010071, 0.42158448696136475, 0.09999658167362213, -0.05346141383051872, -0.6440386176109314, -0.544434666633606, 0.17776916921138763, -0.2200963795185089, -0.3351496756076813, -0.4332720935344696, -0.03967829793691635, -0.2646244168281555, -0.15739308297634125, -0.5864217281341553, -0.3686043918132782, -0.3885706961154938, 0.10619325190782547, 0.2930034101009369, 0.742404043674469, 0.0067751482129096985, 0.18495894968509674, -0.8670641183853149, 0.26119405031204224, -0.01622217334806919, 0.4513454735279083, -0.09302844852209091, -0.7759038805961609, -0.8322811722755432, -0.08496313542127609, -0.4147339463233948, -0.45157310366630554, 0.6255962252616882, 0.2534736096858978, 0.3631860017776489, 0.14537313580513, -0.08359426259994507, 0.5605570673942566, -0.757996141910553, 0.7846775054931641, -0.019855815917253494, -0.764503002166748, 0.4737803339958191, -0.12591609358787537, 0.02993302047252655, 0.40704673528671265, 0.6309426426887512, -0.4869369864463806, -0.37998896837234497, -0.4164056181907654, -0.496299684047699, 0.6209536790847778, 0.10673176497220993, -0.022967470809817314, 0.1245424821972847, 0.22143866121768951, 0.2989204227924347, -0.009938491508364677, -0.517040491104126, -0.2161381095647812, 0.4209703207015991, 0.03201720118522644, -0.5846964120864868, -0.12221258133649826, 0.1434561312198639, -0.09327518939971924, 0.549787163734436, -0.23700901865959167, 0.11996709555387497, -0.21746280789375305, -0.15371809899806976, -0.5958283543586731, 0.3122551143169403, 0.7421156764030457, 0.5011954307556152, -0.36951491236686707, 0.0442185215651989, 0.37316232919692993, -0.146658793091774, 0.013510599732398987, -0.057329270988702774, -0.12120125442743301, 0.1292930692434311, 0.6193989515304565, 0.8990362286567688, 0.14172622561454773, -0.5657483339309692, 0.09796739369630814, 0.12138216942548752, -0.0642806887626648, -0.001865697093307972, 0.03973520174622536, 0.02025752142071724, 0.1331087350845337, 0.04911040514707565, 0.33127734065055847, 0.03742958605289459, -0.6358251571655273, 0.05671660974621773, 0.3024095594882965, -0.6220459938049316, -0.37833893299102783, 0.5722876191139221, 0.02332877740263939, -0.491289347410202, 0.566473126411438, -0.04425780102610588, -0.6799299716949463, 0.5622810125350952, 0.4963862895965576, 0.7045692801475525, -0.3524491786956787, 0.012968222610652447, 0.42740321159362793, 0.43932947516441345, -0.3116799592971802, 0.008306014351546764, 0.4865173101425171, -0.38281726837158203, -0.7242223620414734, -0.8636123538017273, -0.3364966809749603, 0.24641409516334534, -0.7289564609527588, 0.209988534450531, -0.028036465868353844, -0.4721519947052002, 0.013989555649459362, 0.33358389139175415, -1.0980066061019897, 0.17220965027809143, 0.3044791519641876, 0.9143209457397461, -0.9431352019309998, 1.0096434354782104, 0.5021741390228271, -0.3809601664543152, -0.3852691650390625, -0.14854851365089417, -0.1713087558746338, -0.6852750778198242, 1.172463297843933, -0.0956001952290535, -0.28252846002578735, -0.27153635025024414, -0.07708690315485, -1.0353033542633057, 0.62088543176651, 0.4082721173763275, -0.4942653179168701, -0.05811955779790878, 0.4903000295162201, 0.798254668712616, -0.43624362349510193, -0.13728511333465576, 0.6380934119224548, 0.33144956827163696, -0.6005121469497681, -1.517795443534851, -0.08561135083436966, 0.137535959482193, 0.2873843014240265, 0.30107662081718445, -0.4881298243999481, 0.9684018492698669, -0.30725204944610596, -0.10430684685707092, 0.04448578134179115, 0.36263611912727356, -0.13107651472091675, 0.16094166040420532, 0.3256933391094208, 0.28021103143692017, 0.6134998202323914, -0.024573806673288345, 1.300728678703308, -0.5974112153053284, 0.3755969703197479, 1.0068168640136719, -0.37750300765037537, 1.2271268367767334, 0.6329631805419922, -0.27123913168907166, 0.27450913190841675, 0.5703863501548767, -0.02591642737388611, 0.6786101460456848, 0.2833866477012634, 0.24482767283916473, -0.24411769211292267, -0.21859411895275116, -0.4120412766933441, 0.49422693252563477, 0.2928663194179535, -0.7015832662582397, 0.19536836445331573, 0.030258890241384506, -0.3155991733074188, 0.2602890133857727, -0.2924349009990692, 0.7285361886024475, 0.09438708424568176, -0.8153463006019592, 0.9491748213768005, 0.294796347618103, 0.5793687701225281, -0.2852439284324646, 0.16856110095977783, -0.1470813751220703, 0.47873353958129883, 0.1194787323474884, -0.6141559481620789, 0.5335423946380615, -0.03878052532672882, -0.57098788022995, -0.42350295186042786, 0.5703364014625549, -0.29626157879829407, -0.5678097605705261, 0.853299081325531, 0.9072381854057312, 0.002213873667642474, -0.15445934236049652, -0.8448331952095032, 0.2237510234117508, 0.016737595200538635, -0.19056375324726105, 0.7525850534439087, 0.4955400228500366, -0.08373352140188217, 0.7847921252250671, 0.5207313299179077, 0.37816277146339417, -0.07191216200590134, -0.15032410621643066, 0.43023592233657837, -0.6840123534202576, -0.1028989925980568, -0.8274046778678894, -0.10508904606103897, 0.2478230893611908, -0.260979562997818, 0.5640449523925781, 0.6465508937835693, 1.0780088901519775, -0.38852792978286743, 0.7160961627960205, 0.37776947021484375, 0.8191584348678589, -0.4409101605415344, 0.6155076622962952, -0.7536490559577942, -0.028521887958049774, -0.23579034209251404, -0.9260138869285583, -0.19724339246749878, 0.4584507942199707, -0.16680927574634552, -0.1839410811662674, 0.8260865211486816, 0.7798078656196594, -0.1633538454771042, -0.16271308064460754, 0.6229616403579712, 0.17437447607517242, -0.09596265852451324, 0.5670720338821411, 0.5155834555625916, -0.5420734286308289, 0.6196996569633484, -0.3464895188808441, 0.1350087821483612, -0.5323405265808105, -0.8383613228797913, -0.7812535762786865, -0.735757052898407, -0.2895079255104065, -0.44151291251182556, 0.044747792184352875, 0.8929605484008789, 0.6149150133132935, -1.1650761365890503, -0.4638878405094147, 0.2593216896057129, 0.14733649790287018, -0.5760746598243713, -0.1815473586320877, 0.3873225450515747, -0.5205352902412415, -0.9023619294166565, 0.29927220940589905, 0.07770387083292007, 0.02125832810997963, -0.20566697418689728, -0.12865233421325684, -0.013247420080006123, -0.187019482254982, 0.7582189440727234, 0.11559373885393143, -1.032238245010376, -0.04503418505191803, 0.2698129415512085, -0.53770911693573, -0.12529157102108002, 0.844338059425354, -0.6050940752029419, 0.042358722537755966, 0.3295828402042389, 0.7829189896583557, 0.2954677641391754, -0.16053998470306396, 0.7706475853919983, -0.6243281364440918, 0.007890801876783371, 0.10091960430145264, 0.2445712834596634, 0.4060631990432739, -0.2932884991168976, 0.7715861201286316, 0.07124916464090347, -0.7092761397361755, -0.6781612634658813, 0.16533558070659637, -0.6509367823600769, -0.41445183753967285, 1.1532124280929565, -0.02087721787393093, -0.11039078235626221, -0.19896036386489868, -0.0467853844165802, 0.20839720964431763, -0.1507708728313446, 0.679344117641449, 0.7867435216903687, -0.08608750998973846, -0.04321007803082466, -1.1005308628082275, 0.9592949151992798, 0.4868060052394867, -0.21055833995342255, 0.35319972038269043, 0.23407183587551117, 0.20946571230888367, 0.39836397767066956, 0.18815667927265167, 0.16684487462043762, 0.0011541430139914155, -0.20880335569381714, -0.10454139113426208, 0.2898416817188263, -0.15757039189338684, -0.24522265791893005, 0.13879427313804626, 0.3855125904083252, 0.12769056856632233 ]
http://arxiv.org/abs/2402.02632v2
http://arxiv.org/pdf/2402.02632v2
GIRT-Model: Automated Generation of Issue Report Templates
2024-02-04T22:53:38
2024-02-08T14:24:40
Nafiseh Nikeghbal, Amir Hossein Kargaran, Abbas Heydarnoori
cs.SE
cs.SE, cs.CL
Platforms such as GitHub and GitLab introduce Issue Report Templates (IRTs) to enable more effective issue management and better alignment with developer expectations. However, these templates are not widely adopted in most repositories, and there is currently no tool available to aid developers in generating them. In this work, we introduce GIRT-Model, an assistant language model that automatically generates IRTs based on the developer's instructions regarding the structure and necessary fields. We create GIRT-Instruct, a dataset comprising pairs of instructions and IRTs, with the IRTs sourced from GitHub repositories. We use GIRT-Instruct to instruction-tune a T5-base model to create the GIRT-Model. In our experiments, GIRT-Model outperforms general language models (T5 and Flan-T5 with different parameter sizes) in IRT generation by achieving significantly higher scores in ROUGE, BLEU, METEOR, and human evaluation. Additionally, we analyze the effectiveness of GIRT-Model in a user study in which participants wrote short IRTs with GIRT-Model. Our results show that the participants find GIRT-Model useful in the automated generation of templates. We hope that through the use of GIRT-Model, we can encourage more developers to adopt IRTs in their repositories. We publicly release our code, dataset, and model at https://github.com/ISE-Research/girt-model.
[ -0.27724775671958923, -0.5463941693305969, 0.24800236523151398, -0.00821403693407774, -0.2128169685602188, 0.15845851600170135, -0.015631448477506638, -0.3537778854370117, 0.36252284049987793, 0.4403901696205139, -0.22222355008125305, -0.6106715798377991, -0.38724610209465027, 0.022400103509426117, -0.6881553530693054, 1.4474748373031616, -0.06087955832481384, 0.011067970655858517, 0.07093750685453415, 0.032437678426504135, -0.7734535932540894, -0.18739581108093262, -0.13721230626106262, -0.042674921452999115, 0.32361942529678345, 0.923256516456604, 0.4988984763622284, 0.7302107214927673, 0.908278226852417, 0.2437775433063507, 0.30460265278816223, -0.14669713377952576, -0.25507065653800964, 0.1867823749780655, -0.04146179184317589, -0.1679360568523407, -0.7003412246704102, 0.047847189009189606, 0.008905937895178795, 0.2083047330379486, -0.38696199655532837, 0.4497069716453552, -0.05185128003358841, 0.6775224208831787, -0.4888778030872345, 0.18739397823810577, -0.48784691095352173, -0.2341344952583313, -0.06779278814792633, -0.1912582963705063, -0.5520753860473633, -0.5269582867622375, 0.231601744890213, -0.4022883474826813, 0.37951064109802246, -0.11392076313495636, 0.8439710140228271, -0.2554079294204712, -0.3248005509376526, -0.7898291945457458, -0.6840940117835999, 0.1202486976981163, -0.519668698310852, 0.17712275683879852, 0.14785204827785492, 0.4179239571094513, -0.1256113052368164, -0.7586275339126587, -0.17089378833770752, -0.5889925956726074, -0.24295583367347717, 0.12617561221122742, -0.2660852372646332, -0.14266343414783478, -0.019818799570202827, 0.17165923118591309, -0.8745520114898682, -0.2428475171327591, -0.6344291567802429, 0.21920554339885712, 0.5704517960548401, 0.3045414984226227, 0.3542364537715912, -0.5950661301612854, -0.29952502250671387, -0.10215067863464355, -0.5989567637443542, -0.29304543137550354, 0.33537712693214417, 0.20122739672660828, -0.23078835010528564, 0.6565085053443909, 0.01322183944284916, 0.48602575063705444, 0.21634908020496368, 0.0950361043214798, -0.03223266452550888, -0.24916982650756836, -0.02413560077548027, -0.18424734473228455, 0.5730624198913574, 0.17835380136966705, 0.3318990170955658, -0.2268683761358261, -0.5525103807449341, 0.0188590195029974, 0.5754213333129883, -0.641518771648407, -0.7720783352851868, 0.15910959243774414, -0.18188215792179108, -0.5192963480949402, 0.4046535789966583, -0.6981077790260315, -0.4520065486431122, -0.2674291729927063, 0.20660696923732758, -0.6038875579833984, -0.5897183418273926, -0.25836658477783203, -0.09006519615650177, 0.017461156472563744, 0.3905463218688965, -0.5357208847999573, 0.24553167819976807, 0.4427415430545807, 0.721394419670105, 0.09257511794567108, -0.24156852066516876, -0.6492699384689331, 0.28925275802612305, -0.3649919927120209, 1.014505386352539, -0.5216522216796875, -0.525788426399231, -0.1576969176530838, -0.23028427362442017, 0.061315812170505524, -0.3615074157714844, -0.07497257739305496, -0.3752810060977936, 0.24232082068920135, 0.1733800321817398, -0.5432286858558655, 0.030876874923706055, 0.29359355568885803, -0.5343397855758667, 0.6855168342590332, 0.5662606954574585, -0.7864303588867188, 0.07154640555381775, -1.2092266082763672, -0.17795564234256744, 0.3587130308151245, -0.13885515928268433, -0.6043989062309265, 0.06336333602666855, 0.018427930772304535, 0.08520093560218811, -0.5765186548233032, 0.5028529763221741, 0.0214214026927948, -0.0689900666475296, 0.25886768102645874, 0.12900196015834808, 0.5345249772071838, 0.2832668721675873, -0.47235146164894104, 0.1470562219619751, -0.46573948860168457, 0.07283864170312881, 0.3237176835536957, -0.09879612177610397, -0.2514289915561676, -0.16265615820884705, 0.09239056706428528, -0.11164665967226028, 0.06214500591158867, -0.06891268491744995, 0.4420977532863617, 0.08183926343917847, 0.4260818660259247, 0.5990816950798035, 0.12631148099899292, 0.5405985116958618, -0.2769743502140045, 1.015942931175232, 0.04870835691690445, 0.22360393404960632, -0.5301594138145447, -0.3017899990081787, -0.7695448398590088, -0.24332313239574432, 0.7922207713127136, 0.7137873768806458, -0.3568888008594513, 0.23093917965888977, -0.4145476222038269, -0.7847410440444946, -0.3829399049282074, 0.06831635534763336, 0.4609779119491577, 0.5625032782554626, 0.09151359647512436, -0.4014005959033966, -0.5238577723503113, -0.829172670841217, -0.19062913954257965, -0.5002461671829224, 0.016863545402884483, 0.0426245741546154, 0.7117375135421753, -0.2250189632177353, 1.0757193565368652, -0.6145841479301453, -0.028402384370565414, -0.2069505900144577, 0.7551206946372986, -0.34727710485458374, 0.43685203790664673, 0.6805413365364075, -0.6973798871040344, -0.6224831938743591, 0.0243074893951416, -0.5981008410453796, -0.3598769009113312, 0.15941563248634338, -0.06472285836935043, 0.2652171850204468, 0.2575390636920929, -0.4781491756439209, 0.4696744978427887, 0.33981478214263916, -0.5297667980194092, 0.5025548338890076, -0.18987664580345154, 0.3382848799228668, -1.1775165796279907, 0.31624293327331543, 0.24432158470153809, -0.3200685381889343, -0.5841134786605835, 0.2682654559612274, 0.3187117278575897, -0.45437827706336975, -0.16416248679161072, 0.4258406162261963, -0.6329702138900757, -0.11468083411455154, -0.035689227283000946, 0.034968841820955276, 0.26056715846061707, 0.24071456491947174, -0.2567215859889984, 0.7789129614830017, 0.16282010078430176, -0.29171547293663025, 0.1374024748802185, 0.018219374120235443, -0.13082654774188995, 0.35283994674682617, -0.7177926898002625, 0.4615822434425354, 0.02350773476064205, -0.011353778652846813, -0.9617226719856262, -0.5134359002113342, 0.4475691318511963, -0.48769012093544006, 0.35997164249420166, -0.6306069493293762, -0.5866166949272156, -0.3997765779495239, -0.13528798520565033, -0.13442185521125793, 0.5735131502151489, -0.04536249116063118, 0.5601310133934021, 0.5508171916007996, -0.46951019763946533, -0.11662699282169342, -0.5290125012397766, 0.03606628626585007, -0.4928966760635376, -0.6618761420249939, -0.0967293381690979, -0.0860588327050209, -0.31003814935684204, 0.14355748891830444, 0.30403465032577515, -0.23825395107269287, 0.026174871250987053, 0.24375487864017487, 0.29735371470451355, -0.42042428255081177, 0.2724599838256836, -0.2717529237270355, -0.2044774740934372, -0.0524747297167778, -0.25690680742263794, 0.24101796746253967, -0.4090650975704193, -0.5978676676750183, -0.09566083550453186, 0.6350312232971191, 0.7287953495979309, -0.5551213622093201, 0.39003461599349976, 0.09420759230852127, -0.09962537884712219, 0.034091975539922714, -0.5540290474891663, -0.11641576141119003, -0.44084852933883667, 0.3202645182609558, -0.2267361581325531, -0.32296088337898254, 0.6422117948532104, -0.07109512388706207, 0.07051608711481094, 0.3064514100551605, 0.4772593080997467, -0.1131073385477066, 0.8839683532714844, 0.6918061375617981, 0.03716593235731125, 0.7464320063591003, -0.3796718120574951, 0.15561042726039886, -0.3083844780921936, 0.16173911094665527, -0.7154667973518372, 0.06761091202497482, -0.5177940130233765, -0.20803268253803253, 0.6533569693565369, 0.2198285162448883, -0.33259129524230957, 0.3085795044898987, -0.9024462103843689, 0.5587596893310547, 0.43700799345970154, -0.1605222523212433, 0.253017783164978, -0.025792952626943588, 0.29315224289894104, 0.030986012890934944, -0.6734742522239685, -0.7906878590583801, 0.9468075633049011, 0.2621593773365021, 0.8313054442405701, 0.20116053521633148, 0.8244253993034363, 0.5324091911315918, 0.7822498679161072, -0.39647433161735535, 0.22054079174995422, 0.024738987907767296, -0.4606926739215851, -0.23457929491996765, -0.1616262048482895, -0.7919533848762512, -0.10543382167816162, 0.2244863063097, -0.5026946663856506, -0.14382503926753998, 0.5124285817146301, 0.01015809178352356, -0.1402631253004074, -1.4550474882125854, 0.9297409653663635, -0.2200440615415573, 0.13845893740653992, 0.061735112220048904, -0.3736472427845001, 0.31630775332450867, 0.01472411584109068, 0.20500418543815613, 0.06021701917052269, 0.2367040365934372, 0.576729953289032, -0.4620647728443146, 0.7326509356498718, -0.3030130863189697, 0.04967698082327843, 0.6985150575637817, 0.3733898401260376, 0.8904628157615662, 0.27753278613090515, -0.09225209057331085, -0.23242099583148956, -0.20905166864395142, -0.1335151642560959, -0.6201257705688477, 0.3632607161998749, -0.6191482543945312, -0.6865633726119995, -0.22617368400096893, -0.5001288652420044, 0.26190027594566345, 0.20803949236869812, 0.36422884464263916, 0.46457338333129883, -0.27234020829200745, -0.0846048966050148, 0.2523212432861328, 0.011722492054104805, 0.07648678123950958, 0.9710043668746948, -0.3139774799346924, -0.35171085596084595, 0.8108728528022766, 0.4423885643482208, 0.1867765635251999, -0.0017800141358748078, 0.23801648616790771, 0.17190682888031006, -0.5592336654663086, -0.6015112400054932, -0.013476141728460789, -0.7150751948356628, -0.6966921091079712, -0.5060164332389832, -0.39925485849380493, -0.3655412793159485, -0.3033892810344696, -0.3908526599407196, -0.4101387560367584, -0.09089832007884979, -0.06926529854536057, 0.9342421889305115, 1.1047438383102417, -0.01687885820865631, 0.27076393365859985, -0.9324906468391418, 0.3983086049556732, 0.04614473506808281, 0.22216255962848663, -0.13067607581615448, -0.38604557514190674, -0.5378477573394775, 0.14374372363090515, -0.6219576001167297, -1.0657514333724976, 0.5412150621414185, -0.23496274650096893, 0.2039112001657486, -0.08754577487707138, 0.1691698580980301, 0.6096790432929993, -0.47284650802612305, 0.4880468249320984, 0.14054496586322784, -1.037927269935608, 0.9885582327842712, -0.8307788968086243, 0.42147552967071533, 0.420798659324646, -0.10015778988599777, -0.4093317985534668, -1.1836339235305786, -0.8097651600837708, -0.8348832130432129, 0.6870062351226807, 0.3035481870174408, -0.020305026322603226, -0.1360122561454773, 0.1718132346868515, 0.07915376126766205, 0.11461436748504639, -0.6963682174682617, -0.023666413500905037, -0.3105512857437134, -0.2422250211238861, 0.4719352126121521, -0.27407991886138916, -0.23880265653133392, -0.03261670097708702, 0.40998825430870056, -0.19059769809246063, 0.4505678713321686, 0.07711870968341827, -0.29444724321365356, -0.46896806359291077, 0.3843487799167633, 0.7631192803382874, 0.9208381772041321, -0.26340338587760925, -0.18786026537418365, -0.24417534470558167, -0.5155677199363708, 0.05271531268954277, 0.20224498212337494, -0.12103502452373505, 0.26928749680519104, 0.3455369472503662, 0.5010364651679993, -0.06737973541021347, -0.43241050839424133, 0.5913441777229309, -0.21676813066005707, -0.10505323112010956, -0.5850450992584229, 0.1338275969028473, 0.33636724948883057, 0.23060761392116547, 0.41704025864601135, -0.16705046594142914, 0.12201564759016037, -0.19669675827026367, 0.19365555047988892, 0.135297030210495, -0.1429230272769928, -0.4197884202003479, 0.5088294744491577, 0.3974933624267578, -0.6666714549064636, 0.7000389695167542, -0.3572596311569214, -0.3184424936771393, 1.0038188695907593, 0.4339478611946106, 0.9311622381210327, -0.32364651560783386, 0.39493829011917114, 0.09124461561441422, 0.3599260747432709, 0.15720729529857635, 0.3313271999359131, 0.4112395644187927, -0.16608089208602905, -0.07247281819581985, -0.057820335030555725, -0.46295076608657837, 0.12952619791030884, -0.7754132747650146, 0.5846142172813416, -0.1183813139796257, -0.08868193626403809, 0.05386127531528473, -0.07775966078042984, -0.6404238939285278, -0.06468242406845093, -0.18536846339702606, 0.8125399351119995, -0.7745823264122009, 0.8618201613426208, 0.9579120874404907, -0.6904057860374451, -1.0853736400604248, -0.010082988999783993, -0.09234532713890076, -0.27644991874694824, 0.6449491381645203, -0.034078069031238556, 0.08436071872711182, -0.12486075609922409, -0.6515372395515442, -0.6308897733688354, 1.243155598640442, 0.7084375023841858, -0.46803218126296997, -0.11310530453920364, 0.06488197296857834, 0.5804266929626465, -0.7061450481414795, 0.4884757399559021, 0.24680176377296448, 0.5071688890457153, -0.23556005954742432, -0.8686146140098572, -0.26905688643455505, -0.5656331777572632, 0.04668877273797989, 0.4671613574028015, -0.44145649671554565, 0.8223246335983276, -0.27815452218055725, 0.003275878494605422, -0.02510140836238861, 0.5284359455108643, 0.3722052276134491, 0.2840690612792969, 0.47103914618492126, 0.018119320273399353, 0.6575002670288086, 0.1591993123292923, 1.13800847530365, -0.5774739384651184, 0.4533837139606476, 1.2260935306549072, -0.12574513256549835, 0.40787097811698914, 0.3167452812194824, 0.26518043875694275, 0.6520147323608398, 0.331928014755249, -0.14952942728996277, 0.483949214220047, 0.1474849283695221, 0.33709293603897095, 0.11932624131441116, -0.04290779307484627, -0.5768953561782837, 0.4142093062400818, 0.32363590598106384, -0.5401833653450012, -0.20350795984268188, -0.05652638152241707, 0.06478308141231537, 0.0038935840129852295, 0.07878768444061279, 0.7756461501121521, -0.10572996735572815, -0.6242997050285339, 0.4929373860359192, 0.10998320579528809, 0.029185116291046143, -0.7454294562339783, -0.26972198486328125, -0.4762575626373291, 0.004253416787832975, 0.1079716831445694, -0.6090368628501892, 0.3601093590259552, 0.5546175837516785, -0.4092003107070923, -0.05921923741698265, 0.6172270178794861, -0.3213447332382202, -0.6149924993515015, 0.19677762687206268, 0.6752007603645325, -0.07839784771203995, 0.35624808073043823, -0.6490862965583801, -0.20202215015888214, -0.010035298764705658, -0.6417731642723083, 0.319167822599411, 0.7535451054573059, -0.27314960956573486, 0.6591870784759521, 0.0921623632311821, -0.01850610040128231, -0.05775939300656319, 0.03258686140179634, 0.9707074165344238, -0.5907795429229736, -0.6971835494041443, -0.562639594078064, 1.0220986604690552, 0.046538788825273514, -0.3027624785900116, 0.4582728147506714, 0.5177009105682373, 0.38259512186050415, -0.25623369216918945, 0.9418590664863586, -0.3322596549987793, 0.6684154868125916, -0.37509992718696594, 0.7018001675605774, -0.4477258026599884, 0.4504581689834595, -0.4279068410396576, -0.5460853576660156, -0.19159966707229614, 0.2456853985786438, -0.3522520363330841, 0.05534887686371803, 0.562410295009613, 0.9347832798957825, -0.2990231215953827, -0.02940976433455944, -0.06572748720645905, -0.05939305201172829, 0.49106189608573914, 0.23528093099594116, 0.7873157858848572, -0.4211867153644562, 0.8204566836357117, -0.09856697916984558, 0.05734945461153984, -0.37134575843811035, -0.8775746822357178, -0.7027730345726013, -0.6864505410194397, -0.5013967752456665, -0.355421245098114, 0.4195268154144287, 0.7983531951904297, 0.6556650996208191, -0.8059362769126892, -0.35325631499290466, -0.31456324458122253, 0.14815354347229004, 0.17541781067848206, -0.3214638829231262, 0.2891818583011627, -0.24157512187957764, -0.46803373098373413, -0.024362964555621147, 0.15746788680553436, 0.30373650789260864, -0.17623966932296753, -0.0691903755068779, -0.1295015513896942, -0.1980941742658615, 0.0838879719376564, 0.20798975229263306, -0.47250896692276, -0.4535350203514099, 0.11835223436355591, -0.6385661363601685, 0.36228522658348083, 1.0682214498519897, -0.4871053099632263, 0.33487188816070557, 0.4253822863101959, 0.15839329361915588, 0.09439779072999954, 0.03521453216671944, 1.074025273323059, -0.6397224068641663, 0.1145281195640564, 0.234097421169281, 0.22025048732757568, 0.34288638830184937, -0.5213783383369446, 0.9557115435600281, -0.26020434498786926, -0.5243460536003113, -1.022836446762085, 0.07756452262401581, -0.37059369683265686, -0.2104014754295349, 0.9546403288841248, -0.19516156613826752, 0.04416653886437416, -0.009347205050289631, -0.09340518712997437, 0.44569817185401917, -0.6823226809501648, 0.9575615525245667, 0.45392099022865295, 0.022649003192782402, -0.4207317531108856, -0.5804544687271118, 0.19679108262062073, 0.08361183851957321, -0.9560357332229614, 0.2324056327342987, 0.4810565114021301, 0.3728630840778351, 0.2758832573890686, 0.7451407313346863, 0.05479728803038597, 0.579579770565033, 0.09318863600492477, 0.3816778361797333, -0.15776607394218445, -0.43341949582099915, -0.06895817816257477, 0.19746097922325134, 0.4070330858230591, -0.02543417550623417 ]
http://arxiv.org/abs/2402.03396v1
http://arxiv.org/pdf/2402.03396v1
UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testing
2024-02-04T22:48:05
2024-02-04T22:48:05
Yifeng He, Jiabo Huang, Yuyang Rong, Yiwen Guo, Ethan Wang, Hao Chen
cs.SE
cs.SE, cs.AI, cs.CL, cs.CR, cs.LG
The remarkable capability of large language models (LLMs) in generating high-quality code has drawn increasing attention in the software testing community. However, existing code LLMs often demonstrate unsatisfactory capabilities in generating accurate and complete tests since they were trained on code snippets collected without differentiating between code for testing purposes and other code. In this paper, we present a large-scale dataset UniTSyn, which is capable of enhancing the prowess of LLMs for Unit Test Synthesis. Associating tests with the tested functions is crucial for LLMs to infer the expected behavior and the logic paths to be verified. By leveraging Language Server Protocol, UniTSyn achieves the challenging goal of collecting focal-test pairs without per-project execution setups or per-language heuristics that tend to be fragile and difficult to scale. It contains 2.7 million focal-test pairs across five mainstream programming languages, making it possible to be utilized for enhancing the test generation ability of LLMs. The details of UniTSyn can be found in Table 1. Our experiments demonstrate that, by building an autoregressive model based on UniTSyn, we can achieve significant benefits in learning and understanding unit test representations, resulting in improved generation accuracy and code coverage across all evaluated programming languages. Code and data will be publicly available.
[ -0.28988972306251526, -0.44597697257995605, 0.382201611995697, 0.20499001443386078, 0.1604497879743576, 0.0626760721206665, -0.2894440293312073, -0.008635244332253933, 0.2094084918498993, 0.5156127214431763, -0.31370460987091064, -0.319703608751297, 0.027102896943688393, -0.046815626323223114, -0.4895511269569397, 0.8457432389259338, -0.18035347759723663, -0.012767888605594635, -0.33998745679855347, 0.025679247453808784, -0.14171677827835083, -0.4148869812488556, -0.06081265211105347, -0.15100957453250885, 0.31200647354125977, 0.7574167847633362, 0.42007699608802795, 0.45091506838798523, 0.5464150309562683, 0.255720853805542, 0.4851152300834656, 0.09858689457178116, -0.4936034381389618, 0.5834274888038635, 0.03020576201379299, -0.3215883672237396, -0.5492596626281738, -0.06666222214698792, 0.9621530771255493, 0.8049888014793396, -0.09735365957021713, 0.56141197681427, -0.0832124575972557, 0.5117279887199402, -0.4043378233909607, 0.08377029746770859, -0.8638678789138794, -0.036635175347328186, -0.04378635808825493, -0.026058828458189964, -0.6084670424461365, -0.23407326638698578, -0.4748900830745697, -0.321338415145874, 0.20205344259738922, -0.025112798437476158, 0.7948260307312012, 0.13122978806495667, -0.3881431221961975, -0.025282172486186028, -0.4663461446762085, 0.6746585965156555, -0.6019064784049988, 0.7217139005661011, 0.19619208574295044, 0.26570412516593933, -0.21000562608242035, -0.49622640013694763, -0.3642289340496063, -0.5155163407325745, 0.1424940824508667, -0.16293811798095703, 0.21496839821338654, -0.018300671130418777, 0.6058118939399719, 0.22173194587230682, -0.7427113652229309, 0.027972465381026268, -0.2050795704126358, -0.1235668882727623, 0.9931608438491821, 0.2042447179555893, 0.24044044315814972, -0.36250293254852295, -0.28242045640945435, 0.04351871833205223, -1.02518892288208, -0.05229119583964348, 0.12777963280677795, 0.3309682309627533, 0.19695396721363068, 0.6597526669502258, -0.40893301367759705, 0.5813629627227783, -0.48115700483322144, -0.26232972741127014, 0.17151564359664917, -0.10876655578613281, -0.5748066306114197, -0.22879429161548615, 0.7230255603790283, 0.32434120774269104, -0.009360047988593578, -0.15763063728809357, -0.3232330083847046, 0.25584062933921814, 0.19263237714767456, -1.2151377201080322, -0.49915456771850586, 0.15029148757457733, -0.2600246071815491, -0.5127451419830322, -0.08757573366165161, -0.651579737663269, -0.1988290250301361, -0.5397958755493164, 0.1424950361251831, -0.35544198751449585, -0.325412780046463, -0.1331249475479126, 0.34688878059387207, 0.04004606232047081, -0.0758465901017189, -0.7665547132492065, 0.2172444462776184, 0.6834442019462585, 0.42177554965019226, -0.18869879841804504, -0.5877909064292908, -0.6933760643005371, -0.19645990431308746, -0.7117812633514404, 0.245025634765625, -0.18738622963428497, -0.33130699396133423, -0.36902526021003723, 0.13506734371185303, 0.02749638259410858, -0.2571676969528198, -0.3129597306251526, -0.5112361311912537, -0.37759023904800415, -0.2568972110748291, -0.7502215504646301, 0.5108700394630432, 0.23171468079090118, -0.15917257964611053, 1.1835544109344482, 0.23823171854019165, -0.25975027680397034, 0.02922196500003338, -0.34459277987480164, -0.4029245376586914, 0.38679325580596924, -0.7596226334571838, -0.3597402274608612, 0.11682751029729843, -0.1941993683576584, 0.5852627754211426, -0.32961609959602356, 0.47440019249916077, -0.3028396964073181, -0.28548502922058105, 0.48725229501724243, -0.3241649866104126, 0.5150877833366394, 0.24219658970832825, -0.43158096075057983, -0.03145113214850426, -0.7932428121566772, 0.40431493520736694, 0.10182151943445206, -0.23692965507507324, -0.24253998696804047, -0.22049099206924438, -0.08255723118782043, -0.015864798799157143, -0.000004557619377010269, -0.5634946823120117, 0.4412207007408142, -0.02319488674402237, 0.3695180118083954, 0.6839113235473633, -0.1059226468205452, 0.473280131816864, 0.0011214225087314844, 0.6457653641700745, -0.504199206829071, 0.3545092046260834, -0.35260072350502014, -0.4287736713886261, -0.8078957200050354, -0.13964274525642395, 0.23159852623939514, 0.2073393613100052, -0.6206161379814148, 0.446968674659729, -0.32850542664527893, -0.6268782615661621, -0.35061201453208923, 0.32540637254714966, 0.5172795057296753, 0.4848768711090088, -0.03880228102207184, -0.23933985829353333, -0.6584969758987427, -0.6006894111633301, 0.27175819873809814, -0.414562851190567, -0.09808570891618729, 0.26434311270713806, 0.5931475758552551, -0.3073459565639496, 0.6924047470092773, -0.7192438840866089, 0.18711020052433014, -0.19015242159366608, -0.22850583493709564, 0.051369890570640564, 0.4552750885486603, 0.22146888077259064, -0.3751601278781891, -0.3333805799484253, -0.09685683995485306, -0.580463707447052, -0.3318389654159546, -0.1386268138885498, -0.300413578748703, 0.3189930319786072, 0.8343026041984558, -0.35453104972839355, 0.08143479377031326, 0.8430435657501221, -0.4567510187625885, 0.7976949214935303, -0.12974750995635986, 0.12159542739391327, -1.056016445159912, 0.18249589204788208, -0.5068243741989136, -0.3222757875919342, -0.37477755546569824, 0.6067966222763062, 0.49357953667640686, -0.4492590129375458, -0.08823122829198837, 0.28225505352020264, -0.3984948992729187, -0.5066487789154053, -0.17445649206638336, -0.13410766422748566, 0.2948320806026459, 0.04889987036585808, -0.16777363419532776, 0.9400244951248169, 0.44388362765312195, -0.3715628385543823, 0.33342087268829346, -0.00860671978443861, -0.24226246774196625, 0.41534560918807983, -0.503056526184082, 0.015384027734398842, 0.1410738229751587, 0.0011435499181970954, -1.0349644422531128, -0.4554559886455536, -0.4511584937572479, -0.41885876655578613, 0.1150677502155304, -0.2708727717399597, -0.3152901828289032, -0.40527281165122986, -0.08145751804113388, 0.27610403299331665, 0.7021848559379578, -0.6038081645965576, 0.2886364459991455, 0.35427597165107727, -0.12262696027755737, -0.3765556812286377, -0.7438415884971619, -0.01386886928230524, 0.033721134066581726, -0.4387384057044983, -0.053361646831035614, -0.23580586910247803, -0.35390937328338623, -0.2738979756832123, 0.06459115445613861, 0.09081658720970154, 0.27644798159599304, 0.793153703212738, 0.6366241574287415, -0.30895546078681946, 0.5796970725059509, -0.3337821662425995, -0.13073678314685822, 0.09448937326669693, -0.26789650321006775, 0.7225459218025208, -0.30149784684181213, -0.8211849331855774, -0.14362399280071259, 0.37775278091430664, 0.7584925889968872, -0.1702025830745697, 0.13943977653980255, 0.29268935322761536, -0.1942261904478073, -0.5601431131362915, -0.5029703974723816, -0.26671871542930603, -0.4681668281555176, 0.42670053243637085, -0.6236935257911682, -0.773840606212616, 0.21294422447681427, 0.017658863216638565, -0.008746286854147911, 0.16140390932559967, 0.19270765781402588, 0.09065112471580505, 0.8272918462753296, 0.3106169104576111, -0.5534644722938538, 0.17955709993839264, -0.3207532465457916, 0.13914772868156433, -0.7933464050292969, 0.10151436924934387, -0.3697339594364166, 0.15218056738376617, -0.42212456464767456, -0.5452538132667542, 0.27626460790634155, 0.0948706865310669, -0.7132946848869324, 0.4448195695877075, -0.5871652960777283, 0.6825409531593323, 0.38284608721733093, -0.0006713834591209888, 0.3638743758201599, 0.1260041445493698, -0.07318424433469772, -0.1676834225654602, -0.4369591772556305, -0.17854323983192444, 1.4274570941925049, 0.4017031192779541, 0.7982233166694641, 0.15974122285842896, 0.7930487394332886, 0.18790046870708466, 0.563092052936554, -0.7865903973579407, 0.7357456088066101, -0.009000509046018124, -0.16718734800815582, -0.4238314926624298, -0.795372724533081, -0.6130487322807312, -0.04518929868936539, 0.2329958826303482, -0.420091837644577, -0.2106543332338333, -0.08913052082061768, -0.5398595333099365, 0.21031436324119568, -0.5957089066505432, 0.6593127846717834, -0.2942138612270355, -0.20648321509361267, 0.1673143357038498, -0.19102859497070312, 0.405338317155838, 0.011915817856788635, 0.10495894402265549, -0.21503570675849915, 0.1887492686510086, 0.49851131439208984, -0.5886979103088379, 0.5634625554084778, -0.04050441086292267, -0.12256145477294922, 0.05662134289741516, 0.6588031649589539, 0.5120217204093933, 0.4589628577232361, -0.10888651013374329, -0.22928114235401154, -0.17879703640937805, -0.44870880246162415, -0.28250768780708313, 1.0761662721633911, -0.704938530921936, -0.33386579155921936, -0.18216055631637573, -0.9546638131141663, -0.20806024968624115, 0.2080850899219513, -0.15210621058940887, 0.7192454934120178, -0.1930921971797943, -0.04538644477725029, 0.6298009753227234, -0.03650074452161789, 0.47740495204925537, 0.6778152585029602, -0.8430421948432922, -0.3211469054222107, 0.9281377792358398, -0.13565048575401306, 0.6805934309959412, -0.24567319452762604, -0.09672176837921143, -0.017103441059589386, -0.45579227805137634, -0.532499372959137, 0.2233988493680954, -0.6221361756324768, -0.6149706840515137, -0.32390737533569336, -0.30737268924713135, -0.6577058434486389, -0.2954886257648468, -0.6869567036628723, -0.35678836703300476, 0.1443585902452469, -0.0673157125711441, 0.5535051822662354, 0.7838375568389893, 0.002329972805455327, 0.059591006487607956, -0.4563334584236145, 0.24985434114933014, 0.5620996952056885, 0.19691641628742218, -0.18237771093845367, -0.3001773953437805, 0.09509970992803574, -0.1329580843448639, -0.04048214852809906, -0.5894491076469421, 0.5433635115623474, 0.05809544399380684, 0.056840669363737106, 0.21942883729934692, -0.08624561876058578, 0.8199679851531982, -0.485554039478302, 0.8289747834205627, 0.17634105682373047, -1.0255345106124878, 0.6161975264549255, -0.2635009288787842, 0.15650023519992828, 0.7389968037605286, 0.2119220644235611, -0.6318154335021973, -0.1478426605463028, -0.6276540160179138, -0.6795722246170044, 0.3734056353569031, 0.1362546682357788, -0.11600957810878754, 0.12326671928167343, 0.4541032314300537, -0.17477698624134064, 0.16394110023975372, -0.3666011691093445, -0.10204972326755524, 0.10171405225992203, -0.1185918003320694, -0.24036382138729095, -0.13144153356552124, -0.26911282539367676, -0.4042510986328125, 0.7499856352806091, -0.39683645963668823, 0.13392402231693268, 0.3201298713684082, -0.19365090131759644, -0.1455266773700714, 0.1100570484995842, 0.21525341272354126, 0.5618857145309448, -0.24257273972034454, 0.4068416953086853, 0.1680542230606079, -0.5763860940933228, 0.29283201694488525, 0.28146469593048096, -0.3754262924194336, 0.016567399725317955, 0.21049343049526215, 0.4571857750415802, 0.006274119485169649, -0.8241992592811584, 0.4218612313270569, -0.07217250764369965, -0.1446409970521927, -0.3939792811870575, 0.05016085132956505, 0.230083167552948, 0.25240811705589294, 0.2527681887149811, -0.05367853865027428, 0.00377009273506701, -0.6009853482246399, 0.667273223400116, 0.2507678270339966, -0.29499751329421997, -0.22462520003318787, 0.3813190460205078, 0.13151058554649353, -0.22401152551174164, 0.7787860035896301, -0.6400618553161621, -0.5006066560745239, 0.9011995792388916, 0.583117663860321, 0.30061936378479004, -0.5736209750175476, 0.4019470512866974, 0.32311776280403137, 0.13263079524040222, -0.14016753435134888, 0.5857512950897217, 0.011163998395204544, -0.6601110696792603, -0.36972400546073914, -0.7074840068817139, -0.4118126928806305, 0.30699166655540466, -0.5145282745361328, 0.04562073200941086, -0.3422093689441681, 0.19833166897296906, -0.19132229685783386, 0.22850771248340607, -0.5082919001579285, 0.06345251202583313, 0.3799944818019867, 0.8349836468696594, -0.9707620739936829, 1.1438231468200684, 0.4542221128940582, -0.40186527371406555, -1.104651689529419, -0.19131578505039215, -0.16397462785243988, -0.719752848148346, 0.6029290556907654, 0.20365828275680542, 0.3054869472980499, 0.030550912022590637, -0.18137741088867188, -0.9985039234161377, 1.3094080686569214, 0.29096299409866333, -0.9529042840003967, 0.21993388235569, 0.5922445058822632, 0.4018165171146393, -0.6630995273590088, 0.42736244201660156, 0.5907464623451233, 0.07021845877170563, -0.040981534868478775, -0.7925012111663818, 0.43272095918655396, -0.13555078208446503, 0.4009717106819153, 0.3172594904899597, -0.539483368396759, 1.137622356414795, -0.20071935653686523, 0.20291978120803833, 0.28960517048835754, 0.40275219082832336, 0.6850208640098572, 0.0835193321108818, 0.5526702404022217, 0.3979741036891937, 0.9271584153175354, 0.023547593504190445, 0.8935344815254211, -0.3824841380119324, 0.49384236335754395, 1.354434847831726, -0.7730587124824524, 1.123902440071106, 0.5263714790344238, -0.2929283678531647, 0.35276684165000916, 0.3126293122768402, -0.04248835891485214, 0.12303966283798218, 0.5237758159637451, -0.3343698978424072, -0.484150230884552, -0.18925780057907104, -0.347628116607666, 0.2421584129333496, 0.29000619053840637, -0.6315125226974487, -0.0983918234705925, -0.08213389664888382, 0.011835861951112747, 0.06930673122406006, -0.15621189773082733, 0.18909794092178345, 0.027104657143354416, -0.7456398606300354, 0.684740424156189, -0.4422668218612671, 0.3064401149749756, -0.49350106716156006, 0.04004887491464615, -0.44985124468803406, 0.4676133096218109, -0.12936437129974365, -0.6327016949653625, 0.1498340666294098, -0.0920124426484108, 0.152124285697937, -0.3009495139122009, 0.7477715611457825, -0.49094897508621216, -0.591951310634613, 0.29762792587280273, 0.3734513521194458, 0.3074583113193512, -0.18671762943267822, -0.5190364718437195, 0.3607912063598633, 0.11930857598781586, -0.213797464966774, 0.33858680725097656, 0.1613669991493225, 0.0816178023815155, 0.47427111864089966, 0.6871072053909302, 0.35193008184432983, -0.16354170441627502, 0.4429459869861603, 0.9264615774154663, -0.523238480091095, -0.05335671454668045, -0.676211953163147, 0.4294739067554474, -0.27304357290267944, -0.31429609656333923, 0.9039928317070007, 0.742496132850647, 0.6761980056762695, -0.006447481922805309, 0.8551939725875854, -0.12127579748630524, 0.21538184583187103, -0.24346923828125, 0.7687625885009766, -0.281014084815979, 0.3108178973197937, 0.07260720431804657, -0.5856329202651978, -0.2571153938770294, 0.26650363206863403, 0.009285848587751389, -0.4082731306552887, 0.5463230013847351, 1.228633165359497, -0.16078431904315948, -0.045555904507637024, 0.5405013561248779, 0.33626773953437805, 0.36513611674308777, 0.6409936547279358, 0.7389423251152039, -0.8677315711975098, 0.4116997718811035, -0.32111895084381104, -0.36358940601348877, -0.15862783789634705, -0.5811172723770142, -0.8881155848503113, -0.6000627875328064, -0.20986014604568481, -0.673821747303009, 0.0449724942445755, 0.9872568845748901, 0.8288061022758484, -0.8408446311950684, -0.45743104815483093, -0.5052739977836609, -0.08935315161943436, 0.07048777490854263, -0.2369215488433838, 0.22970180213451385, -0.6468518972396851, -0.2796079218387604, 0.6299751400947571, -0.00190234265755862, -0.04713978245854378, -0.6864647269248962, -0.30181390047073364, 0.10438323020935059, -0.19129294157028198, 0.6527159214019775, 0.14485430717468262, -0.2805710732936859, -0.1545160710811615, 0.3570437431335449, -0.2505762577056885, -0.23139378428459167, 0.704872727394104, -0.49892622232437134, 0.3258199095726013, 0.6195520162582397, 0.5541279911994934, 0.24524518847465515, -0.2392800748348236, 0.6230708360671997, -0.8514524698257446, 0.12953774631023407, 0.021087124943733215, 0.5779442191123962, 0.31707853078842163, -0.4231605529785156, 0.7239630818367004, 0.21153606474399567, -0.9259597659111023, -1.1231881380081177, 0.4385209381580353, -0.6904461979866028, -0.18660669028759003, 1.6591498851776123, -0.3629920780658722, -0.2828662395477295, 0.12383265048265457, 0.04599061235785484, 0.10602792352437973, -0.24629755318164825, 0.7798274159431458, 0.23977278172969818, -0.11364053189754486, 0.21772518754005432, -0.5203235149383545, 0.6116970181465149, 0.4763011634349823, -1.1060045957565308, 0.40769025683403015, 0.45641252398490906, 0.5987657904624939, 0.2677231729030609, 0.635899543762207, -0.015313954092562199, 0.26373860239982605, 0.11959241330623627, 0.47850051522254944, -0.044880129396915436, -0.4367403984069824, -0.2267892211675644, 0.05045870319008827, 0.26319190859794617, -0.17088274657726288 ]
http://arxiv.org/abs/2402.02625v1
http://arxiv.org/pdf/2402.02625v1
Enhancing Transformer RNNs with Multiple Temporal Perspectives
2024-02-04T22:12:29
2024-02-04T22:12:29
Razvan-Gabriel Dumitru, Darius Peteleaza, Mihai Surdeanu
cs.LG
cs.LG, cs.AI, cs.CL, I.2.0; I.2.7
We introduce the concept of multiple temporal perspectives, a novel approach applicable to Recurrent Neural Network (RNN) architectures for enhancing their understanding of sequential data. This method involves maintaining diverse temporal views of previously encountered text, significantly enriching the language models' capacity to interpret context. To show the efficacy of this approach, we incorporate it into the Receptance Weighted Key Value (RWKV) architecture, addressing its inherent challenge of retaining all historical information within a single hidden state. Notably, this improvement is achieved with a minimal increase in the number of parameters --even as little as $0.04\%$ of the original number of parameters. Further, the additional parameters necessary for the multiple temporal perspectives are fine-tuned with minimal computational overhead, avoiding the need for a full pre-training. The resulting model maintains linear computational complexity during prompt inference, ensuring consistent efficiency across various sequence lengths. The empirical results and ablation studies included in our research validate the effectiveness of our approach, showcasing improved performance across multiple benchmarks. The code, model weights and datasets are open-sourced at: https://github.com/RazvanDu/TemporalRNNs.
[ -0.20444859564304352, -0.4023367464542389, 0.4521982669830322, 0.5613203644752502, -0.3399105370044708, 0.14994357526302338, -0.04631700739264488, -0.2781641185283661, -0.07991944998502731, 0.33121803402900696, -0.7399159669876099, -0.30936431884765625, -0.5591235160827637, 0.04578903689980507, -0.3118351697921753, 0.9574824571609497, 0.22364208102226257, -0.042270366102457047, 0.23761729896068573, -0.44200456142425537, -0.45107364654541016, -0.18614692986011505, -0.7175050973892212, -0.835076630115509, 1.0540192127227783, 0.29383108019828796, 0.5537346005439758, 0.597722589969635, 0.3667425215244293, 0.24190346896648407, -0.17783856391906738, 0.042078014463186264, -0.269612193107605, 0.5062814354896545, -0.02911573275923729, -0.2848787009716034, -0.2518804669380188, -0.2624551057815552, 0.9897040128707886, 0.6283221244812012, -0.511108934879303, 0.21207015216350555, 0.010760616511106491, 0.8469063639640808, -0.542582631111145, 0.07972194999456406, -0.5172029733657837, 0.5570653676986694, -0.159932479262352, -0.41705426573753357, -0.7248801589012146, -0.23570619523525238, 0.5058058500289917, -0.5478453636169434, 0.4261915683746338, -0.15917040407657623, 0.6883974671363831, 0.49658292531967163, -0.6136419773101807, 0.5251652002334595, -0.9819533824920654, 0.79473876953125, -0.7329801917076111, 0.7377884984016418, -0.43035390973091125, 0.31591692566871643, -0.007533756550401449, -1.0178533792495728, -0.5053182244300842, -0.010142394341528416, -0.251869261264801, 0.37098827958106995, -0.0680803433060646, -0.17094896733760834, 0.5440196394920349, 0.33664706349372864, -0.6744077205657959, -0.153486967086792, -0.2942318320274353, -0.14857566356658936, 0.13914573192596436, 0.38073983788490295, -0.22247955203056335, -0.36926892399787903, -0.48400309681892395, -0.25232115387916565, -0.28322282433509827, 0.001565666520036757, 0.2949000895023346, 0.2749178409576416, -0.199366956949234, 0.32720044255256653, -0.2687702476978302, 0.7808005809783936, 0.05780370533466339, 0.06408477574586868, 0.5575184226036072, -0.47192710638046265, -0.20739677548408508, -0.08635697513818741, 0.605086624622345, 0.033894166350364685, -0.08874860405921936, -0.1183900311589241, 0.2883307635784149, -0.26190099120140076, 0.9513511657714844, -0.8524095416069031, -0.20005187392234802, 0.17647190392017365, -0.7411695122718811, -0.5892446637153625, 0.2111237496137619, -0.9006815552711487, -0.41486939787864685, -0.3400474786758423, 0.1491197645664215, -0.5151746869087219, -0.4345509707927704, -0.02726815454661846, -0.5183979868888855, 0.5345614552497864, 0.36380767822265625, -0.6676182150840759, -0.04081301391124725, 0.7344792485237122, 0.987914502620697, -0.06501127034425735, -0.4362258315086365, -0.13030102849006653, 0.09918441623449326, -0.09608139097690582, 0.6911185383796692, -0.5479811429977417, -0.2854519784450531, -0.3361818492412567, -0.01942032016813755, 0.06938239932060242, -0.09596367925405502, 0.314572811126709, -0.8530794382095337, 0.33943432569503784, 0.07077949494123459, 0.023744776844978333, -0.28427237272262573, 0.20219992101192474, -0.9274905920028687, 1.1043529510498047, 0.13931725919246674, -0.7071020603179932, 0.4412015974521637, -0.48051488399505615, -0.6663349866867065, -0.11501903086900711, -0.2728952169418335, -0.6215038299560547, 0.4267076551914215, 0.40383461117744446, 0.14652274549007416, -0.009424393065273762, 0.2848215699195862, -0.0003407085605431348, 0.041241373866796494, 0.3481731414794922, -0.9340814352035522, 0.3635140359401703, 0.3432022035121918, -0.17100170254707336, 0.39141446352005005, -0.9987235069274902, 0.0787045806646347, -0.051631659269332886, -0.470621794462204, -0.1270134150981903, -0.018703904002904892, 0.011532899923622608, 0.32109805941581726, 0.11730511486530304, -0.5748279094696045, 0.2920299768447876, -0.6109431982040405, 0.5791471004486084, 0.8150877952575684, 0.3448466956615448, 0.5355765223503113, -0.38608506321907043, 0.4908870756626129, 0.320326030254364, 0.40280213952064514, -0.6256118416786194, -0.5395664572715759, -0.577041745185852, 0.13930867612361908, 0.09165816754102707, 0.5813160538673401, -0.7335718274116516, 0.08289401233196259, -0.6814458966255188, -0.38648149371147156, -0.3777672350406647, -0.4158509373664856, 0.21902815997600555, 0.9841046929359436, 0.4850180149078369, -0.28222742676734924, -0.7763115763664246, -1.0454792976379395, -0.4045637249946594, 0.015811927616596222, -0.20841197669506073, 0.31077203154563904, 0.24583931267261505, 0.10701224952936172, 0.9306168556213379, -0.3686443269252777, -0.10710139572620392, -0.14282293617725372, 0.4036799967288971, 0.6607222557067871, 0.4600332975387573, 0.03175469860434532, -0.9859957695007324, -0.21131570637226105, 0.1598065048456192, -0.6710042357444763, 0.24968041479587555, -0.5507318377494812, 0.10598146915435791, 0.12093690782785416, 0.2240212857723236, -0.24832235276699066, 0.606256365776062, 0.417453795671463, -0.2580140233039856, 0.28269001841545105, -0.11026301980018616, 0.30287304520606995, -1.1369881629943848, 0.1320536732673645, -0.10847628861665726, -0.25570106506347656, -0.7643647789955139, -0.15825673937797546, 0.17061269283294678, -0.11045590043067932, -0.5749614238739014, 0.5241244435310364, -0.22248220443725586, 0.0004775524139404297, -0.2190830409526825, -0.1622142344713211, 0.3179347515106201, 0.7338224053382874, 0.26300835609436035, 0.6136122345924377, 0.021842362359166145, -0.23848968744277954, 0.23942522704601288, 0.3077335059642792, -0.21701404452323914, 0.31397703289985657, -0.8246173858642578, 0.2112862765789032, -0.4340093433856964, 0.5488489866256714, -0.7625590562820435, 0.11498553305864334, 0.4116685092449188, -0.7439045310020447, 0.3677434027194977, -0.4313071668148041, -0.06637023389339447, -0.20784740149974823, -0.07633496075868607, 0.7078381776809692, 0.2670060992240906, -0.47198250889778137, 1.3205852508544922, -0.18492555618286133, -0.04448952153325081, -1.1190519332885742, -0.9354687333106995, 0.11225367337465286, -0.18075761198997498, -0.5947157740592957, 0.6010305881500244, 0.32833680510520935, 0.07219143211841583, 0.048703815788030624, -0.4110037088394165, 0.15811926126480103, -0.20463722944259644, 0.2834458649158478, 0.2674236595630646, -0.2612842321395874, 0.22285054624080658, -0.08938520401716232, -0.5198198556900024, -0.07006518542766571, -0.9016002416610718, 0.5243343710899353, -0.10626520216464996, -0.14496609568595886, -0.5232529640197754, 0.5588459968566895, 0.4856494069099426, -0.36167100071907043, 1.0714502334594727, 0.8525015711784363, -0.3591611385345459, -0.2272898554801941, -0.6332451701164246, -0.1922353208065033, -0.433521568775177, 0.37707364559173584, -0.36223822832107544, -0.8494593501091003, 0.6699264049530029, 0.09875573217868805, 0.2270345687866211, 0.4178697168827057, 0.5539632439613342, 0.08784687519073486, 0.6923826336860657, 0.47241029143333435, -0.04151428863406181, 0.924589991569519, -0.18279089033603668, 0.2149556279182434, -1.0498552322387695, -0.5915920734405518, -0.3140280544757843, -0.48030805587768555, -0.4568982422351837, -0.38769039511680603, 0.502544105052948, -0.3186061382293701, -0.6288195848464966, 0.1432788372039795, -0.605742871761322, 0.16759857535362244, 0.45875757932662964, 0.4934564232826233, 0.38267043232917786, -0.009001537226140499, -0.17870184779167175, -0.112894207239151, -0.926207959651947, -0.10511616617441177, 1.1986806392669678, 0.6161350607872009, 0.682251513004303, 0.08595674484968185, 0.5947176814079285, 0.14070914685726166, 0.2850249409675598, -0.8064481019973755, 0.09475406259298325, -0.057350944727659225, -0.3706192970275879, -0.499411404132843, -0.6491113305091858, -0.7955965995788574, 0.6034939885139465, -0.19341322779655457, -0.3781574070453644, 0.3828408420085907, 0.0906464084982872, -0.7912822961807251, 0.23497407138347626, -0.3752117455005646, 0.8750685453414917, -0.07925032079219818, -0.5085902214050293, -0.3964386284351349, -1.0330599546432495, 0.06471696496009827, 0.23203684389591217, -0.04826847091317177, 0.16650904715061188, -0.21367694437503815, 0.525989830493927, -0.3642779290676117, 0.8061831593513489, -0.19033339619636536, 0.08031445741653442, -0.06235232949256897, -0.19402341544628143, 0.4929540455341339, 0.41973039507865906, -0.016134656965732574, 0.33497869968414307, -0.19464297592639923, -0.34675416350364685, -0.9567897915840149, 0.49686694145202637, -0.6854024529457092, -0.32690638303756714, -0.6171723008155823, -0.7111374735832214, -0.06180614233016968, 0.32658323645591736, 0.11865010112524033, 0.9283947944641113, 0.017257073894143105, 0.4469324052333832, 0.9000098705291748, -0.36195847392082214, 0.39444875717163086, 0.48111629486083984, 0.06584100425243378, -0.7400932312011719, 0.2570771872997284, -0.339130163192749, 0.4028586149215698, 0.8115350008010864, 0.3709643483161926, -0.26471230387687683, -0.6269049048423767, -0.21332675218582153, 0.08178716152906418, -0.7118238210678101, -0.21014246344566345, -0.7863407135009766, -0.4362305998802185, -0.5546575784683228, 0.327136754989624, -0.5227502584457397, -0.6505762338638306, -0.06658343970775604, -0.07322423905134201, 0.5544524192810059, 0.5647439360618591, 0.007200897671282291, 0.5916896462440491, -1.027287483215332, 0.6776593327522278, 0.12097971886396408, 0.46090981364250183, 0.4174712300300598, -0.7382568120956421, -0.2590746283531189, -0.154181569814682, -0.22887985408306122, -0.6542835235595703, 0.26953837275505066, 0.13076011836528778, 0.6566963195800781, 0.15260696411132812, -0.2744452655315399, 0.8036800026893616, -1.0011327266693115, 0.7474770545959473, 0.05135957896709442, -0.6830651760101318, 0.5622307658195496, -0.264387309551239, 0.7907752394676208, 0.3323846161365509, 0.09247470647096634, -0.9602454304695129, -0.28553903102874756, -0.5193119049072266, -1.0438876152038574, 0.6708724498748779, 0.12801282107830048, 0.021960005164146423, 0.17370165884494781, 0.6176536679267883, 0.1459898054599762, 0.11766690015792847, -0.7040748596191406, -0.5934308171272278, -0.6828673481941223, -0.15987807512283325, 0.16571378707885742, -0.13870540261268616, -0.129774808883667, -0.10143117606639862, 0.4361807107925415, -0.03452906757593155, 0.28883275389671326, 0.41533729434013367, 0.0014556031674146652, 0.19017063081264496, 0.4632025361061096, 0.8179360628128052, 0.7791488766670227, -0.031889934092760086, -0.09933538734912872, 0.29749056696891785, -0.7549154162406921, 0.030314302071928978, 0.13610047101974487, -0.022079315036535263, -0.10830400139093399, 0.5658754706382751, 0.9035982489585876, 0.43598008155822754, 0.11189466714859009, 0.21874864399433136, -0.34127098321914673, 0.005727918352931738, -0.6732417345046997, -0.24823899567127228, -0.13023324310779572, 0.5970584750175476, 0.6288095712661743, 0.5755529403686523, -0.20213666558265686, -0.1681249588727951, 0.49633923172950745, 0.040563277900218964, -0.28527823090553284, -0.0982002466917038, 0.646902322769165, 0.11334551125764847, -0.2522346079349518, 0.9755582213401794, 0.35328441858291626, -0.48479509353637695, 0.5268032550811768, 0.28901398181915283, 0.9946325421333313, -0.3272475004196167, 0.009026470594108105, 0.48812779784202576, 0.3698013424873352, -0.03304700553417206, 0.2606944441795349, -0.23657792806625366, -0.9699604511260986, -0.660001277923584, -0.5085428953170776, -0.13097092509269714, -0.02615268900990486, -0.9516894817352295, 0.08628600090742111, -0.39994925260543823, -0.2115759551525116, -0.08175869286060333, -0.2666088342666626, -0.7117374539375305, -0.05912567675113678, 0.09652937948703766, 1.0568572282791138, -0.641919732093811, 1.0036367177963257, 0.2966623902320862, -0.3506470322608948, -0.7320850491523743, -0.03702827915549278, 0.13866101205348969, -0.7704763412475586, 0.6430361866950989, -0.009386015124619007, -0.3211483359336853, 0.01438868511468172, 0.09659803658723831, -0.819156289100647, 1.3526535034179688, -0.333863765001297, -0.6437180638313293, -0.3868195712566376, 0.10521285980939865, 0.534741997718811, -0.3178706169128418, 0.24353833496570587, 0.6376439929008484, 0.4920032024383545, 0.23981089890003204, -0.6445422768592834, -0.01956356316804886, -0.20919933915138245, 0.37063995003700256, 0.5333814024925232, -0.42973166704177856, 0.6247739791870117, -0.2473609447479248, -0.3115972876548767, 0.14427143335342407, 0.9391656517982483, 0.12787334620952606, 0.1748785674571991, 0.518535852432251, 0.6960068345069885, 0.3869178891181946, -0.17874129116535187, 1.0065778493881226, -0.2515186369419098, 0.14496813714504242, 1.397468090057373, -0.002025529509410262, 0.6611860990524292, 0.8027216196060181, -0.14109177887439728, 0.6470147967338562, 0.33363035321235657, -0.05053738132119179, 0.6361455917358398, -0.0056860195472836494, -0.25169360637664795, -0.19363072514533997, 0.030026374384760857, -0.5135189890861511, 0.1979345679283142, 0.2684098780155182, -0.3830408453941345, -0.23195873200893402, 0.2614559233188629, -0.25162097811698914, 0.020954756066203117, -0.09921790659427643, 0.7329713702201843, 0.21263356506824493, -0.5075136423110962, 0.056815870106220245, -0.26447755098342896, 0.5594483017921448, -0.8929448127746582, -0.2119266539812088, -0.09264731407165527, 0.3138454258441925, -0.37601739168167114, -0.788297176361084, 0.5951091647148132, -0.3218630254268646, -0.5639534592628479, -0.7681970000267029, 0.5064945220947266, -0.36829712986946106, -0.5022118091583252, 0.037575770169496536, 0.4838555157184601, -0.42667850852012634, 0.11846923828125, -0.6230106353759766, 0.15484248101711273, -0.21474044024944305, -0.4036504030227661, -0.026027023792266846, 0.4863450527191162, 0.19889600574970245, 0.6642583608627319, 0.46483463048934937, 0.27873316407203674, 0.09620076417922974, 0.7335933446884155, 0.7433598041534424, -0.9428104162216187, -0.5358307361602783, -0.7950654625892639, 0.7788169980049133, 0.058840710669755936, -0.3608244061470032, 0.6558442115783691, 0.4986715316772461, 0.8382395505905151, 0.019903933629393578, 0.6257246136665344, 0.06423662602901459, 0.6915704011917114, -0.4735492169857025, 0.6626009345054626, -0.35098305344581604, 0.40504586696624756, -0.05165543779730797, -0.6911804676055908, -0.4404039978981018, 0.4905247986316681, -0.08109460771083832, 0.09612727165222168, 0.8488763570785522, 0.6445371508598328, 0.20062807202339172, 0.30362987518310547, -0.06246395409107208, 0.017262505367398262, 0.4481455087661743, 0.6598762273788452, 1.2010353803634644, -0.6281605362892151, 0.664506733417511, -0.5280082821846008, -0.21054911613464355, 0.3456098139286041, -1.2314475774765015, -0.5606057643890381, -0.573701024055481, -0.18489140272140503, -0.2889823019504547, 0.006823391187936068, 0.6652734875679016, 0.670849621295929, -0.7073994278907776, 0.022722363471984863, 0.02384003810584545, 0.13757479190826416, -0.4341612458229065, -0.30096808075904846, 0.01490737497806549, -0.4040181338787079, -0.34202811121940613, 0.4543190896511078, 0.38992011547088623, -0.2551507353782654, -0.2289150506258011, 0.2582833468914032, -0.0430503711104393, -0.429942786693573, 0.6973694562911987, 0.17550721764564514, -0.7784085273742676, -0.6298748850822449, 0.23998132348060608, 0.1846713125705719, 0.4440663754940033, 1.4359290599822998, -1.2913469076156616, 0.4455202519893646, 0.6023475527763367, 0.6957209706306458, 0.6967366337776184, 0.17398574948310852, 0.8053930401802063, -0.882698118686676, 0.3348817825317383, 0.48526880145072937, 0.228492870926857, 0.12087079882621765, -0.49537912011146545, 0.3282984793186188, 0.04543784260749817, -0.5971149802207947, -0.4890401363372803, 0.49920329451560974, -0.9601047039031982, -0.2601505517959595, 0.7997539043426514, 0.04714994505047798, 0.04597249627113342, -0.19360828399658203, 0.3209019601345062, 0.4810894727706909, -0.5016579627990723, 0.5805827379226685, 0.5369507670402527, -0.33112525939941406, -0.4783253073692322, -0.7024672627449036, 0.2089352160692215, 0.34232214093208313, -0.43000560998916626, 0.0015657349722459912, 0.3341245651245117, 0.3101159334182739, 0.13059794902801514, 0.30419617891311646, -0.4882067143917084, 0.3159162402153015, -0.08308962732553482, -0.2653041481971741, -0.39304107427597046, -0.7301788330078125, -0.9690639972686768, 0.11278007179498672, -0.27669283747673035, -0.13820628821849823 ]