id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2403.09750v1
http://arxiv.org/pdf/2403.09750v1
Meta-Cognitive Analysis: Evaluating Declarative and Procedural Knowledge in Datasets and Large Language Models
2024-03-14T05:34:35
2024-03-14T05:34:35
Zhuoqun Li, Hongyu Lin, Yaojie Lu, Hao Xiang, Xianpei Han, Le Sun
cs.CL
cs.CL, cs.AI
Declarative knowledge and procedural knowledge are two key parts in meta-cognitive theory, and these two hold significant importance in pre-training and inference of LLMs. However, a comprehensive analysis comparing these two types of knowledge is lacking, primarily due to challenges in definition, probing and quantitative assessment. In this paper, we explore from a new perspective by providing ground-truth knowledge for LLMs and evaluating the effective score. Through extensive experiments with widely-used datasets and models, we get conclusions: (1) In most tasks, benefits from declarative knowledge are greater than those from procedural knowledge. (2) Profits of procedural knowledge are larger than declarative knowledge only in reasoning tasks with simple logic. (3) As pre-training progresses and size increases, model ability to utilize both kinds of knowledge significantly improves, but in different speed. We do detailed analysis for the findings and this can provide primary guidance for evaluation and enhancement of large language models.
[ -0.2402600198984146, -0.9866336584091187, 1.0612547397613525, 0.04470760002732277, -0.2398744523525238, 0.14530619978904724, -0.5607975125312805, -0.2588992416858673, -0.037249743938446045, 0.6477038264274597, -0.5247339010238647, -0.6281396746635437, -0.7416295409202576, -0.02565283328294754, -0.23365946114063263, 0.7177086472511292, 0.20602263510227203, 0.2152075469493866, -0.6281277537345886, 0.048260144889354706, -0.530918538570404, -0.5208014249801636, -0.48745331168174744, -0.18031466007232666, 0.3958626091480255, 0.05271286517381668, 0.4893428683280945, 0.34681081771850586, 0.7897766828536987, 0.4173276722431183, 0.063182532787323, 0.08506529033184052, -0.4839645326137543, 0.07389845699071884, -0.36408287286758423, -0.5172356367111206, -0.3977837860584259, 0.17689886689186096, 0.747678279876709, 1.0439863204956055, -0.24427297711372375, 0.20553739368915558, 0.05178111046552658, 0.7981699705123901, -0.7291274070739746, 0.502722442150116, -0.7290300130844116, -0.03555753454566002, -0.14218421280384064, -0.23057791590690613, -0.2949463725090027, -0.6442371606826782, 0.3239760100841522, -0.565342366695404, -0.07925187051296234, -0.44433116912841797, 0.3904776871204376, 0.4395791292190552, -0.7485119700431824, -0.6034631729125977, -0.808944582939148, 0.9598450660705566, -0.600548267364502, 0.5565814971923828, 0.2247261255979538, 0.34594765305519104, 0.03546274080872536, -0.8614397644996643, -0.3644337058067322, -0.3539223372936249, -0.08281106501817703, 0.28542497754096985, 0.08099842816591263, 0.3195939362049103, 0.33926156163215637, 0.40799522399902344, -0.33924025297164917, -0.09204315394163132, -0.498271644115448, -0.3523724675178528, 0.5958597660064697, 0.3677733242511749, 0.21536244451999664, -0.06339044868946075, -0.20575445890426636, 0.015991298481822014, -0.5985434651374817, -0.06372521817684174, 0.29845795035362244, 0.1660211682319641, 0.05623975768685341, 0.47920310497283936, -0.14612795412540436, 1.0330415964126587, 0.0009867276530712843, -0.5524378418922424, 0.31889498233795166, -0.5721193552017212, -0.16336463391780853, -0.4594202935695648, 0.8959915041923523, 0.16554878652095795, 0.5356944799423218, -0.2947457730770111, 0.059179604053497314, 0.10433745384216309, 0.2723679840564728, -0.7495328187942505, 0.17341086268424988, -0.06289887428283691, -0.5930464863777161, -0.25335440039634705, 0.21689318120479584, -0.7213944792747498, -0.25745609402656555, -0.7958224415779114, -0.08643174171447754, -0.2972303032875061, -0.44955623149871826, 0.24802610278129578, -0.09968206286430359, 0.47209298610687256, 0.40708693861961365, -0.6345254778862, 0.39909598231315613, 1.015709400177002, 0.6420150399208069, -0.40009114146232605, -0.17964261770248413, -0.22944432497024536, -0.10773122310638428, -0.5083494186401367, 0.7518631219863892, -0.8926368355751038, -0.33709973096847534, 0.11446251720190048, -0.04177020117640495, -0.5063380002975464, -0.5369330644607544, 0.569727897644043, -0.7680421471595764, 0.3434286415576935, -0.5737941265106201, -0.5340220928192139, -0.47108083963394165, 0.3738459646701813, -0.6161289215087891, 0.6725537776947021, 0.08510146290063858, -0.6693938374519348, 0.5565214157104492, -0.546690821647644, -0.5400162935256958, -0.07592891156673431, -0.3976115584373474, 0.1284433901309967, 0.4452531039714813, -0.10929907858371735, 0.246288001537323, -0.5250710248947144, 0.5393373370170593, -0.3349388837814331, -0.13278794288635254, 0.48630794882774353, -0.44276562333106995, 0.8311120867729187, 0.13735537230968475, -0.12576214969158173, -0.21383443474769592, -0.680174708366394, 0.2083563208580017, -0.27424243092536926, -0.5123846530914307, -0.10285156965255737, -0.11863614618778229, -0.5261721014976501, 0.2609863877296448, 0.2623220980167389, -0.26370730996131897, 0.03250713273882866, -0.299444317817688, 0.3595810532569885, 0.5164869427680969, 0.24109405279159546, 0.5461554527282715, -0.20535598695278168, 0.6401523947715759, -0.24554502964019775, 0.16902193427085876, 0.053509898483753204, -0.35089853405952454, -0.6320071816444397, -0.40617454051971436, 0.6632072329521179, 0.5503419637680054, -0.7727481722831726, 0.5378050804138184, -0.36289191246032715, -0.274320513010025, -0.2771977186203003, 0.08748529851436615, 0.3821307122707367, 0.5391051769256592, 0.27978289127349854, -0.468173623085022, -0.4667830467224121, -0.7978132963180542, -0.4142104387283325, -0.08563437312841415, -0.044628120958805084, 0.40987077355384827, 0.593618631362915, -0.35921239852905273, 0.9017215371131897, -0.5020841956138611, -0.062305692583322525, -0.05318479612469673, 0.2132018357515335, 0.29140764474868774, 0.1852429062128067, 0.3213273584842682, -0.4185129404067993, -0.368038147687912, -0.27581995725631714, -0.9780851006507874, -0.15096595883369446, -0.08301457017660141, 0.06227380782365799, -0.0642552375793457, 0.456498384475708, -0.7310549020767212, 0.24586035311222076, 0.3821437954902649, -0.07117615640163422, 0.6372801065444946, -0.23388376832008362, 0.30440783500671387, -0.4142252504825592, -0.005755636375397444, -0.35330402851104736, -0.2632063627243042, -0.7305434942245483, 0.1760813444852829, -0.11468345671892166, 0.1889515519142151, -0.2943055331707001, 0.32476499676704407, -0.5358339548110962, -0.2530468702316284, -0.3586593270301819, 0.274650901556015, -0.06997765600681305, 0.5084482431411743, 0.4506285488605499, 0.6282333731651306, 0.5299513339996338, -0.7344211935997009, 0.3293190598487854, -0.03680289909243584, -0.6283721923828125, 0.3191126585006714, -0.718560516834259, 0.3035385310649872, -0.003876646049320698, 0.14365100860595703, -1.009972333908081, 0.03799876198172569, 0.12465674430131912, -0.3628580570220947, 0.1688975840806961, -0.02305207960307598, -0.2760034501552582, -0.2558932900428772, -0.2667040228843689, 0.44866353273391724, 0.6059095859527588, -0.019306505098938942, 0.7713024616241455, 0.28058528900146484, -0.06003950163722038, -0.4810779094696045, -0.5336862206459045, -0.1180686429142952, -0.21897582709789276, -0.5469346046447754, 0.19729523360729218, -0.08826221525669098, -0.7054407596588135, -0.09658705443143845, -0.21971961855888367, -0.235415980219841, 0.08956041932106018, 0.23700977861881256, 0.10373791307210922, -0.21925252676010132, 0.21718499064445496, -0.16397899389266968, -0.4202629029750824, 0.5142219066619873, -0.14901965856552124, 0.48014211654663086, -0.164560467004776, -0.6491193175315857, -0.1954544633626938, -0.31205984950065613, 0.6338778138160706, -0.3219340741634369, 0.7230605483055115, 0.394756019115448, -0.13787022233009338, 0.18318282067775726, -0.8518083095550537, -0.20868176221847534, -0.39613622426986694, 0.1733657270669937, -0.3886987268924713, -0.6183916926383972, 0.3429035544395447, -0.32949626445770264, -0.11964660882949829, 0.6406902074813843, 0.631736695766449, -0.10186762362718582, 0.428878515958786, 0.30103638768196106, 0.26200395822525024, 0.3745041489601135, -0.39830753207206726, -0.03616856783628464, -0.9260007739067078, -0.34684985876083374, -0.31143516302108765, 0.0495448000729084, -0.5263521075248718, -0.7994648218154907, 0.296453058719635, -0.21266192197799683, -0.24189560115337372, 0.004982319660484791, -0.04331599548459053, 0.37804287672042847, 0.3688465654850006, 0.3281024396419525, 0.5456966161727905, -0.2164611518383026, 0.015048819594085217, -0.13413460552692413, -0.428350567817688, -0.5775871276855469, 1.4702012538909912, 0.33679428696632385, 0.484756201505661, -0.060784436762332916, 0.44027194380760193, 0.18479427695274353, 0.051359597593545914, -0.8772733211517334, 0.6193931102752686, -0.08596111088991165, -0.7652504444122314, -0.3460969030857086, -0.5538501143455505, -0.7631694674491882, 0.4233165681362152, -0.32008132338523865, -0.14784064888954163, 0.15616099536418915, -0.41488492488861084, -0.41057637333869934, -0.06263194233179092, -0.4640817940235138, 0.6800037622451782, -0.459168404340744, -0.3664676249027252, -0.48481085896492004, -0.5824406147003174, 0.7675023674964905, -0.24296113848686218, 0.4767502248287201, 0.1032058447599411, -0.3741660714149475, 1.008547067642212, -0.3122740387916565, 0.9805388450622559, -0.1792774498462677, -0.2587963044643402, 0.5851093530654907, -0.08703846484422684, 0.2757536470890045, 0.060897234827280045, -0.1924901306629181, 0.18599817156791687, 0.052308231592178345, -0.2170756757259369, -0.9230711460113525, 0.32340553402900696, -0.6247332692146301, -0.9210736155509949, -0.4510156512260437, -0.41562744975090027, -0.3788522481918335, 0.21218101680278778, 0.05610284209251404, 0.3780558407306671, -0.4969286620616913, 0.3643253445625305, 0.9898175597190857, -0.12922517955303192, 0.23846746981143951, 0.8918982744216919, -0.08255891501903534, -0.5674018859863281, 0.5810825228691101, 0.24508856236934662, 0.3583081364631653, 0.4258524775505066, 0.30327320098876953, -0.3996419310569763, -0.6259512901306152, 0.12916049361228943, 0.4418223202228546, -0.7674428224563599, 0.0004894744488410652, -0.6771694421768188, -0.2010173350572586, -0.24897760152816772, 0.19458115100860596, -0.283270001411438, -0.41312700510025024, -0.05053476616740227, -0.2683939039707184, -0.011529200710356236, 0.7334786653518677, -0.17709407210350037, 0.27994632720947266, -0.7201456427574158, 0.3696606159210205, 0.744652509689331, 0.00480803893879056, -0.041106127202510834, -0.6537202596664429, -0.06350120157003403, 0.30528128147125244, -0.21162866055965424, -0.8885663747787476, -0.11890119314193726, 0.09264221787452698, 0.8571957945823669, 0.7971445322036743, -0.14972390234470367, 0.6693784594535828, -0.42182451486587524, 0.6415229439735413, 0.17911697924137115, -1.00180184841156, 0.29561111330986023, -0.24163416028022766, 0.09634391218423843, 0.912712574005127, 0.402281790971756, -0.2756747603416443, -0.07569718360900879, -0.7626891732215881, -0.22831860184669495, 0.44382306933403015, 0.18073822557926178, 0.07102880626916885, -0.0605405829846859, 0.5109233260154724, 0.14603641629219055, 0.5561632513999939, -0.5338906049728394, 0.05366859957575798, 0.13330739736557007, -0.10490819811820984, -0.06618333607912064, -0.4742853045463562, -0.2625749707221985, -0.359367311000824, 0.3328298330307007, 0.006403411738574505, 0.14807558059692383, -0.13904719054698944, -0.5090382099151611, 0.16047918796539307, 0.095304936170578, 0.598300576210022, 1.2194589376449585, -0.05410582199692726, 0.2087114155292511, 0.622042179107666, -0.5905694365501404, 0.023615222424268723, -0.4041471481323242, 0.17557160556316376, -0.2882198393344879, 1.3002692461013794, 0.5483589768409729, 0.3648262619972229, -0.5647460222244263, 0.7089524269104004, 0.18704654276371002, -0.388033390045166, -0.28466224670410156, 0.13703271746635437, 0.12317174673080444, 0.21319204568862915, 0.02122759073972702, -0.005157715640962124, 0.24082940816879272, -0.9467793107032776, 0.10324068367481232, 0.6915433406829834, -0.2979291081428528, -0.4620770812034607, -0.03810722753405571, 0.3591350018978119, 0.07250487059354782, 0.8352785706520081, 0.014970771037042141, -0.6606857180595398, 0.6487114429473877, 0.24175742268562317, 0.7312187552452087, -0.29123327136039734, 0.28510338068008423, 0.44422364234924316, 0.39158016443252563, -0.06230137124657631, 0.11819151788949966, -0.30071622133255005, -0.7595105171203613, -0.5735939145088196, -0.5502954721450806, -0.26280906796455383, 0.05554373562335968, -0.6970325112342834, 0.1199435219168663, -0.3853476345539093, -0.21526296436786652, -0.34779685735702515, 0.363817036151886, -0.8911281228065491, 0.3262198269367218, -0.14562028646469116, 0.7652591466903687, -0.9426358342170715, 0.6281213760375977, 0.3596208989620209, -0.501129686832428, -0.3871805667877197, -0.04681572690606117, -0.3040759265422821, -1.211248755455017, 1.0470881462097168, -0.09256552904844284, -0.12320062518119812, -0.3824685215950012, -0.07114925980567932, -0.9814414381980896, 1.217441201210022, 0.2557489275932312, -0.6934038400650024, -0.12890590727329254, 0.47596585750579834, 0.7485688924789429, -0.5917951464653015, 0.8020033836364746, 0.931636393070221, 0.9378182291984558, 0.33589595556259155, -0.7920961380004883, 0.10528281331062317, 0.36874163150787354, -0.08172520250082016, -0.06799887120723724, -0.5106209516525269, 0.7590460181236267, -0.13307642936706543, -0.34143105149269104, -0.319938063621521, 0.5318533778190613, 0.14859025180339813, 0.29579463601112366, 0.6004450917243958, 0.6687994599342346, 0.9544848799705505, -0.056942734867334366, 0.8199223875999451, -0.446011483669281, 0.2884669601917267, 1.0136349201202393, -0.24757815897464752, 0.4892638027667999, 0.27900415658950806, -0.5843701958656311, 0.810213029384613, 0.6902278065681458, 0.1468568593263626, 0.619537889957428, 0.4141630530357361, 0.02867223508656025, -0.6032761335372925, 0.20647461712360382, -0.536772608757019, 0.497531920671463, 0.47775545716285706, -0.345131516456604, -0.19960381090641022, -0.08554841578006744, -0.050104256719350815, -0.0010941863292828202, -0.15409910678863525, 1.1634962558746338, 0.21259094774723053, -0.5666297078132629, 0.48012733459472656, -0.21332411468029022, 0.2259405106306076, -0.6216277480125427, 0.0013108056737110019, -0.1422577202320099, -0.06822728365659714, -0.22237062454223633, -0.6443954706192017, 0.6340665221214294, -0.05762333422899246, -0.17526642978191376, -0.06593703478574753, 0.8879868388175964, -0.3448837995529175, -0.5316943526268005, 0.20890547335147858, 0.9278216361999512, 0.1953020989894867, -0.3924042284488678, -0.7010825276374817, 0.0986182913184166, -0.13173025846481323, -0.2690221965312958, 0.00017989863408729434, 0.7328293323516846, 0.14455857872962952, 0.5400403738021851, 0.7046524882316589, 0.12232668697834015, -0.09419804066419601, 0.06334076821804047, 0.8937851786613464, -0.8040482401847839, -0.011773006990551949, -1.1444381475448608, 0.4570716917514801, -0.10098274797201157, 0.08676347136497498, 0.8864260911941528, 0.554637610912323, 0.37665218114852905, -0.1815054714679718, 0.8330131769180298, 0.060719121247529984, 0.2924979627132416, -0.7653891444206238, 0.20410633087158203, -0.15262161195278168, 0.392822265625, -0.12178084254264832, -1.1536756753921509, 0.013317096047103405, 0.5557639598846436, -1.0643401145935059, 0.3196221590042114, 1.129815697669983, 0.4464429020881653, -0.033764105290174484, -0.12937769293785095, 0.33403149247169495, 0.215348482131958, 0.05256086215376854, 0.6124278903007507, 1.2270992994308472, -0.25217655301094055, 0.28522390127182007, 0.060545165091753006, -0.4942704737186432, -0.07850702106952667, -0.933210015296936, -1.2899218797683716, -0.4886404275894165, -0.22712069749832153, -0.021300287917256355, -0.03378312662243843, 0.34992700815200806, 0.606998860836029, -0.5451571345329285, -0.3086586594581604, -0.2681983709335327, 0.4262876808643341, -0.16964654624462128, -0.17341719567775726, 0.23535682260990143, -0.7060526609420776, -0.4720856249332428, 0.4227682948112488, 0.03144235536456108, -0.20850186049938202, -0.3398631513118744, -0.04245912656188011, -0.02417490817606449, 0.3603501617908478, 0.7182722091674805, -0.13063772022724152, -0.618736743927002, 0.030171768739819527, 0.13415783643722534, 0.062454704195261, -0.19936974346637726, 1.2817462682724, -0.816188633441925, 0.294470876455307, 0.6618626117706299, 0.4393636882305145, 0.5159242153167725, 0.17488746345043182, 0.595924437046051, -0.1961490511894226, -0.034602027386426926, 0.11860678344964981, 0.31547096371650696, 0.07790544629096985, -0.21047036349773407, 0.7408537268638611, 0.3892538249492645, -0.42347773909568787, -0.5686553120613098, 0.423665314912796, -0.6944873332977295, -0.42418548464775085, 1.2824183702468872, -0.24292589724063873, -0.06646643579006195, -0.047756072133779526, -0.009615481831133366, 0.1951904147863388, -0.04531298950314522, 0.6560075879096985, 0.9469079375267029, 0.016276890411973, 0.08192562311887741, -0.6001462340354919, 0.6024900078773499, 0.05992864444851875, -0.9298766255378723, 0.10182108730077744, 0.3829483389854431, 0.5022369623184204, 0.3413212299346924, 0.7467814683914185, -0.20162302255630493, 0.15658420324325562, -0.04636785760521889, -0.23329462110996246, -0.2370775043964386, -0.5281714797019958, -0.3318910002708435, 0.17358890175819397, 0.02265804074704647, -0.12998801469802856 ]
http://arxiv.org/abs/2403.09113v2
http://arxiv.org/pdf/2403.09113v2
AutoLoRA: Automatically Tuning Matrix Ranks in Low-Rank Adaptation Based on Meta Learning
2024-03-14T05:29:35
2024-03-17T17:55:47
Ruiyi Zhang, Rushi Qiang, Sai Ashish Somayajula, Pengtao Xie
cs.CL
cs.CL, cs.AI, cs.LG
Large-scale pretraining followed by task-specific finetuning has achieved great success in various NLP tasks. Since finetuning all parameters of large pretrained models poses substantial computational and memory challenges, several efficient finetuning methods have been developed. Among them, low-rank adaptation (LoRA), which finetunes low-rank incremental update matrices on top of frozen pretrained weights, has proven particularly effective. Nonetheless, LoRA's uniform rank assignment across all layers, along with its reliance on an exhaustive search to find the best rank, leads to high computation costs and suboptimal finetuning performance. To address these limitations, we introduce AutoLoRA, a meta learning based framework for automatically identifying the optimal rank of each LoRA layer. AutoLoRA associates each rank-1 matrix in a low-rank update matrix with a selection variable, which determines whether the rank-1 matrix should be discarded. A meta learning based method is developed to learn these selection variables. The optimal rank is determined by thresholding the values of these variables. Our comprehensive experiments on natural language understanding, generation, and sequence labeling demonstrate the effectiveness of AutoLoRA.
[ -0.3851756453514099, -0.5926418900489807, 0.2690619230270386, 0.24006886780261993, -0.26935631036758423, 0.08750470727682114, -0.22513192892074585, -0.2606196105480194, 0.26890647411346436, 0.2933256924152374, -0.48210078477859497, -0.5211420655250549, -0.6747616529464722, 0.20124727487564087, -0.15965446829795837, 1.1697614192962646, 0.18451900780200958, -0.10959433019161224, 0.19911834597587585, -0.2792114317417145, -0.867402970790863, -0.19013750553131104, -0.9006438851356506, -0.18768224120140076, 0.8480236530303955, 0.7877079844474792, 0.5959851145744324, 0.790178120136261, 0.41862982511520386, 0.3190227448940277, 0.17303887009620667, 0.35184967517852783, -0.8307995200157166, 0.08912757784128189, -0.43032482266426086, -0.47321173548698425, -0.8063008189201355, 0.03471316397190094, 0.5620094537734985, 0.6169295907020569, -0.23280782997608185, 0.7125339508056641, 0.48973697423934937, 0.7468333840370178, -1.026007890701294, 0.040863774716854095, -1.103884220123291, 0.253682017326355, -0.20374704897403717, -0.6748012900352478, -0.3242605924606323, -0.31037768721580505, -0.056827791035175323, -0.7058395743370056, -0.06102239340543747, -0.024786822497844696, 0.7301808595657349, 0.9325676560401917, -0.2378574013710022, -0.16764278709888458, -0.7978132367134094, 0.5469261407852173, -0.6040549278259277, 0.07549205422401428, 0.5108566284179688, 0.4831617474555969, 0.06562069058418274, -0.3921787142753601, -0.23623859882354736, 0.03573926165699959, 0.048616304993629456, 0.1517108529806137, -0.21278969943523407, 0.007594774477183819, 0.0775899738073349, 0.309692919254303, -0.6200299859046936, 0.45687180757522583, -0.2692941427230835, 0.19289898872375488, 0.5083696246147156, -0.042090121656656265, 0.22055886685848236, -0.12753601372241974, -0.1628655642271042, -0.3030155897140503, -0.4770849943161011, -0.16789302229881287, 0.2681257128715515, 0.42216920852661133, 0.19678698480129242, 0.3019552528858185, -0.07023116946220398, 0.8510984182357788, 0.508359432220459, -0.019811632111668587, 0.2097219079732895, -0.036480583250522614, -0.5887143611907959, 0.31939172744750977, 0.499431312084198, 0.07959222048521042, 0.2592652440071106, -0.07778577506542206, -0.06201035529375076, -0.20045165717601776, 0.36196377873420715, -0.5504082441329956, -0.44648972153663635, -0.04159291461110115, -0.44595223665237427, -0.42067429423332214, -0.17342904210090637, -0.8404136300086975, -0.32768556475639343, -0.4763169586658478, 1.0050883293151855, -0.10176775604486465, 0.05002863332629204, 0.09068241715431213, 0.3277603089809418, 0.3154848515987396, 0.3580269515514374, -1.201486587524414, 0.34719574451446533, 0.34838947653770447, 0.7415285706520081, -0.34678032994270325, -0.4739069938659668, -0.8968892693519592, 0.07408333569765091, -0.39490851759910583, 0.8356744050979614, -0.2180824875831604, 0.12922681868076324, -0.3203490078449249, -0.013884421437978745, -0.4938533306121826, -0.5830917358398438, 0.22103872895240784, -0.46286892890930176, 0.23536284267902374, -0.08115550130605698, -0.1405135840177536, -0.028564533218741417, 0.015005255118012428, -0.7121254205703735, 0.9425635933876038, 0.28069940209388733, -0.5601052641868591, 0.4233323037624359, -0.8884105086326599, -0.2761994004249573, -0.15873295068740845, 0.25807449221611023, -0.39137041568756104, 0.14930514991283417, 0.19510777294635773, 0.2730713188648224, -0.18256604671478271, -0.010866280645132065, -0.14557795226573944, -0.23986373841762543, -0.03743512183427811, -0.3173657953739166, 0.6133078336715698, 0.4315796196460724, -0.5188268423080444, 0.2153109908103943, -0.7914600372314453, 0.2126135230064392, 0.013250810094177723, -0.3754005432128906, -0.2517645061016083, -0.0008059286628849804, -0.177835151553154, 0.348499059677124, 0.22138237953186035, -0.06028999760746956, 0.3656144142150879, -0.5177237391471863, 0.37014931440353394, 0.897296667098999, -0.02909664250910282, 0.5369093418121338, -0.11232466250658035, 0.44617322087287903, -0.13739199936389923, 0.3651701807975769, 0.3323372006416321, -0.17152343690395355, -1.2096338272094727, -0.04611925035715103, 0.6484165191650391, 0.7617889642715454, -0.6513715982437134, 0.7331144213676453, -0.2577921450138092, -0.5506654977798462, -0.6839874982833862, 0.6340336203575134, 0.3050185739994049, 0.3351006507873535, 0.8982738852500916, -0.329639732837677, -0.5871769785881042, -0.8360904455184937, -0.33737754821777344, 0.2029334008693695, -0.005180187523365021, 0.15722085535526276, 0.35282960534095764, -0.3439665734767914, 1.1459879875183105, -0.5891574025154114, -0.9516823887825012, -0.04762914776802063, 0.24512064456939697, 0.2386568784713745, 0.7026399374008179, 0.7065833210945129, -0.43235233426094055, -0.7815655469894409, -0.14466354250907898, -0.4730396568775177, -0.3714595437049866, -0.20688165724277496, -0.32610607147216797, 0.15494199097156525, 0.6118004322052002, -0.10823732614517212, 0.2093905806541443, 0.7953692674636841, -0.18349020183086395, 0.10508032888174057, -0.5127807259559631, -0.19751593470573425, -1.0180854797363281, 0.40471091866493225, -0.2854587137699127, -0.5836383104324341, -0.47085705399513245, -0.3045916259288788, -0.1929493546485901, -0.13423775136470795, -0.18804173171520233, 0.33187100291252136, -0.37122657895088196, -0.3172701597213745, -0.48755741119384766, 0.08118985593318939, -0.03378433734178543, 0.7464733123779297, -0.16264404356479645, 0.6308834552764893, 0.19439394772052765, -0.7177298069000244, 0.016969885677099228, 0.2588890492916107, -0.17749620974063873, 0.4586581289768219, -0.4271998405456543, 0.2325199991464615, -0.059025008231401443, 0.31328263878822327, -0.7389223575592041, 0.03601345047354698, 0.3190556764602661, -0.17301975190639496, 0.2534305453300476, -0.38839608430862427, -0.37621980905532837, -0.05218973383307457, -0.07317135483026505, 0.4595648944377899, 0.3147411048412323, -0.5803672075271606, 0.42767783999443054, 0.5128394365310669, -0.19880777597427368, -0.6358962655067444, -0.41557830572128296, 0.1802065372467041, -0.278449147939682, 0.12599606812000275, 0.36006590723991394, -0.26452773809432983, 0.15214872360229492, -0.29519984126091003, 0.052708689123392105, -0.0272419061511755, 0.4845235049724579, -0.039762262254953384, -0.11127293109893799, -0.22242093086242676, 0.13883864879608154, 0.14357706904411316, -0.5105939507484436, -0.16543811559677124, -0.49296286702156067, 0.533419668674469, -0.16099803149700165, -0.1810886412858963, -0.3262536823749542, -0.02932204306125641, 0.5115683674812317, -0.29782968759536743, 0.653313398361206, 0.9185310006141663, -0.28483089804649353, -0.5894151926040649, -0.3639736473560333, -0.026512296870350838, -0.49790826439857483, 0.27468109130859375, -0.17908208072185516, -0.38448238372802734, 0.3458116054534912, -0.16982786357402802, 0.06504803895950317, 0.8101889491081238, 0.39506828784942627, -0.13450594246387482, 1.132055401802063, 0.7725067138671875, -0.2856769263744354, 0.6503260135650635, -0.40899041295051575, -0.12864013016223907, -0.788796603679657, 0.16089066863059998, -0.47578170895576477, -0.763500452041626, -0.6068853139877319, -0.4308406710624695, 0.5330756306648254, 0.03771506994962692, -0.34225472807884216, 0.3695870041847229, -0.7236588597297668, 0.6397145390510559, 0.43178603053092957, 0.05662025138735771, 0.3792881369590759, -0.07421890646219254, 0.06130087375640869, 0.14011923968791962, -0.9142420291900635, -0.16338138282299042, 1.0594580173492432, 0.312860369682312, 0.6729749441146851, 0.19362451136112213, 0.5694785714149475, 0.6748606562614441, 0.32526451349258423, -0.5708920359611511, 0.20460084080696106, -0.47984617948532104, -0.35339078307151794, -0.5225881934165955, -0.31789496541023254, -1.0689142942428589, 0.34928232431411743, -0.5577335357666016, -0.4440343677997589, 0.5708595514297485, 0.5464492440223694, -0.7070976495742798, 0.20176121592521667, -0.522663414478302, 0.99854975938797, -0.27919313311576843, -0.29865315556526184, -0.3153962194919586, -0.7424253225326538, 0.11816707253456116, -0.2845316529273987, -0.01140440721064806, -0.005299663636833429, 0.11720036715269089, 0.9088089466094971, -0.2800550162792206, 0.8476793766021729, -0.2971343398094177, -0.3695359528064728, -0.03234650194644928, 0.08889035880565643, 0.4195311665534973, 0.1149400845170021, -0.059349481016397476, -0.15311063826084137, 0.20972850918769836, -0.40019646286964417, -0.5659267902374268, 0.6431636810302734, -0.938119649887085, -0.25514107942581177, -0.4686254858970642, -0.3029939532279968, -0.3022780120372772, 0.3222818076610565, 0.3266138732433319, 0.25445637106895447, -0.2597683072090149, 0.1815309077501297, 0.8084291815757751, -0.4113484025001526, 0.2798016369342804, 0.5396891236305237, -0.11738571524620056, -0.5591070055961609, 1.219265341758728, 0.16365264356136322, 0.1699448823928833, 0.41273048520088196, 0.23876598477363586, 0.09592494368553162, -0.5972657799720764, -0.47536107897758484, 0.11586277931928635, -0.7671931385993958, -0.5123299360275269, -0.4389728307723999, -0.31677597761154175, -0.20435407757759094, -0.2036784291267395, -0.5464240312576294, -0.3291027247905731, -0.5319099426269531, 0.12032489478588104, 0.06952623277902603, 0.7337784767150879, -0.2916892170906067, 0.2867085933685303, -0.4509035646915436, 0.5531865954399109, 0.6915110945701599, 0.36570030450820923, 0.018670108169317245, -0.6301207542419434, -0.49778029322624207, -0.028777943924069405, -0.22315280139446259, -0.6468694806098938, 0.5721569657325745, 0.7149434685707092, 0.4304099678993225, 0.361240029335022, 0.09279008209705353, 0.7585126161575317, -0.6544786691665649, 0.20014886558055878, -0.2043912410736084, -1.081106185913086, 0.5794371366500854, -0.39835888147354126, 0.458553671836853, 1.128360390663147, 0.11880150437355042, -0.4057685136795044, -0.2043103724718094, -0.4936739206314087, -0.8146743774414062, 0.6524475812911987, 0.08222582191228867, -0.029399104416370392, 0.27755922079086304, 0.5014060735702515, 0.22157639265060425, 0.1251257359981537, -0.8793599605560303, -0.3234870731830597, -0.4896334707736969, -0.3234729468822479, -0.4917807877063751, -0.12227604538202286, -0.15117564797401428, -0.5488247871398926, 0.6511625051498413, -0.6805105209350586, 0.29858097434043884, 0.19854770600795746, -0.8611262440681458, -0.28269410133361816, 0.18438856303691864, 0.7973675727844238, 0.9074753522872925, -0.45161423087120056, 0.15557298064231873, 0.7567300200462341, -0.37546420097351074, 0.05043293535709381, -0.044451165944337845, 0.0028899661265313625, -0.15941180288791656, 0.2607020437717438, 0.8187621235847473, 0.6312636733055115, -0.2424088418483734, 0.3030710816383362, 0.09064851701259613, -0.18835677206516266, -0.3183487057685852, 0.2872419059276581, -0.25456079840660095, 0.02181962877511978, 0.5889105796813965, 0.13630494475364685, 0.060265395790338516, -0.483163982629776, 0.1461765170097351, 0.35468918085098267, -0.4320865273475647, -0.2544747292995453, 0.5543015599250793, 0.24550315737724304, -0.1305767297744751, 0.24602419137954712, -0.0839107483625412, -0.453361839056015, 0.4362007677555084, 0.5101509094238281, 0.8798118829727173, -0.4837837219238281, 0.2912586033344269, 0.3522852063179016, 0.3439513146877289, 0.06005912274122238, -0.06918219476938248, -0.07018369436264038, -0.3925427198410034, -0.35341235995292664, -0.9093388915061951, -0.33015120029449463, 0.1734551042318344, -0.6712996959686279, 0.28660255670547485, -0.5862745046615601, -0.09147550910711288, -0.08367528021335602, 0.24288052320480347, -0.6721153855323792, 0.2647060453891754, 0.39202597737312317, 0.8484158515930176, -1.013638973236084, 0.9015397429466248, 0.3193272352218628, -0.20437125861644745, -0.4063957929611206, -0.0542222298681736, -0.24638979136943817, -0.564838707447052, 0.8384240865707397, -0.08167099952697754, -0.3661867678165436, 0.6826156973838806, -0.36232662200927734, -1.2699494361877441, 1.3530925512313843, 0.631989061832428, -0.16915284097194672, -0.25556379556655884, 0.17114265263080597, 0.7058993577957153, -0.5249048471450806, 0.16015031933784485, 0.4367366135120392, 0.6618427634239197, -0.38195255398750305, -1.1307449340820312, -0.10981830209493637, -0.13955466449260712, -0.11330030113458633, -0.11983239650726318, -0.6739049553871155, 0.8529366254806519, 0.131080761551857, -0.05285197123885155, -0.12204523384571075, 0.6395470499992371, -0.18134240806102753, 0.1748858541250229, 0.9097251892089844, 0.4119967222213745, 0.8120536208152771, 0.3347257077693939, 0.4316096007823944, -0.282116562128067, 0.4014204740524292, 1.2213646173477173, -0.14242343604564667, 0.9119539260864258, 0.0266815684735775, 0.08323574811220169, 0.89774090051651, 0.6721783876419067, -0.15360033512115479, 0.594392716884613, 0.23766355216503143, 0.3122563362121582, -0.3385401964187622, 0.23005983233451843, -0.3379276990890503, 0.8325874209403992, 0.4390471875667572, -0.42106616497039795, -0.3692742884159088, 0.256684273481369, -0.13621123135089874, -0.20162664353847504, -0.44797173142433167, 1.152681589126587, 0.03954499959945679, -0.7920020818710327, 1.0170108079910278, -0.05767213553190231, 0.4189622700214386, -0.5292515754699707, -0.011140740476548672, -0.10266894102096558, 0.34318676590919495, -0.2512381076812744, -0.02449147403240204, 0.10975933074951172, -0.12447717040777206, -0.2135700136423111, -0.38077110052108765, 0.6831815242767334, -0.5221037268638611, -0.3899764120578766, 0.3006244897842407, 0.5479925870895386, -0.14424210786819458, 0.004380176775157452, -0.9816622734069824, -0.2413078099489212, -0.34905868768692017, -0.14214862883090973, 0.6047482490539551, 0.07925192266702652, 0.08429945260286331, 0.6719906330108643, 0.6997222900390625, 0.027623074129223824, -0.06906414031982422, -0.042101725935935974, 0.7862403988838196, -0.4798603355884552, -0.7516874670982361, -0.6852245926856995, -0.0005324498633854091, -0.0050104279071092606, -0.22119289636611938, 0.6304143667221069, 0.42040666937828064, 0.49091073870658875, -0.057378169149160385, 0.4771607518196106, 0.24917158484458923, 0.39123156666755676, -0.7992579340934753, 1.0785375833511353, -0.6152917146682739, 0.13750997185707092, -0.4105008840560913, -1.3184535503387451, -0.31612420082092285, 0.7181279063224792, -0.300729364156723, 0.09703785181045532, 0.7612163424491882, 0.45928314328193665, -0.39749541878700256, -0.5703170299530029, 0.22166381776332855, 0.3491457402706146, 0.048240773379802704, 0.694602906703949, 0.27296125888824463, -0.42627084255218506, 0.4623658359050751, 0.00012455512478481978, -0.24377618730068207, -0.6778386235237122, -1.0758765935897827, -0.7078544497489929, -0.626006007194519, -0.24083447456359863, -0.1258339285850525, 0.2146679013967514, 1.0364570617675781, 0.8788855671882629, -0.8491038084030151, -0.21979160606861115, 0.055285923182964325, 0.10338879376649857, -0.49350619316101074, -0.19791483879089355, 0.6750156283378601, -0.6598039269447327, -0.6819041967391968, 0.5765354633331299, 0.13488107919692993, -0.19663181900978088, -0.4737952947616577, 0.019244186580181122, -0.5368351340293884, 0.11998505145311356, 0.5946130752563477, 0.6735494136810303, -0.23388223350048065, -0.21014969050884247, -0.311349093914032, -0.2321806252002716, 0.16556401550769806, 0.6358998417854309, -1.0202317237854004, 0.18456204235553741, 0.4792083203792572, 0.4794670343399048, 0.3688412010669708, 0.2326732724905014, 0.6371899247169495, -0.6382830142974854, -0.11867017298936844, 0.05017316713929176, 0.07624795287847519, 0.22317160665988922, -0.2606813609600067, 0.5216707587242126, -0.04717215895652771, -0.6802183985710144, -0.935248851776123, 0.003432683413848281, -0.9492455720901489, -0.2960895001888275, 1.0244879722595215, 0.24356000125408173, -0.257874995470047, -0.23315241932868958, -0.1377459168434143, 0.3757841885089874, 0.07393696904182434, 1.0238887071609497, 0.15844355523586273, 0.09314005076885223, -0.04364195093512535, -0.7927318811416626, 1.1138633489608765, 0.7538529634475708, -0.9417805671691895, 0.13102908432483673, 0.04642176628112793, 0.2604449987411499, 0.2014983743429184, 0.45291274785995483, 0.35045143961906433, 0.3169645667076111, -0.7064134478569031, -0.12162373960018158, -0.07359343767166138, -0.48431217670440674, -0.5596113204956055, 0.13079029321670532, 0.32929301261901855, -0.038039833307266235 ]
http://arxiv.org/abs/2403.09097v1
http://arxiv.org/pdf/2403.09097v1
AI on AI: Exploring the Utility of GPT as an Expert Annotator of AI Publications
2024-03-14T04:43:02
2024-03-14T04:43:02
Autumn Toney-Wails, Christian Schoeberl, James Dunham
cs.CL
cs.CL
Identifying scientific publications that are within a dynamic field of research often requires costly annotation by subject-matter experts. Resources like widely-accepted classification criteria or field taxonomies are unavailable for a domain like artificial intelligence (AI), which spans emerging topics and technologies. We address these challenges by inferring a functional definition of AI research from existing expert labels, and then evaluating state-of-the-art chatbot models on the task of expert data annotation. Using the arXiv publication database as ground-truth, we experiment with prompt engineering for GPT chatbot models to identify an alternative, automated expert annotation pipeline that assigns AI labels with 94% accuracy. For comparison, we fine-tune SPECTER, a transformer language model pre-trained on scientific publications, that achieves 96% accuracy (only 2% higher than GPT) on classifying AI publications. Our results indicate that with effective prompt engineering, chatbots can be used as reliable data annotators even where subject-area expertise is required. To evaluate the utility of chatbot-annotated datasets on downstream classification tasks, we train a new classifier on GPT-labeled data and compare its performance to the arXiv-trained model. The classifier trained on GPT-labeled data outperforms the arXiv-trained model by nine percentage points, achieving 82% accuracy.
[ -0.3629376292228699, -0.6037435531616211, 0.33562228083610535, -0.06699053943157196, 0.0678875744342804, 0.3991134464740753, -0.05207257345318794, -0.6569553017616272, -0.10848601162433624, 0.2172498106956482, -0.17746324837207794, -0.26996123790740967, -0.7538489103317261, 0.2040334790945053, -0.375955730676651, 1.170693039894104, 0.20210988819599152, -0.15333078801631927, -0.4305499494075775, 0.031890951097011566, -0.3381257653236389, -0.5973430275917053, -0.710576057434082, -0.32152777910232544, 0.5869594216346741, 0.10921965539455414, 0.8874699473381042, 0.6916244626045227, 0.7716844081878662, 0.3355776369571686, 0.0024698618799448013, 0.28004735708236694, -0.1849370151758194, -0.10011973977088928, 0.06288107484579086, -0.43044278025627136, -0.34566357731819153, 0.38941678404808044, 0.28154700994491577, 0.5044510364532471, 0.2673758268356323, 0.12670648097991943, -0.05756712332367897, 0.36977335810661316, -0.2671811878681183, 0.6490267515182495, -0.6566990613937378, 0.05367431789636612, -0.13425183296203613, -0.19439274072647095, -0.4855373501777649, -0.3892272412776947, 0.26428481936454773, -0.9377797245979309, 0.36113810539245605, 0.23545849323272705, 0.8945167660713196, 0.9035384058952332, -0.14272291958332062, -0.2672622501850128, -0.9743823409080505, 0.4954904019832611, -0.36482566595077515, 0.2577070891857147, 0.4956432282924652, 0.38515329360961914, 0.009925118647515774, -0.5733067393302917, -0.6775858402252197, -0.6425543427467346, -0.2272012084722519, 0.16962185502052307, -0.23577234148979187, 0.15634380280971527, 0.2801177203655243, 0.02838117629289627, -0.5283859968185425, 0.08149420469999313, -0.38343167304992676, -0.19446389377117157, 0.8522281050682068, -0.21002912521362305, 0.3573795258998871, 0.1977415382862091, -0.09552116692066193, -0.13799439370632172, -0.4045785963535309, -0.11305797100067139, 0.34986674785614014, 0.2782435417175293, 0.31475630402565, 0.5648506283760071, -0.07281424105167389, 0.5391486287117004, 0.06505192816257477, 0.24184024333953857, 0.2992638349533081, -0.2397887110710144, 0.03512772172689438, -0.09959276765584946, 0.9505168795585632, 0.06685085594654083, 0.3055826425552368, -0.46784383058547974, -0.015313999727368355, -0.0625998005270958, 0.4030442237854004, -0.43977436423301697, -0.7061797976493835, 0.12182959914207458, -0.16379927098751068, -0.2864147126674652, -0.04443404823541641, -0.4156961441040039, -0.7071866989135742, -0.25227615237236023, 0.3248489201068878, -0.314077228307724, -0.23820888996124268, -0.42074325680732727, -0.2455078512430191, 0.023525603115558624, 0.5344412922859192, -0.7752514481544495, -0.15873338282108307, 0.7089331746101379, 0.9813814759254456, -0.09473719447851181, -0.3523908257484436, -0.20339883863925934, -0.030104631558060646, -0.37815532088279724, 1.1459091901779175, -0.7660312652587891, -0.526311457157135, -0.22020067274570465, -0.2875513434410095, -0.25680041313171387, -0.2815764546394348, 0.5840452909469604, -0.5763896703720093, 0.12601490318775177, 0.07139577716588974, -0.6592357754707336, -0.2237965613603592, 0.22583164274692535, -0.6951338648796082, 0.8610152006149292, 0.16673199832439423, -0.6287440061569214, 0.5705054402351379, -1.116441249847412, -0.10708676278591156, 0.44455522298812866, -0.1932544708251953, -0.3455326557159424, -0.3065844178199768, 0.11482011526823044, 0.3246791958808899, -0.16423819959163666, 0.30370011925697327, -0.12514610588550568, -0.16707153618335724, 0.3891196548938751, -0.48439592123031616, 0.5831527709960938, 0.25889086723327637, -0.26479199528694153, 0.2583516836166382, -0.5376794934272766, -0.2440451681613922, -0.16634869575500488, -0.2964177429676056, -0.40361645817756653, 0.13672776520252228, 0.06667510420084, -0.17011354863643646, 0.09212803095579147, -0.5017154812812805, 0.539188027381897, -0.20929601788520813, 0.5743780732154846, 0.6283650994300842, -0.1524600237607956, 0.3137112557888031, -0.30582359433174133, 0.357350617647171, -0.42752233147621155, 0.10891935974359512, -0.09423227608203888, -0.9398137927055359, -0.5261420011520386, -0.40014171600341797, 0.6633772253990173, 0.7605542540550232, -0.7094957232475281, 0.4731025695800781, -0.14620356261730194, -0.9335318207740784, -0.7726857662200928, -0.17437978088855743, 0.2038343995809555, 0.684160053730011, 0.464769184589386, -0.14561279118061066, -0.1539853811264038, -0.8476196527481079, -0.3808751404285431, -0.5094687938690186, -0.026347076520323753, 0.4440213143825531, 0.43443700671195984, -0.3011816143989563, 1.185036540031433, -0.24865777790546417, -0.18142016232013702, 0.12529905140399933, 0.8156853318214417, -0.04796144738793373, 0.4994279146194458, 0.3879612684249878, -1.0527760982513428, -0.5007154941558838, 0.1524188071489334, -0.813963770866394, -0.1144561618566513, -0.2619298994541168, 0.04387751594185829, 0.20073294639587402, 0.32091888785362244, -0.8739497065544128, 0.49758225679397583, -0.11299195140600204, -0.298517644405365, 0.3834336996078491, -0.1758289933204651, 0.46758317947387695, -0.5127263069152832, 0.42018523812294006, 0.31443050503730774, 0.0784403383731842, -0.6674432754516602, -0.21117906272411346, -0.16905070841312408, -0.22021451592445374, -0.18630683422088623, 0.6905913352966309, -0.2525683343410492, 0.23470236361026764, -0.4491827189922333, -0.13561023771762848, -0.3123784363269806, 0.31838005781173706, 0.2098505049943924, 0.975029468536377, 0.4006919264793396, -0.3846656084060669, 0.3925483524799347, 0.5869563221931458, -0.09739910066127777, 0.19866393506526947, -0.718073844909668, 0.4421018064022064, -0.0003407397598493844, 0.19205524027347565, -0.964561939239502, -0.2417224794626236, 0.5612939596176147, -0.6969044804573059, 0.2500070333480835, -0.38181066513061523, -0.6255288124084473, -0.47493776679039, 0.13639898598194122, 0.1195511743426323, 0.5080252289772034, -0.21293197572231293, 0.5824792981147766, 0.4811978042125702, -0.3736012578010559, -0.5579341650009155, -0.5173243880271912, 0.12491590529680252, -0.13856780529022217, -0.2692500948905945, 0.1299140304327011, -0.06487137824296951, -0.24857178330421448, 0.18131540715694427, 0.05991051718592644, -0.21916355192661285, 0.2950083911418915, 0.22536908090114594, 0.2588038146495819, -0.058048147708177567, 0.4036458134651184, -0.0948798805475235, -0.3570365309715271, 0.16244648396968842, -0.1513785570859909, 0.14970332384109497, -0.15564250946044922, -0.4493374526500702, -0.5039222836494446, 0.09810902178287506, 0.37546753883361816, -0.22955812513828278, 0.557786762714386, 0.7519844174385071, -0.29388540983200073, 0.2059437483549118, -0.43651384115219116, -0.2166232168674469, -0.43962106108665466, 0.4087631106376648, -0.11932350695133209, -0.6373582482337952, 0.25927165150642395, -0.06560999155044556, 0.3597988486289978, 0.7444853186607361, 0.23714764416217804, -0.18191444873809814, 1.0743889808654785, 0.7690085768699646, -0.323678582906723, 0.5184833407402039, -0.20440220832824707, 0.376239538192749, -0.34725284576416016, -0.16572551429271698, -0.8834517598152161, -0.15623176097869873, -0.5599880218505859, -0.21584446728229523, 0.3690360188484192, -0.14015112817287445, -0.33668002486228943, 0.09351639449596405, -1.0657055377960205, 0.4527357816696167, 1.076586365699768, 0.01552677433937788, 0.3168503940105438, -0.10654709488153458, 0.812417209148407, 0.19661551713943481, -0.5567170977592468, -0.8435786962509155, 1.1287362575531006, 0.2723294198513031, 0.5180966258049011, -0.39215579628944397, 0.31764093041419983, 0.933489203453064, 0.7853574156761169, -0.7792609930038452, 0.35826849937438965, 0.14669767022132874, -0.7121787071228027, -0.42420729994773865, -0.26949238777160645, -0.7679945826530457, -0.2144039273262024, -0.2640969753265381, -0.6467443108558655, 0.15089140832424164, 0.30830568075180054, -0.39005035161972046, 0.27331414818763733, -0.8561866879463196, 0.8054203987121582, -0.3502054214477539, 0.025415191426873207, -0.05228075012564659, -0.696302592754364, 0.0013567430432885885, -0.245289608836174, 0.04886682704091072, -0.11735300719738007, -0.038721319288015366, 0.9713239073753357, -0.2344052642583847, 0.9119939804077148, -0.2833317518234253, 0.20551593601703644, 0.44609272480010986, -0.27065014839172363, 0.3777490258216858, -0.006341870408505201, -0.15362900495529175, 0.41818320751190186, -0.041810616850852966, -0.2324332594871521, -0.5688989162445068, 0.18565447628498077, -1.0732976198196411, -0.8100045919418335, -0.6451722383499146, -0.6212967038154602, -0.3145124018192291, 0.17977356910705566, 0.1879873424768448, 0.06547588109970093, 0.057478632777929306, -0.09782779216766357, 0.5408521294593811, -0.009709584526717663, 0.19837458431720734, 0.2595483362674713, 0.2910113036632538, -0.2796117663383484, 1.2191611528396606, 0.19174203276634216, -0.16982504725456238, 0.401307076215744, 0.06521192193031311, -0.15633217990398407, -0.76189786195755, -0.5299801230430603, -0.12277857959270477, -0.5563445687294006, -0.19371402263641357, -0.7951982021331787, -0.46213096380233765, -0.369953453540802, -0.09860455989837646, -0.1799408495426178, -0.48594948649406433, -0.41798534989356995, 0.0028967945836484432, 0.6981010437011719, 0.7965075373649597, -0.10661118477582932, 0.3630900979042053, -0.7730541825294495, -0.06434408575296402, 0.1740090399980545, 0.016835715621709824, -0.22147466242313385, -0.33573073148727417, -0.29078152775764465, 0.235921710729599, -0.3758811354637146, -0.7184329032897949, 0.26311710476875305, 0.31329816579818726, 0.7177485227584839, 0.2264118492603302, 0.1446637064218521, 0.11534059047698975, -0.37774839997291565, 0.7975820899009705, -0.23398691415786743, -0.6632940173149109, 0.6476130485534668, -0.4439774453639984, -0.18787416815757751, 0.5169770121574402, 0.7930967807769775, -0.3599199056625366, -0.47186219692230225, -0.7679958939552307, -0.8855833411216736, 0.5688457489013672, 0.19868488609790802, 0.037703901529312134, 0.14292535185813904, 0.5216856002807617, 0.3989463150501251, 0.3886861503124237, -0.42991891503334045, -0.25337111949920654, -0.3951752483844757, -0.3534526228904724, -0.15020257234573364, 0.18397361040115356, -0.23488162457942963, -0.035835180431604385, 0.8522467017173767, -0.20673702657222748, 0.597988486289978, 0.24274864792823792, -0.033405985683202744, 0.20572558045387268, 0.0762442946434021, 0.3587568998336792, 0.6387431621551514, -0.1041419729590416, -0.173904687166214, -0.17964035272598267, -0.5775651335716248, -0.08927448838949203, 0.7249323725700378, -0.5438407063484192, -0.036987125873565674, 0.45050954818725586, 0.646605372428894, -0.4493129849433899, -0.5876777768135071, 0.1580159217119217, 0.07948317378759384, -0.1316072791814804, -0.1948748528957367, 0.3920544683933258, -0.19955642521381378, 0.3913291096687317, 0.7639341354370117, 0.45185256004333496, 0.3128305673599243, -0.25173136591911316, 0.14512795209884644, 0.4267738163471222, -0.3961767256259918, -0.2702754735946655, 0.9034419059753418, 0.40895238518714905, -0.6383669972419739, 0.731050968170166, -0.1624225229024887, -0.588852047920227, 0.8553385138511658, -0.01857070066034794, 0.771824300289154, -0.00810006819665432, 0.30152854323387146, 0.039107855409383774, 0.3277360200881958, 0.01941160298883915, -0.20092670619487762, -0.19376614689826965, -0.5793881416320801, -0.2819557189941406, -0.1976465880870819, -1.0571049451828003, -0.06943123042583466, -0.19036076962947845, 0.12012124806642532, -0.22939787805080414, -0.3344862759113312, 0.39564862847328186, 0.09161525964736938, -0.7187567353248596, 0.13980185985565186, 0.19269977509975433, 0.870287299156189, -0.8352094292640686, 0.5999020338058472, 0.9403058290481567, -0.7530807256698608, -0.633729100227356, -0.1624113917350769, -0.09436830878257751, -0.7803849577903748, 0.585268497467041, 0.1745387315750122, 0.2627793550491333, 0.27744972705841064, -0.9016416668891907, -0.6927073001861572, 0.974431037902832, 0.22175011038780212, -0.41415339708328247, 0.09320992976427078, 0.046227388083934784, 0.8330391049385071, -0.17686158418655396, 0.8484296202659607, 0.3730834126472473, 0.6667154431343079, 0.02554946392774582, -1.037924885749817, -0.23674510419368744, -0.6279807686805725, -0.3994053304195404, -0.07048044353723526, -0.7923845648765564, 0.36346158385276794, -0.17826233804225922, 0.0369940847158432, -0.036607079207897186, 0.7624127268791199, 0.0980147048830986, 0.5728792548179626, 0.4306897222995758, 0.15805436670780182, 1.1634985208511353, -0.3075900375843048, 0.8100299835205078, -0.2944587469100952, 0.24757307767868042, 0.8068899512290955, -0.14679290354251862, 0.5102751851081848, 0.2015242874622345, -0.2229989469051361, 0.1874561309814453, 0.9996591210365295, -0.5288547277450562, 0.5548245906829834, 0.01643177680671215, -0.18383796513080597, -0.1505286544561386, -0.2948455214500427, -0.4172605276107788, 0.12122803181409836, 0.3592947721481323, -0.20468537509441376, 0.252360075712204, 0.2328081727027893, 0.060748692601919174, -0.18013380467891693, -0.26507845520973206, 0.8318635821342468, -0.23061750829219818, -0.5936437249183655, 0.20528653264045715, -0.3083455264568329, 0.5782711505889893, -0.2547428607940674, -0.1205650344491005, -0.1250641942024231, 0.016993960365653038, -0.09861909598112106, -0.8599947690963745, 0.297848641872406, 0.1629146933555603, -0.13292552530765533, -0.16945436596870422, 0.7631388306617737, -0.2466018944978714, -0.5744364261627197, -0.2682167887687683, 0.529216468334198, 0.42963463068008423, -0.11046023666858673, -0.7482448220252991, -0.2794269621372223, -0.17743337154388428, -0.48742467164993286, 0.022044673562049866, 0.39484578371047974, 0.014740164391696453, 0.9287517666816711, 0.560602605342865, 0.008497980423271656, -0.1049308031797409, -0.15884488821029663, 0.8916683793067932, -0.49365541338920593, -0.24794001877307892, -0.6391544938087463, 0.47304338216781616, -0.16344712674617767, -0.5450674891471863, 0.47827455401420593, 0.3884739577770233, 0.7834052443504333, -0.014138235710561275, 1.4020161628723145, -0.3335588872432709, 0.46332859992980957, -0.08231310546398163, 1.095954418182373, -0.31159600615501404, 0.10809264332056046, 0.011360631324350834, -0.5744575262069702, -0.4329420328140259, 0.5599878430366516, -0.5934156775474548, 0.20099344849586487, 0.2848617136478424, 0.5580579042434692, 0.07399658113718033, 0.3088057041168213, -0.03983420133590698, 0.16656018793582916, 0.6236690282821655, 0.07895615696907043, 0.8922419548034668, -0.15279045701026917, 0.5542179346084595, -0.1914159059524536, -0.41084784269332886, -0.16526834666728973, -0.7540229558944702, -1.0909066200256348, -0.6525737047195435, -0.6907841563224792, -0.07737409323453903, 0.38758739829063416, 0.8679595589637756, 0.7045604586601257, -0.8018651604652405, 0.2977689504623413, -0.12088564038276672, 0.019269397482275963, -0.28710976243019104, -0.24286887049674988, 0.56940758228302, -0.4906371533870697, -0.7887604832649231, 0.3248552680015564, -0.08143965899944305, 0.04226483404636383, -0.24145743250846863, 0.11951184272766113, -0.104228176176548, -0.10560734570026398, 0.20810407400131226, 0.5682817101478577, -0.4763345718383789, -0.46789923310279846, 0.06369486451148987, -0.061942070722579956, 0.1038452759385109, 0.6026672720909119, -0.8246711492538452, 0.33755210041999817, 0.3120422661304474, 1.022713303565979, 0.12956136465072632, 0.1925438493490219, 0.4880158007144928, -0.33177444338798523, -0.03076065331697464, 0.5814803838729858, 0.10429997742176056, 0.3484174311161041, -0.6393857598304749, 0.9412153959274292, 0.35190925002098083, -1.0775344371795654, -0.7911213040351868, -0.3215736746788025, -0.8216620683670044, 0.005413644015789032, 0.9723896384239197, -0.35369035601615906, -0.10520481318235397, -0.3695816099643707, -0.4355933964252472, 0.45707786083221436, -0.7165676355361938, 1.1818764209747314, 0.716731071472168, -0.44653967022895813, -0.2600612938404083, -0.7044879794120789, 0.6913666129112244, 0.17506110668182373, -0.9559635519981384, 0.027198443189263344, 0.36793145537376404, -0.07793313264846802, 0.5035638809204102, 0.5188166499137878, 0.37405338883399963, 0.13702179491519928, 0.03844581916928291, 0.3367820978164673, -0.4280289113521576, -0.33793866634368896, 0.10735771805047989, 0.0425846092402935, 0.1935999095439911, -0.10129619389772415 ]
http://arxiv.org/abs/2403.09092v1
http://arxiv.org/pdf/2403.09092v1
MCFEND: A Multi-source Benchmark Dataset for Chinese Fake News Detection
2024-03-14T04:32:13
2024-03-14T04:32:13
Yupeng Li, Haorui He, Jin Bai, Dacheng Wen
cs.CL
cs.CL, cs.AI
The prevalence of fake news across various online sources has had a significant influence on the public. Existing Chinese fake news detection datasets are limited to news sourced solely from Weibo. However, fake news originating from multiple sources exhibits diversity in various aspects, including its content and social context. Methods trained on purely one single news source can hardly be applicable to real-world scenarios. Our pilot experiment demonstrates that the F1 score of the state-of-the-art method that learns from a large Chinese fake news detection dataset, Weibo-21, drops significantly from 0.943 to 0.470 when the test data is changed to multi-source news data, failing to identify more than one-third of the multi-source fake news. To address this limitation, we constructed the first multi-source benchmark dataset for Chinese fake news detection, termed MCFEND, which is composed of news we collected from diverse sources such as social platforms, messaging apps, and traditional online news outlets. Notably, such news has been fact-checked by 14 authoritative fact-checking agencies worldwide. In addition, various existing Chinese fake news detection methods are thoroughly evaluated on our proposed dataset in cross-source, multi-source, and unseen source ways. MCFEND, as a benchmark dataset, aims to advance Chinese fake news detection approaches in real-world scenarios.
[ -0.499320924282074, -0.7465400695800781, 0.30675095319747925, 0.24690811336040497, -0.39886409044265747, 0.09207132458686829, 0.11181017011404037, -0.4271954596042633, 0.19992947578430176, 0.014095712453126907, -0.37299564480781555, -0.5326377749443054, -0.412720650434494, -0.05068093538284302, -0.31329140067100525, 0.963109016418457, -0.041875239461660385, 0.26714789867401123, 0.2948741018772125, -0.49399226903915405, 0.2770842909812927, -0.5103293061256409, -0.5044546127319336, 0.1522556096315384, 0.675240695476532, 0.4535185694694519, 0.36725476384162903, 0.8148288130760193, 0.510077953338623, 0.12367068231105804, 0.34632566571235657, 0.5818185806274414, -0.22633281350135803, -0.4762992858886719, -0.22242695093154907, 0.008271473459899426, -0.15117909014225006, 0.3242020010948181, 0.6018804311752319, 0.09284918010234833, -0.13672925531864166, 0.29875338077545166, -0.11767452955245972, 0.21321415901184082, -0.7498632073402405, -0.33100974559783936, -0.4641757607460022, 0.07212193310260773, -0.6288606524467468, -0.13278788328170776, -0.31606030464172363, -0.2649182081222534, -0.41443872451782227, -0.4425949454307556, 0.5572240948677063, 0.07507044821977615, 1.0060847997665405, -0.39577344059944153, -0.8639883995056152, -0.10559536516666412, -0.3864693343639374, 0.5250398516654968, -0.4918643832206726, 0.4046943783760071, -0.3089178502559662, 0.5056017637252808, -0.05009135603904724, -0.7018896341323853, -0.8969435691833496, -0.341671884059906, 0.028752494603395462, 0.0741012766957283, 0.20346443355083466, -0.3528786599636078, 0.26630452275276184, 0.2441447228193283, -0.6470514535903931, -0.27256160974502563, -0.3953106701374054, -0.47261154651641846, 0.6082661151885986, -0.22750277817249298, 0.48240557312965393, -0.21549157798290253, -0.6713468432426453, -0.41955211758613586, -0.6653264760971069, 0.00844954326748848, 0.5356748104095459, 0.4097593128681183, -0.1807366907596588, 0.060043927282094955, -0.43194419145584106, 0.3396894335746765, -0.0490020252764225, -0.23644709587097168, 0.658894956111908, -0.34640178084373474, -0.043628089129924774, 0.24012388288974762, 0.8142667412757874, 0.38382524251937866, 0.05072290822863579, 0.1214679479598999, -0.13196071982383728, 0.2261868566274643, 0.156270831823349, -0.7513622045516968, -0.25675758719444275, 0.038245439529418945, -0.5956403613090515, -0.6258370876312256, 0.8778995871543884, -0.5237979292869568, -0.4409361183643341, 0.04421495273709297, 0.2461230307817459, -0.11722108721733093, -0.6657320261001587, -0.3499903678894043, -0.5305894613265991, 0.10568743944168091, 0.20307974517345428, -0.1747308373451233, 0.17335209250450134, 0.5293909907341003, 0.9658893942832947, -0.25532978773117065, -0.6007142066955566, -0.8264222145080566, 0.07269825041294098, -0.6195452809333801, 0.861534595489502, -0.24761900305747986, -0.042083740234375, -0.32316794991493225, 0.28996071219444275, 0.3158815801143646, -0.5625073909759521, 0.8865370750427246, -0.2654716968536377, -0.10736727714538574, -0.5063233375549316, -0.08986157178878784, -0.24730287492275238, 0.5461223721504211, -0.7363399267196655, 0.8455358743667603, -0.011635261587798595, -0.9101628661155701, 0.5864485502243042, -0.4933493435382843, -0.7114143371582031, -0.27106377482414246, -0.031221669167280197, -0.38032370805740356, 0.05277499184012413, 0.5679866671562195, 0.41789528727531433, 0.12562395632266998, 0.407469779253006, -0.8610706329345703, -0.32933470606803894, 0.0670510083436966, -0.7340397238731384, 0.8369629383087158, 0.28324785828590393, -0.21471695601940155, -0.1597108542919159, -0.6166531443595886, -0.18178848922252655, 0.24929626286029816, -0.1225924864411354, -0.3595222234725952, -0.16816656291484833, 0.3213365972042084, 0.7005733251571655, -0.3234303891658783, -0.9440433382987976, -0.06554625183343887, 0.12048293650150299, -0.038569554686546326, 0.8298054933547974, 0.18539461493492126, -0.13221010565757751, -0.7895117402076721, 0.14622355997562408, 0.6713939309120178, 0.09897875785827637, -0.3773440718650818, -0.25377389788627625, -0.3522524833679199, 0.02016180194914341, 0.18582923710346222, 0.3872252404689789, -0.9631230235099792, -0.2709472179412842, -0.19548194110393524, -0.6185659170150757, -0.37874892354011536, 0.1392790526151657, 0.4916565418243408, 0.3639563024044037, 0.3503287434577942, 0.02838473953306675, -0.40488293766975403, -0.6709738373756409, -0.9005089998245239, 0.06896326690912247, 0.022117413580417633, 0.0319615975022316, 0.5781997442245483, 0.16760239005088806, 0.535878598690033, -0.17736688256263733, -0.3121532201766968, 0.13623948395252228, 0.010146268643438816, -0.008032875135540962, 0.573606014251709, 0.7181013226509094, -1.2564533948898315, -0.5337918400764465, 0.1110772043466568, -0.5723891854286194, 0.051613155752420425, -0.22626884281635284, -0.18192768096923828, 0.15214015543460846, 0.5298050045967102, -0.4447194039821625, 0.16915187239646912, 0.8139814734458923, -0.11569659411907196, 0.9432516098022461, 0.15773263573646545, 0.7011149525642395, -1.0965813398361206, 0.05124060809612274, 0.332364946603775, -0.28845271468162537, -0.582338273525238, 0.2785925567150116, 0.49187448620796204, -0.07238896191120148, -0.9738100171089172, 0.8351063132286072, -0.2848633825778961, -0.06597466766834259, -0.21783186495304108, 0.33082398772239685, 0.12213373184204102, 0.4111851155757904, 0.01876670867204666, 0.42471742630004883, 0.3620487451553345, -0.7506716251373291, 0.7381219863891602, -0.4148428738117218, -0.612774133682251, 0.7190030217170715, -0.4469365179538727, -0.07402308285236359, -0.06512876600027084, 0.6564626693725586, -0.8445881605148315, -0.38375458121299744, 0.5878399610519409, -0.667589008808136, -0.23094342648983002, 0.058158885687589645, -0.6756731271743774, -0.3853655755519867, -0.550352931022644, 0.11843178421258926, -0.28924375772476196, -1.0375159978866577, 0.31665417551994324, 0.24419759213924408, 0.2095174640417099, -0.6564006805419922, -0.7937883734703064, -0.015656964853405952, 0.015110227279365063, -0.6953054666519165, 0.46448588371276855, 0.02974190004169941, -0.15895991027355194, 0.21567416191101074, -0.5318002700805664, -0.06409835815429688, -0.11940864473581314, 0.08496668189764023, 0.040888264775276184, -0.48582303524017334, 0.3143867254257202, 0.2340894192457199, 0.08277328312397003, 0.034974534064531326, -0.052779246121644974, 0.194365993142128, 0.06386015564203262, -0.7441903352737427, -0.5399786233901978, 0.16516873240470886, 0.5116687417030334, -0.13925844430923462, 0.7207973599433899, 1.0021867752075195, -0.615700364112854, -0.5047490000724792, -0.4170341193675995, -0.1851767599582672, -0.4493945837020874, 0.18073555827140808, -0.5277997255325317, -0.24864766001701355, 0.27994394302368164, -0.15930362045764923, 0.21524760127067566, 0.5515764355659485, 0.27554234862327576, 0.22537396848201752, 1.146669864654541, 0.20229262113571167, -0.2192254662513733, 0.3914295434951782, -0.0236501507461071, -0.07116224616765976, -0.389335036277771, -0.04268813505768776, -0.25374096632003784, -0.32405683398246765, -0.5476557016372681, -0.3598080277442932, 0.12105724960565567, -0.31028175354003906, -0.21272259950637817, 0.17965345084667206, -0.37659087777137756, 0.570827305316925, 0.5493327975273132, 0.4810860753059387, 0.43435966968536377, -0.017547182738780975, -0.3670895993709564, 0.24205122888088226, -0.5780453681945801, -0.1876421570777893, 1.1172664165496826, -0.018512815237045288, 0.40425220131874084, 0.16678808629512787, 0.4044936001300812, 0.6193139553070068, 0.8542398810386658, -0.19951874017715454, 0.20322862267494202, -0.22235092520713806, -0.8397799134254456, 0.012931346893310547, -0.7035388350486755, -0.45205962657928467, 0.7180432677268982, -0.04026006534695625, -0.18715229630470276, 0.09644041955471039, 0.025021735578775406, -0.22974151372909546, 0.6139103174209595, -0.6818683743476868, 0.9555980563163757, -0.3733638525009155, -0.13504843413829803, -0.08955633640289307, -0.32989275455474854, 1.0317714214324951, -0.27909520268440247, 0.5956845283508301, -0.39016789197921753, 0.09217801690101624, 0.49366816878318787, -0.3451237082481384, 0.395901083946228, -0.38604670763015747, 0.14106982946395874, 0.07610046118497849, -0.17384688556194305, 0.668858528137207, 0.4094715714454651, -0.12234590947628021, 0.3035311698913574, 0.09712108224630356, -0.6299535632133484, -0.28216806054115295, 1.0334293842315674, -0.48883530497550964, -0.3233303725719452, -0.7115218639373779, -0.19776685535907745, -0.050450630486011505, 0.3318214416503906, 0.3855706751346588, 0.45569831132888794, -0.5344260931015015, 0.31598764657974243, 0.18689194321632385, -0.19867035746574402, 0.44870615005493164, 0.6293156147003174, -0.32485678791999817, -0.2737540900707245, 1.0373462438583374, 0.23114046454429626, 0.09352223575115204, 0.0553206242620945, 0.2977859377861023, -0.34956902265548706, -0.05471692979335785, -0.5561235547065735, 0.07311870157718658, -0.6642633676528931, 0.014412244781851768, -0.4492529332637787, -0.42706653475761414, -0.6440461874008179, -0.010462264530360699, -0.3867205083370209, 0.08411920070648193, -0.0684436559677124, -0.08904001861810684, -0.048113055527210236, 0.20736023783683777, -0.30826738476753235, 0.10168652981519699, -0.8163480758666992, 1.0519706010818481, 0.13819296658039093, 0.3785417973995209, -0.039270490407943726, -0.31568336486816406, -0.1856077015399933, 0.6286486983299255, -0.4926436245441437, -0.7804926037788391, 0.28968214988708496, 0.04441758245229721, 0.7763849496841431, 0.8590939044952393, 0.687785267829895, 0.5405088067054749, -0.1187668889760971, 0.4306427240371704, 0.11970692873001099, -0.8269938230514526, 0.37805795669555664, -0.39029204845428467, 0.23399575054645538, 0.12503142654895782, 0.39583680033683777, -0.6890982985496521, -0.32960236072540283, -0.7478940486907959, -0.14959679543972015, 0.8901091814041138, -0.051674045622348785, 0.23222266137599945, 0.11318719387054443, -0.03170446306467056, 0.0941409096121788, 0.18217958509922028, -0.8720413446426392, -0.2957427501678467, -0.37061548233032227, 0.005112151615321636, -0.19717475771903992, 0.19373035430908203, -0.16470319032669067, -0.22368165850639343, 0.691307544708252, -0.10751660913228989, -0.07548082619905472, 0.2010527104139328, -0.19548644125461578, -0.10872332751750946, -0.1297139674425125, 0.8147217035293579, 0.7171933650970459, -0.023759882897138596, 0.22624421119689941, 0.0840916559100151, -0.5353682041168213, 0.05319041758775711, -0.051666151732206345, 0.019636182114481926, 0.36025315523147583, 0.016894381493330002, 0.4597803056240082, -0.08522285521030426, -0.6110962629318237, 0.7245824933052063, 0.14667339622974396, -0.3873792886734009, -0.22755227982997894, 0.09321817755699158, -0.03124014474451542, 0.1411982625722885, 0.7209054827690125, 0.4591708183288574, 0.06718479841947556, -0.707007646560669, 0.7008689641952515, 0.23960618674755096, -0.31811630725860596, -0.18709345161914825, 0.6512567400932312, 0.1656062752008438, -0.0845668837428093, 0.37215134501457214, -0.39153704047203064, -0.402049720287323, 0.9853748679161072, 0.35066497325897217, 0.45785585045814514, -0.39142754673957825, 0.6282407641410828, 0.20539692044258118, 0.5520344972610474, -0.5065648555755615, 0.12481689453125, 0.1720656305551529, -1.0170910358428955, 0.05265660956501961, -0.2528340220451355, -0.33138930797576904, 0.3454039692878723, -0.394718199968338, 0.6083933711051941, -0.574353039264679, -0.045892998576164246, 0.12404078245162964, 0.19726938009262085, -0.29369086027145386, 0.3929370939731598, 0.1317199170589447, 0.8872765302658081, -0.7853646874427795, 0.9593049883842468, 0.42225226759910583, -0.054065216332674026, -0.48782968521118164, 0.4099119305610657, 0.7096804976463318, -0.4803738594055176, 0.20947161316871643, 0.5770024657249451, -0.11461010575294495, -0.0630696713924408, -0.6851579546928406, -0.44771188497543335, 0.7693436741828918, 0.5182673335075378, -0.4290907084941864, 0.4203484058380127, -0.1417478621006012, 0.15863896906375885, -0.34253671765327454, -0.00048260754556395113, 0.11940367519855499, 0.6248515248298645, 0.02003195509314537, -0.48665010929107666, 0.24828140437602997, -0.4741222858428955, -0.24940596520900726, 0.10997837781906128, -1.0857659578323364, 1.2594362497329712, -0.23828795552253723, -0.5239347219467163, -0.4333403706550598, 0.5056695938110352, 0.5764924883842468, 0.9226040244102478, 0.38896244764328003, 0.32407164573669434, 0.6045259237289429, -0.11168315261602402, 0.9002193808555603, -0.3093479573726654, 0.34738287329673767, 0.7508452534675598, -0.1649346798658371, 0.6251630783081055, 0.0629747286438942, 0.11569514125585556, 0.5605301856994629, 0.7806611657142639, -0.36441031098365784, 0.46004053950309753, 0.10655155777931213, -0.11226692795753479, -0.16462354362010956, -0.09923940896987915, -0.6053332686424255, 0.26920342445373535, 0.18432554602622986, -0.2674248516559601, -0.5289502739906311, 0.2795029282569885, 0.10181082785129547, -0.018984276801347733, -0.23345611989498138, 0.16032758355140686, 0.004588797222822905, -0.28812503814697266, 0.33956071734428406, 0.48317497968673706, 0.6963426470756531, -0.420974999666214, -0.07130112498998642, -0.2994045913219452, 0.25285032391548157, -0.21018636226654053, -0.43451932072639465, 0.20297160744667053, -0.21660055220127106, 0.04105568677186966, 0.009691567160189152, 0.7889509201049805, -0.2326020896434784, -0.5244302153587341, 0.21254758536815643, 0.537495493888855, 0.0338502936065197, -0.8425029516220093, -0.6306190490722656, -0.08705747127532959, -0.2203344702720642, -0.3685178756713867, 0.3863486349582672, 0.5663835406303406, -0.17635980248451233, 0.602837860584259, 1.3297865390777588, 0.02938062511384487, 0.10148873180150986, -0.13104793429374695, 0.8236270546913147, -0.6641985177993774, -0.6590803265571594, -0.7329461574554443, 0.11412691324949265, -0.5485172867774963, -0.5039014220237732, 0.9547367691993713, 0.5750262141227722, 1.2066960334777832, 0.07434011995792389, 0.9788076877593994, -0.07634937763214111, 0.6485059857368469, -0.401027113199234, 0.9892579913139343, -0.7724795937538147, 0.10444387048482895, -0.3084542155265808, -0.7466650009155273, -0.17176426947116852, 0.17480167746543884, 0.19848491251468658, 0.27083009481430054, 0.6982227563858032, 0.8240710496902466, -0.5091134309768677, 0.031645067036151886, 0.34847819805145264, -0.10665257275104523, 0.3085499703884125, 0.25401949882507324, 0.6111485958099365, -0.5838974714279175, 0.9560918807983398, -0.4977108836174011, 0.014999840408563614, -0.4410138428211212, -0.763440728187561, -0.8778494596481323, -0.3401036262512207, -0.12656410038471222, -0.18210333585739136, 0.11251306533813477, 0.5508976578712463, 0.9301390647888184, -1.01372230052948, 0.10141128301620483, 0.09825576096773148, 0.46725472807884216, -0.7737390398979187, -0.33997204899787903, 0.36483508348464966, -0.09689493477344513, -0.5742974877357483, 0.197457954287529, 0.03621484711766243, 0.025766311213374138, -0.2300645411014557, -0.14746394753456116, -0.40738755464553833, 0.1882958710193634, 0.42037010192871094, 0.2958003878593445, -0.6139806509017944, -0.34172186255455017, 0.07856795191764832, -0.4376525282859802, -0.012791188433766365, 0.7687825560569763, -0.6720011234283447, 0.1712699830532074, 0.4814237654209137, 0.3120606243610382, 0.3267151415348053, 0.367186576128006, 0.3584015965461731, -1.0220239162445068, 0.26773110032081604, -0.32847270369529724, -0.01594252698123455, 0.15418030321598053, -0.21993747353553772, 0.2843880355358124, 0.7768994569778442, -0.0951993316411972, -0.9717588424682617, -0.11807882785797119, -0.7591153979301453, -0.6949995160102844, 1.0136557817459106, -0.23374444246292114, -0.05604436621069908, -0.27488067746162415, -0.09439090639352798, 0.26127463579177856, -0.5704987049102783, 0.697784423828125, 0.939455509185791, 0.2653058171272278, -0.5774056315422058, -0.6422127485275269, 0.5022565722465515, -0.28687307238578796, -0.9499217867851257, -0.0716925635933876, 0.39872971177101135, 0.34445294737815857, 0.12043546885251999, 0.5404623746871948, 0.07451525330543518, 0.6271565556526184, 0.5780120491981506, -0.1665269285440445, -0.37966227531433105, -0.5404855608940125, 0.15778236091136932, 0.3652995228767395, -0.7241648435592651, -0.5239102244377136 ]
http://arxiv.org/abs/2403.09085v1
http://arxiv.org/pdf/2403.09085v1
Meaningful Learning: Advancing Abstract Reasoning in Large Language Models via Generic Fact Guidance
2024-03-14T04:06:13
2024-03-14T04:06:13
Kai Xiong, Xiao Ding, Ting Liu, Bing Qin, Dongliang Xu, Qing Yang, Hongtao Liu, Yixin Cao
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have developed impressive performance and strong explainability across various reasoning scenarios, marking a significant stride towards mimicking human-like intelligence. Despite this, when tasked with simple questions supported by a generic fact, LLMs often fail to provide consistent and precise answers, indicating a deficiency in abstract reasoning abilities. This has sparked a vigorous debate about whether LLMs are genuinely reasoning or merely memorizing. In light of this, we design a preliminary study to quantify and delve into the abstract reasoning abilities of existing LLMs. Our findings reveal a substantial discrepancy between their general reasoning and abstract reasoning performances. To relieve this problem, we tailor an abstract reasoning dataset (AbsR) together with a meaningful learning paradigm to teach LLMs how to leverage generic facts for reasoning purposes. The results show that our approach not only boosts the general reasoning performance of LLMs but also makes considerable strides towards their capacity for abstract reasoning, moving beyond simple memorization or imitation to a more nuanced understanding and application of generic facts.
[ -0.045509275048971176, -0.6513955593109131, 1.1837821006774902, -0.3652592897415161, -0.35509607195854187, 0.2092718631029129, -0.16626712679862976, -0.5443964600563049, -0.2493552565574646, 0.37941405177116394, -0.21963417530059814, -0.8534535765647888, -0.6073553562164307, 0.09066427499055862, -0.29027503728866577, 0.8842888474464417, 0.2146763801574707, -0.022371182218194008, -0.43528565764427185, -0.37144604325294495, -0.38192951679229736, -0.5610383749008179, -0.720184862613678, -0.5590383410453796, 0.659857988357544, 0.4485234022140503, 0.551615297794342, 0.756334125995636, 0.25691765546798706, 0.28034326434135437, -0.15766072273254395, 0.3901822566986084, -0.45317620038986206, 0.13392113149166107, -0.645138680934906, -0.7727090120315552, -0.3097333610057831, -0.2757633924484253, 0.7391374707221985, 1.062168836593628, 0.003528408706188202, 0.13922937214374542, -0.08115457743406296, 0.637575626373291, -0.526947557926178, 0.4895126521587372, -0.806820273399353, -0.08572615683078766, -0.05671872943639755, -0.011992473155260086, -0.5381824374198914, -0.6277158856391907, 0.14047914743423462, -0.5808402895927429, 0.14536075294017792, 0.12149754166603088, 0.5526625514030457, 0.2528107762336731, -0.5293152928352356, -0.44431424140930176, -0.6210243701934814, 1.0873711109161377, -0.8612598776817322, 0.15019387006759644, 0.14665207266807556, 0.25575608015060425, -0.16517147421836853, -0.8947847485542297, -0.46260377764701843, -0.3110964298248291, -0.06830199062824249, -0.2447875440120697, -0.12159425765275955, 0.15110978484153748, 0.5156051516532898, 0.32920679450035095, -0.39427512884140015, -0.01626351848244667, -0.3157787024974823, -0.21213069558143616, 0.69913250207901, 0.2973978519439697, 0.2183329463005066, 0.15693260729312897, -0.12771983444690704, 0.03683939203619957, -1.000636100769043, 0.19640496373176575, 0.018196864053606987, 0.21081672608852386, -0.05450856685638428, 0.45335865020751953, 0.03908194974064827, 0.8417221903800964, -0.25102341175079346, -0.5555568337440491, 0.09682770818471909, -0.050682250410318375, 0.2107662856578827, 0.14505061507225037, 0.22913812100887299, 0.1299188733100891, 0.545933187007904, -0.2401173710823059, -0.3762771487236023, 0.13366486132144928, 0.08792680501937866, -0.6844392418861389, -0.38128340244293213, 0.004665564280003309, -0.42034029960632324, 0.17188674211502075, 0.03527747839689255, -0.2580873966217041, -0.010576467961072922, -0.7773890495300293, 0.4752308130264282, -0.5104436278343201, -0.15457814931869507, 0.3314123749732971, -0.2613893747329712, 0.30979618430137634, 0.6573747396469116, -0.8529460430145264, 0.1593809723854065, 0.8730838298797607, 0.7362236380577087, -0.22295832633972168, -0.007050973363220692, -0.18911337852478027, 0.29922884702682495, -0.48839592933654785, 1.0112594366073608, -0.8942822217941284, -0.20698919892311096, 0.008890310302376747, -0.280497282743454, -0.02780536189675331, -0.7080695629119873, 0.5843589305877686, -0.619893491268158, -0.09016818553209305, -0.6199208498001099, -0.7761896252632141, -0.7571610808372498, 0.5634735822677612, -0.5325441956520081, 0.6657045483589172, 0.047662071883678436, -0.5656554102897644, 0.3729340136051178, -0.4822908639907837, -0.5436541438102722, 0.03200925514101982, -0.5034360289573669, -0.11858200281858444, 0.2305082231760025, -0.18651273846626282, 0.5001774430274963, -0.23750446736812592, 0.2118556946516037, -0.45807015895843506, -0.4679710566997528, 0.44757023453712463, -0.2716539204120636, 0.2963813245296478, 0.17296136915683746, -0.12417024374008179, -0.04492499306797981, -0.8996627926826477, 0.07131066173315048, 0.0867144837975502, -0.4361112415790558, -0.4578840732574463, 0.2129281908273697, -0.4389925003051758, 0.22627422213554382, 0.18262960016727448, -0.47075363993644714, 0.38538438081741333, -0.2569189667701721, 0.4422939717769623, 0.7201929092407227, 0.05813382565975189, 0.39790305495262146, -0.7147753834724426, 0.32130110263824463, -0.18948279321193695, -0.2518337666988373, -0.08759748935699463, -0.506804347038269, -0.6174020171165466, -0.38310158252716064, 0.3804055154323578, 0.2777583599090576, -0.6596828699111938, 0.3681146204471588, -0.3079494535923004, -0.025339609012007713, -0.3111511766910553, 0.1574127972126007, 0.40771108865737915, 0.7391505837440491, 0.424051970243454, -0.11244286596775055, -0.4922570586204529, -0.8441727757453918, -0.48319104313850403, -0.2308906763792038, -0.2410908043384552, 0.09908073395490646, 0.7214250564575195, -0.20501179993152618, 0.9840216636657715, -0.46136733889579773, -0.03885684907436371, -0.5039776563644409, 0.07474173605442047, 0.14100870490074158, 0.11271285265684128, 0.2984124720096588, -0.5910024046897888, -0.11328618973493576, -0.11850790679454803, -1.060283899307251, -0.015741363167762756, -0.051503945142030716, 0.2050936371088028, 0.1331164836883545, 0.5780023336410522, -0.404672235250473, 0.0907452329993248, 0.31970661878585815, -0.2737564146518707, 0.6531942486763, -0.11269241571426392, -0.08206665515899658, -0.6064702272415161, 0.09380270540714264, -0.16736817359924316, -0.2728908360004425, -0.4136269986629486, -0.09083907306194305, -0.18334786593914032, 0.2854135036468506, -0.5228111743927002, 0.8153108358383179, -0.39795467257499695, -0.12806978821754456, -0.5237430930137634, 0.06733012944459915, 0.09409958869218826, 0.32342132925987244, 0.1823379546403885, 0.606734037399292, 0.4461607038974762, -0.9017496109008789, 0.007746192626655102, 0.003330252133309841, -0.6208003163337708, 0.2773771584033966, -0.671567440032959, 0.0010438923491165042, -0.2000138759613037, 0.3086777627468109, -0.8158493638038635, -0.18494711816310883, 0.059368666261434555, -0.29068875312805176, 0.17081181704998016, -0.18067166209220886, -0.5854963660240173, 0.19038811326026917, 0.01830725185573101, 0.6868770718574524, 0.7140482068061829, -0.5933095216751099, 0.7868686318397522, 0.2685101628303528, -0.2705264985561371, -0.37976276874542236, -0.5146883130073547, 0.04075423255562782, -0.15873883664608002, -0.579930305480957, 0.2815703749656677, 0.1271534562110901, -0.6494396924972534, 0.12527574598789215, -0.27475762367248535, 0.027642952278256416, -0.05697159469127655, -0.02498432993888855, 0.11028113216161728, -0.22449371218681335, 0.47943782806396484, 0.15426477789878845, -0.23285023868083954, 0.39427560567855835, -0.20980003476142883, 0.23902074992656708, -0.28877702355384827, -0.5905683040618896, -0.15110358595848083, 0.1314133256673813, 0.4060346484184265, -0.03375346213579178, 0.7614100575447083, 0.26738211512565613, -0.29995864629745483, -0.411201149225235, -0.5246323347091675, -0.30176690220832825, -0.4198276102542877, 0.3109501600265503, -0.46772679686546326, -1.0384327173233032, 0.5015172958374023, -0.42858123779296875, 0.4000847637653351, 0.4137958288192749, 0.33938995003700256, 0.03968919813632965, 1.2729445695877075, 0.3869559168815613, 0.38418760895729065, 0.03132358565926552, -0.34292230010032654, 0.15503159165382385, -0.7173519134521484, -0.745552122592926, -0.29521214962005615, -0.21285825967788696, -0.178147554397583, -0.5299668312072754, 0.280614972114563, -0.025958549231290817, -0.42208555340766907, -0.36195969581604004, -0.25023046135902405, 0.5846315026283264, 0.26306310296058655, 0.093321293592453, 0.7302730083465576, -0.025121789425611496, -0.21984033286571503, 0.013827216811478138, -0.7625304460525513, -0.9620709419250488, 1.0680068731307983, 0.30343469977378845, 0.8913736939430237, 0.20165257155895233, 0.4122237265110016, 0.34322020411491394, 0.46727705001831055, -0.8779999017715454, 0.7732996344566345, -0.18409323692321777, -0.437809020280838, -0.1506887823343277, -0.679562509059906, -0.8991460204124451, 0.4733145236968994, -0.024944059550762177, -0.33294782042503357, -0.07554414123296738, 0.3344367444515228, -0.1863875687122345, 0.5112631916999817, -0.5334886908531189, 0.48256877064704895, -0.3281403183937073, -0.05356823280453682, -0.40356191992759705, -0.4985436499118805, 0.6732731461524963, 0.08880361914634705, 0.33618882298469543, -0.27023833990097046, -0.29042738676071167, 0.6248971223831177, -0.17747731506824493, 0.9145336747169495, -0.13993902504444122, -0.16541728377342224, 0.30541813373565674, 0.026386084035038948, 0.2496148943901062, 0.03572102263569832, -0.24111323058605194, 0.2036125659942627, -0.16115744411945343, -0.7088820934295654, -0.7898927330970764, 0.5670256614685059, -0.4482384920120239, -0.7325965762138367, -0.5237725377082825, -0.6558454632759094, -0.2812616229057312, -0.087943434715271, 0.04970612749457359, 0.4937683641910553, -0.23204585909843445, 0.21808725595474243, 1.1636992692947388, -0.022911671549081802, 0.1258615255355835, 0.6346160173416138, -0.061295539140701294, -0.16852840781211853, 0.8890963792800903, 0.1141401156783104, 0.47076869010925293, 0.6036999821662903, 0.22156071662902832, -0.7619873285293579, -0.8140904903411865, -0.216329887509346, 0.4356762766838074, -1.0144643783569336, -0.10188287496566772, -0.6068171262741089, -0.04955628141760826, -0.11670295894145966, -0.055617157369852066, -0.1345277577638626, -0.604164719581604, -0.06118251755833626, -0.16571663320064545, 0.31253600120544434, 0.8182797431945801, -0.08870342373847961, -0.17988811433315277, -0.836204469203949, 0.33393624424934387, 0.5485181212425232, 0.10750521719455719, 0.2857120931148529, -0.9818533658981323, -0.04085024818778038, 0.13473348319530487, -0.28161197900772095, -0.46619951725006104, 0.001221893122419715, 0.3317209482192993, 0.7613800764083862, 0.7034443616867065, 0.17903275787830353, 0.3955637514591217, -0.5111702084541321, 0.531984269618988, 0.10279848426580429, -0.7774761915206909, 0.46210360527038574, -0.18032300472259521, 0.49924105405807495, 0.4578250050544739, 0.4859044551849365, -0.32034894824028015, -0.29387912154197693, -0.5485875010490417, -0.6454439759254456, 0.30072396993637085, -0.08676483482122421, 0.12461958080530167, -0.13891750574111938, 0.5363795757293701, 0.29742780327796936, 0.15092939138412476, -0.6667485237121582, -0.1862463802099228, -0.05384129285812378, -0.30621761083602905, -0.005091142375022173, -0.22770562767982483, -0.14430859684944153, -0.4917331635951996, 0.5280259847640991, -0.2022867500782013, -0.04789476469159126, 0.08867254853248596, -0.18162958323955536, 0.28375959396362305, 0.39657288789749146, 0.594388484954834, 1.059576153755188, -0.12571440637111664, 0.37589746713638306, 0.4264035224914551, -0.16220562160015106, 0.2420741766691208, -0.1521487683057785, -0.10229306668043137, -0.01655510812997818, 0.6411162614822388, 0.49298593401908875, 0.445205956697464, -1.1363446712493896, 0.27339670062065125, 0.027345027774572372, -0.47437310218811035, -0.32936668395996094, 0.387565553188324, 0.2713957726955414, 0.10210751742124557, 0.4768294095993042, -0.06352058798074722, 0.07749202847480774, -0.8857930302619934, 0.09879767894744873, 0.38138389587402344, -0.10201497375965118, -0.4153347909450531, 0.3782113790512085, 0.1648988276720047, -0.08044644445180893, 0.7044203877449036, -0.2701263427734375, -0.5691869854927063, 0.46349552273750305, 0.5911077857017517, 0.5180857181549072, -0.08864839375019073, 0.030675895512104034, 0.3812809884548187, 0.1343873292207718, -0.3141342103481293, 0.1705256998538971, -0.05357971414923668, -0.7581745982170105, -0.866735577583313, -0.5461609959602356, -0.5968425273895264, 0.24334079027175903, -0.5620409846305847, -0.08365930616855621, -0.5711815357208252, 0.14151252806186676, -0.13938294351100922, -0.07329761236906052, -0.43038180470466614, 0.21892598271369934, 0.000013051595487922896, 1.05709969997406, -0.9071050882339478, 0.7344285249710083, 0.8464619517326355, -0.3597899377346039, -0.7168312072753906, -0.12673868238925934, -0.13110288977622986, -0.7578408122062683, 0.6870683431625366, 0.2656967043876648, -0.3253636658191681, -0.19562691450119019, -0.6752604246139526, -0.625586986541748, 0.9219412803649902, 0.6409555673599243, -0.5553971529006958, -0.0335744209587574, 0.18798038363456726, 0.5948632955551147, -0.46546703577041626, 0.13568934798240662, 0.6098771691322327, 0.5376337170600891, 0.5213721990585327, -0.3573012053966522, 0.21120846271514893, -0.016645999625325203, -0.20140811800956726, 0.13613228499889374, -0.4155523180961609, 0.6595281958580017, -0.5573557615280151, -0.22124899923801422, -0.007364145014435053, 0.7526997923851013, 0.7326511144638062, 0.5303487777709961, 0.4657447934150696, 0.8391332030296326, 0.8957501649856567, -0.07630255818367004, 1.1103618144989014, -0.0054945023730397224, -0.09380610287189484, 1.0029113292694092, -0.256098210811615, 0.8078937530517578, 0.23517769575119019, -0.06969443708658218, 0.9413661360740662, 0.4833436906337738, 0.21290050446987152, 0.35654953122138977, 0.33827298879623413, -0.7868829965591431, -0.7452600002288818, 0.033582307398319244, -0.5001623630523682, 0.3640117347240448, 0.6580328941345215, -0.33494821190834045, -0.3992391526699066, -0.11542646586894989, 0.025906352326273918, 0.43958163261413574, -0.5262098908424377, 0.7726321816444397, 0.4260943830013275, -0.7107897996902466, 0.6362549662590027, 0.05726425349712372, 0.48126059770584106, -0.6112788915634155, -0.6373754739761353, -0.10769698768854141, 0.24409957230091095, -0.2682165205478668, -0.8302268385887146, 0.39687561988830566, -0.027333706617355347, -0.4031539857387543, -0.08383665978908539, 0.5691442489624023, -0.3411210775375366, -0.40006330609321594, 0.1321180760860443, 0.43552690744400024, 0.3921135365962982, 0.002441062591969967, -0.6538968682289124, 0.03645894676446915, 0.019765669479966164, 0.21079574525356293, 0.5959445834159851, 0.5962509512901306, 0.05577944219112396, 1.021044135093689, 0.7691767811775208, 0.09965240955352783, -0.21448704600334167, 0.14467960596084595, 0.7868610620498657, -0.8274844884872437, -0.25876110792160034, -0.8511533141136169, 0.45858830213546753, -0.03785857930779457, -0.20240841805934906, 0.7213583588600159, 0.6260906457901001, 0.893564760684967, -0.06953268498182297, 0.9218499064445496, 0.22207579016685486, 0.7605482935905457, -0.8631802201271057, 0.3240785300731659, -0.31906867027282715, 0.7259975075721741, 0.21923525631427765, -0.9133618474006653, -0.3021939992904663, 0.7639618515968323, -0.5123525261878967, 0.13880790770053864, 0.6030899286270142, 0.650785505771637, -0.150001659989357, 0.035185202956199646, 0.4934980273246765, 0.33623868227005005, 0.33253389596939087, 0.624042809009552, 1.1894298791885376, -0.029231633991003036, 0.5726370811462402, 0.12887372076511383, -0.22586572170257568, -0.011230739764869213, -0.8993320465087891, -1.0923855304718018, -0.29771488904953003, -0.3076537549495697, -0.08051798492670059, 0.40475472807884216, 0.9109553098678589, 0.5468890070915222, -0.7832858562469482, -0.0030452366918325424, -0.2916635572910309, 0.48763182759284973, -0.025626853108406067, -0.25420382618904114, 0.34572887420654297, -0.5675251483917236, -0.5249863266944885, 0.38845351338386536, 0.19254161417484283, -0.10955258458852768, -0.06126005947589874, -0.31805849075317383, -0.08917225152254105, 0.2078213095664978, 0.952345609664917, 0.59006267786026, -0.9313340783119202, -0.42593151330947876, -0.31204500794410706, 0.13467015326023102, -0.0366327203810215, 0.9138664603233337, -0.9779195785522461, 0.06443329900503159, 0.4385637938976288, 0.6860249042510986, 0.19146910309791565, 0.17912724614143372, 0.5229184031486511, -0.5585739016532898, -0.1001080721616745, 0.588182270526886, 0.3984106779098511, 0.3991839289665222, 0.15486116707324982, 0.285013884305954, 0.20897018909454346, -0.6501632332801819, -0.7695879340171814, 0.4162340462207794, -0.8068095445632935, -0.6770032048225403, 1.2897334098815918, -0.26423314213752747, -0.004651766270399094, -0.694470226764679, -0.07653290033340454, -0.10150449723005295, -0.3846088647842407, 0.992358386516571, 0.4780985116958618, -0.4305618703365326, -0.13807082176208496, -0.4004768133163452, 0.4667448103427887, 0.36875584721565247, -0.8230065107345581, -0.18329623341560364, 0.5232850313186646, 0.6037746071815491, -0.054653067141771317, 0.4494994580745697, -0.15355679392814636, 0.4185762405395508, -0.12006068229675293, -0.0758543387055397, -0.03974571451544762, -0.4499194920063019, -0.295739084482193, 0.17580799758434296, 0.5290385484695435, 0.09293725341558456 ]
http://arxiv.org/abs/2403.09077v1
http://arxiv.org/pdf/2403.09077v1
Information Extraction: An application to the domain of hyper-local financial data on developing countries
2024-03-14T03:49:36
2024-03-14T03:49:36
Abuzar Royesh, Olamide Oladeji
cs.CL
cs.CL
Despite the need for financial data on company activities in developing countries for development research and economic analysis, such data does not exist. In this project, we develop and evaluate two Natural Language Processing (NLP) based techniques to address this issue. First, we curate a custom dataset specific to the domain of financial text data on developing countries and explore multiple approaches for information extraction. We then explore a text-to-text approach with the transformer-based T5 model with the goal of undertaking simultaneous NER and relation extraction. We find that this model is able to learn the custom text structure output data corresponding to the entities and their relations, resulting in an accuracy of 92.44\%, a precision of 68.25\% and a recall of 54.20\% from our best T5 model on the combined task. Secondly, we explore an approach with sequential NER and relation extration. For the NER, we run pre-trained and fine-tuned models using SpaCy, and we develop a custom relation extraction model using SpaCy's Dependency Parser output and some heuristics to determine entity relationships \cite{spacy}. We obtain an accuracy of 84.72\%, a precision of 6.06\% and a recall of 5.57\% on this sequential task.
[ -0.30502188205718994, -0.9394127726554871, 0.1469731330871582, 0.3034277856349945, 0.011189160868525505, 0.2081204056739807, -0.29868167638778687, -0.934691309928894, 0.13735397160053253, 0.8689623475074768, -0.2152092456817627, -0.5772289037704468, -0.5960705876350403, 0.280233234167099, -0.3480023741722107, 1.3026740550994873, 0.17705033719539642, -0.22155378758907318, 0.15902245044708252, 0.14280863106250763, -0.19990487396717072, -0.5275588035583496, -0.8781225681304932, -0.1944487988948822, -0.06303922832012177, 0.5779617428779602, 0.6268343925476074, 0.6133283376693726, 0.8573608994483948, 0.3083229064941406, -0.06744597107172012, 0.10097087919712067, -0.17496642470359802, -0.09552041441202164, -0.2801629900932312, -0.3281668424606323, -0.6159312725067139, -0.1426527053117752, 0.2702024281024933, 0.4500816762447357, -0.2364739328622818, 0.5664845705032349, -0.04283273592591286, 0.6874271631240845, -0.5310173034667969, 0.7879787683486938, -0.5260888934135437, 0.09214942902326584, -0.2021620273590088, -0.16636121273040771, -0.33993449807167053, -0.2996658980846405, 0.8231228590011597, -0.6780305504798889, 0.45966050028800964, -0.027761664241552353, 1.357533574104309, 0.04074937105178833, -0.42844271659851074, -0.5580748319625854, -1.0205892324447632, 0.9044339656829834, -0.5993631482124329, 0.2778477668762207, 0.49294885993003845, 0.316930890083313, 0.12576128542423248, -0.8514565229415894, -0.2932370603084564, 0.14476382732391357, -0.2556161880493164, 0.17215877771377563, -0.27715110778808594, -0.10215838998556137, 0.3569028377532959, 0.5267858505249023, -0.11411520093679428, -0.1719835251569748, -0.5048103928565979, -0.057149238884449005, 0.5982317328453064, -0.0877060666680336, 0.06403489410877228, -0.5301774740219116, -0.5032726526260376, -0.027402544394135475, -0.5842114090919495, -0.07260186225175858, 0.22735609114170074, 0.47456997632980347, -0.29174813628196716, 0.6994001269340515, -0.015191655606031418, 0.6476659178733826, 0.22319909930229187, -0.41424500942230225, 0.19790193438529968, -0.5460141897201538, -0.37768423557281494, 0.0024387177545577288, 0.5689607262611389, 0.054611653089523315, 0.573050320148468, -0.3063510060310364, -0.4091835916042328, -0.323988139629364, 0.03928035870194435, -0.37980422377586365, -0.2725464105606079, -0.0058857412077486515, -0.6867389678955078, -0.3690050542354584, 0.17590421438217163, -1.2627789974212646, -0.10379087924957275, -0.46544381976127625, 0.2046472430229187, -0.19224078953266144, -0.37073269486427307, -0.25968754291534424, -0.33283549547195435, 0.4215271770954132, -0.1181531473994255, -1.1716338396072388, 0.7675241231918335, 0.6032874584197998, 0.7721325159072876, -0.27528417110443115, 0.2575444281101227, -0.46219927072525024, 0.473248690366745, 0.22035032510757446, 0.7496969103813171, -0.6152693033218384, -0.28015249967575073, -0.17786210775375366, -0.09504212439060211, -0.1430484652519226, -0.9559018611907959, 0.5143856406211853, -0.6469284892082214, 0.24733775854110718, -0.1609605848789215, -0.5422815084457397, -0.12903092801570892, 0.15335001051425934, -0.9466190338134766, 1.0729248523712158, 0.43771666288375854, -0.9669962525367737, 0.5195153951644897, -0.949941873550415, -0.47151196002960205, 0.031196093186736107, -0.0722755491733551, -0.38967519998550415, -0.08477699756622314, 0.48684191703796387, 0.2822946012020111, -0.7269402742385864, 0.4836359918117523, -0.06061837822198868, -0.07888097316026688, -0.035395245999097824, -0.3429461121559143, 0.6663953065872192, -0.02044258639216423, -0.4753536880016327, -0.2282896488904953, -1.1672414541244507, -0.20049898326396942, 0.24146951735019684, -0.30278855562210083, -0.6393315196037292, -0.05377713963389397, 0.3436768352985382, 0.3734372854232788, 0.6470747590065002, -0.5377715229988098, 0.2449849247932434, -0.7177683711051941, 0.3423890769481659, 0.626249372959137, 0.336870402097702, 0.5069540739059448, 0.13630814850330353, 0.41974586248397827, 0.08267807960510254, 0.059611640870571136, 0.06714429706335068, -0.32511335611343384, -0.6913697719573975, -0.031003437936306, 0.6622848510742188, 0.7790158987045288, -0.7103844285011292, 0.3001851737499237, -0.12535111606121063, -0.20690038800239563, -0.38411247730255127, 0.0355808399617672, 0.1434493213891983, 0.9274212718009949, 0.47727885842323303, -0.193362757563591, -0.9454935789108276, -0.9859105944633484, -0.19469010829925537, 0.029239654541015625, 0.07524765282869339, 0.12053382396697998, 0.5559989809989929, -0.022981327027082443, 1.2584213018417358, -0.8514476418495178, -0.39036011695861816, -0.48641666769981384, 0.18045039474964142, 0.5673377513885498, 0.3994460105895996, 0.4409778416156769, -1.2839869260787964, -0.36450111865997314, 0.2850063145160675, -0.8388118147850037, 0.10116700828075409, -0.15197910368442535, 0.03861336037516594, 0.21513544023036957, 0.054994046688079834, -0.6513340473175049, 0.7460039258003235, 0.29761233925819397, -0.24024668335914612, 0.403339147567749, -0.3510667085647583, -0.20386306941509247, -1.252276062965393, 0.38836348056793213, 0.5051180720329285, -0.10985192656517029, -0.6520130038261414, -0.21798451244831085, -0.050403282046318054, -0.04674312099814415, 0.07167403399944305, 0.726314902305603, -0.5292184352874756, -0.4543628692626953, -0.18482758104801178, 0.2576216757297516, 0.030021846294403076, 0.44378456473350525, 0.24947501718997955, 0.7215561866760254, 0.3171253800392151, -0.6352455615997314, 0.3466987907886505, 0.3296891450881958, -0.33244404196739197, 0.2602940499782562, -0.744202733039856, -0.011980501003563404, 0.15152209997177124, -0.28839924931526184, -0.4241723418235779, 0.002422548597678542, 0.10200697183609009, -0.15910668671131134, 0.3972386121749878, -0.28867509961128235, -0.5018311738967896, -0.1293807476758957, 0.18032494187355042, -0.12543119490146637, 0.3178437352180481, -0.4811534881591797, 0.47834813594818115, 0.7563680410385132, -0.602668046951294, -0.7620286345481873, -0.4900858402252197, 0.14571790397167206, -0.393426775932312, -0.4537757337093353, 0.4103470742702484, 0.5088056325912476, -0.5471004247665405, 0.14928723871707916, -0.32115262746810913, -0.5647937059402466, 0.09821458160877228, -0.00807050708681345, 0.6575902700424194, -0.3327978551387787, -0.02654988504946232, -0.160868838429451, -0.4449789226055145, 0.09445974230766296, -0.18396279215812683, 0.24050581455230713, 0.0390116423368454, 0.19438716769218445, -0.3301313519477844, 0.2965831160545349, 0.2273358702659607, -0.40554144978523254, 0.8332136869430542, 0.49694788455963135, -0.7265025973320007, 0.13074420392513275, -0.537771999835968, 0.1347552239894867, -0.4814737141132355, 0.1764799803495407, -0.3783324360847473, -0.4852933883666992, 0.6801491975784302, -0.20642827451229095, 0.1390821635723114, 0.8830437660217285, 0.34316202998161316, 0.2666575014591217, 0.7574595808982849, 1.3538931608200073, -0.2854330241680145, 0.5053435564041138, -0.6341002583503723, 0.5589457750320435, -0.6031450033187866, -0.47938501834869385, -0.7683722972869873, -0.05840969458222389, -0.6600303649902344, 0.12144757807254791, 0.24087466299533844, 0.1249370127916336, 0.0843200832605362, 0.7890608310699463, -0.06063191965222359, 0.3908551335334778, 0.298318475484848, -0.2437194287776947, 0.5293866991996765, 0.3045428693294525, 0.10934330523014069, -0.5195090174674988, -0.42710334062576294, -0.5735808610916138, 0.9862337112426758, 0.20656991004943848, 0.6659063100814819, -0.053728532046079636, 0.8244820833206177, 0.28281569480895996, 0.43709805607795715, -0.6891158223152161, 0.12735460698604584, -0.29148170351982117, -0.38406792283058167, -0.2551879286766052, -0.7665009498596191, -0.9809475541114807, -0.15341816842556, -0.15893884003162384, -0.9091053605079651, 0.46650081872940063, -0.22640201449394226, -0.3250848054885864, 0.19134800136089325, -0.8311977386474609, 0.7624104619026184, -0.035203803330659866, -0.2689448893070221, 0.09358537197113037, -0.5063089728355408, 0.3767055571079254, -0.23457004129886627, 0.3769167959690094, 0.09208434820175171, 0.019239630550146103, 0.6963717937469482, -0.30800896883010864, 0.5157495737075806, -0.2784615159034729, -0.13120166957378387, 0.28842633962631226, -0.10038155317306519, 0.4845755398273468, 0.25358307361602783, -0.535828173160553, 0.06970228254795074, -0.14270135760307312, -0.25726643204689026, -0.7342138290405273, 0.531420886516571, -0.5000787377357483, -0.2577151656150818, -0.3578961193561554, -0.6101648211479187, -0.23400411009788513, 0.24974121153354645, -0.017732292413711548, 0.37185701727867126, -0.22057846188545227, -0.05632143095135689, 0.31892096996307373, -0.09019407629966736, 0.7291334867477417, 0.3434423506259918, 0.1169731616973877, -0.557712197303772, 0.881232738494873, 0.2361857295036316, 0.07262307405471802, 0.542770504951477, 0.0718553438782692, -0.4099702537059784, -0.2263253778219223, -0.39215418696403503, 0.3213217556476593, -0.555021345615387, -0.39171192049980164, -0.614696204662323, -0.30080822110176086, -0.5820850729942322, 0.15328583121299744, -0.2806106209754944, -0.5750629901885986, -0.1889519840478897, -0.2752667963504791, 0.217962846159935, 0.9489986896514893, -0.06668861955404282, 0.10787425935268402, -1.231006145477295, 0.5433440804481506, -0.10843979567289352, -0.04030813276767731, -0.06705813854932785, -0.19423091411590576, -0.6396268010139465, -0.19947007298469543, -0.23259174823760986, -0.8792639374732971, 0.9538677930831909, 0.11283470690250397, 0.3648304045200348, 0.47182562947273254, -0.07849452644586563, 1.1384068727493286, 0.08449827134609222, 0.3711943030357361, -0.005869705229997635, -0.9843546152114868, 0.7195043563842773, -0.017801158130168915, 0.06980181485414505, 0.6127669215202332, 0.4696815311908722, -0.402849018573761, -0.17676600813865662, -1.1451537609100342, -1.1153032779693604, 0.7902603149414062, 0.33867567777633667, -0.3239365220069885, 0.09002529829740524, 0.6530713438987732, 0.12685032188892365, 0.39400169253349304, -0.701423704624176, -0.321321964263916, 0.40140894055366516, -0.227547749876976, 0.16569629311561584, -0.09561045467853546, 0.22259703278541565, -0.17627780139446259, 0.5906102657318115, 0.11957923322916031, -0.036574967205524445, 0.4954719841480255, -0.14801718294620514, -0.0860530212521553, 0.022262385115027428, 0.10852955281734467, 1.1278201341629028, -0.15877869725227356, -0.052802592515945435, 0.16586828231811523, -0.5892167091369629, -0.1838139444589615, 0.30929234623908997, -0.3295629024505615, 0.16948747634887695, 0.488633930683136, 0.3034844696521759, 0.21144777536392212, -0.5710468292236328, 0.4376283884048462, -0.20481888949871063, 0.11764378845691681, -0.47965893149375916, -0.21560950577259064, -0.02664685994386673, 0.26411163806915283, 0.5637787580490112, 0.29386642575263977, 0.3024756610393524, -0.49356064200401306, 0.36771342158317566, -0.11620263755321503, -0.3881765305995941, -0.4602537155151367, 0.4251475930213928, 0.1357303410768509, -0.15335536003112793, 0.94451904296875, -0.2119874805212021, -0.3110264539718628, 1.0040537118911743, 0.9941368103027344, 0.7553631663322449, 0.026341207325458527, 0.16206026077270508, 0.5485871434211731, 0.2286650389432907, -0.06986453384160995, 0.5479862689971924, -0.166483536362648, -0.5845814347267151, -0.7224709987640381, -0.6201019287109375, -0.4480959475040436, 0.2150680124759674, -0.8889787197113037, 0.4595164358615875, -0.39682549238204956, -0.14429086446762085, 0.21010525524616241, 0.3660855293273926, -0.7725822329521179, 0.2888495922088623, -0.16944772005081177, 0.8355266451835632, -0.5605183243751526, 0.8481616377830505, 0.5070409774780273, -0.44564011693000793, -0.7415306568145752, -0.08389143645763397, -0.27678564190864563, -0.5214521288871765, 1.0241121053695679, 0.023650038987398148, 0.15101833641529083, -0.11617078632116318, -0.2870119512081146, -1.056776523590088, 0.8800210356712341, 0.2924332618713379, -0.6337680816650391, -0.3327982425689697, -0.00016811727255117148, 0.47260594367980957, -0.48538973927497864, 0.10015583038330078, 0.9430481791496277, 0.6227453351020813, -0.05018550902605057, -0.8967386484146118, -0.18201985955238342, -0.30696162581443787, -0.35802966356277466, 0.6225453019142151, -0.3685780465602875, 0.7428268790245056, -0.3143653869628906, -0.26920273900032043, -0.3160904049873352, 0.7766206860542297, -0.03850701078772545, 0.4581422805786133, 0.28398144245147705, 0.35369324684143066, 0.855156421661377, -0.06297401338815689, 0.8756662011146545, -0.38838833570480347, 0.609201192855835, 1.2326834201812744, -0.43971800804138184, 0.7582802772521973, 0.4892919063568115, -0.08197620511054993, 0.42145732045173645, 0.5100235342979431, -0.3028527796268463, 0.35030150413513184, -0.02020081877708435, -0.1374216079711914, 0.2062896490097046, -0.21627742052078247, -0.061439428478479385, 0.584890604019165, 0.4334309995174408, -0.3888718783855438, -0.11862173676490784, -0.3653325140476227, 0.08475778251886368, -0.1246538907289505, -0.10512708872556686, 0.8842267990112305, 0.3716702461242676, -0.47913858294487, -0.16961178183555603, 0.43474075198173523, 0.5294866561889648, -0.5745081305503845, -0.3245646059513092, -0.08139359951019287, 0.22935260832309723, -0.38814690709114075, -0.38087624311447144, 0.8576728701591492, 0.5543920993804932, -0.30537331104278564, -0.23752635717391968, 1.063788890838623, -0.3267928659915924, -0.5116345286369324, 0.3942019045352936, 0.7770882248878479, -0.051262810826301575, -0.01707017607986927, -0.5616272687911987, -0.6537151336669922, -0.011952019296586514, -0.29395100474357605, 0.15528038144111633, 0.7556305527687073, -0.12392367422580719, 0.3221976161003113, 0.7298376560211182, 0.37039658427238464, -0.2093876600265503, 0.18634386360645294, 0.5609616041183472, -1.246846079826355, -0.4270259141921997, -1.043515682220459, 0.050114672631025314, -0.5132046341896057, -0.5378561615943909, 0.6347578763961792, 0.9500799775123596, 0.7304461002349854, 0.08369564265012741, 0.7674330472946167, -0.18510690331459045, 0.2807995676994324, -0.41281381249427795, 0.3839056193828583, -0.006670818198472261, 0.2829456627368927, -0.4408182203769684, -1.1433807611465454, -0.22507962584495544, 0.4799143671989441, -0.432976096868515, -0.260748028755188, 0.5965221524238586, 0.4116806387901306, -0.18348202109336853, 0.22328157722949982, -0.06291201710700989, 0.1511206328868866, 0.20511479675769806, 0.2989432215690613, 0.4029313027858734, -0.6971288323402405, 0.6795346736907959, -0.5207520127296448, 0.05757894739508629, 0.1663532555103302, -0.7586802840232849, -0.5524033904075623, -0.28104087710380554, -0.4007696807384491, -0.21996814012527466, -0.3296661376953125, 0.9116944074630737, 0.5015398859977722, -0.7966562509536743, -0.7172655463218689, 0.0398874431848526, 0.30763232707977295, -0.25675395131111145, -0.3925955891609192, 0.5434527397155762, -0.24208486080169678, -0.739642858505249, 0.4078221619129181, 0.5954980850219727, 0.25038760900497437, 0.005450850818306208, 0.23779648542404175, -0.2712458372116089, -0.3200739622116089, 0.5773743391036987, 0.13067685067653656, -0.047080691903829575, -0.14073693752288818, 0.18447162210941315, 0.029019752517342567, 0.2594664692878723, 0.9377631545066833, -0.5882312059402466, 0.12120018154382706, 0.40374207496643066, 0.6728545427322388, 0.7750332951545715, 0.23306049406528473, 0.8695254325866699, -0.5933997631072998, 0.03312378749251366, 0.13476167619228363, 0.19648034870624542, 0.21551842987537384, -0.6317834258079529, 0.701093852519989, 0.3023131489753723, -0.46124979853630066, -0.3786885738372803, -0.07492530345916748, -0.8057505488395691, 0.13509486615657806, 0.7315133213996887, -0.20379048585891724, -0.5229303240776062, -0.5126639008522034, -0.2176753580570221, 0.4371236562728882, -0.5977506637573242, 0.7626293897628784, 0.7867574691772461, -0.27029407024383545, 0.14376965165138245, -0.8141405582427979, 0.4463539123535156, -0.027645017951726913, -1.0209031105041504, -0.002701789140701294, 0.06177274510264397, 0.21935929358005524, 0.3246561586856842, 0.6171234846115112, -0.3300890326499939, 0.023151922971010208, -0.08804953843355179, 0.142251655459404, 0.28916093707084656, -0.3307119607925415, -0.3123023211956024, 0.5499049425125122, -0.32005247473716736, 0.13916495442390442 ]
http://arxiv.org/abs/2403.09073v1
http://arxiv.org/pdf/2403.09073v1
Large Language Models are Parallel Multilingual Learners
2024-03-14T03:33:46
2024-03-14T03:33:46
Yongyu Mu, Peinan Feng, Zhiquan Cao, Yuzhang Wu, Bei Li, Chenglong Wang, Tong Xiao, Kai Song, Tongran Liu, Chunliang Zhang, Jingbo Zhu
cs.CL
cs.CL
In this study, we reveal an in-context learning (ICL) capability of multilingual large language models (LLMs): by translating the input to several languages, we provide Parallel Input in Multiple Languages (PiM) to LLMs, which significantly enhances their comprehension abilities. To test this capability, we design extensive experiments encompassing 8 typical datasets, 7 languages and 8 state-of-the-art multilingual LLMs. Experimental results show that (1) incorporating more languages help PiM surpass the conventional ICL further; (2) even combining with the translations that are inferior to baseline performance can also help. Moreover, by examining the activated neurons in LLMs, we discover a counterintuitive but interesting phenomenon. Contrary to the common thought that PiM would activate more neurons than monolingual input to leverage knowledge learned from diverse languages, PiM actually inhibits neurons and promotes more precise neuron activation especially when more languages are added. This phenomenon aligns with the neuroscience insight about synaptic pruning, which removes less used neural connections, strengthens remainders, and then enhances brain intelligence.
[ -0.5456321835517883, -0.7188087105751038, 0.7095827460289001, 0.435524046421051, -0.2106025218963623, 0.1870322823524475, -0.8268839120864868, -0.4391072392463684, -0.17109236121177673, 0.0983191505074501, -0.326843798160553, -0.2799924314022064, -0.5780758261680603, 0.3062680959701538, -0.16245520114898682, 0.8654680252075195, 0.02740688994526863, 0.5308998823165894, -0.3301754593849182, -0.4009149968624115, -0.530182421207428, -0.6188949942588806, -0.6696211695671082, -0.6396069526672363, 0.9356818795204163, 0.3856275677680969, 0.3098061978816986, 0.15343618392944336, 0.3342883288860321, 0.3064371645450592, -0.237763449549675, 0.14334668219089508, -0.32777419686317444, 0.05754386633634567, -0.1698446273803711, -0.7393816709518433, -0.2639681100845337, -0.2936308681964874, 0.9867390394210815, 0.9343152046203613, -0.006183386314660311, 0.00931636244058609, 0.35527023673057556, 0.5978559255599976, -0.5498548746109009, 0.24246421456336975, -0.8039870858192444, -0.05789436399936676, -0.07436758279800415, -0.0544186532497406, -0.7699372172355652, 0.13894394040107727, 0.07052166759967804, -0.34878161549568176, -0.11455348134040833, -0.19603942334651947, 0.3917992413043976, 0.07706820964813232, -0.5847721695899963, -0.09883496165275574, -0.502119243144989, 0.7000313997268677, -0.6111782193183899, 0.4819043278694153, 0.2217262238264084, 0.1670452207326889, -0.06599519401788712, -0.44335460662841797, -0.7078237533569336, -0.3710283935070038, -0.2645467519760132, -0.09092120826244354, 0.23753008246421814, 0.06432614475488663, 0.5384579300880432, 0.1368916779756546, -0.5068906545639038, 0.2835122048854828, -0.5053368806838989, 0.024638647213578224, 0.3326796293258667, -0.03867208957672119, 0.6504607796669006, 0.22050867974758148, -0.3693073093891144, -0.12417580187320709, -0.9101696610450745, 0.30362948775291443, 0.14372985064983368, 0.3451957404613495, -0.18960990011692047, 0.3289492726325989, 0.1089414581656456, 0.8844841122627258, -0.3304521441459656, -0.38461360335350037, 0.32958152890205383, -0.23210358619689941, -0.07247639447450638, 0.11158322542905807, 0.7306329607963562, 0.08122587949037552, 0.47514480352401733, -0.21869856119155884, -0.12330304831266403, -0.25502073764801025, -0.1527339518070221, -0.7507256269454956, 0.05916878581047058, 0.12064529210329056, -0.2681002616882324, 0.2397056668996811, -0.12686797976493835, -0.4087451994419098, -0.11865188181400299, -0.3632729649543762, 0.24800433218479156, -0.6918107271194458, -0.3519800007343292, 0.13688936829566956, -0.14732229709625244, 0.23603667318820953, 0.17035193741321564, -1.0265424251556396, 0.2457973212003708, 0.6057392358779907, 0.8362422585487366, -0.3401793837547302, -0.9917047023773193, -0.35558193922042847, 0.20323170721530914, -0.43011680245399475, 0.5927524566650391, -0.6145217418670654, -0.1488703042268753, -0.09801599383354187, 0.08531229943037033, -0.3568611443042755, -0.6553203463554382, 0.06278324872255325, -0.6840416789054871, -0.13638955354690552, -0.4559989273548126, -0.18288558721542358, -0.4693882167339325, 0.3031053841114044, -0.5345835089683533, 0.6149320006370544, -0.2770073413848877, -0.5738537907600403, 0.3962174952030182, -0.4542284905910492, -0.6629020571708679, 0.09904659539461136, -0.21878409385681152, -0.009937457740306854, 0.31562983989715576, 0.24051953852176666, 0.4770735502243042, -0.258517324924469, 0.5443465709686279, -0.3939245641231537, -0.3304806053638458, 0.48926815390586853, -0.4818818271160126, 0.8723935484886169, -0.054323188960552216, -0.15813681483268738, 0.21926559507846832, -0.23655691742897034, 0.016735369339585304, 0.13692545890808105, -0.5058021545410156, -0.3798893094062805, -0.035852186381816864, -0.02872324548661709, 0.48985686898231506, 0.08241769671440125, -0.528494119644165, 0.06579972058534622, -0.4102775752544403, 0.6278136968612671, 0.4172361493110657, -0.20768490433692932, 0.4955463707447052, -0.3125919699668884, 0.351723849773407, 0.13015688955783844, -0.2887619137763977, -0.5335431098937988, -0.33000415563583374, -0.7173964381217957, -0.36366400122642517, 0.14655089378356934, 0.40639638900756836, -0.8047115802764893, 0.040201857686042786, -0.27161431312561035, -0.17729391157627106, -0.10299468040466309, 0.39952152967453003, 0.27190011739730835, 0.4466038942337036, 0.30619344115257263, -0.08541151881217957, -0.10304294526576996, -0.8397343754768372, -0.2872568666934967, 0.15305715799331665, 0.07211991399526596, 0.26003891229629517, 0.5464299321174622, 0.08737889677286148, 0.5842629075050354, 0.05132872983813286, -0.09964945167303085, -0.5373260378837585, -0.15262511372566223, 0.19749699532985687, 0.4015870690345764, 0.5503222346305847, -0.8361432552337646, -0.7917979955673218, 0.2200920432806015, -0.8776755928993225, 0.33354052901268005, -0.19257499277591705, 0.17412810027599335, -0.029152076691389084, 0.6703160405158997, -0.6143741607666016, 0.04367993772029877, 0.5093727707862854, -0.0300831850618124, 0.36109232902526855, -0.5579683780670166, -0.08940371870994568, -0.8544657826423645, -0.036904022097587585, -0.09827212244272232, 0.029511692002415657, -0.6023459434509277, 0.14843721687793732, 0.580708920955658, -0.25685733556747437, -0.6606666445732117, 0.7389181852340698, -0.6223088502883911, -0.17032746970653534, -0.418186217546463, 0.10232806950807571, -0.060755278915166855, 0.6089922189712524, 0.2448570430278778, 0.7633333206176758, 0.9149733781814575, -0.6018356680870056, 0.14944469928741455, -0.03352782875299454, -0.6478959321975708, 0.24393370747566223, -0.6897975206375122, -0.048047732561826706, -0.3628343939781189, 0.34063732624053955, -0.9822371602058411, -0.40575769543647766, -0.2649354934692383, -0.2637757956981659, 0.49912598729133606, 0.13123475015163422, -0.6794280409812927, -0.10910553485155106, 0.14239972829818726, 0.7183657288551331, 0.30122682452201843, -0.9110714197158813, 0.43567389249801636, 0.27129143476486206, -0.2660890519618988, -0.5007870197296143, -0.9151381850242615, 0.11338299512863159, -0.3900224268436432, -0.4669114649295807, 0.1832648515701294, -0.11800116300582886, -0.3985773026943207, -0.2429209053516388, 0.2527792155742645, -0.09333537518978119, 0.25525206327438354, -0.07239628583192825, 0.1194647029042244, -0.26612627506256104, 0.4681079089641571, 0.07442693412303925, 0.03871450573205948, 0.0763104259967804, -0.24654799699783325, 0.7689818143844604, -0.24696341156959534, -0.5023789405822754, -0.439664751291275, 0.4668219983577728, 0.8858606219291687, -0.6407228708267212, 0.9361255168914795, 0.3758610486984253, -0.22669006884098053, -0.37959927320480347, -0.2736319899559021, -0.37652167677879333, -0.4428274631500244, 0.6200100183486938, -0.7036951780319214, -0.9049846529960632, 0.5741481184959412, -0.2537725567817688, -0.03130881488323212, 0.2489672750234604, 0.5934545397758484, 0.07286659628152847, 1.0731406211853027, 0.4897001087665558, -0.09681853652000427, 0.5339570045471191, -0.16240811347961426, 0.2905462682247162, -0.9731642603874207, -0.23227983713150024, -0.2190018892288208, -0.4734173119068146, -0.31377801299095154, -0.33583495020866394, 0.5092725157737732, 0.4029451608657837, -0.1476055234670639, -0.0416693240404129, -0.03489011153578758, 0.792079746723175, 0.36274850368499756, 0.16016261279582977, 0.2224608063697815, 0.2522541880607605, -0.4701649248600006, 0.024478597566485405, -0.8841692805290222, -0.21632236242294312, 1.013114094734192, 0.4052194058895111, 0.5100299715995789, 0.13281013071537018, 0.35932764410972595, -0.4177663326263428, 0.43954241275787354, -0.8809686303138733, 0.36424681544303894, -0.21860286593437195, -0.6493687629699707, -0.2504301369190216, -0.23971915245056152, -0.6257355213165283, 0.66364985704422, -0.12466488778591156, -0.8224011659622192, 0.18836849927902222, -0.07945159822702408, -0.3081454336643219, 0.4833725690841675, -0.7454656958580017, 0.6782057881355286, -0.6908264756202698, -0.5520621538162231, -0.5475306510925293, -0.29353469610214233, 0.4801536798477173, -0.31845927238464355, 0.3036195933818817, -0.0652199313044548, -0.13101071119308472, 0.34272462129592896, 0.07263638824224472, 0.782667338848114, 0.07249649614095688, -0.02940715290606022, 0.006646367255598307, -0.031353093683719635, 0.2628788948059082, 0.3245312571525574, -0.1992860734462738, 0.320392370223999, -0.38922956585884094, -0.506310224533081, -0.5285719633102417, 1.0011839866638184, -0.7141881585121155, -0.7154352068901062, -0.3147833049297333, -1.138853907585144, -0.40884724259376526, 0.2966306507587433, 0.19124257564544678, 0.35991987586021423, 0.001975168939679861, 0.481786847114563, 0.7658604979515076, -0.37025368213653564, 0.7783358693122864, 0.5055092573165894, -0.2712278962135315, -0.29576635360717773, 0.7260865569114685, 0.15325041115283966, 0.5995423793792725, 0.2857254147529602, 0.17152340710163116, -0.1323416829109192, -0.6962432265281677, -0.4883386492729187, 0.4140259325504303, -0.720992386341095, 0.21767663955688477, -0.7496406435966492, -0.11266674101352692, -0.18550385534763336, -0.12301675230264664, -0.10368391126394272, -0.08555346727371216, 0.14811913669109344, -0.09225951135158539, 0.03310322016477585, 0.6925097703933716, 0.026192298159003258, 0.46554240584373474, -0.7636173367500305, 0.245503231883049, 0.3361840844154358, 0.27984827756881714, 0.32129451632499695, -0.4316059947013855, -0.3174741268157959, 0.13112635910511017, -0.03547775745391846, -0.7217640280723572, 0.45059919357299805, 0.4078350067138672, 0.8077648282051086, 0.34250253438949585, -0.36749017238616943, 0.6454997062683105, -0.7539986968040466, 0.510047435760498, 0.3489677309989929, -0.7579684853553772, 0.05873359739780426, -0.42503291368484497, 0.8266395926475525, 0.4473019540309906, 0.6731202006340027, -0.5831083059310913, -0.24640728533267975, -0.23804360628128052, -0.6991588473320007, 0.7875475287437439, -0.37573400139808655, 0.30821341276168823, -0.0859236866235733, 0.34222882986068726, 0.14319780468940735, 0.1604890525341034, -0.9927451014518738, -0.24567094445228577, 0.32254481315612793, 0.0878702700138092, -0.5253611207008362, -0.3323573172092438, -0.11999331414699554, -0.46512672305107117, 0.4121756851673126, -0.23124974966049194, -0.035566627979278564, 0.00782286748290062, -0.3142516016960144, 0.10298958420753479, 0.19930477440357208, 0.5780269503593445, 1.0428640842437744, 0.18012173473834991, 0.2870927155017853, 0.6072540879249573, -0.11844101548194885, 0.01625760644674301, -0.21413205564022064, -0.14257146418094635, -0.09252431243658066, 0.547754168510437, 0.8871563076972961, 0.20100253820419312, -0.7317119836807251, 0.33939212560653687, -0.28492000699043274, -0.13275130093097687, -0.18676556646823883, 0.0023413083981722593, 0.43056127429008484, 0.2803231477737427, 0.4542013108730316, 0.21817350387573242, -0.24208836257457733, -0.6102473139762878, 0.2261885553598404, 0.5352038145065308, -0.35385286808013916, -0.24652759730815887, 0.4048100709915161, 0.04258716478943825, -0.30640503764152527, 0.59856116771698, -0.10864618420600891, -0.7162027359008789, 0.7597171664237976, 0.9254403710365295, 0.5773885846138, -0.17534677684307098, -0.12084537744522095, 0.5870214700698853, 0.391874760389328, -0.23328907787799835, 0.04952915757894516, -0.24631404876708984, -0.7949923872947693, -0.8020011186599731, -0.5488875508308411, -0.029478128999471664, 0.24609121680259705, -0.43567419052124023, 0.2850877046585083, -0.36716991662979126, 0.1362583041191101, -0.044139303267002106, -0.3512369692325592, -0.5836647152900696, -0.10336412489414215, 0.27945563197135925, 0.9818952083587646, -0.9543429017066956, 1.4753849506378174, 0.77167809009552, -0.09942229837179184, -0.7160844206809998, 0.1591378152370453, -0.27470797300338745, -0.4970393478870392, 1.0502184629440308, 0.4214961528778076, 0.09511231631040573, -0.021388761699199677, -0.33300262689590454, -0.8561978340148926, 0.6583433747291565, 0.655353307723999, -0.678304135799408, 0.09025826305150986, 0.256674200296402, 0.4306887090206146, -0.4915151298046112, 0.40999835729599, 0.3593885004520416, 0.4029083847999573, -0.171238511800766, -0.9961116909980774, -0.183724507689476, -0.23054169118404388, -0.12239422649145126, 0.11385563760995865, -0.6446530818939209, 1.1014268398284912, -0.35163962841033936, -0.038915008306503296, -0.1708041876554489, 0.5576470494270325, 0.3989122807979584, 0.1216491088271141, 0.5583833456039429, 0.31644269824028015, 0.7384279370307922, 0.03734366595745087, 1.181593418121338, -0.5257843136787415, 0.031648457050323486, 1.2002063989639282, -0.25088685750961304, 0.9439591765403748, 0.7590504884719849, 0.1550198197364807, 0.40628451108932495, 0.5502246618270874, 0.29811611771583557, 0.40923604369163513, 0.1359015852212906, -0.4718957841396332, -0.6112967133522034, -0.153555765748024, -0.22433225810527802, 0.3868139386177063, 0.6636859774589539, -0.20635634660720825, -0.2118242233991623, 0.6080304980278015, -0.036998193711042404, 0.2672197222709656, -0.31003913283348083, 0.5674288272857666, 0.4125705659389496, -0.8805856108665466, 0.6063194274902344, -0.11097274720668793, 0.6973378658294678, -0.6690064072608948, 0.07539796829223633, -0.16212144494056702, 0.3617016673088074, -0.07784932851791382, -0.6258610486984253, 0.17975156009197235, -0.1985388994216919, -0.24850040674209595, -0.3364483416080475, 0.48419371247291565, -0.6866169571876526, -0.5052951574325562, 0.839417576789856, 0.477886438369751, -0.025819089263677597, -0.17504264414310455, -0.5589205026626587, 0.06233767420053482, -0.0038813932333141565, -0.14281028509140015, 0.6698518991470337, 0.3301650583744049, -0.23075273633003235, 0.8099103569984436, 0.5756955742835999, 0.2566623389720917, 0.13745497167110443, -0.058673564344644547, 0.7365943789482117, -0.5169376730918884, -0.3896671533584595, -1.0669100284576416, 0.42800864577293396, 0.02066696621477604, -0.15468105673789978, 0.8353686928749084, 0.457975834608078, 1.227626919746399, -0.04523172974586487, 0.8011665344238281, 0.06573605537414551, 0.1911027580499649, -0.4264261722564697, 0.7368874549865723, -0.654542863368988, 0.16707521677017212, 0.23797012865543365, -0.8492510914802551, -0.4042271375656128, 0.36532753705978394, -0.7026007175445557, -0.06411547213792801, 1.0083264112472534, 0.6680888533592224, -0.20607072114944458, -0.08922778815031052, 0.5544067025184631, 0.1402871012687683, 0.15632179379463196, 0.710972249507904, 0.9407016634941101, -0.1403040885925293, 0.2981022298336029, -0.4311659038066864, -0.150421142578125, 0.1888595074415207, -0.5386509299278259, -1.3111202716827393, -0.48486119508743286, -0.02401144616305828, -0.008256842382252216, -0.1204509437084198, 0.761641800403595, 0.7272977232933044, -0.8489987254142761, -0.6341502070426941, -0.11262389272451401, 0.2879839837551117, -0.1479603350162506, -0.10731369256973267, 0.25127267837524414, -0.785558819770813, -1.0255578756332397, 0.7777096033096313, 0.2828904688358307, -0.27065038681030273, -0.24713937938213348, -0.19399455189704895, -0.4589868187904358, -0.39638423919677734, 0.7019107937812805, 0.19432751834392548, -0.6667850017547607, 0.0760723128914833, 0.019949564710259438, -0.16865479946136475, 0.02180499956011772, 0.9259250164031982, -0.5958186388015747, 0.45468538999557495, 0.7014976739883423, 0.7068741917610168, 0.37514224648475647, -0.3657020032405853, 0.7411465644836426, -0.49828729033470154, 0.7392020225524902, 0.039936333894729614, 0.6675565838813782, 0.23327645659446716, -0.22741764783859253, -0.044073887169361115, -0.08890453726053238, -0.3136710226535797, -0.6601619124412537, 0.1446608603000641, -0.5123354196548462, -0.6588597893714905, 1.2700579166412354, -0.2694031596183777, -0.3812978267669678, 0.014697265811264515, -0.07253722846508026, 0.0874740332365036, -0.04845106601715088, 0.4224011301994324, 0.8726840615272522, -0.022327672690153122, -0.21541930735111237, -0.8193501830101013, 0.32058730721473694, 0.7595086097717285, -0.5479655265808105, -0.04035875201225281, 0.1705184429883957, 0.2242901623249054, 0.10628373175859451, 0.2889145612716675, -0.14947758615016937, 0.4433687925338745, -0.3153407871723175, 0.01918601617217064, 0.003487786278128624, -0.6539737582206726, -0.7453502416610718, 0.30743545293807983, 0.32604047656059265, 0.09033374488353729 ]
http://arxiv.org/abs/2403.09072v1
http://arxiv.org/pdf/2403.09072v1
UniCode: Learning a Unified Codebook for Multimodal Large Language Models
2024-03-14T03:29:58
2024-03-14T03:29:58
Sipeng Zheng, Bohan Zhou, Yicheng Feng, Ye Wang, Zongqing Lu
cs.CV
cs.CV, cs.AI, cs.CL
In this paper, we propose \textbf{UniCode}, a novel approach within the domain of multimodal large language models (MLLMs) that learns a unified codebook to efficiently tokenize visual, text, and potentially other types of signals. This innovation addresses a critical limitation in existing MLLMs: their reliance on a text-only codebook, which restricts MLLM's ability to generate images and texts in a multimodal context. Towards this end, we propose a language-driven iterative training paradigm, coupled with an in-context pre-training task we term ``image decompression'', enabling our model to interpret compressed visual data and generate high-quality images.The unified codebook empowers our model to extend visual instruction tuning to non-linguistic generation tasks. Moreover, UniCode is adaptable to diverse stacked quantization approaches in order to compress visual signals into a more compact token representation. Despite using significantly fewer parameters and less data during training, Unicode demonstrates promising capabilities in visual reconstruction and generation. It also achieves performances comparable to leading MLLMs across a spectrum of VQA benchmarks.
[ -0.2798648178577423, -0.5333564877510071, -0.012597448192536831, 0.2182677686214447, -0.3641184866428375, 0.1779624968767166, -0.5028942823410034, -0.1617143303155899, 0.18515382707118988, 0.5372777581214905, -0.42099830508232117, -0.6551299095153809, -0.4628327488899231, 0.21961475908756256, -0.29877880215644836, 0.7417919635772705, 0.13236477971076965, 0.09234178066253662, -0.35811758041381836, -0.19828163087368011, -0.6977053284645081, -0.8004158735275269, -0.2633339762687683, 0.2866601049900055, 0.4481605589389801, 0.4377098083496094, 0.659172534942627, 0.48241227865219116, 0.38681864738464355, 0.3880652189254761, 0.4860870838165283, 0.24077798426151276, -0.5296381711959839, 0.10015305876731873, 0.12662449479103088, -0.27235931158065796, -0.0992589220404625, -0.4344620108604431, 0.9403395652770996, 0.7146462202072144, 0.014421596191823483, 0.09637561440467834, 0.07215426862239838, 0.5843082666397095, -0.6507348418235779, 0.38549983501434326, -0.6247482299804688, 0.051973607391119, -0.2626049220561981, -0.22217874228954315, -0.8382406234741211, 0.03540860116481781, -0.5280289053916931, -0.722502589225769, -0.07677704840898514, 0.017419228330254555, 0.7590076327323914, 0.14119037985801697, -0.7884096503257751, -0.06735959649085999, -0.4162445068359375, 1.0003324747085571, -0.13314001262187958, 0.796265184879303, 0.16946524381637573, 0.16047723591327667, -0.0818689838051796, -0.9806101322174072, -0.3500717580318451, -0.045685745775699615, 0.11322124302387238, 0.11398865282535553, -0.16603976488113403, -0.000627778354100883, 0.18263259530067444, 0.1609896570444107, -0.7167342901229858, 0.05375470966100693, -0.4043937623500824, -0.42955631017684937, 0.4826905131340027, 0.0561300627887249, 0.734239935874939, -0.14972302317619324, -0.4223797917366028, -0.2187120020389557, -0.6291030645370483, 0.0767497643828392, 0.011244203895330429, 0.41536855697631836, -0.07589320838451385, 0.35149434208869934, 0.05696646496653557, 0.7084444761276245, -0.49244195222854614, -0.024013042449951172, 0.2709329128265381, -0.13244770467281342, -0.31400951743125916, -0.03431905433535576, 0.7807042598724365, 0.24248789250850677, 0.30897849798202515, -0.035539958626031876, -0.2415144145488739, 0.10778595507144928, 0.2654898166656494, -1.0024409294128418, -0.26912423968315125, -0.09667079895734787, -0.6996327638626099, -0.04652044177055359, 0.06368215382099152, -0.7345712780952454, -0.3930976092815399, -0.4012385606765747, 0.36840325593948364, -0.5124624967575073, -0.5428231358528137, -0.25303971767425537, -0.029010973870754242, 0.030223051086068153, 0.41071197390556335, -1.0999497175216675, -0.059963155537843704, 0.32722175121307373, 0.6572387218475342, 0.17254559695720673, -0.3072669506072998, -0.8290115594863892, -0.04182342439889908, -0.6313251852989197, 0.7193233370780945, -0.864264190196991, -0.5471025705337524, 0.22767330706119537, -0.11021561920642853, -0.12222457677125931, -0.265375554561615, 0.2727387547492981, -0.33892080187797546, -0.27141842246055603, -0.24432601034641266, -0.4104529917240143, -0.16890156269073486, -0.08953915536403656, -0.8787269592285156, 0.6741882562637329, 0.15744026005268097, -0.5826104283332825, 0.5284618735313416, -0.5699144005775452, -0.4514594078063965, 0.4367842972278595, -0.46071022748947144, -0.24670244753360748, 0.3290373682975769, 0.29813629388809204, 0.4952443242073059, -0.09320541471242905, 0.1575242131948471, -0.4271436631679535, -0.4604792892932892, 0.15996193885803223, -0.607521116733551, 0.6517677307128906, 0.5446824431419373, 0.16008217632770538, 0.3498539328575134, -0.7032736539840698, 0.29139530658721924, 0.21359901130199432, -0.36993953585624695, -0.41994500160217285, -0.13458044826984406, 0.6601335406303406, 0.08297964185476303, 0.08317916095256805, -0.4169045388698578, 0.626061737537384, 0.012833371758460999, 0.4918504059314728, 0.6540741920471191, -0.3366580605506897, 0.51988685131073, 0.1274431198835373, 0.34969544410705566, 0.15765871107578278, 0.20894324779510498, -0.8104733228683472, -0.3358590602874756, -0.6529021263122559, -0.5768634080886841, 0.4860893785953522, 0.09340780973434448, -1.1997555494308472, 0.015535162761807442, -0.4601854681968689, -0.2177337259054184, -0.4146445095539093, 0.41681063175201416, 0.40284740924835205, 0.12212192267179489, 0.2615044116973877, -0.3388557434082031, -0.7061984539031982, -0.5817743539810181, -0.15720242261886597, 0.09046964347362518, 0.1983073204755783, 0.076618991792202, 0.5886064767837524, -0.46312034130096436, 0.5627604126930237, -0.03028566762804985, -0.4269092082977295, -0.4388889968395233, 0.3091070353984833, -0.05991841480135918, 0.6272768974304199, 0.4203372895717621, -1.193017840385437, -0.4724138379096985, 0.06438557803630829, -1.001609206199646, 0.3741869032382965, -0.22267526388168335, -0.07134874910116196, 0.6630113124847412, 0.717126190662384, -0.21632790565490723, 0.39093372225761414, 0.6077167987823486, -0.40609660744667053, 0.3626996874809265, -0.25889068841934204, 0.17623992264270782, -1.2403749227523804, -0.003089339006692171, 0.053220488131046295, -0.18812769651412964, -0.5307961702346802, 0.2995613217353821, 0.5984209179878235, -0.38036099076271057, -0.3361359238624573, 0.5961400866508484, -0.710110604763031, -0.063583143055439, -0.10484885424375534, -0.29614612460136414, -0.04004781320691109, 0.5559333562850952, 0.3501758873462677, 0.6571016907691956, 0.8343297839164734, -0.38741201162338257, 0.23541224002838135, 0.41798165440559387, -0.5006552934646606, 0.5015414953231812, -0.14185179769992828, -0.012975002638995647, -0.32680743932724, 0.2101549357175827, -0.8096383810043335, -0.34684380888938904, -0.2689340114593506, -0.47264885902404785, 0.5922355651855469, -0.19453217089176178, -0.5779871940612793, -0.3667614459991455, -0.12818226218223572, 0.5093979239463806, 0.5937033295631409, -0.6945528984069824, 0.6917107701301575, 0.2520783245563507, -0.07100971788167953, -0.7204188704490662, -0.6637239456176758, 0.3915560841560364, 0.09485498815774918, -0.40600377321243286, -0.06812373548746109, -0.24181218445301056, -0.06613319367170334, -0.0023632398806512356, -0.007991684600710869, -0.15531902015209198, 0.17603598535060883, 0.4399900734424591, 0.3317200839519501, -0.3741905987262726, 0.5038812160491943, 0.11344963312149048, -0.03307386860251427, -0.31960204243659973, -0.4929625988006592, 0.444467693567276, -0.40413519740104675, -0.21161076426506042, -0.25692304968833923, 0.5546542406082153, 0.4769015312194824, -0.6191625595092773, 0.5778561234474182, 0.7373184561729431, -0.3414469361305237, -0.2319488823413849, -0.09520822018384933, 0.05294577777385712, -0.4683764576911926, 0.6480893492698669, -0.7084052562713623, -0.6429134607315063, 0.10535485297441483, -0.09149092435836792, 0.12304862588644028, 0.29485228657722473, 0.7046679258346558, -0.013238845393061638, 1.1268020868301392, 0.920479953289032, 0.03856612741947174, 0.6119359731674194, -0.39441773295402527, -0.04074474051594734, -0.5231484770774841, -0.17734107375144958, -0.4018515348434448, -0.1131257489323616, -0.4554886817932129, -0.27051135897636414, 0.2288244366645813, 0.23737886548042297, -0.30696314573287964, 0.2556951642036438, -0.382913738489151, 0.6103575825691223, 0.6566435098648071, -0.011576822027564049, 0.20235097408294678, 0.3248886168003082, -0.23404884338378906, 0.043044161051511765, -0.7277042865753174, -0.32040220499038696, 1.2781420946121216, 0.02671535313129425, 0.9537339210510254, 0.10505513101816177, 0.7805635929107666, 0.36475011706352234, 0.4537697434425354, -0.7011159658432007, 0.3483823835849762, -0.27398067712783813, -0.23281314969062805, -0.15068668127059937, -0.5744888186454773, -1.01054847240448, 0.3017014265060425, -0.35515403747558594, -0.8371750116348267, -0.004876596387475729, 0.03141046687960625, -0.04379360377788544, 0.3251701593399048, -0.855989396572113, 1.1139265298843384, -0.16254322230815887, -0.32207512855529785, -0.025164267048239708, -0.6046421527862549, 0.2836371958255768, -0.20275254547595978, 0.40203359723091125, 0.17745333909988403, 0.018714645877480507, 0.620388925075531, -0.2140413075685501, 0.7606972455978394, -0.19695307314395905, -0.18577715754508972, 0.15706734359264374, 0.35474643111228943, 0.12792044878005981, -0.01866094022989273, 0.152434304356575, 0.366385281085968, 0.07095812261104584, -0.5400063395500183, -0.4623190462589264, 0.7560807466506958, -0.7986859679222107, -0.19593656063079834, -0.175860196352005, -0.8101711869239807, -0.2158910036087036, 0.42983850836753845, 0.2194560170173645, 1.2211905717849731, -0.05218395218253136, 0.4864795207977295, 0.3464577794075012, -0.4475986957550049, 0.6610190272331238, 0.20134606957435608, -0.3644316792488098, -0.473215252161026, 1.4050620794296265, -0.07021299749612808, 0.05160798877477646, 0.7186933159828186, -0.17297734320163727, -0.49575671553611755, -0.3141115605831146, -0.7593106627464294, -0.04129043594002724, -1.0476222038269043, -0.30219513177871704, -0.420384019613266, -0.038125213235616684, -0.5304365158081055, -0.2528579831123352, -0.3255976140499115, -0.10638636350631714, -0.30691882967948914, 0.2260173261165619, 0.0740765929222107, 0.7063892483711243, 0.020619530230760574, 0.04163329303264618, -1.1291943788528442, 0.3533572852611542, 0.06193436682224274, 0.3412693440914154, -0.06235707923769951, -0.26808038353919983, -0.43632200360298157, 0.2022591382265091, -0.2541496157646179, -0.5313352346420288, 0.5784391760826111, 0.4920918643474579, 0.4438149631023407, 0.5060526132583618, 0.09872427582740784, 0.725246012210846, -0.4240623116493225, 0.7847313284873962, 0.615145742893219, -1.0054622888565063, 0.31786784529685974, -0.16167201101779938, 0.4259451925754547, 0.1460651010274887, 0.4173130989074707, -0.6150893568992615, -0.3152235746383667, -0.3063633441925049, -0.6931615471839905, 0.4521840512752533, 0.13910061120986938, 0.380504846572876, 0.02554740197956562, -0.0898348018527031, 0.176096573472023, 0.21980492770671844, -0.854680061340332, -0.08622565120458603, -0.6001893877983093, -0.6472621560096741, -0.20407307147979736, -0.2398625910282135, 0.17384964227676392, -0.25813373923301697, 0.2664420008659363, -0.6052389740943909, 0.31548625230789185, -0.009613006375730038, -0.7504824995994568, 0.009256616234779358, 0.1436154842376709, 0.5361103415489197, 0.5727394819259644, 0.1474047601222992, 0.17144562304019928, -0.4166352450847626, -0.4414823651313782, -0.009025299921631813, -0.11687126755714417, 0.16908231377601624, -0.18567264080047607, 0.5744604468345642, 0.9841423630714417, 0.26934814453125, -0.8638027906417847, 0.5502870678901672, -0.38739317655563354, -0.30253317952156067, -0.14011366665363312, -0.18062126636505127, -0.2311313897371292, 0.1760643869638443, 0.4542635381221771, 0.17997191846370697, -0.03218328580260277, -0.5953839421272278, 0.40011295676231384, 0.4837628901004791, -0.40393301844596863, -0.25718581676483154, 0.8586682677268982, 0.4197871685028076, -0.09080792963504791, 0.8627387881278992, -0.10437405854463577, -0.2930575907230377, 0.5586597919464111, 0.7836542129516602, 0.658506453037262, -0.027155939489603043, 0.3481389582157135, 0.4463254511356354, 0.17892631888389587, 0.23900935053825378, 0.37944266200065613, -0.45585140585899353, -0.627858579158783, -0.40728437900543213, -0.7854329347610474, -0.08086308091878891, -0.05809079855680466, -0.6070339679718018, 0.26041534543037415, -0.25550350546836853, 0.23660410940647125, -0.03267139568924904, -0.2070370614528656, -0.6592483520507812, 0.19415222108364105, 0.6097152233123779, 0.8672898411750793, -0.5538898706436157, 1.041823148727417, 0.7189823985099792, -0.7126728296279907, -0.7554482221603394, -0.26633933186531067, -0.09193464368581772, -0.9117902517318726, 0.9327194094657898, 0.49713727831840515, 0.28531327843666077, 0.3839223086833954, -0.6098659634590149, -0.6538253426551819, 0.7058371901512146, 0.47337865829467773, -0.6514285206794739, 0.180027574300766, 0.13644418120384216, 0.09313705563545227, -0.16331833600997925, 0.36846303939819336, 0.10175539553165436, 0.39168041944503784, 0.09354318678379059, -0.8010661005973816, -0.0493600070476532, -0.627940833568573, 0.35627150535583496, 0.3062613606452942, -0.46650591492652893, 0.8812506794929504, -0.44017282128334045, -0.3890060484409332, 0.3797946274280548, 0.8138710856437683, -0.15577483177185059, -0.01666042022407055, 0.2892438769340515, 0.3805335462093353, 0.7260228991508484, -0.16084891557693481, 1.1771957874298096, -0.30797716975212097, 0.3544589579105377, 0.6475946307182312, -0.18798154592514038, 0.8380811214447021, 0.43514400720596313, 0.2590404450893402, 0.4965039789676666, 0.5297773480415344, -0.028734523802995682, 0.3906978368759155, 0.034949999302625656, -0.1304592490196228, -0.5468986630439758, -0.1042492687702179, -0.21880266070365906, 0.5634075999259949, 0.36739179491996765, -0.15909193456172943, -0.3586488962173462, 0.6687864065170288, -0.21796071529388428, 0.1729838103055954, -0.6413949728012085, 0.7589737772941589, 0.04528067633509636, -0.47900572419166565, 1.0086042881011963, -0.15839911997318268, 0.4391878843307495, -0.691338837146759, -0.2363474816083908, -0.2972058951854706, 0.27148014307022095, -0.06745699048042297, -0.5514646172523499, -0.06917528063058853, -0.018141018226742744, 0.006085959263145924, -0.35329267382621765, 0.6770472526550293, -0.5551270246505737, -0.6590384244918823, 0.006152706686407328, 0.2214239090681076, 0.06643813103437424, -0.32027778029441833, -0.5551260709762573, 0.5358874201774597, 0.007483325898647308, -0.19766199588775635, 0.4036729335784912, 0.4304291903972626, -0.2036818563938141, 0.7212544083595276, 0.6121653914451599, -0.3061060607433319, 0.08142335712909698, 0.2736903727054596, 0.6890934705734253, -0.7679443359375, -0.5359057784080505, -0.676134467124939, 0.6389613747596741, 0.04616892710328102, -0.058461107313632965, 0.8111690878868103, 0.6203932762145996, 0.8580410480499268, -0.3470771312713623, 0.9672480225563049, -0.01016849186271429, -0.39128372073173523, -0.72507244348526, 0.7128159999847412, -1.0105634927749634, -0.26891958713531494, -0.2227443903684616, -0.6854878664016724, -0.5590310096740723, 0.3805826008319855, 0.22074273228645325, -0.022699331864714622, 0.7620292901992798, 0.6809734106063843, -0.0439230315387249, 0.015635564923286438, 0.7431808114051819, 0.24597203731536865, 0.3649074137210846, 0.7013684511184692, 0.8013243079185486, -0.4329865276813507, 0.7115235328674316, 0.14515750110149384, -0.21341252326965332, -0.2804999351501465, -0.7115800976753235, -0.932835042476654, -1.051270842552185, -0.14850544929504395, -0.15016041696071625, -0.22327746450901031, 1.0140458345413208, 0.8147489428520203, -0.5971873998641968, -0.22674232721328735, -0.1339716613292694, 0.06051529571413994, -0.19832292199134827, -0.18503107130527496, 0.25455063581466675, -0.696757972240448, -0.9107507467269897, 0.23019157350063324, 0.3434208333492279, 0.03214534744620323, -0.18232379853725433, -0.14453895390033722, 0.2042212039232254, -0.1322784274816513, 0.7885693311691284, 0.4250296652317047, -0.4840657413005829, 0.04034063592553139, -0.11022233963012695, -0.11184804886579514, -0.008260644041001797, 0.867825448513031, -0.793195903301239, 0.8238866329193115, 0.12957021594047546, 0.6906264424324036, 0.19187502562999725, -0.3546554744243622, 0.39483609795570374, -0.8521429300308228, 0.5081563591957092, 0.02023310214281082, 0.7149935960769653, 0.28363218903541565, -0.06622476130723953, 0.08951137214899063, 0.2231854647397995, -0.252465158700943, -0.933180570602417, 0.24337032437324524, -1.0583109855651855, -0.5669804811477661, 1.2436468601226807, 0.012603629380464554, -0.5339998602867126, 0.18930450081825256, -0.5025998950004578, 0.10655667632818222, -0.3865625262260437, 0.4154789447784424, 0.2702920436859131, 0.48018231987953186, -0.25666818022727966, -0.2628304064273834, 0.26688703894615173, -0.019219152629375458, -0.7618158459663391, 0.19792769849300385, 0.6396607160568237, 0.05663875490427017, 0.020091943442821503, 0.565833568572998, -0.07136369496583939, 0.4284351170063019, 0.27555057406425476, 0.4812402129173279, -0.364475280046463, -0.7293952107429504, -0.2943101227283478, 0.26223376393318176, -0.056712377816438675, -0.20335496962070465 ]
http://arxiv.org/abs/2403.09059v1
http://arxiv.org/pdf/2403.09059v1
LAMP: A Language Model on the Map
2024-03-14T02:56:38
2024-03-14T02:56:38
Pasquale Balsebre, Weiming Huang, Gao Cong
cs.CL
cs.CL
Large Language Models (LLMs) are poised to play an increasingly important role in our lives, providing assistance across a wide array of tasks. In the geospatial domain, LLMs have demonstrated the ability to answer generic questions, such as identifying a country's capital; nonetheless, their utility is hindered when it comes to answering fine-grained questions about specific places, such as grocery stores or restaurants, which constitute essential aspects of people's everyday lives. This is mainly because the places in our cities haven't been systematically fed into LLMs, so as to understand and memorize them. This study introduces a novel framework for fine-tuning a pre-trained model on city-specific data, to enable it to provide accurate recommendations, while minimizing hallucinations. We share our model, LAMP, and the data used to train it. We conduct experiments to analyze its ability to correctly retrieving spatial objects, and compare it to well-known open- and closed- source language models, such as GPT-4. Finally, we explore its emerging capabilities through a case study on day planning.
[ -0.37691450119018555, -0.9248991012573242, 1.0146944522857666, 0.18295757472515106, 0.07258223742246628, -0.22601528465747833, -0.5299365520477295, -0.6749848127365112, 0.009715871885418892, 0.4616779088973999, -0.3885299861431122, -0.8479527831077576, -0.3730739653110504, -0.01745874248445034, -0.5901687145233154, 0.6584436297416687, -0.0594843290746212, 0.04261045530438423, 0.0556526817381382, 0.08254294842481613, -0.5370474457740784, -0.4515482485294342, -0.47371581196784973, -0.48095273971557617, 0.5321635603904724, 0.7863021492958069, 0.9417755603790283, 0.4741680920124054, 0.6298400163650513, 0.20942045748233795, 0.24649840593338013, 0.10203941911458969, -0.6551215052604675, -0.3158203363418579, -0.2610158324241638, -0.33226579427719116, -0.3190579414367676, -0.047974251210689545, 0.2571690082550049, 0.9845771193504333, -0.2569669783115387, 0.23694173991680145, -0.3232211470603943, 0.49602794647216797, -0.3410925567150116, 0.19668634235858917, -0.8005567789077759, 0.026857372373342514, -0.28213050961494446, -0.09768105298280716, -0.15758316218852997, -0.48669832944869995, 0.34317341446876526, -0.482485294342041, 0.37473490834236145, 0.2945094406604767, 0.9514020681381226, 0.23562589287757874, -0.169609934091568, -0.28946632146835327, -0.9548495411872864, 0.6480048894882202, -0.3595081865787506, 0.309326171875, 0.7124068140983582, 0.5088528990745544, -0.10038454830646515, -0.49540475010871887, -0.5406702756881714, -0.29864493012428284, -0.20330564677715302, -0.22017759084701538, 0.10967985540628433, -0.12448320537805557, 0.2656574547290802, 0.22872735559940338, -0.5414532423019409, -0.08777253329753876, -0.4440038800239563, 0.276263564825058, 0.3683170974254608, 0.18395572900772095, 0.46146947145462036, -0.28386613726615906, -0.3498672842979431, 0.18191440403461456, -0.9684085845947266, -0.20278367400169373, 0.0026279324665665627, 0.2996172606945038, -0.029409049078822136, 0.47893214225769043, -0.15295328199863434, 0.8059583902359009, -0.19396652281284332, 0.1908932328224182, -0.030305759981274605, -0.006381393875926733, -0.2464100569486618, -0.23164090514183044, 0.5064799785614014, 0.38950276374816895, 0.7276992201805115, -0.27224135398864746, -0.22971203923225403, -0.012287449091672897, 0.16927574574947357, -0.5540798902511597, -0.8181993961334229, 0.23820196092128754, -0.16932719945907593, -0.07570165395736694, -0.060975220054388046, -0.6135087013244629, -0.5251097679138184, -0.3873625099658966, 0.10076248645782471, -0.37876611948013306, -0.3186599910259247, 0.3983333110809326, 0.32281315326690674, 0.2621921896934509, 0.33346736431121826, -1.2357566356658936, 0.2151910364627838, 0.6279694437980652, 0.7763532400131226, -0.3414500951766968, -0.49141645431518555, -0.038120996206998825, 0.3513450026512146, -0.5317881107330322, 0.9074148535728455, -0.667193591594696, -0.4655334949493408, 0.09659961611032486, -0.09128489345312119, 0.13903182744979858, -0.5654942393302917, 0.2831457853317261, -0.4678163528442383, 0.0819033831357956, -0.5016376972198486, -0.2286529392004013, -0.0035705785267055035, 0.3811989724636078, -0.5507265329360962, 1.1978957653045654, 0.24027836322784424, -0.5357205867767334, 0.36364880204200745, -0.6270691752433777, -0.38477909564971924, 0.020034316927194595, -0.35766172409057617, -0.16285139322280884, 0.33993589878082275, 0.5951765775680542, 0.40105515718460083, -0.19051063060760498, 0.4902733266353607, -0.0995442271232605, -0.4588555693626404, 0.14002561569213867, -0.16420020163059235, 0.5584617257118225, 0.2597295045852661, -0.15455828607082367, 0.253517210483551, -0.9119682312011719, -0.013996455818414688, 0.0683998167514801, -0.27685800194740295, -0.32732975482940674, 0.17253725230693817, 0.46867835521698, -0.0565066821873188, 0.5335374474525452, -0.37839239835739136, 0.27281635999679565, -0.4667237401008606, 0.3000147044658661, 0.6931571960449219, -0.4017413854598999, 0.5867614150047302, -0.15830190479755402, 0.4988652169704437, -0.2338642030954361, 0.1577504426240921, -0.12988486886024475, -0.3056993782520294, -0.7849977612495422, -0.08406797796487808, -0.020887436345219612, 0.49081018567085266, -0.6119582653045654, 0.16411028802394867, -0.42131251096725464, -0.6726648211479187, -0.08907507359981537, -0.000839704240206629, 0.008078284561634064, 0.3765249252319336, 0.3896847367286682, -0.018170317634940147, -0.7465847134590149, -0.45468130707740784, -0.05732015520334244, 0.07100501656532288, -0.0025471425615251064, 0.5746040940284729, 0.2638937830924988, -0.4213680326938629, 1.2703782320022583, -0.9515952467918396, -0.21122896671295166, -0.47254639863967896, -0.26920410990715027, 0.3897600471973419, 0.17792250216007233, 0.6878678798675537, -0.6726160049438477, -0.39507439732551575, -0.13728678226470947, -0.7295273542404175, -0.40105438232421875, -0.02495756559073925, -0.23553434014320374, -0.2068205028772354, 0.5463273525238037, -0.7903004288673401, 0.2809622883796692, 0.6624794006347656, -0.4637505114078522, 0.49145403504371643, -0.517876386642456, -0.0984041690826416, -0.8455118536949158, -0.06002788618206978, -0.2593191862106323, -0.2495439499616623, -0.6509788632392883, 0.16528911888599396, 0.015296116471290588, -0.49949613213539124, -0.1887902170419693, 0.6557070016860962, -0.49899426102638245, -0.37164944410324097, -0.3891753852367401, 0.1643444150686264, -0.1550818234682083, 0.3250299096107483, 0.26732727885246277, 0.8568178415298462, 0.6068630218505859, -0.44814106822013855, 0.3812706470489502, 0.10653606802225113, -0.6654523015022278, 0.26337748765945435, -0.5112160444259644, 0.17239657044410706, -0.0961933508515358, -0.03646256774663925, -0.869308352470398, -0.31262102723121643, -0.08938506245613098, 0.19018977880477905, -0.09054945409297943, 0.06436260789632797, -0.6693195700645447, -0.4287266135215759, 0.17717251181602478, 0.5185715556144714, 0.21887174248695374, -0.6831197142601013, 0.662188708782196, 0.5862802267074585, 0.026676936075091362, -0.09997902065515518, -0.524365246295929, 0.2100064754486084, -0.23186111450195312, -0.37366873025894165, 0.05971057713031769, -0.13670268654823303, -0.3761804401874542, -0.16101282835006714, 0.13709647953510284, -0.3184955418109894, 0.15202978253364563, 0.4418649971485138, 0.149698868393898, 0.05837855488061905, 0.2579081952571869, -0.8309644460678101, -0.332354873418808, -0.06922507286071777, -0.40588441491127014, 0.8487123250961304, -0.12374399602413177, -0.6112916469573975, -0.06871020048856735, 0.2177121788263321, 0.446138471364975, -0.3495137691497803, 0.33125394582748413, 0.5603057742118835, -0.4055272936820984, -0.3349941074848175, -0.5445613861083984, -0.08611878752708435, -0.5513016581535339, 0.46502313017845154, -0.4505564868450165, -0.6876426935195923, 0.46730268001556396, -0.14842890202999115, -0.06718266010284424, -0.07261420786380768, 0.45924440026283264, -0.17491453886032104, 0.5384248495101929, 1.0042755603790283, -0.2743268311023712, 0.6602497696876526, -0.09687928855419159, 0.6526086926460266, -0.2952285408973694, -0.12793736159801483, -0.34645140171051025, -0.39879754185676575, -0.40997886657714844, -0.6674004197120667, 0.3139970302581787, -0.0207699965685606, -0.16713066399097443, 0.38367462158203125, -0.37475845217704773, 0.8555567264556885, 0.43803325295448303, -0.047550905495882034, 0.35611358284950256, -0.03388109430670738, 0.10342691838741302, -0.07927747070789337, -0.6139948964118958, -0.5317786931991577, 0.9525383114814758, 0.20924639701843262, 1.1572626829147339, -0.04886269569396973, 0.5088087320327759, 0.001407979871146381, 0.22556036710739136, -0.4706362187862396, 0.7533088326454163, -0.14520981907844543, -0.583057701587677, -0.40033525228500366, -0.164705291390419, -0.9811211824417114, 0.1655987650156021, 0.06694412976503372, -0.6342299580574036, 0.12646549940109253, 0.10710914433002472, -0.5647895336151123, 0.31083741784095764, -0.7512935400009155, 0.7506603002548218, -0.6762248277664185, -0.08640775829553604, -0.20551329851150513, -0.0695241391658783, -0.021536264568567276, -0.08729130029678345, 0.49187013506889343, -0.5639896392822266, 0.30630600452423096, 0.0750012919306755, -0.019181016832590103, 0.7981116771697998, -0.18053461611270905, -0.2634963095188141, 0.0799664855003357, 0.1805030107498169, 0.4503033757209778, -0.01307170931249857, -0.1144229844212532, 0.4015462398529053, -0.1260247528553009, -0.30629584193229675, -0.4444187581539154, 0.8738418817520142, -0.872370183467865, -0.5535295605659485, -0.18582816421985626, -0.8598940372467041, -0.2565947473049164, 0.13483604788780212, 0.12366396933794022, 0.35402095317840576, -0.25930821895599365, -0.24315142631530762, 0.6937388181686401, -0.39915674924850464, 0.33800041675567627, 0.6726088523864746, -0.9380336403846741, 0.02465694583952427, 0.7835205793380737, 0.18294323980808258, -0.1128360778093338, 0.39022067189216614, 0.16716408729553223, -0.098285011947155, -0.5285910367965698, -0.0988697037100792, 0.09301778674125671, -0.8070293068885803, 0.045015908777713776, -0.3676254153251648, 0.07408380508422852, -0.11433249711990356, -0.4720531105995178, -0.34934547543525696, -0.2237754464149475, -0.21822969615459442, -0.4182986617088318, 0.3847769796848297, 1.1948221921920776, 0.13341884315013885, 0.2475617229938507, -0.31337520480155945, 0.3911985456943512, 0.20819969475269318, 0.5691668391227722, -0.1313265860080719, -0.04610848054289818, -0.5634076595306396, -0.21816305816173553, 0.08419028669595718, -0.7864546775817871, 0.4909120798110962, 0.047746431082487106, 0.1796591579914093, 0.43537771701812744, -0.1168244481086731, 0.9701474905014038, -1.0111371278762817, 0.7732024788856506, -0.09826736897230148, -0.7200913429260254, 0.7394866943359375, -0.6534234881401062, 0.5326293706893921, 0.33608904480934143, 0.13606548309326172, -0.5105945467948914, -0.3249709904193878, -0.26299554109573364, -1.0379635095596313, 0.269352525472641, -0.10890474170446396, 0.3237855136394501, -0.19691509008407593, 0.5050650238990784, -0.10922345519065857, 0.25660440325737, -1.1218799352645874, -0.007722747977823019, -0.07000732421875, -0.23853769898414612, -0.3207559287548065, -0.5242671966552734, -0.2050720453262329, -0.4313580095767975, 0.217015340924263, 0.11135721951723099, 0.05259492248296738, 0.10394055396318436, -0.2938881814479828, -0.29210832715034485, 0.19236396253108978, 0.4388330280780792, 1.2026718854904175, -0.16050224006175995, 0.39712896943092346, 0.47383731603622437, -0.347924143075943, -0.13276438415050507, -0.10183998942375183, -0.2813519537448883, 0.06570176035165787, 0.19925732910633087, 0.5180349946022034, 0.5517939329147339, -0.7489380836486816, 0.34292590618133545, 0.20496831834316254, 0.2973923087120056, -0.7010316848754883, 0.09032687544822693, 0.03767981752753258, 0.34008923172950745, 0.41386878490448, -0.07746902108192444, -0.08446753770112991, -0.5588475465774536, 0.14150170981884003, 0.4547336995601654, -0.3160786032676697, -0.3148850202560425, 0.5758278369903564, 0.202138289809227, -0.25287002325057983, 0.4113492965698242, -0.0065261730924248695, -0.4525817632675171, 0.3233157694339752, 0.4378407895565033, 0.7680538892745972, -0.042114246636629105, 0.027244724333286285, 0.187367781996727, 0.4349554181098938, -0.18590985238552094, 0.5227834582328796, 0.13517168164253235, -0.7885401844978333, -0.32017189264297485, -0.780464768409729, -0.28740394115448, 0.08551496267318726, -0.35453304648399353, 0.28265172243118286, -0.5744118094444275, -0.14608556032180786, -0.6122872233390808, 0.09869591146707535, -0.9312040209770203, 0.1443062722682953, 0.24874073266983032, 1.0479986667633057, -0.8805375099182129, 1.0807448625564575, 0.6699698567390442, -0.18052202463150024, -0.7804186344146729, 0.21236290037631989, -0.49033498764038086, -0.930874764919281, 0.7075451612472534, 0.1459064781665802, -0.3637368381023407, 0.024382760748267174, -0.6618033051490784, -1.2119746208190918, 1.0119988918304443, 0.44066908955574036, -0.7692931890487671, -0.2616153359413147, 0.3937808871269226, 0.6995335817337036, -0.3320329785346985, 0.21548859775066376, 0.6089345216751099, 0.47144368290901184, -0.2882058918476105, -1.0720657110214233, -0.14539019763469696, 0.23670893907546997, 0.2898702621459961, -0.05199626460671425, -0.45473337173461914, 1.0000277757644653, -0.5274425745010376, -0.1302831768989563, 0.11795803159475327, 0.49043527245521545, 0.06545457988977432, 0.08501087129116058, 0.30375662446022034, 0.6192085146903992, 0.9678202867507935, -0.3905718922615051, 1.0945988893508911, -0.5116979479789734, 0.381541907787323, 1.2827335596084595, -0.5050672292709351, 1.1720139980316162, 0.408027321100235, -0.13976505398750305, 0.7094934582710266, 0.6315754055976868, -0.1460501253604889, 0.8379037976264954, 0.3581080138683319, -0.04389761760830879, -0.3237093389034271, 0.12542518973350525, -0.3267904222011566, 0.5542352199554443, 0.2884202301502228, 0.025886576622724533, -0.4514833390712738, 0.22969460487365723, -0.1823730170726776, 0.2619646489620209, -0.317350298166275, 0.6214266419410706, 0.01971343718469143, -0.48290640115737915, 0.2797407805919647, -0.09510701894760132, 0.3811761736869812, -0.5793818831443787, 0.10999120026826859, -0.26923778653144836, 0.3169363737106323, -0.3139442205429077, -0.7050002813339233, 0.23198242485523224, -0.006261392496526241, -0.4206743836402893, -0.40663760900497437, 0.5305830836296082, -0.6377212405204773, -0.6284301280975342, 0.4225822389125824, 0.40270113945007324, 0.16281090676784515, -0.07584818452596664, -0.3460142910480499, 0.2631084620952606, -0.18501602113246918, -0.15797428786754608, 0.02454741671681404, 0.6646217703819275, 0.07869121432304382, 0.9433571696281433, 0.6375234723091125, 0.470744788646698, 0.046833161264657974, 0.3502645492553711, 0.6157592535018921, -0.8432338237762451, -0.6338620781898499, -0.8213993906974792, 0.16711914539337158, 0.06051464006304741, -0.10465201735496521, 0.9291713833808899, 0.5429251790046692, 0.8780096173286438, -0.12090601027011871, 0.6425233483314514, 0.14444918930530548, 0.585139811038971, -0.48613595962524414, 0.667602002620697, -0.19938494265079498, 0.8041142821311951, -0.09149651974439621, -0.9554598331451416, -0.3722683787345886, 1.0628632307052612, -0.9678362011909485, 0.037511371076107025, 0.5482034087181091, 0.8797004818916321, -0.08800143748521805, -0.19114287197589874, 0.44381096959114075, 0.26971521973609924, 0.4662184417247772, 0.5813834071159363, 0.8740153312683105, -0.05801791697740555, 0.6084157228469849, 0.022467996925115585, -0.028425611555576324, -0.20059236884117126, -0.7905652523040771, -0.9763579368591309, -0.4481242001056671, 0.08176211267709732, 0.12461193650960922, 0.19193804264068604, 0.8248897194862366, 0.867939829826355, -0.8891986608505249, -0.584950864315033, -0.265980988740921, 0.06123275309801102, 0.1271248608827591, -0.16296006739139557, 0.4465823173522949, -0.39468449354171753, -0.6560301780700684, 0.48259592056274414, 0.4148407280445099, 0.034459054470062256, -0.5227887034416199, 0.07541482150554657, 0.011315935291349888, -0.08757217973470688, 0.5189072489738464, -0.011779757216572762, -0.801464855670929, -0.5013022422790527, -0.06117776781320572, -0.2737515866756439, 0.1432770937681198, 0.9068660140037537, -0.8346060514450073, 0.4580102562904358, 0.06045415252447128, 0.4380002021789551, 0.35631078481674194, -0.047488946467638016, 0.7403185963630676, -0.9672917723655701, 0.3768600523471832, 0.008632153272628784, 0.5377822518348694, 0.6404068470001221, -0.30257314443588257, 0.5755195617675781, -0.08475398272275925, -0.6924595236778259, -0.5570971369743347, 0.5014147162437439, -0.5312100052833557, -0.40433868765830994, 1.3869272470474243, 0.1466105729341507, 0.019755611196160316, -0.20116324722766876, -0.3791462182998657, -0.11248347908258438, -0.06607265770435333, 1.2372831106185913, 0.7454594969749451, 0.0066148885525763035, -0.34478574991226196, -0.865778386592865, 0.7172519564628601, 0.2606886923313141, -0.8065829873085022, 0.27545541524887085, 0.6635687947273254, 0.4814073443412781, 0.13938787579536438, 0.9177274107933044, 0.25896915793418884, -0.00645446078851819, -0.3787304162979126, -0.0002265035145683214, 0.11272186785936356, -0.5349704027175903, -0.1605314463376999, 0.3207474648952484, 0.4204882085323334, 0.028751511126756668 ]
http://arxiv.org/abs/2403.09057v3
http://arxiv.org/pdf/2403.09057v3
A Continued Pretrained LLM Approach for Automatic Medical Note Generation
2024-03-14T02:55:37
2024-04-03T18:08:30
Dong Yuan, Eti Rastogi, Gautam Naik, Sree Prasanna Rajagopal, Sagar Goyal, Fen Zhao, Bharath Chintagunta, Jeff Ward
cs.CL
cs.CL, cs.AI
LLMs are revolutionizing NLP tasks. However, the use of the most advanced LLMs, such as GPT-4, is often prohibitively expensive for most specialized fields. We introduce HEAL, the first continuously trained 13B LLaMA2-based LLM that is purpose-built for medical conversations and measured on automated scribing. Our results demonstrate that HEAL outperforms GPT-4 and PMC-LLaMA in PubMedQA, with an accuracy of 78.4\%. It also achieves parity with GPT-4 in generating medical notes. Remarkably, HEAL surpasses GPT-4 and Med-PaLM 2 in identifying more correct medical concepts and exceeds the performance of human scribes and other comparable models in correctness and completeness.
[ 0.20647595822811127, -0.6041238307952881, 0.9258191585540771, 0.44029510021209717, -0.377023309469223, 0.23838678002357483, -0.06836837530136108, -0.6516748666763306, 0.5872258543968201, 0.47278329730033875, -0.4670710861682892, -0.7123004794120789, -0.5551698803901672, 0.38593563437461853, -0.09238433092832565, 1.4213694334030151, 0.007423328701406717, 0.3298853635787964, -0.09663700312376022, -0.2903735041618347, -0.2625456154346466, -0.45544594526290894, -0.7743690609931946, -0.5009422302246094, 0.7899669408798218, 0.17904672026634216, 0.3384091258049011, 0.8774356245994568, 0.8882092237472534, 0.27196913957595825, 0.15744197368621826, 0.5403715372085571, -0.17172567546367645, 0.2160484939813614, -0.03967467322945595, -0.6302900314331055, -1.0140224695205688, 0.281639039516449, 0.4759531021118164, 0.2929263114929199, -0.42812293767929077, 0.08170916140079498, -0.23604507744312286, 0.9038858413696289, -0.027249369770288467, -0.17470242083072662, -0.7450158596038818, 0.11389747262001038, -0.588157594203949, -0.43991562724113464, -0.4674401879310608, -0.5485377907752991, -0.04538387805223465, -0.7516679763793945, 0.1353388875722885, -0.09562066197395325, 1.018326997756958, 0.5365082025527954, -0.16034895181655884, -0.4142775237560272, -0.3671002984046936, 0.3486815392971039, -0.7533001899719238, 0.01756218820810318, 0.4258267283439636, 0.34099164605140686, -0.20615260303020477, -1.3240381479263306, -0.12559910118579865, -0.2682364284992218, 0.25266125798225403, 0.4783954322338104, 0.1578265279531479, 0.191407710313797, 0.11071464419364929, 0.5382320880889893, -0.2631481885910034, 0.2118455320596695, -0.2979288697242737, 0.10834639519453049, 0.5091403722763062, 0.35149118304252625, 0.34920012950897217, 0.045652344822883606, -0.5774991512298584, 0.29980385303497314, -0.948508620262146, -0.32373854517936707, -0.22333192825317383, -0.19902093708515167, 0.06646442413330078, 0.41047996282577515, 0.2666577398777008, 0.5935229063034058, 0.16453354060649872, -0.7596855759620667, 0.308194637298584, -0.4206555485725403, -0.36926761269569397, 0.10043857991695404, 0.9179897904396057, 0.6080829501152039, 0.1561678797006607, 0.05887996777892113, -0.016046440228819847, 0.16732659935951233, 0.664918065071106, -0.785394549369812, -0.5410606861114502, 0.11377266049385071, -0.337947279214859, -0.529234766960144, -0.42109131813049316, -0.3144156038761139, -0.49890777468681335, -0.15432165563106537, 0.06240690127015114, -0.3632015883922577, -0.006059309467673302, 0.0980159118771553, 0.3659440279006958, 0.027110036462545395, 0.6063451170921326, -1.0130354166030884, 0.37067627906799316, 0.5982069969177246, 0.9538037776947021, -0.24936680495738983, 0.031578462570905685, -0.39345595240592957, 0.26103588938713074, -0.6140245199203491, 1.2887966632843018, -0.07206110656261444, -0.16847027838230133, -0.3420135974884033, -0.28315022587776184, 0.018114833161234856, -0.8582552075386047, 0.4865475594997406, -0.1513858586549759, 0.21116872131824493, -0.11278466135263443, -0.7027239799499512, 0.0629197284579277, 0.41595739126205444, -0.3848622739315033, 1.0651509761810303, 0.3779672682285309, -0.8124655485153198, 0.5017839074134827, -0.6199968457221985, -0.4511592388153076, 0.26968899369239807, -0.2188749462366104, -0.7777493596076965, 0.016292620450258255, 0.03483365848660469, 0.3957865238189697, -0.5714108943939209, 0.43235382437705994, 0.07698136568069458, -0.2933579683303833, 0.1293519139289856, -0.33820685744285583, 0.46369507908821106, 0.006879149936139584, -0.3430106043815613, 0.07846816629171371, -0.8717478513717651, 0.08241498470306396, 0.15585601329803467, -0.9184179902076721, -0.0668049156665802, -0.17202222347259521, -0.32286685705184937, 0.1991901993751526, 0.025268444791436195, -0.6404994130134583, 0.46736976504325867, -0.738091766834259, 0.492459237575531, 0.6407561302185059, 0.10777077823877335, 0.1793511062860489, -0.6021692156791687, 0.5861640572547913, -0.21521253883838654, -0.04171963408589363, -0.27610841393470764, -0.6299723386764526, -0.6863624453544617, -0.6967925429344177, 0.27762100100517273, 0.933136522769928, -0.3300139904022217, 0.2550085186958313, 0.011908266693353653, -0.9022115468978882, -0.9889425039291382, 0.1993771642446518, 0.5806310772895813, 0.8625484704971313, 0.6496543288230896, -0.45642393827438354, -0.6973788738250732, -0.7208059430122375, -0.3146912753582001, -0.3008004426956177, -0.04105732962489128, 0.3818456530570984, -0.0688692033290863, -0.5265776515007019, 0.4281928241252899, -0.3364047706127167, -0.5185474753379822, -0.0840722918510437, -0.14470484852790833, 0.2852388322353363, 0.3555493652820587, 0.4496706426143646, 0.020781259983778, -0.5977085828781128, -0.2232855260372162, -0.8142498135566711, -0.4871051609516144, -0.42760780453681946, -0.20631909370422363, 0.36507147550582886, 0.1922619342803955, -0.6776736974716187, 0.2381313592195511, 0.3453439176082611, -0.20334723591804504, 0.3416379392147064, -0.496456503868103, 0.07927487045526505, -1.2788126468658447, 0.15873955190181732, -0.1341366320848465, -0.47874394059181213, -0.4614552855491638, -0.6054478287696838, 0.15484113991260529, 0.31548452377319336, -0.19901980459690094, 0.5033719539642334, -0.47872865200042725, 0.04565770924091339, -0.3832879066467285, 0.1138368770480156, -0.0552416667342186, 0.09351303428411484, 0.04042626917362213, 0.424381285905838, 0.189240500330925, -0.39131632447242737, 0.4501980245113373, 0.4525156021118164, -0.1558520793914795, 0.7960819602012634, -0.6375779509544373, 0.2884538173675537, 0.32751572132110596, 0.5027679800987244, -0.7262074947357178, -0.24324187636375427, 0.2864541709423065, -0.3849487602710724, 0.4272420406341553, 0.13006965816020966, -0.29033565521240234, -0.5690170526504517, -0.09504889696836472, -0.02626766264438629, 0.6105958223342896, -0.48682546615600586, 0.3354035019874573, 0.3482082784175873, -0.29102087020874023, -0.5683380961418152, -0.6535067558288574, 0.2871571481227875, -0.1756558120250702, -0.4729781746864319, 0.39732134342193604, -0.07917622476816177, -0.18807926774024963, -0.504499614238739, -0.30974000692367554, 0.021766895428299904, 0.2156347930431366, 0.5063169002532959, 0.46142062544822693, -0.24754676222801208, 0.10285163670778275, 0.1518334448337555, -0.47315600514411926, 0.1933191567659378, -0.14880146086215973, 0.36070215702056885, -0.08013048768043518, -0.4936157166957855, -0.6028131246566772, 0.046629659831523895, 0.37236636877059937, -0.13823245465755463, 0.3087947964668274, 0.3025487959384918, -0.21534550189971924, 0.0680098608136177, -0.8338560461997986, -0.014514108188450336, -0.4524783790111542, 0.13579061627388, 0.030124297365546227, -0.6098496317863464, 0.2432139813899994, -0.3624934256076813, 0.39245378971099854, 0.4763258099555969, 0.7732687592506409, -0.39290761947631836, 0.6620553135871887, 0.30580079555511475, 0.06007898226380348, 0.10750146210193634, 0.050802264362573624, -0.05001663789153099, -0.6010994911193848, -0.46324166655540466, -0.13653863966464996, -0.2743172347545624, -0.49506425857543945, -0.38330861926078796, 0.5419480204582214, 0.010437460616230965, -0.2598268687725067, 0.11844971030950546, -0.8603361248970032, 0.3775472640991211, 0.7363531589508057, 0.37735694646835327, 0.40746253728866577, -0.25898513197898865, -0.016632456332445145, 0.00495608476921916, -0.5530622601509094, -0.6747182607650757, 1.2839161157608032, 0.4266605079174042, 0.5824044942855835, -0.2912154197692871, 1.1260006427764893, -0.09557703137397766, 1.1145235300064087, -0.584430992603302, 0.3310980200767517, -0.1126248687505722, -0.47736161947250366, -0.06932378560304642, -0.0386534184217453, -0.8110196590423584, 0.03859645128250122, -0.2254270315170288, -0.10728859901428223, -0.659247636795044, 0.6200718283653259, -0.5336431860923767, 0.35980552434921265, -0.398913711309433, 0.5661965012550354, -0.41212886571884155, -0.2614538073539734, -0.013333012349903584, -1.0305793285369873, 0.3609426021575928, -0.3878079950809479, 0.024988556280732155, -0.271024614572525, -0.25298693776130676, 0.552946150302887, -0.7249512672424316, 0.7426966428756714, -0.2804289162158966, -0.15216517448425293, 0.2835623621940613, -0.018597371876239777, 0.28617122769355774, 0.23343728482723236, 0.11988171190023422, -0.0008578988490626216, -0.10078892111778259, -0.25371766090393066, -0.30406588315963745, 0.5237898230552673, -0.4007401466369629, -0.6786252856254578, -0.5180697441101074, -0.3986077904701233, -0.16737490892410278, 0.03180829808115959, 0.39760127663612366, 0.28437086939811707, -0.0969596728682518, -0.24078430235385895, 0.5141693949699402, -0.2844540476799011, 0.34078449010849, 0.8734036087989807, 0.04158104211091995, -0.8829607963562012, 0.5139673948287964, -0.02180532179772854, 0.07565862685441971, 0.1635255068540573, 0.21058033406734467, -0.15579333901405334, -0.5378689765930176, -0.6916612386703491, 0.5351507663726807, -0.3508662283420563, -0.6668192148208618, -0.879376232624054, -0.2993476092815399, -0.050287649035453796, -0.4113854467868805, -0.4909082055091858, -0.24930794537067413, -0.5007286071777344, -0.4871281087398529, 0.7113757729530334, 0.8647850751876831, -0.47392791509628296, 0.2973487675189972, -1.035449743270874, 0.38877686858177185, 0.08763092756271362, 0.3048928380012512, -0.47164228558540344, -0.3875397741794586, -0.1604192852973938, -0.35386788845062256, -0.47026804089546204, -0.9004554748535156, 0.4026336967945099, 0.36463871598243713, 0.37209057807922363, 0.519599974155426, -0.32842981815338135, 0.5487878322601318, -1.0533703565597534, 0.7936779856681824, 0.530484139919281, -0.47552868723869324, 0.8505405783653259, -0.37924766540527344, 0.11326217651367188, 0.7182347178459167, 0.14512111246585846, -0.4602149724960327, -0.6043581962585449, -0.8126745820045471, -0.7967302799224854, 0.3068277835845947, -0.28868305683135986, 0.016865605488419533, -0.5088126063346863, 0.7120305299758911, 0.28449463844299316, 0.04916449263691902, -0.5544920563697815, -0.19380931556224823, -0.08172416687011719, -0.5989111661911011, 0.04482927545905113, -0.45221269130706787, -0.15947100520133972, -0.24606294929981232, 0.5412869453430176, 0.034190453588962555, 0.32124990224838257, 0.4163223206996918, 0.049459006637334824, -0.022077856585383415, -0.10401114076375961, 0.728811502456665, 0.5440120100975037, -0.005527718458324671, 0.0242768507450819, 0.27805328369140625, -0.8557451367378235, 0.4953124225139618, 0.09249885380268097, 0.01423321571201086, 0.17436440289020538, 0.497384250164032, 0.7467658519744873, 0.19460640847682953, -0.7171527743339539, 0.4861032962799072, 0.20868951082229614, -0.3403131067752838, -0.3165169656276703, 0.1266103833913803, 0.4131128787994385, 0.20348013937473297, -0.12469501048326492, 0.0658676028251648, -0.015608149580657482, -0.1894114464521408, 0.3717191517353058, 0.12549759447574615, -0.33357730507850647, -0.32963624596595764, 1.0079255104064941, 0.3197295367717743, -0.41935691237449646, 0.6220702528953552, 0.34598344564437866, -0.32195258140563965, 0.3418046832084656, 0.8847870826721191, 0.5751259326934814, -0.6032817959785461, 0.12073396891355515, 0.3604029715061188, 0.17950719594955444, -0.34572863578796387, 0.5074389576911926, -0.0618521012365818, -0.413219153881073, -0.5115959644317627, -0.5727258920669556, -0.5505831241607666, -0.061051007360219955, -0.5825276374816895, 0.05012664198875427, -0.6978790760040283, -0.38255980610847473, 0.017948780208826065, 0.024750767275691032, -0.330180823802948, 0.5195505023002625, -0.15510286390781403, 0.8422265648841858, -0.6278665065765381, 0.9553360342979431, 0.7046472430229187, -0.3588045537471771, -0.978314220905304, -0.5161200761795044, 0.07231695204973221, -1.1181089878082275, 0.5469032526016235, 0.20599834620952606, -0.01316098589450121, -0.04150303080677986, -0.4140477180480957, -0.5265862941741943, 1.3083819150924683, 0.35620152950286865, -0.7478748559951782, -0.044236935675144196, -0.057453010231256485, 0.7997537851333618, -0.13285720348358154, 0.3403397798538208, 0.7032002806663513, 0.24261757731437683, -0.17324094474315643, -1.1358089447021484, -0.05389780178666115, -0.39503470063209534, -0.2974814474582672, 0.2661757469177246, -0.6782488822937012, 0.5060808658599854, -0.637130618095398, 0.04286709800362587, 0.2733490765094757, 0.369763046503067, 0.775166392326355, 0.4971168637275696, 0.19872501492500305, 0.8055740594863892, 1.2509890794754028, -0.07365360856056213, 1.0183615684509277, -0.3298152983188629, -0.21296469867229462, 1.2848807573318481, -0.3748409152030945, 0.5777397155761719, 0.2843148708343506, -0.201130211353302, 0.5292666554450989, 0.8835522532463074, -0.1434570997953415, 0.4231424331665039, 0.5864644646644592, -0.5682730078697205, -0.14874984323978424, 0.21549135446548462, -0.4392310082912445, 0.251449316740036, 0.3742144703865051, -0.8402107357978821, 0.19071738421916962, 0.015313363634049892, 0.4952397048473358, 0.1749773919582367, -0.18795064091682434, 1.2241793870925903, 0.4291221499443054, -0.6460237503051758, 0.6085379719734192, -0.20747604966163635, 0.5418657064437866, -0.6597021222114563, -0.02512747049331665, -0.46185705065727234, 0.25166767835617065, -0.29294145107269287, -0.5700001120567322, 0.2491832822561264, 0.2522595524787903, -0.17139393091201782, -0.38678160309791565, 0.8211880326271057, -0.3991720676422119, -0.2687374949455261, 0.030323823913931847, 0.5034239292144775, 0.5022655129432678, 0.15294693410396576, -0.4350275993347168, -0.3142227232456207, 0.022289101034402847, -0.33917197585105896, 0.31888508796691895, 0.48970213532447815, 0.1648852676153183, 0.6876068115234375, 0.49761879444122314, 0.4109739363193512, 0.10468600690364838, 0.12368907034397125, 0.8318735361099243, -0.6163291931152344, -0.27706047892570496, -0.9192817807197571, 0.3843342363834381, 0.03308863565325737, -0.43813854455947876, 0.3286133408546448, 0.6420075297355652, 0.33251163363456726, 0.07012000679969788, 0.7361618280410767, 0.45110535621643066, 1.0656628608703613, -0.6557425856590271, 0.9141390323638916, -0.31208616495132446, 0.14596988260746002, -0.3266559839248657, -0.6962826251983643, -0.589434027671814, 0.7408225536346436, 0.15815997123718262, -0.22897587716579437, 0.774638831615448, 0.40491044521331787, 0.3005106449127197, -0.007789986673742533, -0.013175119645893574, 0.13290809094905853, 0.28176504373550415, 0.800976574420929, 0.6745244264602661, -0.3029012382030487, 0.39179274439811707, -0.0801149308681488, -0.35995978116989136, 0.13315176963806152, -0.727122962474823, -0.7915475964546204, -0.039773114025592804, -0.2848847210407257, -0.6140336990356445, 0.05882204324007034, 0.979918897151947, 0.4376266598701477, -0.5683009624481201, 0.14041155576705933, -0.10037314146757126, -0.4848743975162506, -0.10050613433122635, -0.03780485317111015, 0.6132441759109497, -0.28149715065956116, -0.29821503162384033, 0.7637536525726318, 0.6179695129394531, 0.1633855104446411, 0.11021948605775833, -0.10176101326942444, 0.05905244126915932, 0.0045014480128884315, 0.410503089427948, 0.1596449613571167, -0.6936526298522949, -0.10750942677259445, 0.06318376958370209, -0.5108910799026489, 0.6796498894691467, 0.7404087781906128, -0.7527192234992981, 0.2639358639717102, -0.010185174643993378, 0.8391066789627075, 0.6018357872962952, 0.0384020134806633, 0.6149926781654358, -0.40918004512786865, -0.17458243668079376, 0.44338658452033997, 0.1994018703699112, 0.47551366686820984, -0.4128267168998718, 0.9433581829071045, 0.3950202167034149, -0.7558269500732422, -0.7461878061294556, -0.03767998144030571, -0.9808468818664551, 0.20943699777126312, 0.941900908946991, -0.376798540353775, 0.02307959645986557, 0.07202097028493881, -0.6409788131713867, 0.4965818524360657, -0.07316919416189194, 0.7498878836631775, 0.1922035664319992, -0.4670775532722473, -0.017264921218156815, -0.5235856175422668, 0.7086970806121826, 0.44471266865730286, -1.2820079326629639, -0.26737716794013977, 0.483597069978714, 0.5487571358680725, -0.11720924079418182, 1.4603217840194702, -0.3530366122722626, 0.34579896926879883, -0.09228099137544632, 0.1194274052977562, -0.1590455025434494, -0.2336302399635315, 0.09330994635820389, -0.06212230771780014, 0.13084132969379425, -0.11896248161792755 ]
http://arxiv.org/abs/2403.09054v2
http://arxiv.org/pdf/2403.09054v2
Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference
2024-03-14T02:42:42
2024-04-06T00:22:37
Muhammad Adnan, Akhil Arunkumar, Gaurav Jain, Prashant J. Nair, Ilya Soloveychik, Purushotham Kamath
cs.LG
cs.LG, cs.AI, cs.AR, cs.CL, 68U35, I.2.7; C.0
Transformers have emerged as the underpinning architecture for Large Language Models (LLMs). In generative language models, the inference process involves two primary phases: prompt processing and token generation. Token generation, which constitutes the majority of the computational workload, primarily entails vector-matrix multiplications and interactions with the Key-Value (KV) Cache. This phase is constrained by memory bandwidth due to the overhead of transferring weights and KV cache values from the memory system to the computing units. This memory bottleneck becomes particularly pronounced in applications that require long-context and extensive text generation, both of which are increasingly crucial for LLMs. This paper introduces "Keyformer", an innovative inference-time approach, to mitigate the challenges associated with KV cache size and memory bandwidth utilization. Keyformer leverages the observation that approximately 90% of the attention weight in generative inference focuses on a specific subset of tokens, referred to as "key" tokens. Keyformer retains only the key tokens in the KV cache by identifying these crucial tokens using a novel score function. This approach effectively reduces both the KV cache size and memory bandwidth usage without compromising model accuracy. We evaluate Keyformer's performance across three foundational models: GPT-J, Cerebras-GPT, and MPT, which employ various positional embedding algorithms. Our assessment encompasses a variety of tasks, with a particular emphasis on summarization and conversation tasks involving extended contexts. Keyformer's reduction of KV cache reduces inference latency by 2.1x and improves token generation throughput by 2.4x, while preserving the model's accuracy.
[ -0.23677976429462433, -0.5658324360847473, 0.5095613598823547, 0.3638058006763458, -0.4032265245914459, 0.06599394232034683, -0.2570359706878662, 0.009858873672783375, -0.0587749145925045, 0.4281696081161499, -0.36164987087249756, -0.5225036144256592, -0.5781415104866028, -0.27265816926956177, -0.366783082485199, 0.5891138911247253, -0.036189693957567215, 0.048801105469465256, -0.5157573223114014, 0.02563706412911415, -0.3996127247810364, -0.44404470920562744, -0.8142216801643372, -0.14316870272159576, 0.21099399030208588, 0.21169522404670715, 0.47645285725593567, 0.4498620331287384, 0.35995978116989136, 0.30218109488487244, -0.42086318135261536, -0.14704950153827667, -0.4843648672103882, 0.6789255142211914, 0.17702879011631012, -0.8950690627098083, -0.39949116110801697, -0.25835222005844116, 0.6089226603507996, 0.4175148010253906, 0.07282648235559464, 0.15303382277488708, -0.22801299393177032, 0.693378746509552, -1.0250723361968994, 0.5499691367149353, -0.7729910612106323, 0.2043890655040741, -0.3364521861076355, 0.23660646378993988, -0.7134015560150146, -0.21847262978553772, -0.19179576635360718, -0.5904797315597534, 0.5526502728462219, -0.05581849068403244, 0.5053026080131531, 0.4784887731075287, -0.24453718960285187, 0.027434198185801506, -0.7751385569572449, 0.5971728563308716, -0.7497780323028564, 0.5290238857269287, 0.2288120537996292, 0.41767194867134094, -0.1987539678812027, -0.8935133218765259, -0.8884419202804565, -0.13001522421836853, 0.03271040692925453, 0.4065524637699127, -0.2212371826171875, 0.4797753095626831, 0.2995742857456207, 0.49973011016845703, -0.4707510471343994, 0.16971375048160553, -0.38998696208000183, -0.28138378262519836, 0.15763679146766663, 0.10454630106687546, 0.025035353377461433, -0.3381653130054474, 0.17495614290237427, -0.35948050022125244, -0.8204874992370605, -0.005149582400918007, 0.257596880197525, 0.059809908270835876, 0.04621836915612221, 0.4709946811199188, -0.08862528949975967, 0.5208227038383484, 0.22070132195949554, -0.11983232945203781, 0.014935743995010853, -0.01480899192392826, -0.46758022904396057, 0.00455322302877903, 0.6421718001365662, 0.30153295397758484, -0.03850218281149864, -0.32860279083251953, -0.12471040338277817, 0.445090115070343, 0.3126383125782013, -1.040093183517456, -0.32013627886772156, 0.19430990517139435, -0.6689962148666382, -0.4409944415092468, 0.0012542527401819825, -0.8618289828300476, -0.20105741918087006, -0.01651761308312416, 0.27351418137550354, -0.19881480932235718, 0.04091731831431389, -0.21636562049388885, -0.21472345292568207, 0.3515453338623047, 0.3593448996543884, -0.8643534779548645, 0.4151744842529297, 0.7032203078269958, 0.9650324583053589, -0.4781222641468048, 0.36192789673805237, -0.6974025368690491, 0.23300336301326752, -0.26178616285324097, 0.5962778925895691, -0.7013646960258484, -0.6676271557807922, -0.19059085845947266, -0.0762423574924469, -0.20480498671531677, -0.5586066246032715, 0.5537334084510803, -0.9695996642112732, 0.14655479788780212, -0.10508863627910614, -0.6386783719062805, -0.07816207408905029, -0.03230009227991104, -1.2163547277450562, 1.2015546560287476, 0.1362779289484024, -0.32521477341651917, 0.5136213898658752, -0.6906420588493347, -0.5354308485984802, 0.06901899725198746, -0.20239488780498505, -0.6586781144142151, 0.4738256335258484, 0.4302132725715637, 0.38221895694732666, -0.45184510946273804, 0.26829591393470764, -0.12015305459499359, -0.39825356006622314, -0.052789852023124695, -0.7041199803352356, 0.27169090509414673, 0.21027536690235138, -0.5243834257125854, 0.24100790917873383, -0.8437451124191284, -0.09087490290403366, 0.013501817360520363, -0.31040501594543457, -0.12170311063528061, 0.13016758859157562, 0.3241346478462219, 0.21322572231292725, -0.12034139782190323, -0.5295149087905884, 0.278153657913208, -0.44508111476898193, 0.7352319359779358, 0.6152641177177429, -0.012066595256328583, 0.655742347240448, -0.05489565059542656, 0.7463529109954834, 0.15374696254730225, 0.2735974192619324, -0.21665658056735992, -0.49639344215393066, -1.0359336137771606, -0.2744569480419159, 0.48866522312164307, 0.34775951504707336, -0.47122064232826233, 0.3778317868709564, -0.4810064435005188, -0.4889083504676819, -0.6541994214057922, -0.0056747011840343475, 0.3757537603378296, 0.27215951681137085, 0.32580241560935974, -0.25319528579711914, -0.41288498044013977, -0.7774791121482849, -0.036781299859285355, -0.3540469706058502, -0.16638842225074768, 0.17911085486412048, 0.334564745426178, 0.028149036690592766, 0.9624249935150146, -0.4805026948451996, -0.02475338615477085, -0.1884339302778244, 0.06586820632219315, 0.05553891882300377, 0.5113512873649597, 0.35504430532455444, -0.9644314050674438, -0.40894678235054016, -0.36516422033309937, -0.11260246485471725, -0.14862829446792603, -0.21916083991527557, 0.08498284220695496, 0.3339599072933197, 0.8319603800773621, -0.9681582450866699, 0.5761435627937317, 0.6561965346336365, -0.10697083920240402, 0.42201220989227295, 0.05397578328847885, 0.0027562507893890142, -1.0476324558258057, 0.20191580057144165, -0.5999762415885925, -0.21741656959056854, -0.45752036571502686, -0.1570795327425003, 0.11586932837963104, -0.126266211271286, -0.21428285539150238, 0.662137508392334, -0.4154934585094452, 0.015515399165451527, -0.03925852105021477, 0.018413813784718513, 0.20433826744556427, 0.42462393641471863, -0.118922159075737, 1.1107004880905151, 0.15592323243618011, -0.4171912670135498, -0.04199403524398804, 0.319474458694458, -0.30234917998313904, 0.1631430685520172, -0.6918194890022278, 0.23118390142917633, -0.2526322603225708, 0.3771589696407318, -1.4411404132843018, -0.02104283683001995, 0.06661350280046463, -0.35513752698898315, 0.42809218168258667, -0.31737199425697327, -0.5906362533569336, -0.39638209342956543, -0.17951703071594238, 0.5360645651817322, 0.6498477458953857, -0.3948172926902771, 0.8870150446891785, 0.17812825739383698, -0.13307197391986847, -0.29751357436180115, -0.5289947986602783, 0.09875142574310303, -0.007195719517767429, -0.5045679211616516, 0.7571824789047241, 0.06992599368095398, -0.02332022413611412, 0.0006065249908715487, -0.4547102749347687, 0.12056474387645721, 0.05039586126804352, 0.5105530023574829, 0.2227943390607834, -0.322356641292572, 0.4755808711051941, 0.41575726866722107, -0.2504461109638214, 0.024945829063653946, -0.327249675989151, 0.6499965786933899, 0.06372044235467911, -0.5675767660140991, -0.2105449140071869, 0.26677206158638, 1.1138620376586914, -0.3360747992992401, 0.9468984007835388, 0.5374463200569153, -0.15205755829811096, -0.10105585306882858, -0.8879597187042236, -0.13831274211406708, -0.44088008999824524, 0.36144667863845825, -0.5127382278442383, -1.0463685989379883, 0.6206139326095581, -0.12975984811782837, 0.0407097190618515, 0.7042092084884644, 0.6635307669639587, 0.37545815110206604, 0.9988526701927185, 0.2781950533390045, -0.39682984352111816, 0.6241549849510193, -0.26000621914863586, 0.3809567093849182, -0.8502259850502014, -0.1192953810095787, -0.3114405870437622, -0.3148394823074341, -0.41660627722740173, -0.8538570404052734, 0.39349302649497986, 0.25595909357070923, -0.19261258840560913, -0.06368828564882278, -0.3932145833969116, 0.4367007911205292, 0.4501582086086273, -0.07428397983312607, 0.24858973920345306, -0.121261827647686, -0.3720654845237732, 0.017193518579006195, -0.6699119210243225, -0.40214699506759644, 1.2225520610809326, 0.18182781338691711, 0.6961938142776489, 0.09277123957872391, 0.3331480920314789, 0.17990492284297943, 0.4509395360946655, -0.8323386907577515, 0.4071718752384186, -0.19304586946964264, -0.5286287069320679, -0.22782859206199646, -0.21005022525787354, -0.5928905010223389, 0.3690512776374817, -0.0169190876185894, -0.6685236692428589, -0.18920792639255524, 0.28390470147132874, -0.3835006654262543, 0.33532118797302246, -0.5921481847763062, 0.9211979508399963, 0.10175307840108871, -0.21780644357204437, -0.31020402908325195, -0.7242082357406616, 0.3194904327392578, -0.010145352222025394, -0.25003474950790405, 0.11944808065891266, 0.010889934375882149, 0.7822926640510559, -0.48296433687210083, 0.9653191566467285, -0.3624691069126129, 0.09570113569498062, 0.18885071575641632, 0.05646293982863426, 0.8212013840675354, -0.02867976576089859, -0.03387698903679848, -0.12776991724967957, -0.17274044454097748, -0.1104685366153717, -0.8895564675331116, 0.4466080069541931, -0.625924289226532, -0.5907700061798096, 0.16931430995464325, -0.3091060519218445, -0.25357648730278015, 0.09620320796966553, 0.333638995885849, 0.33011382818222046, -0.23242305219173431, 0.32751911878585815, 0.7631174921989441, -0.1950053572654724, 0.3624977171421051, 0.16526532173156738, -0.03349883481860161, -0.41893723607063293, 0.4746828079223633, -0.12397904694080353, 0.557800829410553, 0.7870680093765259, 0.12150350958108902, -0.3694804310798645, -0.5793676972389221, -0.23962484300136566, 0.10081271827220917, -0.7652225494384766, -0.3499865233898163, -0.8718116283416748, -0.33058133721351624, -0.4356084167957306, -0.10696812719106674, -0.5382446646690369, -0.7547507882118225, -0.2656812071800232, -0.16785494983196259, 0.5338298678398132, 0.35570916533470154, 0.31666451692581177, 0.9487199187278748, -0.684863805770874, 0.3694465756416321, 0.30576372146606445, 0.3236928880214691, 0.276991605758667, -0.3411629796028137, 0.08915714919567108, -0.4239400029182434, -0.37962430715560913, -0.6860496997833252, 0.18226608633995056, 0.32065489888191223, 0.5500168204307556, 0.5862797498703003, -0.13712213933467865, 0.7933056950569153, -0.5139618515968323, 0.8493515253067017, 0.0005631526000797749, -1.1629152297973633, 0.4023897349834442, 0.051626939326524734, 0.44231823086738586, 0.5926896333694458, -0.06390839070081711, -0.7671330571174622, -0.45043250918388367, -0.461897075176239, -1.0856513977050781, 0.3657987713813782, 0.4585149586200714, 0.007087802514433861, -0.17100326716899872, 0.4165358543395996, 0.009298393502831459, 0.28543758392333984, -0.42391714453697205, -0.3826766908168793, -0.19786769151687622, -0.3677830100059509, -0.03743140026926994, -0.36921456456184387, 0.31634074449539185, -0.318761944770813, 0.4953029453754425, -0.16530171036720276, 0.44533392786979675, 0.03566515073180199, -0.41322097182273865, -0.07544820010662079, 0.3577902019023895, 0.6715261340141296, 0.319446861743927, -0.031154215335845947, 0.12972471117973328, 0.23900558054447174, -0.7722631096839905, 0.08975621312856674, 0.06349609792232513, -0.23818930983543396, 0.13765670359134674, 0.27165713906288147, 1.0124539136886597, 0.5306007862091064, -0.502988338470459, 0.5894901752471924, -0.25212445855140686, -0.02682618796825409, -0.2492036074399948, 0.07082687318325043, 0.22098924219608307, 0.18192386627197266, 0.1897498220205307, 0.00564822182059288, 0.06353121250867844, 0.13312572240829468, 0.0978652834892273, 0.4692830741405487, -0.35901057720184326, -0.3959674835205078, 1.0131665468215942, 0.15584754943847656, -0.07480011880397797, 0.8018709421157837, -0.1312081217765808, -0.8048807382583618, 0.5930353999137878, 0.6466389894485474, 1.185071587562561, -0.25136038661003113, -0.0036403359845280647, 0.21721842885017395, 0.1135413870215416, 0.030257567763328552, 0.15889589488506317, -0.5415427684783936, -0.6315540075302124, -0.7340869903564453, -0.8595290184020996, -0.189181849360466, 0.4482816755771637, -0.6365390419960022, -0.06143476814031601, -0.2565949261188507, -0.24000833928585052, -0.021762166172266006, -0.21894817054271698, -0.7661266326904297, -0.08882934600114822, 0.12339871376752853, 1.0274670124053955, -0.8120111227035522, 0.6919121742248535, 0.35419249534606934, -0.19739192724227905, -0.5451260805130005, -0.03556257486343384, 0.003089935053139925, -0.7865758538246155, 1.005877137184143, 0.2599550783634186, -0.0738292932510376, 0.10753608494997025, -0.1767341047525406, -0.8086639046669006, 1.118091106414795, 0.214338481426239, -0.734132707118988, -0.3534053564071655, 0.08388877660036087, 0.3200501501560211, -0.10056912899017334, 0.2554868161678314, 0.6978287696838379, 0.5891547799110413, 0.26790526509284973, -0.7070289850234985, 0.1641993522644043, -0.35355910658836365, 0.3332902491092682, 0.5325245261192322, -0.5547294020652771, 0.6968188285827637, 0.05635424703359604, -0.2495502084493637, 0.28811943531036377, 0.7522171139717102, 0.293148010969162, -0.18475396931171417, 0.594457745552063, 0.722545325756073, 0.6385511755943298, -0.05874910205602646, 0.7294818758964539, -0.5713966488838196, 0.20421382784843445, 0.8879786729812622, -0.08800630271434784, 0.8134201169013977, 0.759242832660675, -0.37341204285621643, 0.3945717513561249, 0.2648908793926239, -0.0663098469376564, 0.5179996490478516, 0.3922105133533478, -0.5704528093338013, -0.24741151928901672, 0.3521745800971985, -0.15104666352272034, 0.5978729724884033, 0.42380353808403015, -0.5330593585968018, -0.20669572055339813, -0.07960516959428787, 0.09621219336986542, -0.40934932231903076, -0.18144656717777252, 0.7472447752952576, 0.0023243685718625784, -0.7873844504356384, 0.1297493577003479, -0.021943654865026474, 0.4704211950302124, -0.507946252822876, -0.10816004872322083, -0.07402592897415161, 0.3985106945037842, 0.19260184466838837, -0.20413954555988312, 0.10339287668466568, -0.17655141651630402, -0.46198931336402893, -0.2081748992204666, 0.7052503824234009, -0.3152145445346832, -0.5708592534065247, 0.04579322785139084, 0.3066678047180176, -0.13615325093269348, -0.40894848108291626, -0.34572553634643555, 0.1795264333486557, -0.3324452340602875, -0.4709293842315674, 0.05789429321885109, 0.28646862506866455, -0.17042982578277588, 0.5151374340057373, 0.721183180809021, 0.1824774444103241, 0.17396728694438934, 0.41589558124542236, 0.977985143661499, -0.5710873007774353, -0.5951391458511353, -0.8853992819786072, 0.3741070330142975, -0.07353086024522781, -0.28652113676071167, 0.5509300231933594, 0.7165499329566956, 0.49623915553092957, -0.25285059213638306, 0.8709579706192017, 0.05652758479118347, 0.04835342615842819, -0.759786069393158, 0.8351913094520569, -0.18146799504756927, 0.055855780839920044, -0.23092195391654968, -0.9075009822845459, -0.41001632809638977, 0.5367189049720764, -0.36200374364852905, 0.042620155960321426, 0.5681554675102234, 0.8626641631126404, -0.015447939746081829, -0.02887043170630932, 0.35135793685913086, 0.10038663446903229, 0.7188817262649536, 0.4606146514415741, 0.6589917540550232, -0.5979508757591248, 0.5459030270576477, -0.027424009516835213, -0.05253814160823822, -0.3223739564418793, -0.8997105956077576, -0.9705328941345215, -0.7000946998596191, -0.023228507488965988, -0.1410122662782669, -0.011842924170196056, 0.6278964877128601, 0.7646923065185547, -0.9612210392951965, 0.0782412514090538, -0.45645734667778015, 0.04810257628560066, -0.09166129678487778, -0.3428376317024231, 0.5954874753952026, -0.5242102742195129, -0.4846099615097046, 0.2382185310125351, 0.45939183235168457, 0.036372698843479156, -0.37033310532569885, 0.07769438624382019, 0.3671651780605316, -0.07113941758871078, 0.8305712938308716, 0.016267837956547737, -1.0024633407592773, -0.11038557440042496, 0.1821596324443817, 0.028956223279237747, 0.18258781731128693, 1.1491862535476685, -1.0063925981521606, 0.5742162466049194, 0.477324903011322, 0.7750685214996338, 1.0016975402832031, -0.12926070392131805, 0.7054949998855591, -0.6836296916007996, 0.1679757833480835, 0.3196156322956085, 0.3107832670211792, 0.15439081192016602, -0.30565616488456726, 0.10660120099782944, 0.24026821553707123, -0.42105600237846375, -0.6235408782958984, 0.11065833270549774, -1.0359759330749512, -0.16487325727939606, 0.9903550744056702, 0.21709422767162323, -0.39216774702072144, -0.040290363132953644, -0.11643610149621964, 0.4290754497051239, -0.45311984419822693, 0.7814555764198303, 0.6997354626655579, 0.1286434829235077, -0.24490441381931305, -0.5245878100395203, 0.7127504348754883, 0.35858070850372314, -0.6410372257232666, 0.1799636334180832, 0.3085247278213501, 0.14829981327056885, 0.1540696769952774, 0.5607197284698486, -0.2088717669248581, 0.28333815932273865, 0.13825485110282898, 0.11592188477516174, 0.022947167977690697, -0.1667458862066269, -0.20004910230636597, 0.25868046283721924, 0.018551606684923172, -0.20479658246040344 ]
http://arxiv.org/abs/2403.09040v1
http://arxiv.org/pdf/2403.09040v1
RAGGED: Towards Informed Design of Retrieval Augmented Generation Systems
2024-03-14T02:26:31
2024-03-14T02:26:31
Jennifer Hsia, Afreen Shaikh, Zhiruo Wang, Graham Neubig
cs.CL
cs.CL
Retrieval-augmented generation (RAG) greatly benefits language models (LMs) by providing additional context for tasks such as document-based question answering (DBQA). Despite its potential, the power of RAG is highly dependent on its configuration, raising the question: What is the optimal RAG configuration? To answer this, we introduce the RAGGED framework to analyze and optimize RAG systems. On a set of representative DBQA tasks, we study two classic sparse and dense retrievers, and four top-performing LMs in encoder-decoder and decoder-only architectures. Through RAGGED, we uncover that different models suit substantially varied RAG setups. While encoder-decoder models monotonically improve with more documents, we find decoder-only models can only effectively use < 5 documents, despite often having a longer context window. RAGGED offers further insights into LMs' context utilization habits, where we find that encoder-decoder models rely more on contexts and are thus more sensitive to retrieval quality, while decoder-only models tend to rely on knowledge memorized during training.
[ -0.7447075843811035, -0.559921145439148, 0.562262237071991, -0.011650888249278069, -0.24195875227451324, 0.18782156705856323, -0.11267752945423126, -0.4124179482460022, 0.18824976682662964, 0.6219787001609802, -0.5569210648536682, 0.03486340865492821, -0.42237505316734314, 0.12164200842380524, -0.47385454177856445, 1.1030676364898682, 0.1126742959022522, -0.27218765020370483, -0.3958026170730591, -0.1367034912109375, -0.564764678478241, -0.3376282751560211, -0.5489383339881897, -0.29367613792419434, 0.3217625319957733, 0.3135417401790619, 0.8758156299591064, 0.773855447769165, 0.196823850274086, 0.23549912869930267, -0.23389051854610443, 0.5137370824813843, -0.7794021368026733, 0.5041561126708984, -0.17444956302642822, -0.26860159635543823, -0.2036009132862091, -0.2656688392162323, 0.5388909578323364, 0.7438569068908691, -0.23836751282215118, 0.4960019290447235, 0.2514685392379761, 0.6604435443878174, -1.054486632347107, -0.6168509125709534, -0.6964060068130493, -0.08174674957990646, -0.11713898181915283, -0.3236052393913269, -0.442095011472702, -0.1852826029062271, -0.04965114966034889, -0.7803733348846436, 0.4277118444442749, 0.2784287631511688, 1.0145220756530762, 0.542670726776123, -0.40351152420043945, -0.3984206020832062, -0.8008711934089661, 0.7860791087150574, -0.2853175103664398, 0.8511260747909546, 0.5613691210746765, 0.15067242085933685, -0.17342481017112732, -0.7233479619026184, -0.3950345516204834, 0.13268369436264038, -0.23846444487571716, 0.22320234775543213, 0.04701743274927139, 0.10662099719047546, 0.23510000109672546, 0.48427334427833557, -0.6406571269035339, -0.2020995020866394, -0.3439404368400574, 0.04776696860790253, 0.491580069065094, 0.1434876024723053, 0.045015692710876465, -0.4220433235168457, -0.552680492401123, 0.060622718185186386, -0.5479159355163574, -0.01858043670654297, 0.38749057054519653, 0.086164191365242, 0.283916175365448, 0.4903947412967682, -0.07837982475757599, 1.0354734659194946, 0.4074929356575012, 0.026248997077345848, -0.1408473700284958, 0.013041849248111248, -0.3405854403972626, -0.251547247171402, 0.3371928632259369, 0.07508165389299393, -0.05084003135561943, -0.5153415203094482, -0.890262246131897, -0.17287670075893402, 0.8741390705108643, -0.44283825159072876, -0.029150212183594704, 0.29153338074684143, -0.3220131993293762, -0.11105828732252121, -0.19697792828083038, -0.685578465461731, -0.46989524364471436, -0.5392372608184814, 0.4685058295726776, -0.5734992027282715, -0.1243392676115036, 0.16774483025074005, -0.48181837797164917, 0.2109784185886383, -0.0868183895945549, -0.7952125072479248, 0.5673298239707947, 0.7426518797874451, 0.520336925983429, 0.13795016705989838, 0.14960555732250214, -0.557101845741272, 0.11986008286476135, -0.5997851490974426, 0.8879293203353882, -0.42104852199554443, -0.5893747806549072, 0.22866789996623993, -0.25608891248703003, -0.1450217366218567, -0.5851171016693115, 1.1474733352661133, -1.0368167161941528, 0.18218956887722015, -0.45923954248428345, -0.6790132522583008, 0.1492672860622406, 0.21019871532917023, -0.8851460218429565, 1.3530645370483398, 0.4163799285888672, -0.7275235652923584, 0.4456087648868561, -0.39044705033302307, -0.2629774510860443, 0.16052836179733276, 0.08670493960380554, -0.16900092363357544, 0.4944838583469391, 0.111663319170475, 0.27103009819984436, -0.24591417610645294, 0.17991100251674652, -0.06152905896306038, -0.6286411881446838, 0.10345309227705002, -0.18720866739749908, 0.5006097555160522, 0.7992168068885803, -0.049851275980472565, -0.31339579820632935, -0.869067370891571, 0.2495390772819519, 0.09988164156675339, -0.7010310292243958, -0.6466583609580994, 0.09292832762002945, 0.07766138017177582, -0.05170461907982826, 0.30751141905784607, -0.599175214767456, 0.06993990391492844, -0.5486544966697693, -0.05054202303290367, 0.7261649966239929, 0.13056716322898865, 0.7536210417747498, -0.6478456258773804, 0.5802573561668396, -0.458583265542984, 0.2803926467895508, 0.08865612000226974, 0.1553056538105011, -1.0099937915802002, -0.1894151270389557, 0.4153139889240265, 0.31435731053352356, -0.9232271313667297, 0.04828328266739845, -0.21002857387065887, -0.11501994729042053, -0.5385720133781433, -0.1702503263950348, 0.5213689804077148, 0.40486690402030945, 0.26060888171195984, -0.08659491688013077, -0.7063400149345398, -0.8271385431289673, -0.4986772835254669, 0.1692492961883545, 0.05031411349773407, 0.5501363277435303, 0.15466953814029694, -0.15321694314479828, 0.9958576560020447, -0.46982964873313904, 0.1288691759109497, -0.06470665335655212, -0.4345778226852417, 0.28915053606033325, 0.21913540363311768, 0.41699132323265076, -0.9967599511146545, -0.23947983980178833, -0.11972218006849289, -0.37729841470718384, -0.2233986258506775, -0.11912992596626282, -0.5540530681610107, 0.37542790174484253, 0.27475354075431824, -0.6216714978218079, 0.2755791246891022, 0.4438614249229431, -0.3028402328491211, 0.641520082950592, -0.32483991980552673, -0.004589254967868328, -0.8908682465553284, 0.3055874705314636, -0.27971234917640686, -0.2015191912651062, -0.7029953598976135, 0.27477630972862244, 0.2984624207019806, 0.07668495923280716, 0.1317036747932434, 0.7306938171386719, -0.7548392415046692, -0.19552604854106903, -0.21888041496276855, 0.17206108570098877, 0.45713990926742554, 0.426125705242157, -0.24301472306251526, 0.8335477113723755, -0.18865041434764862, -0.634637176990509, -0.1580999195575714, 0.12740473449230194, -0.24950391054153442, 0.442884624004364, -0.6627967357635498, 0.44908076524734497, -0.4049816429615021, -0.057005152106285095, -0.8883997797966003, -0.4189249575138092, -0.20605765283107758, -0.4020535349845886, 0.7486340999603271, -0.2748485505580902, -0.3531818687915802, -0.24167414009571075, -0.19019576907157898, 0.3978246748447418, 0.5531502962112427, -0.6763243079185486, 0.6954100131988525, 0.6647763252258301, 0.12283693253993988, -1.0218440294265747, -0.13994644582271576, -0.15491804480552673, -0.12502582371234894, -0.6156673431396484, 0.4915972650051117, 0.0952233225107193, -0.26459649205207825, 0.13470371067523956, -0.27930396795272827, -0.18771177530288696, 0.024806182831525803, 0.30912476778030396, 0.21737048029899597, -0.10336044430732727, 0.4243350625038147, 0.3097924590110779, 0.2279997169971466, -0.20264281332492828, -0.3553626239299774, 0.6070802807807922, 0.05976512283086777, -0.12373873591423035, 0.5546732544898987, 0.7119002938270569, 0.2857133150100708, -0.4658820331096649, 0.7227901816368103, 0.4073374271392822, -0.3671084940433502, -0.5854024291038513, -0.7945786118507385, 0.21367856860160828, -0.517082154750824, 0.07768762856721878, -0.642634391784668, -0.7858054637908936, 0.5129597187042236, -0.032585326582193375, 0.35747596621513367, 0.40669015049934387, 0.2761494219303131, -0.03550711274147034, 0.9091842770576477, 0.8193461894989014, 0.22027261555194855, 0.4751451909542084, -0.360857754945755, 0.014403258450329304, -1.2068310976028442, -0.2331087738275528, -0.5287659168243408, -0.07845854014158249, -0.40425217151641846, -0.3171710669994354, 0.5528729557991028, 0.39522096514701843, -0.596123456954956, 0.0259102676063776, -0.8105757832527161, 0.5944682955741882, 0.5478861927986145, 0.18507327139377594, -0.06567957997322083, 0.014099190942943096, -0.27982980012893677, 0.3846813142299652, -1.11896812915802, -0.6329666972160339, 0.8010088205337524, 0.1428092122077942, 0.6929425001144409, 0.10320193320512772, 0.9080733060836792, 0.1024351492524147, -0.02296619303524494, -0.747571587562561, 0.22542060911655426, -0.2900192439556122, -0.7587018013000488, -0.09160222858190536, -0.18724006414413452, -1.1795158386230469, 0.1117524728178978, -0.15881797671318054, -0.29716232419013977, 0.45292046666145325, 0.10959511995315552, -0.48834699392318726, 0.0032298811711370945, -0.6537767648696899, 0.45885807275772095, -0.029067551717162132, -0.5085769891738892, 0.3172166645526886, -0.6161513328552246, 0.35370469093322754, 0.07397834956645966, 0.3439795672893524, 0.3111710250377655, -0.20599709451198578, 0.5444528460502625, -0.2297874093055725, 0.391323059797287, -0.2244037240743637, 0.06579817086458206, 0.4022333025932312, 0.37041598558425903, 0.51164311170578, -0.15835559368133545, -0.2555820643901825, -0.3726319968700409, 0.29752352833747864, -0.4556646943092346, -0.5381941795349121, 0.6478937268257141, -0.9248595833778381, -0.5298465490341187, -0.14907215535640717, -0.5239153504371643, -0.42111262679100037, 0.22362923622131348, 0.49687644839286804, 0.7763451933860779, -0.21197032928466797, 0.009720453061163425, 1.1098694801330566, -0.13363653421401978, 0.1656959354877472, 0.047809913754463196, -0.14364442229270935, -0.237273171544075, 0.6784813404083252, 0.24300405383110046, 0.2816409468650818, 0.2879578173160553, -0.050199732184410095, -0.4031955599784851, -0.30242398381233215, -0.7062265872955322, 0.15377210080623627, -0.9053622484207153, -0.43707406520843506, -0.7494918704032898, -0.2977254092693329, -0.40072593092918396, -0.21313832700252533, -0.3689761757850647, -0.5255143642425537, -0.42918631434440613, 0.07498901337385178, 0.1993527114391327, 0.9396335482597351, -0.03646941855549812, 0.10499177873134613, -0.7544484734535217, 0.35132962465286255, 0.06126626580953598, 0.6079721450805664, -0.0018640973139554262, -0.6420820355415344, -0.4146493375301361, 0.04961918666958809, -0.2518470287322998, -0.9050043225288391, 0.3569936454296112, 0.26182785630226135, 0.6276959180831909, 0.07542818039655685, 0.35505935549736023, 0.687604546546936, -0.742658257484436, 0.7356279492378235, -0.3765639364719391, -0.6417797207832336, 0.16651637852191925, -0.42071452736854553, 0.23468050360679626, 0.34967246651649475, 0.28854435682296753, -0.512311577796936, -0.11089438199996948, -0.6417868733406067, -1.0297846794128418, 0.5294568538665771, -0.06309205293655396, 0.1607857644557953, -0.12371107935905457, 0.7330086827278137, 0.24311529099941254, -0.12817439436912537, -0.2223987728357315, -0.07656064629554749, -0.2546946704387665, -0.22233279049396515, 0.2663215100765228, -0.6281459331512451, -0.22072267532348633, 0.27124664187431335, 0.712881863117218, -0.04089239239692688, 0.38998332619667053, 0.38397216796875, -0.0689617320895195, -0.2787981629371643, 0.27131521701812744, 0.4278900623321533, 0.5733125805854797, -0.06651999801397324, 0.14285579323768616, 0.232488751411438, -0.41836509108543396, 0.09149521589279175, 0.07364048808813095, -0.13362577557563782, 0.2114008069038391, 0.22695282101631165, 0.8514964580535889, 0.05276753380894661, -0.4811483323574066, 0.09389465302228928, -0.12219780683517456, -0.0005469764582812786, -0.4089362621307373, 0.25413626432418823, -0.13651755452156067, 0.31245845556259155, 0.4775386154651642, 0.012789854779839516, 0.430656373500824, -0.10062849521636963, 0.1615772843360901, 0.6205278038978577, -0.12686161696910858, -0.05833936482667923, 0.4806053638458252, -0.07178676128387451, -0.41615647077560425, 0.38704559206962585, -0.10325927287340164, -0.5883596539497375, 0.33533018827438354, 0.5575665235519409, 0.7593810558319092, -0.10554002970457077, -0.04798377677798271, 0.38958093523979187, 0.16591203212738037, 0.0707407295703888, 0.22522351145744324, -0.33442023396492004, -0.6239912509918213, -0.38733676075935364, -1.2035022974014282, -0.12062249332666397, -0.08399158716201782, -0.8675429821014404, 0.04039106145501137, -0.10305457562208176, -0.24722225964069366, -0.16495920717716217, 0.2520325183868408, -0.8419178128242493, 0.38052627444267273, -0.13902969658374786, 0.9821006655693054, -0.2685469388961792, 0.4533931612968445, 0.6767576932907104, 0.03124653548002243, -1.182363748550415, -0.12784899771213531, -0.28504374623298645, -0.7521040439605713, 0.4343017041683197, -0.3021072745323181, -0.2590799033641815, 0.022750528529286385, -0.4762321412563324, -1.1947325468063354, 0.8848293423652649, 0.218693345785141, -0.32417577505111694, -0.22436349093914032, -0.22650235891342163, 0.4910575747489929, -0.021181216463446617, 0.1330808848142624, 0.5709064602851868, 0.1655689924955368, 0.17118491232395172, -0.9139887690544128, -0.08207591623067856, -0.3428109586238861, 0.21075156331062317, 0.7049976587295532, -0.5084031224250793, 0.8135759830474854, 0.07319638133049011, -0.6436560153961182, 0.33473050594329834, 0.27024441957473755, 0.17871037125587463, 0.20623540878295898, 0.3925432860851288, 0.6469444632530212, 0.655014157295227, 0.018537290394306183, 1.5769072771072388, -0.3615509569644928, 0.2747640311717987, 0.9082310199737549, -0.01784939505159855, 0.7722786068916321, 0.5081030130386353, 0.06593428552150726, 0.3097238540649414, 0.7655875086784363, 0.6151684522628784, 0.5683237314224243, 0.1056671291589737, -0.3758832514286041, -0.1400095820426941, -0.1612677127122879, -0.25970587134361267, 0.3312860429286957, 0.4725150763988495, -0.36562490463256836, -0.0536595918238163, -0.13953474164009094, -0.10992761701345444, 0.1352103054523468, -0.16293476521968842, 1.0582900047302246, -0.07160501927137375, -1.112176537513733, 1.0763065814971924, 0.047019701451063156, 0.31664735078811646, -0.37737852334976196, 0.11518571525812149, -0.5008746385574341, 0.22026187181472778, -0.2705477476119995, -0.6657748222351074, 0.3991142809391022, 0.04819902032613754, -0.5732104182243347, -0.13881699740886688, 1.180895209312439, -0.3815889358520508, -0.2684690058231354, -0.09214954823255539, 0.692498505115509, -0.041813138872385025, 0.126623272895813, -0.3400192856788635, 0.3473578691482544, -0.22112835943698883, -0.5279859304428101, 0.34164056181907654, 0.7749264240264893, 0.005312073510140181, 0.32082054018974304, 0.6385605335235596, -0.008880884386599064, 0.3491239845752716, -0.020699279382824898, 1.1276534795761108, -0.4093901813030243, -0.36080485582351685, -0.38816967606544495, 0.6213502287864685, -0.13915060460567474, -0.1475110650062561, 0.6666648387908936, 0.561274528503418, 0.7229816317558289, 0.059583745896816254, 0.5739037394523621, -0.10977980494499207, 0.7674046158790588, -0.5592482089996338, 0.6989736557006836, -0.7826604843139648, 0.27049487829208374, -0.09995908290147781, -0.8793202042579651, 0.010963843204081059, 0.46075648069381714, -0.08118104189634323, 0.13922862708568573, 0.20419344305992126, 0.7190184593200684, -0.07598838955163956, 0.07378207892179489, 0.3440907895565033, -0.25579559803009033, 0.18687839806079865, 0.44765183329582214, 1.0730407238006592, -0.3973136246204376, 0.3402286767959595, -0.25911763310432434, -0.2085215300321579, -0.023840725421905518, -0.5716718435287476, -0.5157467126846313, -0.7711898684501648, 0.3927472233772278, -0.3578644394874573, 0.20403830707073212, 0.7997525334358215, 0.6406447291374207, -0.21606211364269257, -0.1241687536239624, 0.08515000343322754, -0.02591322921216488, 0.1823723167181015, -0.2289849817752838, 0.3522868752479553, -0.7551446557044983, -0.557277500629425, 0.17105022072792053, 0.10230211913585663, -0.2569276988506317, 0.01965697854757309, -0.107172891497612, -0.31508874893188477, 0.43134355545043945, 0.7278201580047607, 0.19019271433353424, -0.6372424364089966, -0.4277653992176056, 0.48052704334259033, -0.24773229658603668, -0.17146597802639008, 0.7777932286262512, -1.110756754875183, 0.5811657905578613, 0.4472622573375702, 0.9260473251342773, 0.4387566149234772, 0.2675079107284546, 0.38761574029922485, -1.192861795425415, -0.04767758026719093, 0.6081586480140686, 0.25800633430480957, 0.24019597470760345, -0.5997477769851685, 0.5563177466392517, -0.21286725997924805, -1.0328209400177002, -1.044787049293518, 0.11013619601726532, -0.5905804634094238, -0.496065229177475, 1.249511957168579, 0.03825581446290016, -0.3741476237773895, -0.19703249633312225, -0.3997844457626343, 0.32142412662506104, -0.07611087709665298, 0.5676349401473999, 0.5678901076316833, -0.18761911988258362, -0.03872290998697281, -0.6557543873786926, 0.7567040920257568, 0.5202898383140564, -0.3058089017868042, -0.007169371470808983, 0.7655292749404907, 0.09989673644304276, 0.2902928292751312, 0.589215099811554, 0.13305369019508362, 0.29393842816352844, 0.09222626686096191, -0.1707465797662735, -0.09301825612783432, -0.33833417296409607, -0.16874168813228607, 0.2923144996166229, 0.12114628404378891, -0.03334321826696396 ]
http://arxiv.org/abs/2403.09037v1
http://arxiv.org/pdf/2403.09037v1
The First to Know: How Token Distributions Reveal Hidden Knowledge in Large Vision-Language Models?
2024-03-14T02:25:35
2024-03-14T02:25:35
Qinyu Zhao, Ming Xu, Kartik Gupta, Akshay Asthana, Liang Zheng, Stephen Gould
cs.CV
cs.CV, cs.CL
Large vision-language models (LVLMs), designed to interpret and respond to human instructions, occasionally generate hallucinated or harmful content due to inappropriate instructions. This study uses linear probing to shed light on the hidden knowledge at the output layer of LVLMs. We demonstrate that the logit distributions of the first tokens contain sufficient information to determine whether to respond to the instructions, including recognizing unanswerable visual questions, defending against multi-modal jailbreaking attack, and identifying deceptive questions. Such hidden knowledge is gradually lost in logits of subsequent tokens during response generation. Then, we illustrate a simple decoding strategy at the generation of the first token, effectively improving the generated content. In experiments, we find a few interesting insights: First, the CLIP model already contains a strong signal for solving these tasks, indicating potential bias in the existing datasets. Second, we observe performance improvement by utilizing the first logit distributions on three additional tasks, including indicting uncertainty in math solving, mitigating hallucination, and image classification. Last, with the same training data, simply finetuning LVLMs improve models' performance but is still inferior to linear probing on these tasks.
[ -0.39847466349601746, -0.6772537231445312, 0.4729604721069336, -0.14223694801330566, -0.4905049800872803, -0.1171734482049942, -0.009077982045710087, -0.4196755290031433, 0.16738229990005493, 0.5989648103713989, -0.6664718389511108, -0.44794967770576477, -0.6038897037506104, -0.3889073431491852, -0.6041320562362671, 0.843131959438324, 0.37642765045166016, 0.14195352792739868, -0.13633336126804352, -0.06131718307733536, -0.3848428428173065, -0.7167413234710693, -0.6583166718482971, -0.09504713863134384, 0.6968657374382019, -0.04979022219777107, 0.45977097749710083, 0.6120359897613525, 0.5765599012374878, 0.18631218373775482, -0.26228266954421997, 0.14261771738529205, -0.7582215666770935, -0.19551710784435272, -0.1348743587732315, -0.7594477534294128, -0.12267282605171204, -0.35682177543640137, 0.4847683012485504, 0.5545296669006348, 0.12734363973140717, 0.39494210481643677, 0.029190177097916603, 0.7020321488380432, -0.6282843947410583, 0.11879872530698776, -0.7050290107727051, 0.2371828407049179, -0.1625295877456665, -0.40032440423965454, -0.8152713179588318, -0.016633523628115654, 0.15706318616867065, -0.43225011229515076, 0.35865387320518494, 0.091989666223526, 0.6803740859031677, 0.4208313226699829, -0.42104464769363403, -0.2227620929479599, -0.5754948854446411, 0.7122024297714233, -0.5506415963172913, 0.42952704429626465, 0.2922281324863434, 0.17336952686309814, 0.01122221164405346, -0.7177935838699341, -0.3832078278064728, -0.12150565534830093, -0.2307034432888031, -0.2762667238712311, -0.3116070330142975, 0.172920361161232, 0.2903411388397217, 0.05689297616481781, -0.2655988037586212, 0.1281895637512207, -0.7091618776321411, -0.647797167301178, 0.4206914007663727, 0.2611614465713501, 0.009943637996912003, -0.21568463742733002, -0.5711642503738403, -0.46462106704711914, -0.7223590016365051, 0.33570361137390137, 0.25273188948631287, 0.06390684843063354, 0.1547003984451294, 0.6734499335289001, 0.1884685605764389, 0.5883088707923889, -0.09122533351182938, -0.05726151168346405, 0.022821007296442986, -0.48402634263038635, -0.2517465651035309, -0.03742649406194687, 0.4834271967411041, 0.33565059304237366, 0.1430608630180359, 0.012888368219137192, -0.48036205768585205, 0.06883608549833298, 0.2581612467765808, -0.7273483276367188, -0.3723326325416565, 0.01966134086251259, -0.6152365207672119, -0.5557276606559753, 0.09658921509981155, -0.5318771600723267, -0.5372714996337891, -0.11524242907762527, 0.6731259226799011, -0.3591769337654114, -0.30069974064826965, 0.24954350292682648, -0.2004997432231903, 0.39344605803489685, 0.3453119993209839, -0.9662428498268127, 0.4855130612850189, 0.8074709177017212, 0.6408910751342773, -0.1810898333787918, -0.05551900714635849, -0.9123443365097046, -0.2045051008462906, -0.5337448716163635, 0.39620548486709595, -0.11393775790929794, 0.040407586842775345, 0.012753247283399105, -0.08036203682422638, 0.09040140360593796, -0.5920965075492859, 0.2775907516479492, -0.5865838527679443, -0.16475704312324524, -0.4281076490879059, -0.4610651731491089, -0.10332980006933212, 0.07454529404640198, -0.8000198602676392, 0.9380376935005188, -0.07635557651519775, -1.0221669673919678, 0.444290429353714, -0.578762412071228, -0.157852903008461, 0.0834905132651329, -0.35272088646888733, -0.22055363655090332, 0.4949876368045807, 0.26187238097190857, 0.537047803401947, 0.2672061324119568, -0.018746791407465935, -0.031858932226896286, -0.38816705346107483, 0.48652276396751404, -0.5915362238883972, 0.6625015735626221, 0.14470258355140686, -0.3969641923904419, 0.1148364469408989, -0.7215296626091003, 0.07690294086933136, 0.28571653366088867, -0.19316543638706207, -0.434364378452301, -0.015429954044520855, -0.12277299165725708, -0.11715074628591537, 0.033341825008392334, -0.4639463424682617, 0.048704687505960464, -0.27263182401657104, 0.3385046720504761, 1.1682109832763672, 0.010660451836884022, 0.3108654022216797, 0.010901528410613537, 0.3738180994987488, 0.39306849241256714, 0.44565507769584656, -0.4418897032737732, -0.5058048367500305, -0.8851966261863708, -0.0063183121383190155, 0.12365718185901642, 0.4619119167327881, -0.8627154231071472, -0.12323979288339615, -0.09967146068811417, -0.19205868244171143, -0.5406198501586914, 0.1281537413597107, 0.5747557878494263, 0.4566592574119568, 0.12577936053276062, -0.2628801763057709, -0.34061411023139954, -1.0144188404083252, -0.1730407178401947, -0.24408301711082458, 0.012138715013861656, 0.31262683868408203, 0.6053067445755005, -0.08610442280769348, 0.7066167593002319, -0.64182448387146, -0.09312089532613754, -0.13999471068382263, 0.11995983868837357, 0.026917165145277977, 0.1702253520488739, 0.5579107403755188, -0.8188164234161377, 0.012871469371020794, 0.07725922763347626, -0.6274181604385376, 0.2736413776874542, -0.10134691745042801, -0.2470889836549759, 0.15433736145496368, 0.4707425832748413, -0.5445603132247925, 0.708254337310791, 0.3818768560886383, -0.4985540807247162, 0.5309407711029053, -0.1544487178325653, -0.31836530566215515, -0.7111830711364746, 0.055683452636003494, -0.342544823884964, -0.4585559368133545, -0.7648178935050964, 0.2227611094713211, 0.1636577993631363, 0.04899166151881218, -0.5965132117271423, 0.5410922169685364, -0.4123629629611969, -0.1701524704694748, -0.0188297051936388, 0.08949171006679535, 0.017078125849366188, 0.5862243175506592, -0.10874223709106445, 0.805226743221283, 0.5817186236381531, -0.6659243702888489, 0.22859305143356323, 0.11752140522003174, -0.6357201933860779, -0.13392376899719238, -0.6532139778137207, 0.3169803321361542, -0.48320215940475464, -0.2676514685153961, -1.1750785112380981, -0.12794436514377594, 0.21328265964984894, -0.6449356079101562, 0.24686434864997864, -0.11098109930753708, -0.4613417685031891, -0.4371109902858734, -0.29202133417129517, 0.5386245250701904, 0.6324694752693176, -0.5136875510215759, 0.3595113158226013, 0.27571120858192444, 0.15846747159957886, -0.8664504885673523, -0.7924656867980957, -0.15199612081050873, -0.09213533252477646, -0.5061120390892029, -0.23151004314422607, -0.08908305317163467, -0.35073086619377136, -0.07815945893526077, -0.19089893996715546, 0.022175082936882973, 0.14574360847473145, 0.23911555111408234, 0.2750937044620514, -0.4167846739292145, 0.3161729574203491, -0.18740232288837433, 0.12253936380147934, 0.4209517538547516, -0.5312554240226746, 0.7695706486701965, -0.14533491432666779, -0.6020715236663818, -0.3638162910938263, 0.25503626465797424, 0.5667361617088318, -0.3579026758670807, 0.8131380081176758, 0.6890315413475037, -0.2191125750541687, -0.18467484414577484, -0.5572527050971985, -0.6040947437286377, -0.4922310709953308, 0.46443140506744385, -0.4175652265548706, -0.6574375033378601, 0.5932859182357788, 0.1038476973772049, -0.06467728316783905, 0.19154849648475647, 0.4303009510040283, 0.06928631663322449, 1.0521920919418335, 0.9091348648071289, 0.01958576776087284, 0.5095893740653992, -0.3791005611419678, 0.2945663630962372, -0.4272461235523224, -0.4594898223876953, -0.05872998759150505, -0.27320632338523865, -0.23266835510730743, -0.5956636071205139, 0.5185469388961792, 0.07927145063877106, 0.09293673932552338, -0.055790115147829056, -0.5278832912445068, 0.6344884037971497, 0.7408124804496765, 0.5105271935462952, 0.17914657294750214, 0.22905947268009186, -0.25881609320640564, 0.06031588092446327, -0.7428478598594666, -0.19793233275413513, 1.1013931035995483, 0.6934366226196289, 0.9385535717010498, -0.03478487208485603, 0.7417178750038147, 0.16710706055164337, 0.03680082783102989, -0.7684375643730164, 0.5415331721305847, 0.0087116789072752, -0.5182982683181763, -0.4063260555267334, -0.26438039541244507, -0.739477813243866, 0.1793549656867981, -0.1131758764386177, -0.7069493532180786, 0.17891454696655273, 0.35461291670799255, -0.3327525854110718, 0.4292636513710022, -0.8058945536613464, 0.6787205934524536, -0.25283393263816833, -0.3307019770145416, 0.0008392466115765274, -0.6750202178955078, 0.5476067662239075, -0.055435046553611755, 0.2261422574520111, 0.32912778854370117, 0.05043727159500122, 0.8130730986595154, -0.23146414756774902, 1.0220574140548706, -0.34351757168769836, -0.24030627310276031, 0.2677658200263977, 0.3009403347969055, 0.6319112181663513, 0.07129690796136856, 0.3201371133327484, -0.1596391797065735, 0.07809058576822281, -0.4275696277618408, -0.7799972295761108, 0.24450430274009705, -0.5609198212623596, -0.7210525274276733, 0.03260618820786476, -0.4628465473651886, 0.26195207238197327, 0.2546176016330719, 0.4089781641960144, 0.595201849937439, 0.04655195400118828, 0.29173195362091064, 1.278608798980713, -0.24801407754421234, 0.24841856956481934, 0.0638895183801651, -0.4954818785190582, -0.08907653391361237, 0.7158640623092651, -0.1972096860408783, 0.6008671522140503, 0.4487107992172241, 0.19390849769115448, -0.2686123847961426, -0.5643677115440369, -0.48765867948532104, 0.23259341716766357, -1.2093758583068848, -0.06255275011062622, -0.40356287360191345, -0.24710462987422943, -0.2582939863204956, 0.1488880217075348, -0.444904088973999, -0.3242683708667755, -0.16018573939800262, -0.386830598115921, 0.3183033764362335, 0.9774016737937927, 0.020497623831033707, 0.04420129582285881, -0.5920988917350769, 0.21467985212802887, 0.4122830629348755, 0.1647387593984604, 0.1988353729248047, -0.3961622714996338, -0.3066199719905853, 0.1865117996931076, 0.11238919198513031, -0.9391579031944275, 0.26217469573020935, -0.003484041430056095, 0.5917451977729797, 0.7162680625915527, 0.010801569558680058, 0.5293655395507812, -0.42372292280197144, 0.8495566248893738, 0.2700452208518982, -0.8310135006904602, 0.5500496625900269, -0.14547304809093475, 0.19045165181159973, 0.19938351213932037, 0.04555489867925644, -0.2702748477458954, -0.3434652090072632, -0.2176392823457718, -0.6579386591911316, 0.6020938754081726, 0.19260330498218536, 0.4982476532459259, 0.01219543069601059, 0.33394235372543335, 0.2004178762435913, 0.23067912459373474, -0.9045591950416565, -0.3871889114379883, -0.2458019256591797, -0.013297876343131065, -0.0033594330307096243, -0.4232170581817627, -0.4499676525592804, -0.4243958592414856, -0.007593422196805477, -0.18940655887126923, 0.5760772824287415, 0.26284900307655334, -0.2365044206380844, 0.048629481345415115, -0.006691483315080404, 0.9769828915596008, 0.8123458623886108, -0.12754440307617188, 0.5247923135757446, 0.004522094968706369, -0.6908286809921265, -0.025546133518218994, -0.4274541735649109, -0.200137659907341, 0.16176816821098328, 0.5291200876235962, 1.2830181121826172, 0.013026188127696514, -0.7956640720367432, 0.8455960154533386, -0.20074476301670074, -0.32298803329467773, -0.3104739785194397, 0.13571050763130188, -0.1494491547346115, 0.3010503649711609, 0.7038083076477051, 0.09940511733293533, -0.030339600518345833, -0.537179708480835, 0.3651660978794098, 0.610629141330719, -0.205092191696167, -0.3395458459854126, 0.763670027256012, -0.21934983134269714, -0.33088794350624084, 0.44648176431655884, -0.08015360683202744, -0.7089706659317017, 0.5637723803520203, 0.47300854325294495, 0.4347943961620331, 0.055274151265621185, 0.37530162930488586, 0.20479080080986023, 0.5144729614257812, 0.11296206712722778, 0.2292538732290268, -0.27096492052078247, -0.5904341340065002, -0.3298164904117584, -0.5669824481010437, 0.059554167091846466, 0.1752755492925644, -0.9789108633995056, 0.2117341160774231, -0.5101041197776794, 0.004178578499704599, -0.06356042623519897, -0.4002879559993744, -1.0109745264053345, -0.03221699222922325, 0.3386843502521515, 0.9927066564559937, -0.7030032873153687, 0.7317041158676147, 0.20356479287147522, -0.270874559879303, -0.8821544051170349, -0.08459300547838211, -0.3075762689113617, -1.1452224254608154, 1.1233400106430054, 0.1329367309808731, -0.24528849124908447, -0.053508736193180084, -0.8208511471748352, -0.7738412022590637, 0.9692391753196716, 0.3730517327785492, -0.4055318534374237, -0.23900696635246277, 0.3013565242290497, 0.4076330363750458, -0.1700000762939453, 0.07743696123361588, 0.3862360119819641, 0.2121109813451767, 0.15651346743106842, -0.8742673993110657, 0.029395628720521927, -0.24684225022792816, -0.1374550610780716, 0.37388235330581665, -0.2911723554134369, 1.116591453552246, -0.5836695432662964, -0.32608214020729065, -0.09210807085037231, 0.48587334156036377, 0.03186311945319176, 0.422714501619339, 0.5368174910545349, 0.2426837980747223, 0.8543353080749512, 0.06430863589048386, 1.1115769147872925, -0.16431878507137299, 0.21635575592517853, 0.6987680196762085, 0.22311972081661224, 1.0000470876693726, 0.8571580052375793, 0.06330826133489609, 0.3415176570415497, 0.4507669508457184, -0.004901097621768713, 0.769591748714447, 0.39624667167663574, -0.2303948551416397, -0.17823657393455505, 0.040198132395744324, -0.2709897756576538, 0.36007562279701233, 0.3401491045951843, -0.48269614577293396, -0.01796053722500801, 0.40294569730758667, -0.16010892391204834, -0.2521663010120392, -0.4686782956123352, 0.8949775695800781, -0.03994617238640785, -0.6016092300415039, 0.9701492190361023, -0.30039164423942566, 0.4277418553829193, -0.5180085301399231, -0.03773439675569534, -0.4039848744869232, 0.279020220041275, -0.016285641118884087, -0.8213652968406677, 0.004767224192619324, -0.20818527042865753, -0.14679262042045593, -0.027182646095752716, 0.7578462958335876, -0.257348895072937, -0.47114133834838867, 0.33221516013145447, 0.3474467098712921, 0.3252839744091034, -0.13267016410827637, -0.20252284407615662, 0.22186055779457092, 0.1854979544878006, -0.2407458871603012, 0.2831079065799713, 0.408644437789917, -0.08036936819553375, 0.8351742625236511, 0.5983577370643616, 0.07103761285543442, 0.8670381307601929, -0.028835149481892586, 1.1478055715560913, -0.5026032328605652, -0.39918509125709534, -0.9322406053543091, 0.7062463164329529, -0.0709800198674202, -0.0447876863181591, 0.5755786299705505, 0.4900308847427368, 0.9371216297149658, -0.37160739302635193, 0.5377320647239685, 0.3069794476032257, 0.18011535704135895, -0.8338587284088135, 0.5332556962966919, -0.5585801005363464, 0.2650277614593506, -0.044381555169820786, -0.6115602850914001, -0.27323323488235474, 0.4567755460739136, 0.05012113228440285, -0.4276942312717438, 0.7328911423683167, 0.9084939360618591, -0.22010527551174164, -0.3883535861968994, 0.543549120426178, 0.18354448676109314, 0.3311278820037842, 0.716264009475708, 0.8031448125839233, -0.49763572216033936, 0.8033480644226074, -0.24988409876823425, -0.05879559740424156, -0.21556785702705383, -0.4683675467967987, -1.2546658515930176, -0.672736644744873, 0.19222566485404968, -0.20523549616336823, 0.00026958563830703497, 0.4944442808628082, 0.7924599051475525, -0.5939158797264099, 0.12394367903470993, -0.11429476737976074, 0.05572532117366791, -0.08333385735750198, -0.20455746352672577, 0.39360326528549194, -0.18496468663215637, -0.3335685729980469, 0.2572839856147766, 0.1652400642633438, 0.16638420522212982, -0.5827930569648743, -0.07604249566793442, 0.30902713537216187, 0.14097662270069122, 0.7464298009872437, -0.03076031431555748, -1.0587331056594849, -0.4767274856567383, 0.5068764686584473, -0.05223006382584572, 0.006930012255907059, 1.0306856632232666, -0.86521315574646, 0.47513943910598755, 0.5214976668357849, 0.6454163789749146, 0.6410637497901917, -0.1289418637752533, 0.29935023188591003, -0.9825394153594971, 0.40455323457717896, 0.20641250908374786, 0.14597828686237335, 0.003710040356963873, -0.6097389459609985, 0.2054288238286972, 0.07675609737634659, -0.2953283190727234, -1.2104313373565674, 0.42278704047203064, -0.8478050231933594, -0.2767385244369507, 1.0113710165023804, -0.04775925725698471, -0.4898478388786316, 0.1036243885755539, -0.4750328063964844, -0.008842959068715572, -0.0140845887362957, 0.6735451221466064, 0.7086540460586548, 0.020592590793967247, -0.6255589723587036, -0.7212615013122559, 0.6263286471366882, 0.5538758635520935, -0.42280998826026917, 0.2122742235660553, 0.2823968827724457, 0.23954148590564728, 0.22699187695980072, 0.5845539569854736, 0.00943912472575903, 0.3306141197681427, 0.20595358312129974, -0.2982443571090698, -0.2364700436592102, -0.4478049576282501, -0.2493266761302948, 0.28994840383529663, 0.13475680351257324, -0.4607014060020447 ]
http://arxiv.org/abs/2403.09032v1
http://arxiv.org/pdf/2403.09032v1
CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences
2024-03-14T01:51:35
2024-03-14T01:51:35
Martin Weyssow, Aton Kamanda, Houari Sahraoui
cs.SE
cs.SE, cs.CL, cs.LG
Evaluating the alignment of large language models (LLMs) with user-defined coding preferences is a challenging endeavour that requires assessing intricate textual LLMs' outputs. By relying on automated metrics and static analysis tools, existing benchmarks fail to assess nuances in user instructions and LLM outputs, highlighting the need for large-scale datasets and benchmarks for LLM preference alignment. In this paper, we introduce CodeUltraFeedback, a preference dataset of 10,000 complex instructions to tune and align LLMs to coding preferences through AI feedback. We generate responses to the instructions using a pool of 14 diverse LLMs, which we then annotate according to their alignment with five coding preferences using the LLM-as-a-Judge approach with GPT-3.5, producing both numerical and textual feedback. We also present CODAL-Bench, a benchmark for assessing LLM alignment with these coding preferences. Our results show that CodeLlama-7B-Instruct, aligned through reinforcement learning from AI feedback (RLAIF) with direct preference optimization (DPO) using CodeUltraFeedback's AI feedback data, outperforms 34B LLMs on CODAL-Bench, validating the utility of CodeUltraFeedback for preference tuning. Furthermore, we show our DPO-aligned CodeLlama model improves functional correctness on HumanEval+ compared to the unaligned base model. Therefore, our contributions bridge the gap in preference tuning of LLMs for code and set the stage for further advancements in model alignment and RLAIF for code intelligence. Our code and data are available at https://github.com/martin-wey/CodeUltraFeedback.
[ -0.1454179286956787, -0.13504928350448608, 0.28537654876708984, 0.33300158381462097, -0.012111545540392399, 0.17464464902877808, -0.6971673369407654, -0.023494381457567215, 0.037431664764881134, 0.49005234241485596, -0.5830667018890381, -0.7057933807373047, -0.4605603516101837, 0.09333392977714539, -0.21115416288375854, 1.100748896598816, -0.35785260796546936, 0.07362014055252075, -0.4096921384334564, -0.2257131189107895, -0.7175065875053406, -0.6249436736106873, -0.033680692315101624, -0.45243796706199646, 0.3473038673400879, 0.6991194486618042, 0.9033198356628418, 0.7042473554611206, 0.5948786735534668, 0.1912144422531128, 0.32919174432754517, 0.1183757483959198, -0.34812045097351074, -0.16926954686641693, -0.0618264265358448, -0.4028894007205963, -0.4979441463947296, 0.011581086553633213, 0.2120504379272461, 0.20861704647541046, -0.09425044804811478, 0.23990696668624878, 0.0639897882938385, 0.759080708026886, -0.4916105568408966, 0.13699276745319366, -0.32566940784454346, 0.09219218790531158, 0.05500312149524689, -0.4368823766708374, -0.5860368609428406, -0.9399815201759338, -0.12946932017803192, -0.39164769649505615, -0.20083686709403992, 0.029270727187395096, 0.716913104057312, 0.6817120313644409, -0.37603288888931274, -0.4032965898513794, -0.4197533130645752, 0.7834869027137756, -0.8187009692192078, 0.10307793319225311, 0.28379324078559875, 0.22681856155395508, -0.08503197878599167, -0.28864747285842896, -0.5017044544219971, -0.3721935749053955, -0.03364886716008186, 0.16547921299934387, -0.052458010613918304, -0.033474139869213104, 0.25703948736190796, 0.3620281219482422, -0.7583317756652832, 0.39991480112075806, 0.019364861771464348, -0.26893192529678345, 0.7416436076164246, 0.16872212290763855, 0.13957267999649048, -0.066314697265625, -0.46292126178741455, -0.2131378948688507, -0.7626858949661255, 0.1921175867319107, 0.603843092918396, 0.16437089443206787, -0.2044614553451538, 0.5884765982627869, -0.06139096990227699, 0.8529496788978577, 0.18289828300476074, -0.040816064924001694, 0.47649523615837097, -0.09184690564870834, -0.16118112206459045, 0.18751537799835205, 0.7660724520683289, 0.7538295388221741, 0.5125752091407776, -0.04350518062710762, -0.3098113238811493, 0.2023017853498459, 0.5101332068443298, -0.6941991448402405, -0.05942656099796295, 0.30008822679519653, -0.4312756657600403, -0.4943329095840454, 0.1608726680278778, -0.636003315448761, -0.43065571784973145, -0.5308417677879333, 0.13952583074569702, -0.21107496321201324, -0.015192992985248566, 0.35757848620414734, 0.1727292537689209, 0.42824575304985046, 0.37280532717704773, -1.0158506631851196, -0.045144714415073395, 0.8758934140205383, 0.6688809394836426, -0.5493192672729492, -0.3941982686519623, -0.6535080671310425, -0.16956694424152374, -0.27090421319007874, 0.6660779118537903, -0.7658154368400574, -0.23830126225948334, 0.2612978518009186, 0.07797297835350037, -0.03874475881457329, -0.4794602692127228, 0.6524906754493713, -0.5907266139984131, -0.10227295011281967, -0.03697832301259041, -0.6042132377624512, -0.05029129609465599, 0.35586467385292053, -0.4561161696910858, 0.8091098070144653, 0.14617452025413513, -0.46686750650405884, 0.37477049231529236, -0.33173325657844543, -0.3894149363040924, -0.053702402859926224, -0.501725971698761, -0.4176531434059143, 0.027310142293572426, 0.1505919098854065, 0.26466402411460876, -0.20363172888755798, 0.6495777368545532, -0.5103352069854736, -0.6677905917167664, 0.3115209639072418, -0.35897451639175415, 0.5091226100921631, 0.09371794760227203, -0.5476258993148804, 0.4136125147342682, -0.657151460647583, 0.11710677295923233, -0.11680241674184799, -0.6062012910842896, 0.02384655550122261, 0.09971007704734802, 0.0378628633916378, 0.07023037225008011, 0.2442392259836197, -0.43903154134750366, 0.7674595713615417, -0.14718332886695862, 0.6184470653533936, 0.9670552611351013, -0.5180743336677551, 0.42510172724723816, -0.41078105568885803, 0.7968250513076782, -0.32321327924728394, 0.09963840246200562, 0.08113130927085876, -0.07298646867275238, -0.4669266641139984, -0.1882571280002594, 0.3257334232330322, 0.4205319881439209, -0.30738693475723267, 0.755646288394928, -0.5214539170265198, -0.09755410999059677, -0.7218214273452759, 0.17708346247673035, 0.5386300683021545, 0.33125558495521545, 0.21858985722064972, -0.28811320662498474, -0.5502243638038635, -1.0321505069732666, -0.1843680590391159, -0.24127133190631866, 0.014107432216405869, 0.4009609520435333, 0.2865005135536194, -0.4286315143108368, 0.891032338142395, -0.40359732508659363, -0.08081474900245667, -0.03707308694720268, -0.08176636695861816, 0.3477191925048828, 0.5565714240074158, 0.3509744703769684, -0.6131288409233093, -0.2939276695251465, 0.027087755501270294, -0.43878114223480225, -0.3698399066925049, 0.026998279616236687, -0.09013466536998749, 0.2860677242279053, 0.20856943726539612, -0.2627381682395935, 0.23205538094043732, 0.8304997682571411, -0.24173693358898163, 0.5400535464286804, -0.029683303087949753, 0.5125359296798706, -0.7888955473899841, 0.13104553520679474, -0.2898438274860382, -0.2917681932449341, -0.05168700963258743, 0.07301654666662216, 0.39239197969436646, 0.14025607705116272, -0.21122290194034576, 0.4054469168186188, -0.21772883832454681, -0.3896026611328125, -0.3633202016353607, -0.024185268208384514, 0.060664303600788116, 0.7700303792953491, 0.27439072728157043, 0.9745532870292664, 0.08992945402860641, -0.23126643896102905, 0.4430430829524994, 0.47639700770378113, -0.1992286592721939, 0.37219342589378357, -0.4547187089920044, 0.47226589918136597, 0.30459409952163696, 0.2965035140514374, -0.9998353719711304, -0.09954356402158737, 0.0809781551361084, -0.405630499124527, 0.3388839662075043, -0.4299118220806122, -0.2431754618883133, -0.403886079788208, -0.5553568601608276, 0.3688541352748871, 0.4906463623046875, -0.7633726000785828, 0.39064180850982666, 0.15974436700344086, 0.010291293263435364, -0.7780189514160156, -0.45084214210510254, -0.019769856706261635, -0.13749012351036072, -0.41181299090385437, 0.3059524893760681, -0.36604273319244385, -0.18711420893669128, -0.3015742003917694, -0.300508588552475, 0.3199057877063751, 0.01831304281949997, 0.5882323384284973, 0.4998601973056793, -0.1437746286392212, 0.15308281779289246, -0.10616473108530045, -0.25268107652664185, 0.039331432431936264, -0.39828747510910034, 0.5860663056373596, -0.33654654026031494, -0.36547040939331055, -0.12014801800251007, 0.0031043447088450193, 0.5490312576293945, -0.18675567209720612, 0.0532720610499382, 0.2146349400281906, 0.1594858467578888, -0.08989477902650833, -0.5425693392753601, 0.06661280989646912, -0.3746882379055023, 0.18985508382320404, -0.09029899537563324, -0.9787106513977051, 0.11556146293878555, 0.05486149340867996, 0.202670156955719, 0.28615155816078186, 0.8346978425979614, 0.004544404335319996, 0.8715226650238037, 0.4942523241043091, -0.4929784834384918, 0.3422958552837372, -0.04542318359017372, -0.00146967894397676, -0.6866203546524048, -0.12465132772922516, -0.6254291534423828, -0.5216525197029114, -0.5183373689651489, -0.21029934287071228, -0.021062202751636505, -0.05407649278640747, -0.5050820112228394, 0.45820605754852295, -0.6600350737571716, 0.41200193762779236, 0.46048861742019653, 0.07903852313756943, 0.45180436968803406, -0.19588539004325867, 0.07776108384132385, 0.033077165484428406, -0.5237985849380493, -0.7509400248527527, 1.1226838827133179, 0.2355298548936844, 1.2172170877456665, 0.03694655001163483, 0.6251514554023743, 0.5381792187690735, 0.4524035155773163, -0.9283801317214966, 0.267821341753006, -0.09580758213996887, -0.060501448810100555, 0.061800021678209305, -0.17596974968910217, -0.44029754400253296, -0.15296706557273865, -0.11119493097066879, -0.4734167158603668, 0.21754184365272522, 0.3929613530635834, -0.4604934751987457, -0.05480136349797249, -0.7400637269020081, 0.8679953217506409, -0.5298892259597778, -0.4969671070575714, -0.12955094873905182, -0.7301572561264038, 0.32400012016296387, 0.04647693783044815, 0.11319264024496078, -0.13021928071975708, -0.041432399302721024, 0.5563396215438843, -0.4508373737335205, 0.8186805248260498, 0.04806163161993027, -0.2648276686668396, -0.18094944953918457, 0.09890031814575195, 0.4402511417865753, 0.1713000386953354, -0.18610964715480804, 0.15214885771274567, 0.028202535584568977, -0.18020887672901154, -0.4471783936023712, 1.0321407318115234, -0.9642475247383118, -0.6609966158866882, -0.3353959023952484, -0.6285897493362427, -0.3291626572608948, 0.0022915846202522516, 0.07440909743309021, 0.5718345642089844, 0.10922151058912277, 0.1723015308380127, 0.5828937292098999, -0.3080553710460663, 0.42756614089012146, 0.6367222666740417, -0.36428600549697876, -0.3946637511253357, 0.8397494554519653, -0.40368226170539856, 0.13285726308822632, 0.4966675043106079, 0.16899144649505615, -0.2606392502784729, -0.4843171536922455, -0.7655037045478821, -0.14910250902175903, -0.5543729662895203, -0.6175832152366638, -0.41048628091812134, -0.04758007079362869, -0.21651853621006012, -0.502081573009491, -0.33676135540008545, -0.2450268715620041, -0.07608266174793243, -0.07335919886827469, 0.5221959352493286, 0.5901399850845337, 0.17276576161384583, 0.013192081823945045, -0.8939676880836487, 0.011639345437288284, 0.00272369640879333, 0.6246799826622009, -0.09889382869005203, -0.615068256855011, -0.1523800939321518, -0.05870991200208664, -0.24963314831256866, -0.509178102016449, 0.20450757443904877, -0.11346127837896347, 0.2276245504617691, 0.2138509452342987, 0.0037571329157799482, 0.5553696155548096, -0.38076990842819214, 0.6138509511947632, 0.00764435576274991, -1.0548901557922363, 0.545897901058197, -0.18222475051879883, 0.3292863368988037, 0.8384953737258911, 0.2085588276386261, -0.3607691526412964, -0.05709372088313103, -0.2416597306728363, -0.5115839242935181, 0.6910646557807922, 0.03397281840443611, -0.05385027453303337, 0.11755775660276413, 0.4050087630748749, 0.34213507175445557, 0.35209959745407104, -0.6049144864082336, 0.021967848762869835, -0.26999038457870483, -0.5056752562522888, -0.20868714153766632, -0.08158442378044128, -0.21811005473136902, -0.07270495593547821, 0.5223046541213989, -0.4842335879802704, 0.14450760185718536, 0.006948965601623058, -0.30105793476104736, -0.12573230266571045, 0.38931187987327576, 0.6992767453193665, 0.6200528144836426, -0.24411974847316742, 0.037172842770814896, -0.20038142800331116, -0.275098979473114, 0.39364075660705566, 0.10008295625448227, -0.09419628232717514, -0.3859679400920868, 0.5225375890731812, 0.6800776720046997, 0.3922401964664459, -0.9063917398452759, 0.7220478057861328, -0.2148910015821457, -0.19765125215053558, -0.07295569032430649, 0.14561372995376587, -0.03225765377283096, 0.2685519754886627, 0.0738728791475296, 0.22508279979228973, -0.007608690764755011, -0.34800052642822266, 0.24622708559036255, 0.4635334014892578, -0.4732132852077484, -0.17548532783985138, 0.5730788111686707, 0.2290167659521103, -0.4442124664783478, 0.6055537462234497, 0.2763209939002991, -0.5019087195396423, 0.71539306640625, 0.39069467782974243, 0.8895418047904968, 0.09685185551643372, 0.1025829017162323, 0.2383810579776764, 0.07707890123128891, -0.08629578351974487, 0.13922381401062012, -0.2981131076812744, -0.7456575632095337, -0.3272366523742676, -0.6647533774375916, -0.48140719532966614, -0.26786699891090393, -0.8550697565078735, 0.2798628807067871, -0.40276476740837097, -0.03699411451816559, -0.31488850712776184, 0.013810249976813793, -0.5924089550971985, -0.003602654440328479, 0.009416749700903893, 0.9482504725456238, -0.5529353618621826, 0.9496415257453918, 0.5307466387748718, -0.40426281094551086, -0.9384716749191284, 0.15964707732200623, 0.20164531469345093, -1.3472280502319336, 0.5250269770622253, 0.29343381524086, -0.298393577337265, -0.04099322110414505, -0.701288104057312, -0.6509513854980469, 1.017088532447815, 0.45303964614868164, -1.0979979038238525, 0.18578724563121796, -0.1146291196346283, 0.468731552362442, -0.43054690957069397, 0.42021340131759644, 0.7132729887962341, 0.5071479082107544, 0.0542980395257473, -0.6955380439758301, 0.07641293108463287, -0.33065956830978394, -0.015221848152577877, 0.32643923163414, -0.8079723715782166, 0.10978420078754425, -0.26201844215393066, 0.2245698720216751, 0.014849432744085789, 0.3376147150993347, 0.22195574641227722, -0.08926009386777878, 0.4347177743911743, 0.45541298389434814, 0.35226795077323914, -0.08171068876981735, 1.0754196643829346, -0.4704170525074005, 0.3548210859298706, 1.0860477685928345, -0.449308305978775, 0.8516964912414551, 0.5702524781227112, -0.15915054082870483, 0.3866378366947174, 0.6245028376579285, -0.07807446271181107, 0.4277389645576477, 0.4262568950653076, 0.35565122961997986, -0.19402548670768738, -0.06695221364498138, -0.3679226338863373, 0.389974981546402, -0.22304078936576843, -0.21480080485343933, 0.1037125512957573, -0.18301554024219513, -0.14679302275180817, 0.20525091886520386, -0.22647833824157715, 0.8320833444595337, -0.04866768419742584, -1.0220788717269897, 0.6913534998893738, -0.2313028872013092, 0.8023524880409241, -0.6161012649536133, -0.11724663525819778, -0.5207082033157349, 0.38398775458335876, -0.4878935217857361, -0.934043824672699, 0.07556743919849396, 0.17332300543785095, -0.32136574387550354, -0.27866142988204956, 0.2776097059249878, -0.4805448055267334, -0.11791054159402847, 0.4757367670536041, -0.04961409792304039, -0.28176531195640564, 0.3305560350418091, -0.5693119168281555, 0.594840943813324, 0.27696266770362854, -0.18613027036190033, 0.5196468234062195, -0.09188984334468842, -0.04427755996584892, 0.5227785110473633, 0.4114111363887787, -0.0954170823097229, -0.26498904824256897, 0.2725982964038849, 0.7920109033584595, -0.6838201284408569, -0.3455428183078766, -0.9222539663314819, 0.303205668926239, 0.12953653931617737, -0.41697508096694946, 0.637400209903717, 0.6328108906745911, 0.8673590421676636, -0.1288469433784485, 0.7575114965438843, 0.06702417880296707, 0.12367306649684906, -0.8283244967460632, 0.3142904043197632, -0.3615693747997284, 0.455485999584198, -0.21758010983467102, -0.821433961391449, -0.18688733875751495, 0.3699432611465454, -0.3805408179759979, -0.04296843707561493, 0.4579934775829315, 0.9610111713409424, 0.07320362329483032, 0.08492716401815414, 0.1379009485244751, -0.004840211942791939, 0.28585273027420044, 0.8035350441932678, 0.8560578227043152, -0.20189982652664185, 0.4805907905101776, 0.00025439137243665755, -0.41291072964668274, -0.43339452147483826, -1.0180970430374146, -0.6627147793769836, -0.306275337934494, -0.2833768427371979, -0.4262934923171997, 0.2185119241476059, 1.4011956453323364, 0.5999063849449158, -0.9604899883270264, -0.40096375346183777, -0.003563741222023964, 0.09333710372447968, -0.3556878864765167, -0.2070053219795227, 0.40038737654685974, -0.2525268793106079, -0.5662146210670471, 0.28453290462493896, 0.5886451005935669, -0.2356601357460022, -0.11918243765830994, -0.44196024537086487, 0.03142520785331726, -0.19044874608516693, 0.3486655652523041, 0.23636974394321442, -0.7916269898414612, -0.43216806650161743, -0.008649416267871857, -0.3670923411846161, 0.410258024930954, 1.1856203079223633, -0.5842413902282715, 0.30041956901550293, 0.3299032151699066, 1.0176950693130493, 0.25550147891044617, 0.21099434792995453, 0.9639744162559509, -0.48898905515670776, -0.05452973023056984, 0.24353119730949402, 0.40470054745674133, 0.16431333124637604, -0.47322678565979004, 0.4953322410583496, -0.14484958350658417, -0.7812070250511169, -0.5183310508728027, 0.1373290866613388, -1.061919093132019, -0.0008204245241358876, 1.20696222782135, -0.12176061421632767, -0.06212620437145233, 0.26552844047546387, -0.46047163009643555, -0.20434211194515228, -0.6665941476821899, 0.7284538149833679, 0.6804713606834412, 0.0021924960892647505, -0.05443120002746582, -0.19415460526943207, 0.6457507014274597, 0.5065827965736389, -0.735482394695282, 0.4431760609149933, 0.7104037404060364, 0.17073018848896027, -0.24704734981060028, 0.5566254258155823, -0.10619623959064484, 0.4054178297519684, -0.5519033670425415, 0.36471161246299744, -0.16060775518417358, -0.1968509554862976, -0.8285094499588013, -0.032999228686094284, 0.3242979347705841, -0.11571848392486572 ]
http://arxiv.org/abs/2403.09028v1
http://arxiv.org/pdf/2403.09028v1
ChartInstruct: Instruction Tuning for Chart Comprehension and Reasoning
2024-03-14T01:40:23
2024-03-14T01:40:23
Ahmed Masry, Mehrad Shahmohammadi, Md Rizwan Parvez, Enamul Hoque, Shafiq Joty
cs.CL
cs.CL
Charts provide visual representations of data and are widely used for analyzing information, addressing queries, and conveying insights to others. Various chart-related downstream tasks have emerged recently, such as question-answering and summarization. A common strategy to solve these tasks is to fine-tune various models originally trained on vision tasks language. However, such task-specific models are not capable of solving a wide range of chart-related tasks, constraining their real-world applicability. To overcome these challenges, we introduce ChartInstruct: a novel chart-specific vision-language Instruction-following dataset comprising 191K instructions generated with 71K charts. We then present two distinct systems for instruction tuning on such datasets: (1) an end-to-end model that connects a vision encoder for chart understanding with a LLM; and (2) a pipeline model that employs a two-step approach to extract chart data tables and input them into the LLM. In experiments on four downstream tasks, we first show the effectiveness of our model--achieving a new set of state-of-the-art results. Further evaluation shows that our instruction-tuning approach supports a wide array of real-world chart comprehension and reasoning scenarios, thereby expanding the scope and applicability of our models to new kinds of tasks.
[ -0.1332533210515976, -0.6941547989845276, 0.48649242520332336, -0.21251773834228516, -0.39095014333724976, 0.187494158744812, -0.021810393780469894, -0.3381694555282593, -0.10990560799837112, 1.0309313535690308, -0.7668119668960571, -0.8228220343589783, -0.6265866160392761, -0.3272920846939087, -0.5287995934486389, 0.8493413925170898, -0.22179174423217773, 0.08182590454816818, -0.237057164311409, 0.12656307220458984, -0.8945243954658508, -0.1235964223742485, -0.677383542060852, 0.03730374947190285, 0.3511310815811157, 1.1533299684524536, 0.43050289154052734, 0.9106589555740356, 0.6694812178611755, 0.23053011298179626, 0.4749615490436554, 0.6891908645629883, -0.7718360424041748, 0.28119510412216187, 0.0925227627158165, -0.6505697965621948, -0.3584948182106018, 0.0351477675139904, 0.3401128649711609, 0.8529371023178101, 0.17186902463436127, 0.45141834020614624, 0.22072792053222656, 1.048241376876831, -0.8506461381912231, 0.7613113522529602, -0.29717257618904114, 0.008395201526582241, 0.07522197812795639, -0.4422706365585327, -0.8954034447669983, -0.4753572642803192, 0.22770433127880096, -0.9387833476066589, 0.21583127975463867, 0.2082727998495102, 0.8832994699478149, 0.5183322429656982, -0.5523906350135803, -0.42441749572753906, -0.3952217698097229, 0.4874332547187805, -0.5268988609313965, 0.37594330310821533, 0.41627857089042664, 0.6066001057624817, 0.2377597689628601, -1.084622859954834, 0.010683530010282993, 0.09461032599210739, -0.11915742605924606, 0.519882321357727, -0.003518500830978155, 0.18465282022953033, 0.2016741931438446, 0.16346865892410278, -0.41702762246131897, 0.3187054395675659, -0.6132732629776001, 0.03869109973311424, 0.5656886100769043, 0.591819167137146, 0.2918460965156555, -0.04908430203795433, -0.17466096580028534, -0.3631853461265564, -0.7180352210998535, 0.2605167031288147, 0.2708916962146759, 0.26727280020713806, -0.20569097995758057, 0.42962920665740967, -0.20804886519908905, 1.0111984014511108, 0.3802606761455536, 0.11015420407056808, -0.14014005661010742, -0.07330673187971115, -0.38464856147766113, 0.14651696383953094, 0.15812526643276215, 0.7084307670593262, 0.571926474571228, -0.14066027104854584, -0.21002179384231567, 0.12281126528978348, 0.5559290647506714, -0.6700605154037476, -0.6054984927177429, -0.06664954125881195, -0.21088792383670807, -0.20597943663597107, 0.013589726760983467, -0.5020119547843933, -0.556662380695343, -0.8728523254394531, 0.514720618724823, -0.6316193342208862, 0.3564237654209137, 0.05099334567785263, -0.1344836950302124, 0.3183242976665497, 0.40288856625556946, -1.0067863464355469, 0.15269890427589417, 0.8784936666488647, 0.5885230898857117, -0.010440315119922161, -0.1972493678331375, -0.7771705985069275, 0.25140175223350525, -0.811038613319397, 0.9077590107917786, -0.8486161828041077, -0.01219203695654869, -0.12281288951635361, 0.25373390316963196, -0.4079790413379669, -0.550923764705658, 0.29705947637557983, -0.5814183354377747, -0.06106287240982056, -0.20538035035133362, -1.2781375646591187, -0.5968309044837952, 0.039901237934827805, -0.5825451612472534, 0.612845778465271, 0.26756802201271057, -0.47746866941452026, 0.3953694701194763, -0.6209093332290649, -0.5929967164993286, 0.18188367784023285, -0.3340856730937958, -0.3768172860145569, -0.070548877120018, 0.5187743902206421, 0.5727861523628235, -0.18968823552131653, -0.37752676010131836, 0.16941794753074646, -0.7357566952705383, -0.21531735360622406, -0.19822724163532257, 0.7224066853523254, 0.07738552242517471, -0.42638254165649414, 0.23273976147174835, -0.573095977306366, 0.3137267827987671, -0.015357454307377338, -0.003816802753135562, -0.13096269965171814, 0.21270222961902618, -0.28247085213661194, -0.4157610535621643, 0.0755915492773056, -0.21846966445446014, 0.06198497489094734, -0.47525089979171753, 0.4331493377685547, 0.7882141470909119, 0.18342693150043488, 0.5510867834091187, -0.13646121323108673, 0.7806504368782043, 0.0178547166287899, 0.42428144812583923, -0.5351897478103638, -0.5600677728652954, -1.1571496725082397, -0.07548651844263077, 0.018699444830417633, 0.8044365644454956, -0.808851957321167, 0.0319657027721405, -0.2995811104774475, -0.620785653591156, -0.3791831135749817, 0.0020592359360307455, 0.45621591806411743, 0.9316394329071045, 0.4253995716571808, -0.23944787681102753, -0.4713517427444458, -0.7684646844863892, 0.0024612252600491047, 0.31143271923065186, 0.03705428168177605, 0.31544774770736694, 0.15253029763698578, 0.24086584150791168, 0.5754808187484741, -0.8489193916320801, -0.11388763785362244, -0.284480482339859, -0.022370288148522377, 0.232776939868927, 0.3305852711200714, 0.5040895938873291, -0.50896817445755, -0.8664475679397583, 0.04086890071630478, -0.7983137369155884, -0.015183341689407825, -0.16030709445476532, -0.48218461871147156, -0.04787963628768921, 0.7675772905349731, -0.05013944208621979, 0.7219938635826111, 0.35750576853752136, -0.5157195329666138, 0.5061324834823608, -0.24404968321323395, 0.29623207449913025, -0.7350159287452698, -0.47524797916412354, -0.1933152675628662, -0.07453138381242752, -0.536777675151825, 0.30529356002807617, 0.3675033748149872, -0.28818708658218384, -0.09784845262765884, 0.09720022231340408, -0.5790908932685852, 0.03920155018568039, -0.34464994072914124, 0.11106289178133011, 0.24422438442707062, 0.5200361013412476, -0.1486300677061081, 0.6500950455665588, 0.9260358214378357, -0.6888566613197327, 0.6194836497306824, 0.31271588802337646, -0.6601775288581848, 0.6750468015670776, -0.4076240658760071, 0.2832222282886505, -0.3044549524784088, -0.006412831600755453, -0.98308926820755, -0.29727140069007874, 0.43851548433303833, -0.10764986276626587, 0.5637993216514587, -0.5457332730293274, -0.31764599680900574, -0.2626650929450989, 0.08821573108434677, -0.04850366339087486, 0.5621278882026672, -0.6725285053253174, 0.579713761806488, 0.1776958703994751, 0.08792609721422195, -0.4681912362575531, -0.7415308356285095, -0.04122733324766159, -0.1728426218032837, -0.6245867609977722, -0.014011591672897339, 0.053663067519664764, 0.06740596890449524, -0.029990648850798607, -0.14251355826854706, -0.13105781376361847, -0.07902024686336517, 0.3668636083602905, 0.5034691095352173, -0.4381412863731384, 0.10764158517122269, 0.32061758637428284, -0.3351465165615082, -0.048975709825754166, -0.450971782207489, 0.14247272908687592, 0.12738551199436188, -0.7326681613922119, -0.559607207775116, 0.1815924346446991, 0.4134754240512848, -0.48095783591270447, 0.40210381150245667, 0.3198862075805664, -0.031175533309578896, -0.4165990352630615, -0.20259304344654083, -0.4348425269126892, -0.5720676183700562, 0.579334557056427, -0.05558590963482857, -0.47243672609329224, 0.1088705062866211, -0.04468031972646713, 0.5237841606140137, -0.04220530018210411, 0.2072049379348755, -0.6875106692314148, 0.955220639705658, 0.4550969898700714, 0.3119424879550934, 0.5547305941581726, -0.6883445382118225, 0.3222537338733673, -0.6048304438591003, -0.07161179184913635, -0.029583927243947983, -0.8365159630775452, -0.3127547800540924, -0.47040632367134094, 0.5143609642982483, -0.16488684713840485, -0.47194424271583557, 0.2799440324306488, -0.7408621907234192, 0.8015665411949158, 0.7865828275680542, 0.5131298303604126, 0.11419776827096939, 0.131276473402977, 0.27111154794692993, -0.09039051085710526, -0.8583516478538513, -0.5174314975738525, 1.2707180976867676, -0.22798782587051392, 0.7741729021072388, -0.32758575677871704, 0.46515434980392456, 0.09231676161289215, 0.20111826062202454, -0.7726203203201294, 0.587135910987854, -0.794086754322052, -0.44988858699798584, -0.45411568880081177, -0.21448270976543427, -1.0524296760559082, -0.0007584296399727464, 0.027120525017380714, -0.719788670539856, -0.02325429953634739, 0.5421931743621826, -0.11788440495729446, 0.39360931515693665, -1.3551942110061646, 1.0981308221817017, -0.4316994547843933, -0.13915209472179413, -0.2793617248535156, -0.643490195274353, 0.2532670795917511, 0.26037609577178955, 0.12811815738677979, -0.04893426597118378, 0.08376285433769226, 0.4821803569793701, -0.4702056646347046, 1.0533474683761597, -0.2765175402164459, -0.0680350661277771, 0.5347734093666077, 0.09743289649486542, 0.5763152837753296, -0.41569074988365173, 0.174434095621109, -0.44380635023117065, 0.12596969306468964, -0.4087774157524109, -1.044081449508667, 0.46748802065849304, -0.4953259229660034, -0.5544317960739136, 0.22094091773033142, -0.8740859031677246, -0.4420614242553711, 0.006868753582239151, 0.3606323301792145, 0.9108123779296875, 0.3484019339084625, 0.18367868661880493, 0.5250931978225708, -0.0776168629527092, 0.02372874692082405, 0.4043019413948059, 0.08623357862234116, -0.08993217349052429, 1.1370782852172852, 0.2387014627456665, 0.45479997992515564, 0.5873191952705383, -0.031966518610715866, 0.04237619787454605, -0.44132307171821594, -0.6276828646659851, -0.1331489533185959, -1.168045997619629, -0.13571679592132568, 0.17235945165157318, -0.21992021799087524, -0.062434203922748566, -0.3247074484825134, -0.36348068714141846, -0.37247103452682495, -0.40864068269729614, -0.17340713739395142, 0.5597015619277954, 0.738558292388916, 0.17237448692321777, 0.2336556315422058, -0.7204573750495911, 0.26695558428764343, 0.4347798526287079, 0.3540244698524475, 0.22656424343585968, -0.6460515260696411, -0.6834161877632141, 0.2052784562110901, -0.3861011564731598, -0.8456982970237732, -0.04391161724925041, 0.26602983474731445, 0.425954133272171, 0.6585063338279724, 0.27506351470947266, 0.8217645287513733, -0.5546790361404419, 0.34294360876083374, -0.0056970324367284775, -0.6246469020843506, 0.5834851264953613, 0.1210605725646019, 0.4169447124004364, 0.26253750920295715, 0.2675635516643524, -0.37844666838645935, -0.6740942001342773, -0.1912953406572342, -0.8274673819541931, 0.855772852897644, 0.07842495292425156, 0.10623158514499664, 0.28406140208244324, 0.5601231455802917, 0.19393055140972137, -0.21361592411994934, -0.014023665338754654, -0.4002695083618164, -0.498679518699646, -0.633951723575592, -0.14270856976509094, 0.11709669977426529, -0.09232981503009796, -0.4622456729412079, 0.46318119764328003, -0.29199784994125366, -0.1622057408094406, -0.1994669884443283, -0.28280702233314514, -0.016160035505890846, -0.10876023024320602, 0.1751668006181717, 0.8693873882293701, 0.08148325979709625, 0.1434960961341858, 0.07662559300661087, -0.7298300266265869, -0.04190671816468239, -0.004204974975436926, -0.4967075288295746, -0.3414018154144287, 0.6541746854782104, 1.2386269569396973, 0.647922694683075, -0.8186343908309937, 0.11543448269367218, 0.11817697435617447, -0.08116724342107773, -0.018258031457662582, 0.554006814956665, 0.3302386999130249, 0.42750972509384155, 0.28626951575279236, -0.07252029329538345, 0.03298827260732651, -0.23145286738872528, 0.10422679781913757, 0.10623955726623535, -0.4657159745693207, -0.10211440920829773, 0.7474930286407471, 0.16224077343940735, -0.18184123933315277, 0.9589864015579224, -0.020556585863232613, -0.26203712821006775, 1.1111994981765747, 0.24504396319389343, 0.6067157983779907, 0.18825769424438477, 0.39064928889274597, 0.47030794620513916, 0.4392879605293274, 0.5804369449615479, 0.36222201585769653, -0.07629839330911636, -0.5879168510437012, -0.47791844606399536, -0.046077486127614975, -0.5962908267974854, -0.168386310338974, -0.8328683376312256, 0.19351641833782196, -0.2956903576850891, 0.08307401090860367, -0.015373815782368183, -0.2584495544433594, -0.7258617281913757, 0.32991522550582886, 0.27582910656929016, 0.664199709892273, -0.4940711557865143, 0.4047767221927643, 0.6484197974205017, -0.42110341787338257, -1.0847870111465454, -0.1476564258337021, -0.0026352691929787397, -1.070797085762024, 0.5783783793449402, 0.1822081357240677, -0.0521681047976017, 0.2476026713848114, -0.8269868493080139, -0.6575415134429932, 1.2555782794952393, 0.7162970900535583, -0.7514654397964478, -0.08270260691642761, 0.1759672313928604, 0.3625216782093048, -0.39978131651878357, 0.03719695284962654, 0.6078447103500366, 0.49835097789764404, 0.09974857419729233, -0.5450423955917358, -0.06167280301451683, 0.07093501091003418, -0.45974624156951904, 0.1275883913040161, -0.5497236847877502, 0.6018809080123901, -0.5719841718673706, -0.3259989619255066, -0.17304779589176178, 0.4307166337966919, 0.18197257816791534, 0.48195573687553406, 0.5110401511192322, 0.42166954278945923, 0.7566890716552734, -0.09912358969449997, 0.9569170475006104, -0.6274828910827637, 0.08706720173358917, 1.4078916311264038, 0.14203906059265137, 0.6966459155082703, 0.1703205108642578, 0.044523779302835464, 0.5535302758216858, 0.8139880895614624, -0.10261936485767365, 0.4712553322315216, -0.09305623918771744, 0.23515403270721436, -0.40556788444519043, 0.21991974115371704, -0.16365814208984375, 0.6055377125740051, 0.4453217089176178, -0.43566498160362244, -0.13267438113689423, -0.15950775146484375, -0.23406794667243958, 0.18681713938713074, -0.5267601013183594, 0.5506599545478821, -0.03286447748541832, -0.7205353379249573, 0.615271270275116, -0.4077065587043762, -0.09492851793766022, -0.5866609215736389, -0.2206439971923828, -0.3262239098548889, 0.11802920699119568, -0.20011240243911743, -0.9903128147125244, 0.1455259770154953, -0.0023986874148249626, -0.006339277606457472, -0.21184419095516205, 0.22201402485370636, -0.23102907836437225, -0.6917372345924377, -0.06729647517204285, 0.2983742356300354, 0.000551966717466712, 0.07349192351102829, -0.4362146258354187, -0.24878749251365662, 0.14180715382099152, -0.041352882981300354, 0.010872060433030128, 0.5659115314483643, 0.11317472159862518, 0.9650329947471619, 0.24687409400939941, -0.2113349288702011, 0.2661631405353546, 0.48992279171943665, 0.6585623621940613, -0.4160097539424896, -0.6473836302757263, -0.2709408104419708, 0.499022901058197, -0.007536880671977997, -0.21888841688632965, 0.6692834496498108, 0.6703752279281616, 0.7480697631835938, -0.32920724153518677, 0.6026611328125, 0.33747705817222595, 0.47452178597450256, -0.8996252417564392, 0.7195243239402771, -0.6259545087814331, 0.1543702781200409, -0.22676949203014374, -0.6003707647323608, -0.11914278566837311, 0.2896890938282013, -0.5540544986724854, -0.25946730375289917, 0.7794325947761536, 0.7794201970100403, -0.288099467754364, 0.2566886246204376, 0.16283871233463287, 0.02789836935698986, 0.04553806781768799, 0.8127980828285217, 0.7295196652412415, -0.2699792683124542, 0.8920835852622986, -0.5528503656387329, -0.22940485179424286, 0.023977356031537056, -0.4061296582221985, -0.7945842742919922, -0.651729941368103, -0.49689188599586487, 0.19205716252326965, 0.04002668336033821, 0.26070550084114075, 0.9415408968925476, -0.8803536295890808, -0.3523567318916321, -0.2492244392633438, 0.03332345187664032, -0.5834998488426208, -0.2332811802625656, 0.7504533529281616, -0.5784919857978821, -0.750068187713623, 0.4131130576133728, 0.4854179620742798, -0.12114986777305603, -0.06238024681806564, -0.1495893895626068, 0.2184811532497406, 0.06355170160531998, 0.4895154535770416, 0.0941120907664299, -0.5321490168571472, -0.5008143782615662, 0.1621115654706955, 0.0961470976471901, 0.26047489047050476, 0.8366948366165161, -0.5325862169265747, 0.8239133358001709, 0.2474670112133026, 0.49652099609375, 0.7844122052192688, -0.06762214750051498, 0.4803318381309509, -0.5872145891189575, 0.055603623390197754, 0.11927340179681778, 0.33822759985923767, 0.34279993176460266, -0.3695124089717865, 0.6615652441978455, -0.04943103715777397, -0.30080080032348633, -0.508533239364624, 0.4933578670024872, -0.6387684345245361, -0.29022812843322754, 0.388985812664032, -0.12413234263658524, -0.016112148761749268, -0.02577808126807213, -0.32521215081214905, 0.42367860674858093, 0.006705750711262226, 0.7918097376823425, 0.5540124773979187, -0.48639410734176636, -0.4734973609447479, -0.6331028342247009, 0.09549149125814438, 0.30260998010635376, -0.8180620670318604, 0.11977628618478775, 0.5333382487297058, 0.06669817119836807, -0.29992908239364624, 0.03508257865905762, 0.287378191947937, 0.5984015464782715, 0.28119051456451416, -0.37408432364463806, -0.2346840500831604, -0.16397921741008759, 0.4809689521789551, 0.05196341127157211, -0.10802817344665527, -0.6333186030387878 ]
http://arxiv.org/abs/2403.09024v1
http://arxiv.org/pdf/2403.09024v1
Semiparametric Token-Sequence Co-Supervision
2024-03-14T01:28:13
2024-03-14T01:28:13
Hyunji Lee, Doyoung Kim, Jihoon Jun, Sejune Joo, Joel Jang, Kyoung-Woon On, Minjoon Seo
cs.CL
cs.CL, cs.AI
In this work, we introduce a semiparametric token-sequence co-supervision training method. It trains a language model by simultaneously leveraging supervision from the traditional next token prediction loss which is calculated over the parametric token embedding space and the next sequence prediction loss which is calculated over the nonparametric sequence embedding space. The nonparametric sequence embedding space is constructed by a separate language model tasked to condense an input text into a single representative embedding. Our experiments demonstrate that a model trained via both supervisions consistently surpasses models trained via each supervision independently. Analysis suggests that this co-supervision encourages a broader generalization capability across the model. Especially, the robustness of parametric token space which is established during the pretraining step tends to effectively enhance the stability of nonparametric sequence embedding space, a new space established by another language model.
[ -0.04822343960404396, -0.53742516040802, 0.24932682514190674, 0.17518702149391174, -0.21463768184185028, 0.1483045220375061, -0.04489786550402641, -0.1241271123290062, 0.10656695812940598, 0.4056447744369507, -0.2419750690460205, -0.7566083669662476, -0.5275539755821228, -0.08206234127283096, -0.6004328727722168, 0.9854766130447388, 0.03937531262636185, 0.46622246503829956, -0.4950028955936432, -0.1521790623664856, -0.63442063331604, -0.8508610725402832, -0.7308516502380371, -0.07399396598339081, 0.2282499372959137, 0.19946697354316711, 0.604951024055481, 0.4557639956474304, 0.34905219078063965, 0.2704452872276306, 0.10184131562709808, -0.030340010300278664, -0.22502464056015015, -0.21756257116794586, -0.009412757121026516, -0.68172287940979, -0.3735186457633972, 0.015676364302635193, 0.7156764268875122, 0.9790501594543457, -0.3405055105686188, 0.19752267003059387, 0.21480467915534973, 0.042855601757764816, -0.44915539026260376, 0.3838028907775879, -0.2828923165798187, 0.35886508226394653, -0.0570463202893734, -0.2679905891418457, -0.6909918189048767, -0.11175514757633209, 0.20393656194210052, -0.47967082262039185, 0.5411190986633301, 0.46231743693351746, 0.6130880117416382, 0.11447224020957947, -0.4359035789966583, 0.18301944434642792, -0.48816099762916565, 0.9795047640800476, -0.7001261711120605, 0.566978394985199, 0.38357099890708923, 0.33764806389808655, 0.11093635112047195, -0.7148774862289429, -0.3277699947357178, -0.12746520340442657, -0.13017338514328003, 0.032868582755327225, 0.29474836587905884, 0.3525354862213135, -0.02018461562693119, 0.40357688069343567, -0.1567355990409851, 0.15093785524368286, -0.29646292328834534, -0.6173219680786133, 0.4145856499671936, 0.17068739235401154, 0.39119240641593933, -0.12037372589111328, -0.8183855414390564, -0.14528344571590424, -0.6134200096130371, 0.17776598036289215, 0.24357585608959198, 0.5246900320053101, -0.5068910717964172, 0.49117472767829895, 0.21085110306739807, 0.4973195791244507, 0.1679680049419403, 0.04253121092915535, 0.16822932660579681, -0.5349560976028442, -0.1498124748468399, 0.19210182130336761, 0.795369029045105, 0.4116046130657196, 0.043382104486227036, -0.5669141411781311, -0.017298417165875435, 0.063243567943573, 0.10843948274850845, -0.3256978988647461, -0.19219043850898743, -0.08299922198057175, -0.40201231837272644, -0.2342640459537506, 0.22906358540058136, -0.6659543514251709, -0.11624511331319809, -0.3446815013885498, 0.17811423540115356, -0.3531215190887451, -0.0021972195245325565, 0.018594233319163322, -0.2797631323337555, 0.1206185445189476, 0.047219064086675644, -1.0971463918685913, 0.5925998687744141, 0.7441225051879883, 1.158229112625122, -0.21181216835975647, -0.427144855260849, -0.7569345831871033, 0.4896324872970581, -0.4882794916629791, 0.2753916382789612, -0.6234750747680664, -0.21573609113693237, 0.29087573289871216, -0.08964812010526657, 0.025804132223129272, -0.2719547748565674, 0.3137575387954712, -0.5991913676261902, 0.3185894787311554, 0.06280913203954697, -0.8405539989471436, 0.03904371336102486, 0.2522640526294708, -0.6690587997436523, 1.1680428981781006, 0.13478600978851318, -1.044064998626709, 0.7044852375984192, -0.2785290479660034, -0.2473868876695633, -0.10601498186588287, -0.311903178691864, -0.8477233648300171, 0.10384953022003174, 0.3252018690109253, 0.5899959206581116, -0.028775760903954506, 0.7659215331077576, -0.802702784538269, -0.3392035961151123, -0.2835937738418579, -0.14660267531871796, 0.6468634605407715, -0.3068698048591614, -0.1854548454284668, 0.12049355357885361, -0.7689677476882935, -0.18954943120479584, -0.2087189257144928, -0.4323299527168274, -0.6229124069213867, -0.2041066735982895, 0.09641106426715851, 0.1462835818529129, 0.3110145628452301, -0.5527019500732422, -0.04073118418455124, -0.5438482165336609, 0.37358254194259644, 0.7364312410354614, 0.23350463807582855, 0.8779307007789612, -0.07574030011892319, 0.5580984354019165, 0.216300830245018, 0.14266452193260193, -0.16781753301620483, -0.3556523621082306, -0.6478468775749207, -0.1155727207660675, 0.367153525352478, 0.43476027250289917, -0.7577922344207764, 0.6406119465827942, 0.002499755471944809, -0.2609471082687378, -0.1364177018404007, 0.1665736585855484, 0.7116557359695435, 0.585213840007782, 0.39373067021369934, -0.3703440725803375, -0.954168438911438, -0.6645130515098572, -0.3570910096168518, -0.256637841463089, 0.26348549127578735, -0.09035006910562515, 0.28851351141929626, 0.12883348762989044, 0.8539496064186096, -0.15647974610328674, -0.2312893271446228, -0.47514814138412476, 0.2530774474143982, 0.2497432380914688, 0.6278440952301025, 0.5355343818664551, -0.5539417266845703, -0.5229408740997314, -0.2737806737422943, -0.8011743426322937, 0.04473523423075676, -0.15741288661956787, -0.12623383104801178, 0.0613589733839035, 0.7728471755981445, -0.2853088676929474, 0.4830857515335083, 0.6749323606491089, -0.32803526520729065, 0.30076727271080017, -0.3712520897388458, -0.367000937461853, -1.6047898530960083, -0.11686281114816666, -0.09796231240034103, -0.44895175099372864, -0.6584104299545288, -0.07969503104686737, 0.10046893358230591, -0.10229862481355667, -0.3061179220676422, 0.3814162313938141, -0.5271285176277161, -0.28622132539749146, 0.2153911143541336, -0.3509118854999542, 0.021268516778945923, 0.6016016006469727, 0.24983824789524078, 0.9101786017417908, 0.8171923160552979, -0.589613676071167, 0.20379158854484558, 0.612280011177063, -0.3015124499797821, -0.06491563469171524, -0.7126166224479675, 0.1841907501220703, 0.13899388909339905, 0.3097662627696991, -1.1206934452056885, 0.05157598480582237, 0.03968651965260506, -0.2532404065132141, 0.39494237303733826, -0.10716920346021652, -0.5974246263504028, -0.26817190647125244, -0.3938121497631073, 0.6348000764846802, 0.2690379023551941, -0.5739338397979736, 0.24616581201553345, 0.38304072618484497, -0.16409176588058472, -0.7029942870140076, -0.8909952044487, 0.21956636011600494, -0.29600557684898376, -0.3064412474632263, 0.2867285907268524, 0.45925989747047424, 0.1401633471250534, -0.20159882307052612, -0.12015337496995926, 0.022788148373365402, -0.1258273422718048, 0.22924385964870453, 0.42275282740592957, -0.00484544737264514, 0.10018014162778854, 0.2406119555234909, -0.24775424599647522, 0.02410043589770794, -0.7162132859230042, 0.7801043391227722, 0.10894160717725754, -0.47891998291015625, -0.7319128513336182, 0.5228061079978943, 0.05261106416583061, -0.25644341111183167, 1.026199221611023, 0.30951929092407227, -0.13479720056056976, -0.22630494832992554, -0.17688849568367004, -0.01455971971154213, -0.4716164767742157, 0.4759195148944855, -0.21289196610450745, -1.102989912033081, 0.5168720483779907, 0.03588386997580528, -0.14498361945152283, 0.21184495091438293, 0.7529986500740051, -0.021633686497807503, 0.9620351791381836, 1.0347124338150024, -0.4115873873233795, 0.7513307929039001, -0.4418131113052368, 0.3119185268878937, -0.6101043820381165, -0.5454844236373901, -0.23071344196796417, -0.11520805209875107, -0.44952303171157837, -0.5701850652694702, 0.3260717988014221, 0.04154744744300842, -0.3845629394054413, 0.6345261335372925, -0.18119940161705017, 0.1784612536430359, 0.8713399171829224, 0.06662624329328537, 0.037648506462574005, 0.08640797436237335, -0.6140329241752625, 0.07272739708423615, -0.7391182780265808, -0.4628112316131592, 1.2480040788650513, 0.491377592086792, 0.9670814275741577, -0.07974828779697418, 1.105352520942688, 0.5190193057060242, -0.213980033993721, -0.4043863117694855, 0.3792399764060974, 0.03371196240186691, -0.6805707812309265, -0.3908534049987793, -0.28795480728149414, -0.5622389912605286, -0.10332285612821579, 0.11764618009328842, -0.7099026441574097, 0.29778239130973816, 0.3381902277469635, -0.45394060015678406, 0.35428598523139954, -0.7838743329048157, 0.8251920938491821, 0.002877467079088092, -0.4353046119213104, 0.03036426194012165, -0.9039461016654968, 0.09886588901281357, -0.07443584501743317, 0.029227351769804955, 0.3697928488254547, -0.23922213912010193, 0.7936285138130188, -0.6946676969528198, 1.3490581512451172, -0.5868302583694458, 0.024135775864124298, 0.3802432119846344, -0.19418711960315704, 0.4808874726295471, 0.36037370562553406, 0.13621531426906586, 0.22619208693504333, 0.12348418682813644, -0.7393450140953064, -0.4502708911895752, 0.033431049436330795, -0.9118250608444214, -0.4115440249443054, -0.36709076166152954, -0.5271864533424377, -0.6133376955986023, 0.2762123942375183, 0.30560222268104553, 0.571143627166748, -0.2236814796924591, 0.07984726876020432, 0.25232020020484924, -0.3253933787345886, 0.602667510509491, -0.06579145789146423, -0.25286540389060974, -0.4860035479068756, 0.4306451976299286, -0.17938201129436493, 0.3627611994743347, 0.7822995781898499, 0.08154129981994629, -0.6769453287124634, -0.6621078252792358, -0.17691680788993835, 0.010916706174612045, -0.604368269443512, -0.14982375502586365, -0.6228032112121582, -0.04136950150132179, -0.6893720626831055, 0.0014838844072073698, -0.11862367391586304, -0.43007102608680725, -0.06064682453870773, -0.37357375025749207, 0.0028589118737727404, 0.5389984250068665, 0.006412281654775143, 0.4957260191440582, -0.9196871519088745, 0.05010678991675377, 0.16037917137145996, 0.32850146293640137, 0.03196745738387108, -0.55296391248703, -0.45134207606315613, -0.27722299098968506, -0.059212807565927505, -0.7605910897254944, 0.33139023184776306, 0.4651026725769043, 0.4988915026187897, 0.5435396432876587, -0.03770945593714714, 0.7990044951438904, -0.7139860987663269, 0.838636577129364, 0.5943753719329834, -1.0128663778305054, 0.29545465111732483, -0.4980158805847168, 0.033589329570531845, 0.6512448787689209, -0.024984154850244522, -0.46862316131591797, -0.5253363251686096, -0.49258336424827576, -0.6720800399780273, 1.0035760402679443, -0.0813511312007904, 0.490183562040329, -0.19018977880477905, 0.3019160032272339, 0.26694872975349426, 0.37715673446655273, -0.4762667119503021, -0.0925133004784584, -0.32903894782066345, -0.35050755739212036, -0.3523949980735779, -0.27379345893859863, -0.06347297132015228, -0.4673573672771454, 0.5098760724067688, -0.175587996840477, 0.6275555491447449, -0.1564241647720337, 0.022283731028437614, 0.11857530474662781, 0.01929592899978161, 0.10745322704315186, 0.31226474046707153, -0.04069656506180763, 0.2241881638765335, 0.4072636365890503, -0.2562437057495117, 0.31109675765037537, -0.08201026916503906, 0.060838501900434494, 0.09695493429899216, 0.8836369514465332, 0.9653388857841492, 0.5248120427131653, -0.14981186389923096, 0.961523175239563, 0.07468345016241074, -0.21933579444885254, -0.3027759790420532, -0.24484701454639435, 0.15149888396263123, 0.20558467507362366, 0.06532077491283417, 0.13618609309196472, 0.10673975199460983, -0.6046783328056335, 0.6030386090278625, 0.17574691772460938, -0.4209496080875397, -0.6211500763893127, 0.9495649337768555, -0.03194279596209526, -0.17977584898471832, 0.4651237428188324, -0.03786233440041542, -0.4826723337173462, 0.5645531415939331, 0.9119474291801453, 0.7898290753364563, -0.06811759620904922, 0.3277992308139801, 0.24445122480392456, -0.19036349654197693, -0.14541460573673248, 0.31641894578933716, -0.3347105085849762, -0.4762606918811798, -0.4806075692176819, -0.9050633311271667, -0.453945517539978, -0.3348063826560974, -0.8944345712661743, 0.5260645151138306, -0.8072622418403625, -0.17381563782691956, -0.19938039779663086, -0.2496354728937149, -0.45426705479621887, 0.3999437689781189, 0.10474951565265656, 1.009061574935913, -1.1154735088348389, 1.0425840616226196, 0.8952580690383911, -0.5719019174575806, -1.1132169961929321, 0.15571191906929016, -0.2861800193786621, -1.1242244243621826, 0.5402920246124268, 0.28907203674316406, 0.1291883885860443, -0.05405065789818764, -0.4158564805984497, -0.8025633692741394, 1.0726741552352905, 0.6121892929077148, -0.6027174592018127, -0.7422336935997009, 0.5306892991065979, 0.7437490224838257, -0.2738903760910034, -0.2307567447423935, 0.17996127903461456, -0.030185021460056305, 0.12437841296195984, -0.6254281997680664, -0.027614369988441467, -0.10436686128377914, 0.23241069912910461, 0.3979599177837372, -0.8180198073387146, 0.8057751059532166, 0.053275804966688156, -0.19833089411258698, 0.31272628903388977, 0.9075602889060974, -0.007098805159330368, 0.40441077947616577, 0.488680362701416, 0.7655826210975647, 0.5973532199859619, 0.11585909873247147, 1.0137020349502563, -0.553509533405304, 0.6776883602142334, 1.3643767833709717, 0.14768719673156738, 0.7623355388641357, 0.6651334762573242, -0.3608708679676056, 0.4792082905769348, 0.7168728709220886, -0.15517695248126984, 0.9737061262130737, -0.1790938675403595, -0.19324243068695068, -0.4144970178604126, -0.043719712644815445, -0.1131201982498169, 0.435356467962265, -0.10115712881088257, -0.6922282576560974, -0.3586694002151489, 0.08066711574792862, -0.08155560493469238, 0.13326649367809296, -0.15713778138160706, 0.7163108587265015, 0.2977202236652374, -0.571951150894165, 0.26705485582351685, 0.03742596507072449, 0.40743687748908997, -0.381003201007843, 0.1713404506444931, -0.10537823289632797, 0.31773391366004944, -0.11068479716777802, -0.25920194387435913, 0.5173951983451843, -0.1072835847735405, 0.09165073931217194, -0.2959323823451996, 0.38009756803512573, -0.4606260657310486, -0.6240411996841431, 0.49281999468803406, 0.39955103397369385, -0.10477183014154434, 0.345702588558197, -0.5098837018013, -0.47831296920776367, -0.3269995152950287, 0.0009992832783609629, 0.2451365888118744, 0.38195666670799255, -0.4101795256137848, 0.2511306405067444, 0.4564473628997803, 0.019707905128598213, 0.6411623358726501, 0.3888370990753174, 0.7552844285964966, -0.6639485955238342, -0.8377758860588074, -1.040493130683899, 0.3110085427761078, -0.14634878933429718, -0.21807247400283813, 0.8247213959693909, 0.7522398829460144, 0.8729356527328491, -0.05643419548869133, 0.8775650262832642, -0.07048841565847397, 0.4349437654018402, -0.4432513415813446, 0.3882474899291992, -0.4787185788154602, -0.02374693751335144, -0.3487716615200043, -0.7809426188468933, -0.5249210000038147, 0.10966260731220245, -0.44907769560813904, 0.13808171451091766, 0.7236394286155701, 0.6137489676475525, -0.17036780714988708, -0.015238182619214058, 0.4484645426273346, -0.3156503736972809, 0.2615576684474945, 0.5891997814178467, 0.8319564461708069, -0.34695321321487427, 0.2922530174255371, -0.19217301905155182, -0.08436159044504166, 0.07931733131408691, -0.6733391284942627, -1.4506529569625854, -0.6215737462043762, 0.03797994554042816, -0.01159458328038454, 0.02868102304637432, 0.7404044270515442, 0.7122960090637207, -1.1795421838760376, -0.1107141450047493, -0.6110243797302246, -0.42397263646125793, -0.155021533370018, -0.13124248385429382, 0.6301935315132141, -0.8137391805648804, -0.9505625367164612, 0.09627077728509903, 0.4400234818458557, -0.007487781345844269, -0.3242972195148468, -0.15710976719856262, -0.37604814767837524, 0.04734348878264427, 0.23185326159000397, -0.1422961801290512, -0.5429949760437012, -0.36864134669303894, -0.11022711545228958, -0.021141180768609047, 0.1331017017364502, 0.748354434967041, -0.45437055826187134, 0.5240454077720642, 0.5563561916351318, 1.0129294395446777, 0.44774454832077026, 0.08819465339183807, 0.8608422875404358, -1.4044384956359863, 0.3610374927520752, -0.03684919327497482, 0.5117189884185791, 0.3253577947616577, -0.3354550004005432, 0.33159980177879333, 0.35235753655433655, -0.1916358917951584, -0.8047167062759399, 0.11961454153060913, -0.8127502799034119, 0.33435526490211487, 0.9125299453735352, -0.4776262044906616, -0.2110096514225006, -0.25232937932014465, -0.13792213797569275, 0.9142035245895386, -0.41598182916641235, 0.714104413986206, 0.7592908143997192, 0.00965581089258194, -0.189861461520195, -0.10089424252510071, 0.3388116955757141, 0.7463080883026123, -0.49439334869384766, -0.1911604255437851, 0.04638716205954552, 0.06571795046329498, 0.25044500827789307, 0.47493717074394226, -0.2731904685497284, 0.15353171527385712, 0.20804502069950104, -0.11198487877845764, -0.2414611577987671, -0.324016273021698, -0.46241357922554016, 0.346436083316803, 0.17307205498218536, -0.7141404151916504 ]
http://arxiv.org/abs/2403.09017v2
http://arxiv.org/pdf/2403.09017v2
AraTrust: An Evaluation of Trustworthiness for LLMs in Arabic
2024-03-14T00:45:24
2024-03-15T23:52:18
Emad A. Alghamdi, Reem I. Masoud, Deema Alnuhait, Afnan Y. Alomairi, Ahmed Ashraf, Mohamed Zaytoon
cs.CL
cs.CL
The swift progress and widespread acceptance of artificial intelligence (AI) systems highlight a pressing requirement to comprehend both the capabilities and potential risks associated with AI. Given the linguistic complexity, cultural richness, and underrepresented status of Arabic in AI research, there is a pressing need to focus on Large Language Models (LLMs) performance and safety for Arabic related tasks. Despite some progress in their development, there is a lack of comprehensive trustworthiness evaluation benchmarks which presents a major challenge in accurately assessing and improving the safety of LLMs when prompted in Arabic. In this paper, we introduce AraTrust, the first comprehensive trustworthiness benchmark for LLMs in Arabic. AraTrust comprises 516 human-written multiple-choice questions addressing diverse dimensions related to truthfulness, ethics, safety, physical health, mental health, unfairness, illegal activities, privacy, and offensive language. We evaluated a set of LLMs against our benchmark to assess their trustworthiness. GPT-4 was the most trustworthy LLM, while open-source models, particularly AceGPT 7B and Jais 13B, struggled to achieve a score of 60% in our benchmark.
[ -0.29416531324386597, -0.5822983384132385, 0.6783989667892456, 0.15973101556301117, -0.23417380452156067, 0.27783429622650146, 0.17482790350914001, -0.8234517574310303, -0.3757038414478302, 0.350490927696228, 0.019829077646136284, -0.6926813721656799, -1.103712558746338, 0.14180228114128113, -0.5148406624794006, 1.1362742185592651, -0.5238699316978455, 0.0298670195043087, -0.14901594817638397, -0.4369847774505615, 0.08215004950761795, -0.5153465867042542, -0.8778049945831299, -0.224705308675766, 0.18515831232070923, 0.21223746240139008, 1.0374811887741089, 0.5418883562088013, 0.7152808308601379, 0.36038702726364136, -0.12856455147266388, 0.2130686342716217, 0.04114168882369995, 0.048553258180618286, -0.14316865801811218, -0.2442704141139984, -0.44065991044044495, 0.33609768748283386, 0.5178355574607849, 0.23235581815242767, -0.24833771586418152, 0.4944981336593628, 0.05664465203881264, 0.8370795845985413, -0.7885656952857971, 0.08415432274341583, -0.5112556219100952, -0.11415661871433258, -0.10052002221345901, 0.026148315519094467, 0.022811349481344223, -0.6889868378639221, 0.20641879737377167, -0.3203158974647522, -0.5463143587112427, 0.4205980896949768, 0.832463264465332, 0.3578769564628601, -0.577119767665863, -0.5099091529846191, -0.45633432269096375, 0.8021860122680664, -0.4733814001083374, 0.29113882780075073, 0.8124078512191772, 0.3096081614494324, -0.1466938555240631, -0.6153297424316406, -0.4572693109512329, -0.8677430152893066, 0.23664434254169464, -0.07568015903234482, -0.424543172121048, -0.23711907863616943, -0.15419901907444, 0.12527699768543243, -0.5205095410346985, -0.10380864888429642, -0.003812159178778529, -0.6007099747657776, 0.6629669070243835, 0.055252235382795334, 0.4475875496864319, 0.4214106500148773, -0.5753017663955688, -0.23826918005943298, -0.8193497061729431, 0.1259501427412033, 0.6071211695671082, -0.24220669269561768, -0.33045995235443115, 0.4515785276889801, -0.15179632604122162, 0.26941123604774475, -0.2211010903120041, -0.40992939472198486, 0.0982314795255661, -0.30767112970352173, -0.07482181489467621, 0.29623693227767944, 0.8607137799263, 0.3460279703140259, 0.7190391421318054, -0.2869010865688324, -0.12833958864212036, 0.3330404758453369, 0.32802245020866394, -0.6732113361358643, 0.14318686723709106, 0.3835091292858124, -0.48259106278419495, -0.45300450921058655, -0.022986220195889473, -0.22950002551078796, -0.4806343615055084, 0.105930857360363, 0.3677646517753601, -0.6084257364273071, -0.08279620856046677, 0.0546577051281929, 0.2790936827659607, 0.229630708694458, 0.2825312614440918, -0.22941991686820984, 0.4135212004184723, 0.6824684739112854, 0.8410245180130005, -0.35307902097702026, -0.6681068539619446, -0.4455631375312805, 0.391264408826828, -0.4648797810077667, 0.6336954236030579, -0.6646333336830139, -0.3412303328514099, 0.1332997828722, -0.5420899987220764, 0.2710563838481903, -0.49499741196632385, 0.9191004037857056, -0.8156977891921997, -0.40669846534729004, 0.21594078838825226, -0.4773842692375183, -0.3237082362174988, 0.6132016181945801, -0.688560426235199, 0.7321426272392273, -0.016758287325501442, -0.6050569415092468, 0.2866532504558563, -0.6383019685745239, -0.5030795931816101, -0.008628832176327705, -0.20828433334827423, -0.5330283045768738, -0.3149349093437195, 0.25991031527519226, 0.14269770681858063, -0.40840184688568115, 0.16654010117053986, -0.3278219997882843, -0.4492850601673126, 0.7592000961303711, -0.816430926322937, 0.5562368631362915, 0.22918769717216492, -0.5084786415100098, 0.1515037566423416, -0.5742651224136353, 0.12143411487340927, -0.09514383226633072, -0.21835707128047943, -0.26271459460258484, -0.17250052094459534, 0.12588441371917725, 0.217875674366951, 0.7137206196784973, -0.4827329218387604, -0.35132572054862976, -0.28634482622146606, 0.24146264791488647, 0.9846231937408447, -0.14125026762485504, 0.28222349286079407, -0.6493900418281555, 0.7222139835357666, 0.2919652760028839, 0.2683185338973999, 0.43095919489860535, -0.5006170868873596, -0.5627360343933105, -0.1607203334569931, 0.40776780247688293, 0.5184898376464844, -0.3959347903728485, 0.42178457975387573, -0.03068673424422741, -0.7857340574264526, -0.724473237991333, 0.1920957863330841, 0.6422198414802551, 0.10753685981035233, 0.2493586391210556, -0.4605104625225067, -0.1360255926847458, -1.1445157527923584, -0.5468229651451111, -0.39340099692344666, 0.3456786870956421, 0.49324148893356323, 0.6245994567871094, -0.39205026626586914, 0.558783769607544, -0.0662972629070282, -0.37253639101982117, 0.016757242381572723, 0.01948012411594391, -0.06546558439731598, 0.41668397188186646, 0.5333128571510315, -0.7180358171463013, -0.7540445327758789, 0.06496261805295944, -0.5492934584617615, 0.3276784121990204, 0.34127771854400635, -0.18891575932502747, 0.540958821773529, 0.310230553150177, -0.7970725297927856, 0.521267294883728, 0.9190732836723328, -0.618503749370575, 0.61332106590271, -0.04289902374148369, 0.21985623240470886, -0.9135340452194214, 0.2856379449367523, -0.07066231220960617, -0.2675468623638153, -0.1795312464237213, 0.33799630403518677, -0.2060859650373459, 0.16440290212631226, -0.5945988297462463, 0.6789990067481995, -0.2276095747947693, -0.14811189472675323, -0.21817903220653534, -0.05572572350502014, -0.3210325241088867, -0.07748377323150635, -0.45313742756843567, 1.3951268196105957, 0.768092691898346, -0.5961741805076599, 0.16462117433547974, 0.29227378964424133, -0.7090371251106262, 0.377074271440506, -0.7316991686820984, 0.3155747950077057, 0.2644759714603424, 0.19820956885814667, -0.6466755270957947, 0.019300786778330803, 0.37374043464660645, -0.46891528367996216, -0.11649462580680847, 0.012822606600821018, -0.5677093863487244, 0.22569604218006134, -0.24339641630649567, 0.6482203006744385, 0.572655200958252, -0.3031254708766937, 0.8098384141921997, 0.5605491995811462, -0.15372715890407562, -0.8839991688728333, -0.32978275418281555, 0.23249781131744385, -0.4040638506412506, -0.6504040360450745, 0.08737430721521378, -0.1528783142566681, -0.5451598167419434, 0.13424938917160034, -0.31589826941490173, -0.18454259634017944, 0.5363247990608215, 0.555394172668457, 0.11104970425367355, 0.0383162647485733, -0.3872883915901184, 0.04884137958288193, -0.43344447016716003, 0.384179949760437, -0.13396136462688446, 0.4428767263889313, -0.6722156405448914, -0.38121673464775085, -0.4981158971786499, 0.3806934356689453, 0.6246495842933655, -0.4536767303943634, 1.1049777269363403, 0.6109524369239807, -0.2772599160671234, 0.015395508147776127, -0.5309847593307495, 0.033497344702482224, -0.5316517353057861, 0.3228148818016052, -0.2399812638759613, -1.1643213033676147, 0.3419730067253113, -0.3751029074192047, -0.12748382985591888, 0.4116831421852112, 0.6550398468971252, -0.015576592646539211, 1.015750527381897, 0.4388168752193451, -0.6661074757575989, -0.2529049515724182, 0.31990182399749756, 0.21379509568214417, -0.4536832273006439, -0.1682461053133011, -0.5539896488189697, -0.1388012319803238, -0.8278763294219971, -0.12312747538089752, 0.6412728428840637, -0.11344381421804428, -0.5443049073219299, 0.024587148800492287, 0.02994740754365921, 0.4788019061088562, 0.6382490992546082, 0.055056337267160416, 0.5486217737197876, 0.08774009346961975, -0.21018482744693756, 0.31532350182533264, -0.21033655107021332, -1.1311702728271484, 1.2504791021347046, 0.5037097930908203, 0.6873149275779724, 0.6399791240692139, 0.8316082954406738, 0.6969183087348938, 0.34718915820121765, -0.3305675983428955, 0.6472830772399902, 0.0038523313123732805, -0.5461454391479492, -0.3637237250804901, -0.3178618550300598, -0.9351004362106323, -0.22955422103405, -0.22043749690055847, -0.692646324634552, -0.49977341294288635, 0.08072812855243683, -0.37458646297454834, 0.05574953928589821, -0.3388291001319885, 0.5064529776573181, -0.3271706998348236, -0.34209027886390686, -0.5273441672325134, -0.5499676465988159, 0.27907076478004456, -0.22160226106643677, 0.26452282071113586, -0.2626725435256958, -0.39652836322784424, 0.770717978477478, -0.20966096222400665, 0.4280969798564911, 0.20271404087543488, -0.05361694470047951, 0.29615145921707153, 0.3993362784385681, 0.5746833682060242, 0.1318432092666626, -0.16656069457530975, 0.7105463743209839, 0.01423785649240017, -0.32940930128097534, -0.3822919428348541, 0.9352808594703674, -1.3287588357925415, -0.6800568103790283, -0.9382784366607666, -0.49958083033561707, -0.5135214328765869, 0.2649916708469391, -0.15832485258579254, -0.08039906620979309, -0.3379805088043213, -0.020377902314066887, 0.4180782735347748, -0.18044012784957886, 0.31263551115989685, 0.6424541473388672, -0.023544808849692345, -0.2996523380279541, 0.6047635078430176, -0.33764684200286865, -0.09234775602817535, -0.056748103350400925, 0.08365710079669952, -0.3525271415710449, -0.9353512525558472, -0.5452287197113037, -0.02925826609134674, -0.5103633999824524, -0.2883448898792267, -0.21530921757221222, -0.4779091477394104, -0.10533680021762848, 0.00438476400449872, -0.49284306168556213, -0.17761261761188507, 0.12676188349723816, -0.13600292801856995, 0.47665202617645264, 0.855453610420227, 0.02810119092464447, 0.05334298312664032, -1.0266000032424927, 0.147542342543602, 0.06264594197273254, 0.7325664162635803, 0.05665992200374603, -0.43054625391960144, -0.39292123913764954, -0.18076136708259583, -0.24627523124217987, -0.5783731341362, 0.07011721283197403, -0.03726915270090103, 0.5196805596351624, 0.465099960565567, 0.07661418616771698, 0.31958895921707153, -0.7462694048881531, 0.6668146252632141, 0.004065746441483498, -1.0434867143630981, 0.16612884402275085, -0.06494225561618805, -0.13800102472305298, 0.80044025182724, 0.7987189888954163, -0.17615684866905212, -0.3150343894958496, -0.5525177121162415, -0.8689987063407898, 0.280875563621521, 0.6255624890327454, -0.11308992654085159, 0.08817636966705322, 0.33311888575553894, 0.19169403612613678, 0.23028914630413055, -0.6124980449676514, -0.5745874047279358, 0.08783933520317078, -0.1830098032951355, -0.12626363337039948, -0.4466777443885803, -0.3730972409248352, 0.18474945425987244, 0.8647997975349426, 0.22291506826877594, 0.021275274455547333, 0.010033538565039635, -0.11267905682325363, -0.14779803156852722, 0.4687435030937195, 0.49945858120918274, 0.6834664940834045, -0.11052566021680832, 0.18089358508586884, 0.08422397822141647, -0.7755496501922607, 0.5357846021652222, 0.24772506952285767, -0.24009282886981964, -0.49137380719184875, 0.4836307168006897, 0.36853542923927307, -0.2995719611644745, -0.8503198027610779, 0.4763328731060028, -0.06352277845144272, -0.09926857799291611, -0.8183756470680237, 0.25416189432144165, 0.0410190187394619, 0.34255316853523254, 0.22648411989212036, 0.08857407420873642, 0.3428936004638672, -0.4462929666042328, 0.2862248420715332, 0.4963807463645935, -0.2968154549598694, 0.2171115279197693, 0.439695805311203, 0.1680660843849182, -0.28735724091529846, 0.6391916275024414, -0.0318530835211277, -0.5007572770118713, 0.5265038013458252, 0.267013818025589, 0.930177628993988, -0.2779548168182373, 0.06125759705901146, 0.10996334254741669, 0.6556330919265747, 0.13124102354049683, 0.3343581259250641, 0.17807067930698395, -0.9094715714454651, -0.10924513638019562, -0.6594799757003784, -0.7949184775352478, 0.03808409720659256, -0.5264925360679626, -0.4400770366191864, -0.6480392813682556, -0.3476497530937195, -0.4674323797225952, 0.2651120722293854, -0.599797248840332, 0.2838036119937897, 0.1179874986410141, 1.0294150114059448, -0.6574147343635559, 0.699559211730957, 0.8634907007217407, -0.23874440789222717, -0.8747718334197998, 0.10694461315870285, -0.23003721237182617, -1.1876535415649414, 0.39320632815361023, 0.24138383567333221, -0.6407111287117004, -0.21224963665008545, -0.6445640325546265, -0.9817957282066345, 1.18118155002594, 0.35836249589920044, -0.49623212218284607, 0.36570262908935547, 0.6018416285514832, 0.38405507802963257, -0.21285836398601532, 0.33858394622802734, 0.6057494282722473, 0.6367793083190918, -0.3166830241680145, -0.9070119261741638, 0.2272326648235321, -0.31768837571144104, -0.09772315621376038, 0.004597269929945469, -0.8894135355949402, 0.6309388279914856, -0.01028555165976286, 0.08844161033630371, 0.4573637843132019, 0.6201518177986145, 0.8299222588539124, 0.4886331558227539, 0.5793724060058594, 0.6764564514160156, 0.48598894476890564, 0.2320377379655838, 1.1845182180404663, -0.8230080604553223, -0.06444385647773743, 0.9166411757469177, -0.5202871561050415, 0.9863781332969666, 0.40911826491355896, -0.22638140618801117, 0.6781205534934998, 0.32337847352027893, 0.2786027789115906, 0.5263845324516296, 0.1764610856771469, -0.38288626074790955, -0.40380704402923584, -0.3656735122203827, -0.42662379145622253, 0.7719713449478149, 0.07983651012182236, -0.3452996611595154, 0.01323794573545456, -0.4456483721733093, 0.25291919708251953, 0.16612955927848816, -0.27775830030441284, 0.6012022495269775, 0.3016042411327362, -0.5898022651672363, 0.06166521832346916, 0.4286904036998749, 0.32817792892456055, -0.7993142604827881, -0.13791924715042114, -0.14178964495658875, 0.274924635887146, 0.018936362117528915, -0.88057541847229, 0.10229049623012543, 0.19644451141357422, 0.22512035071849823, 0.12939980626106262, 0.5176916718482971, -0.010069693438708782, -0.5647674202919006, 0.41803425550460815, 0.5060876607894897, 0.2555517852306366, -0.16718755662441254, -0.8080463409423828, 0.3147891163825989, -0.3044860064983368, -0.05211002007126808, 0.6033775806427002, 0.14393974840641022, -0.1342741698026657, 1.0379565954208374, 0.7836014628410339, 0.14182709157466888, -0.2891017496585846, -0.1867247074842453, 0.6932176947593689, -0.6456518769264221, -0.521619439125061, -1.0859365463256836, 0.1340518593788147, 0.09951141476631165, -0.4627701938152313, 0.9719598293304443, 0.5088968873023987, 0.6679015159606934, 0.22452682256698608, 0.9107476472854614, 0.4446258842945099, 0.23283514380455017, -0.5139514207839966, 1.2671235799789429, -0.42357051372528076, 0.1415845900774002, -0.24915026128292084, -0.8429083228111267, 0.06977052986621857, 0.6789519786834717, -0.0513540618121624, 0.3633396625518799, 0.6337838172912598, 0.6096975207328796, 0.20117929577827454, 0.08858512341976166, 0.3177061975002289, 0.24977131187915802, 0.13936546444892883, 0.6639741659164429, 1.0052812099456787, -0.43524977564811707, 0.6901373863220215, -0.20534904301166534, -0.22960835695266724, 0.07409033179283142, -1.0189296007156372, -0.9471471309661865, -0.2866057753562927, -0.29799965023994446, -0.552707314491272, 0.4399440586566925, 0.9006783366203308, 0.4724268913269043, -0.9856570363044739, -0.3481858968734741, 0.09224055707454681, -0.02044806443154812, -0.15954308211803436, -0.054739657789468765, 0.6623353958129883, 0.26881831884384155, -0.362606018781662, 0.258291095495224, 0.2003062218427658, 0.0831957533955574, -0.28695690631866455, -0.5524292588233948, 0.01156698353588581, 0.25668278336524963, 0.3459901809692383, -0.03939393535256386, -0.7551516890525818, -0.34076252579689026, -0.2666066586971283, -0.2418333888053894, -0.24238350987434387, 0.33629557490348816, -0.6501972079277039, -0.17549698054790497, -0.23068033158779144, 0.942398726940155, 0.04586412385106087, -0.06251655519008636, 0.4259766638278961, 0.003483561798930168, -0.05687349662184715, 0.3029720187187195, 0.3977387547492981, 0.15784874558448792, -0.24736295640468597, 0.49433234333992004, -0.41853445768356323, -0.7120351791381836, -0.41707488894462585, 0.38320839405059814, -0.9590311050415039, 0.07031040638685226, 1.1105972528457642, -0.34647276997566223, -0.13780182600021362, -0.32394522428512573, -0.0950772687792778, 0.12456933408975601, -0.6305080056190491, 1.1076339483261108, 0.8435250520706177, 0.10819289833307266, 0.07091141492128372, -0.2358732521533966, 0.4991249442100525, 0.689068078994751, -0.7216621041297913, -0.3440702259540558, 0.21775420010089874, 0.22214853763580322, 0.0721493735909462, 0.44019195437431335, -0.1555604785680771, 0.5779847502708435, 0.033744242042303085, -0.2581106126308441, -0.24404828250408173, -0.41653627157211304, -0.056500956416130066, 0.35010358691215515, 0.7408552765846252, -0.061069026589393616 ]
http://arxiv.org/abs/2403.09747v1
http://arxiv.org/pdf/2403.09747v1
Re-Search for The Truth: Multi-round Retrieval-augmented Large Language Models are Strong Fake News Detectors
2024-03-14T00:35:39
2024-03-14T00:35:39
Guanghua Li, Wensheng Lu, Wei Zhang, Defu Lian, Kezhong Lu, Rui Mao, Kai Shu, Hao Liao
cs.CL
cs.CL, cs.AI
The proliferation of fake news has had far-reaching implications on politics, the economy, and society at large. While Fake news detection methods have been employed to mitigate this issue, they primarily depend on two essential elements: the quality and relevance of the evidence, and the effectiveness of the verdict prediction mechanism. Traditional methods, which often source information from static repositories like Wikipedia, are limited by outdated or incomplete data, particularly for emerging or rare claims. Large Language Models (LLMs), known for their remarkable reasoning and generative capabilities, introduce a new frontier for fake news detection. However, like traditional methods, LLM-based solutions also grapple with the limitations of stale and long-tail knowledge. Additionally, retrieval-enhanced LLMs frequently struggle with issues such as low-quality evidence retrieval and context length constraints. To address these challenges, we introduce a novel, retrieval-augmented LLMs framework--the first of its kind to automatically and strategically extract key evidence from web sources for claim verification. Employing a multi-round retrieval strategy, our framework ensures the acquisition of sufficient, relevant evidence, thereby enhancing performance. Comprehensive experiments across three real-world datasets validate the framework's superiority over existing methods. Importantly, our model not only delivers accurate verdicts but also offers human-readable explanations to improve result interpretability.
[ -0.19217582046985626, -0.9196630716323853, 0.9888371825218201, -0.04742089658975601, -0.23258300125598907, 0.191401407122612, -0.02686849795281887, -0.40411463379859924, 0.37743425369262695, 0.4863522946834564, -0.34999263286590576, -0.4203920066356659, -0.6681921482086182, 0.10502271354198456, -0.6457112431526184, 0.6096577644348145, 0.09017083048820496, -0.016560910269618034, -0.12325041741132736, 0.0029164503794163465, -0.039132073521614075, -0.5549680590629578, -0.22117304801940918, -0.2232467234134674, 0.6022422313690186, 0.42473679780960083, 0.6128239035606384, 0.5953991413116455, 0.263912558555603, 0.2266778200864792, 0.06849485635757446, 0.5791601538658142, -0.4907595217227936, -0.16373266279697418, -0.25788795948028564, -0.4736217260360718, -0.14070408046245575, 0.31819772720336914, 0.5631958246231079, 0.2714325487613678, -0.36018577218055725, 0.13148465752601624, -0.48523053526878357, 0.5732553601264954, -0.7831790447235107, -0.1376383751630783, -0.9888975024223328, -0.09018074721097946, -0.3019525110721588, -0.2774222195148468, -0.5952622294425964, -0.4787306785583496, 0.025885146111249924, -0.656001091003418, 0.4206881523132324, 0.23082545399665833, 1.0110934972763062, -0.05877268686890602, -0.8585905432701111, -0.3706311285495758, -0.41741514205932617, 0.7141575217247009, -0.8046779036521912, 0.580254077911377, 0.18266446888446808, 0.45819807052612305, -0.4080096185207367, -0.8005065321922302, -0.9488843083381653, -0.3420359492301941, 0.029330581426620483, -0.13456501066684723, -0.034810055047273636, -0.1974298506975174, 0.1512967199087143, 0.5082949995994568, -0.5380735993385315, -0.03435911238193512, -0.32914480566978455, -0.7097412943840027, 0.482119083404541, -0.22895145416259766, 0.3919652998447418, -0.31364426016807556, -0.4046323001384735, 0.10102484375238419, -0.9161016345024109, -0.37681570649147034, 0.48740893602371216, 0.41120991110801697, 0.1030605360865593, 0.7130537629127502, -0.5029863119125366, 0.7395667433738708, 0.14769621193408966, -0.49389082193374634, 0.2430320382118225, -0.23821863532066345, -0.025046564638614655, 0.13687556982040405, 0.6172181963920593, 0.1506616473197937, -0.006161157973110676, 0.002870447002351284, -0.4321734309196472, 0.06965102255344391, 0.3660256266593933, -0.6705421209335327, -0.017563575878739357, 0.08663737028837204, -0.6042801141738892, -0.4311070740222931, 0.1021447405219078, -0.745210587978363, -0.524652898311615, -0.3932671844959259, 0.6397469639778137, -0.2124752551317215, -0.42628490924835205, 0.2642475366592407, -0.25201597809791565, 0.13400150835514069, 0.5085048675537109, -0.3111400902271271, -0.010436631739139557, 0.6303139925003052, 0.7830544710159302, -0.021239321678876877, -0.0028683345299214125, -0.9848362803459167, -0.013242841698229313, -0.5647748708724976, 0.9194779396057129, -0.5415178537368774, 0.14104895293712616, 0.2984902262687683, 0.06405245512723923, 0.5512038469314575, -0.6090279817581177, 0.8158376812934875, -1.0339540243148804, 0.39825794100761414, -0.3531903624534607, -0.5863628387451172, -0.32153546810150146, 0.5925424695014954, -0.8917179703712463, 0.9609798789024353, -0.12938347458839417, -0.5356284379959106, 0.5638273358345032, -0.3199578821659088, -0.5171229243278503, -0.10005911439657211, -0.09159515053033829, -0.39368319511413574, 0.3607419431209564, 0.4115963876247406, 0.23760615289211273, -0.1786493957042694, 0.2931782901287079, -0.4586455821990967, -0.2655239403247833, 0.06568889319896698, -0.6919826865196228, 0.5290992856025696, 0.10556112229824066, -0.23718702793121338, -0.04792047291994095, -0.8396673798561096, -0.12164373695850372, 0.3333752751350403, -0.5753032565116882, -0.26527026295661926, -0.011084865778684616, -0.0973883718252182, 0.29161593317985535, 0.23707064986228943, -0.8028387427330017, 0.22600845992565155, -0.28497782349586487, 0.29023751616477966, 0.7512388229370117, -0.0992872342467308, 0.12854395806789398, -0.345482736825943, 0.2342974692583084, 0.1418381631374359, 0.013649874366819859, -0.3115347921848297, -0.26523542404174805, -0.6280952095985413, -0.24345049262046814, 0.4675201177597046, 0.46797072887420654, -0.9940071105957031, 0.211228609085083, -0.43462514877319336, -0.2504265010356903, -0.5383085012435913, 0.06098172441124916, 0.1491471230983734, 0.3535272777080536, 0.5027186870574951, 0.02311912178993225, -0.6545114517211914, -0.9497125744819641, -0.7184411883354187, -0.008306176401674747, 0.0036997359711676836, 0.03001837059855461, 0.7013054490089417, -0.053561050444841385, 1.0628880262374878, -0.37203407287597656, -0.18919354677200317, -0.07312550395727158, 0.00658408273011446, 0.3298032283782959, -0.017198150977492332, 0.1778084933757782, -1.2530407905578613, -0.2495051473379135, -0.20718508958816528, -0.8276710510253906, -0.034808285534381866, -0.13079644739627838, 0.09962285310029984, 0.3723343312740326, 0.38840800523757935, -0.8052115440368652, 0.562805712223053, 0.45359545946121216, -0.19503912329673767, 0.9084523916244507, -0.023951169103384018, 0.32756268978118896, -0.7582570910453796, -0.09015421569347382, 0.04941247031092644, -0.6546458601951599, -0.4156436622142792, 0.04747900366783142, 0.2601683735847473, 0.10962192714214325, -0.5108933448791504, 0.7836732864379883, -0.5483763217926025, -0.15651224553585052, -0.5381101369857788, 0.3710661232471466, 0.3277416229248047, 0.17873744666576385, -0.11648877710103989, 0.7474336624145508, 0.05061529949307442, -0.514539361000061, 0.620652973651886, -0.04413630813360214, -0.5723848342895508, 0.687734842300415, -0.5466446876525879, -0.001504153828136623, -0.21419930458068848, 0.6710061430931091, -0.792908251285553, -0.4679480493068695, 0.06906571239233017, -0.6244689226150513, 0.23157179355621338, -0.1789342164993286, -0.9240355491638184, -0.47383928298950195, -0.2809937000274658, 0.18214848637580872, 0.2004064917564392, -1.0652164220809937, 0.82309490442276, 0.489043265581131, 0.2034054398536682, -0.8746687173843384, -0.4727320373058319, 0.4017552137374878, -0.033053264021873474, -0.5782697796821594, 0.4197990298271179, 0.1289028376340866, -0.3014010488986969, -0.05995875969529152, -0.4127299189567566, 0.049318522214889526, -0.19067388772964478, -0.08181440830230713, 0.0879068598151207, -0.12076114863157272, 0.18578319251537323, -0.0419883206486702, 0.06336468458175659, -0.05366379767656326, -0.3005930781364441, 0.3340306878089905, -0.011813875287771225, -0.5913196206092834, -0.5424122214317322, 0.3026304244995117, 0.7839345932006836, -0.10032546520233154, 0.7768835425376892, 0.5901287198066711, -0.7330782413482666, -0.18494144082069397, -1.2819920778274536, -0.2867945730686188, -0.465298056602478, 0.24979539215564728, -0.38363611698150635, -0.9250204563140869, 0.30116963386535645, -0.2672111392021179, -0.01813512295484543, 0.4727219343185425, 0.5315304398536682, 0.24035905301570892, 1.033705234527588, 0.4651450216770172, -0.17464259266853333, 0.30244383215904236, 0.1483665555715561, 0.3418998420238495, -0.4721761643886566, -0.2802606523036957, -0.2814886271953583, 0.034140076488256454, -0.19450323283672333, -0.48256316781044006, 0.33223333954811096, 0.16234725713729858, -0.17735956609249115, -0.03032851219177246, -0.39507198333740234, 0.6035417318344116, 0.5196249485015869, 0.3527055084705353, 0.7125177383422852, 0.26222747564315796, -0.08862518519163132, 0.001490534981712699, -0.556784451007843, -0.5280645489692688, 1.1841304302215576, 0.3818504214286804, 0.47702455520629883, 0.3889055550098419, 0.3972984850406647, 0.7370061874389648, 0.5895097851753235, -0.5560259819030762, 0.4504731297492981, 0.015361730940639973, -1.006166696548462, -0.08073681592941284, -0.5767505168914795, -0.6148599982261658, 0.5261750221252441, -0.22735998034477234, -0.30966877937316895, 0.03848448395729065, 0.0720706358551979, -0.31456562876701355, 0.4860555827617645, -0.5127288103103638, 0.48010092973709106, -0.4109365940093994, -0.37776321172714233, -0.48137539625167847, -0.3869626224040985, 0.6815307140350342, -0.2262861728668213, 0.45796120166778564, -0.16444069147109985, -0.11282341927289963, 0.3551037907600403, -0.4045078158378601, 0.8054826259613037, -0.18966852128505707, -0.2535533905029297, 0.301039457321167, 0.13188062608242035, 0.8781570196151733, 0.2256520688533783, -0.056770093739032745, 0.13909673690795898, -0.15991561114788055, -0.5070986151695251, -0.48882970213890076, 0.8366480469703674, -0.3659806251525879, -0.7756839990615845, -0.6128150820732117, -0.2704276144504547, -0.010930335149168968, 0.42439237236976624, 0.08930260688066483, 0.2473890483379364, -0.30752238631248474, 0.19840571284294128, 0.8955828547477722, -0.4418196380138397, 0.07378610968589783, 0.8077602386474609, -0.5784851312637329, -0.4394069314002991, 0.8464908003807068, 0.13064496219158173, 0.06147456169128418, 0.283530056476593, 0.1429985612630844, -0.5987671613693237, -0.4516655206680298, -0.596770703792572, 0.2669273018836975, -0.672413170337677, -0.37278470396995544, -0.6448766589164734, -0.05392513424158096, -0.5265294909477234, 0.19008679687976837, -0.4805394113063812, -0.23835700750350952, -0.1126008927822113, -0.16301004588603973, 0.3210699260234833, 0.566379725933075, -0.3593292832374573, 0.11046411842107773, -0.723903238773346, 0.8870012164115906, 0.35766515135765076, 0.3783692419528961, -0.24029438197612762, -0.6625476479530334, -0.15025345981121063, 0.3200621008872986, -0.16912183165550232, -0.9767377972602844, 0.4619327783584595, 0.006683004088699818, 0.5949330925941467, 0.2533698081970215, 0.1820898950099945, 0.48493900895118713, -0.5625103712081909, 0.7220039367675781, 0.08464441448450089, -0.7989838719367981, 0.44730496406555176, -0.43890735507011414, -0.1675795018672943, 0.22149227559566498, 0.4111732244491577, -0.4083824157714844, 0.09712041169404984, -0.5321413278579712, -0.6526884436607361, 0.4268265962600708, -0.056642964482307434, 0.2126026451587677, -0.09469282627105713, 0.6255192160606384, 0.06777805835008621, 0.3892272114753723, -0.9427608847618103, -0.06456276774406433, -0.18283069133758545, -0.15226776897907257, 0.2925430238246918, -0.47206151485443115, -0.23634189367294312, -0.07458743453025818, 0.8595558404922485, -0.26533764600753784, 0.22340501844882965, 0.39394286274909973, -0.43395593762397766, -0.15271106362342834, 0.1637870818376541, 0.639875590801239, 0.7296725511550903, -0.0028791443910449743, 0.15155929327011108, 0.16315321624279022, -0.24079976975917816, 0.17720961570739746, 0.060116447508335114, -0.17315058410167694, 0.32858172059059143, 0.3111015856266022, 0.46790972352027893, 0.09194831550121307, -0.7631754875183105, 0.7771770358085632, 0.10352201014757156, -0.14468947052955627, -0.7574480175971985, -0.2685852646827698, -0.023384680971503258, 0.30454519391059875, 1.004647135734558, -0.16653743386268616, 0.23373456299304962, -0.6602110862731934, 0.5292904376983643, 0.6075872182846069, -0.051088426262140274, -0.13339799642562866, 0.4912225902080536, 0.03893733024597168, -0.2668606638908386, 0.5794627666473389, -0.2627556025981903, -0.7745170593261719, 0.3748614490032196, 0.4651571214199066, 0.3068014979362488, -0.02404831536114216, 0.3158618211746216, 0.19251826405525208, 0.4889681041240692, -0.6335514783859253, 0.15038269758224487, 0.40900248289108276, -0.8313165903091431, -0.7447214126586914, -0.6638628244400024, -0.17008167505264282, 0.40589672327041626, -0.358159601688385, 0.2474559247493744, -0.3307740390300751, -0.13002707064151764, -0.14006036520004272, 0.13531610369682312, -0.3590386211872101, 0.20575562119483948, 0.31437891721725464, 1.0913419723510742, -0.611447811126709, 0.6712433099746704, 0.2317694127559662, -0.3247396945953369, -0.3973475396633148, 0.07913010567426682, 0.5301023721694946, -0.763421356678009, 0.5029879212379456, 0.375910222530365, -0.04472717270255089, -0.03441441059112549, -0.8461095690727234, -0.9120811223983765, 0.8322380781173706, 0.5580262541770935, -0.6660593152046204, -0.1513855755329132, 0.04806702211499214, 0.3183194398880005, -0.36944779753685, 0.04745911434292793, 0.3956725299358368, 0.6368148326873779, 0.0987134575843811, -0.7639765739440918, 0.11145035177469254, 0.011627255007624626, -0.15388602018356323, 0.14464625716209412, -0.6832282543182373, 0.7124537229537964, -0.2823704183101654, -0.19344158470630646, -0.046182334423065186, 1.0308116674423218, 0.5162022113800049, 0.4848790466785431, 0.49351605772972107, 0.7907754778862, 0.846508264541626, -0.1203937754034996, 1.0806729793548584, -0.20702140033245087, 0.3765915036201477, 1.070319414138794, -0.2823983132839203, 0.8868376016616821, 0.375450998544693, -0.08395065367221832, 0.7937554121017456, 0.572176992893219, -0.010286545380949974, 0.30217716097831726, 0.36588647961616516, -0.34631672501564026, -0.6180468797683716, -0.1296595185995102, -0.2126614898443222, 0.2666418254375458, 0.46433499455451965, -0.3256991505622864, -0.25944966077804565, 0.04254056513309479, 0.08206461369991302, 0.28756293654441833, -0.3035186529159546, 0.2705003321170807, 0.040749602019786835, -0.5194515585899353, 0.4862491488456726, 0.1635931134223938, 0.9359153509140015, -0.36851629614830017, -0.3129579722881317, -0.18551674485206604, 0.19527389109134674, -0.22951236367225647, -0.4800417721271515, 0.15898758172988892, -0.15082640945911407, -0.44424140453338623, -0.014553803019225597, 0.897794246673584, -0.4593644440174103, -0.49676504731178284, 0.14234395325183868, 0.6576796174049377, -0.007237907964736223, -0.5357969999313354, -0.6946994662284851, 0.21951520442962646, -0.07891536504030228, -0.5085399746894836, 0.2733147144317627, 0.5165365934371948, -0.0728326290845871, 0.833897590637207, 1.1378388404846191, 0.048821307718753815, 0.12215492874383926, -0.12724490463733673, 0.7555025815963745, -0.48510050773620605, -0.22103796899318695, -0.7352990508079529, 0.26747867465019226, -0.4161872863769531, 0.1134415939450264, 0.7538542747497559, 0.7415024042129517, 0.7521392703056335, 0.10756208747625351, 0.8231387138366699, 0.10537520051002502, 0.9743063449859619, -0.6584194302558899, 0.6552597284317017, -0.8369880318641663, 0.31251639127731323, 0.14682364463806152, -0.7873033881187439, -0.3089591860771179, 0.5582288503646851, -0.21733145415782928, 0.09503094106912613, 0.47156214714050293, 0.9315610527992249, -0.1419973373413086, -0.13057760894298553, 0.2861917018890381, 0.3767939507961273, 0.47906848788261414, 0.24901528656482697, 0.8063608407974243, -0.5508841276168823, 0.7550223469734192, 0.20881423354148865, -0.08095061033964157, -0.5071325302124023, -0.9968355298042297, -0.644088625907898, -0.35141125321388245, -0.1960829794406891, -0.7608537077903748, 0.225137397646904, 0.7935865521430969, 0.8630771636962891, -0.6647886037826538, 0.24267306923866272, 0.06619010120630264, 0.2691967487335205, 0.0564165897667408, -0.2722741961479187, 0.28939110040664673, -0.20518259704113007, -0.555925726890564, 0.7434820532798767, 0.0758938267827034, -0.09997627139091492, -0.4193652868270874, -0.08208143711090088, -0.6048005819320679, 0.3499462604522705, 0.6442916393280029, 0.3505896329879761, -1.0370196104049683, -0.49906793236732483, -0.06610624492168427, -0.19256222248077393, -0.06730592250823975, 0.7861341238021851, -1.1450985670089722, 0.33335381746292114, 0.36101463437080383, 0.605593204498291, 0.5080721974372864, 0.05668935924768448, 0.5535776019096375, -0.7825318574905396, 0.014975816942751408, 0.08165629953145981, 0.3667472004890442, 0.4310537278652191, -0.3857446610927582, 0.4165325462818146, 0.6090229749679565, -0.42849284410476685, -1.1604561805725098, 0.3077820837497711, -0.6602410078048706, -0.4865792393684387, 1.1937204599380493, 0.04119843244552612, -0.11676790565252304, -0.24777910113334656, -0.03256611526012421, 0.25612515211105347, -0.46606549620628357, 1.007791519165039, 0.8534944653511047, 0.37040406465530396, -0.2694934010505676, -0.7090290188789368, 0.4065171182155609, 0.15715324878692627, -0.6554473638534546, -0.0821148082613945, 0.9398762583732605, 0.522929310798645, 0.3435097634792328, 0.4827694892883301, -0.17434391379356384, 0.2780228555202484, -0.18356923758983612, 0.030548011884093285, -0.12607143819332123, -0.4718380570411682, -0.07719141989946365, 0.34088173508644104, -0.27855977416038513, 0.1541578769683838 ]
http://arxiv.org/abs/2403.08994v2
http://arxiv.org/pdf/2403.08994v2
Ethos: Rectifying Language Models in Orthogonal Parameter Space
2024-03-13T23:25:30
2024-04-01T05:45:47
Lei Gao, Yue Niu, Tingting Tang, Salman Avestimehr, Murali Annavaram
cs.CL
cs.CL
Language models (LMs) have greatly propelled the research on natural language processing. However, LMs also raise concerns regarding the generation of biased or toxic content and the potential disclosure of private information from the training dataset. In this work, we present a new efficient approach, Ethos, that rectifies LMs to mitigate toxicity and bias in outputs and avoid privacy leakage. Ethos is built on task arithmetic. However, unlike current task arithmetic algorithms, Ethos distinguishes general beneficial and undesired knowledge when reconstructing task vectors. Specifically, Ethos first obtains a set of principal components from the pre-trained models using singular value decomposition. Then, by projecting the task vector onto principal components, Ethos identifies the principal components that encode general or undesired knowledge. Ethos performs negating using the task vector with undesired knowledge only, thereby minimizing collateral damage on general model utility. We demonstrate the efficacy of our approach on three different tasks: debiasing, detoxification, and memorization unlearning. Evaluations show Ethos is more effective in removing undesired knowledge and maintaining the overall model performance compared to current task arithmetic methods.
[ -0.07909704744815826, -0.8012187480926514, 0.597601592540741, 0.0607365220785141, -0.27137887477874756, -0.02671780250966549, -0.47928065061569214, -0.3846242129802704, -0.012945418246090412, 0.6337082386016846, -0.15435361862182617, -0.5884063839912415, -0.7672226428985596, -0.27427026629447937, -0.1974875032901764, 1.0758661031723022, 0.045723795890808105, -0.046652473509311676, -0.05614864081144333, -0.17490921914577484, -0.16767849028110504, -0.542738676071167, -0.9823254942893982, -0.27530550956726074, 0.32052111625671387, 0.5167766213417053, 0.5207807421684265, 0.7168755531311035, 0.14907456934452057, 0.3485908806324005, -0.12034234404563904, 0.45971664786338806, -0.922590434551239, 0.26765507459640503, -0.32345402240753174, -0.20377494394779205, -0.4514513909816742, -0.15532127022743225, 0.4751241207122803, 0.9405419826507568, -0.3102208077907562, 0.28763338923454285, 0.4811755120754242, 0.6693071126937866, -0.746018648147583, 0.4267355799674988, -0.7202132940292358, 0.0693591758608818, -0.12429337948560715, -0.5583987236022949, -0.668450653553009, -0.5443673729896545, -0.08192959427833557, -0.6743835806846619, 0.1328892856836319, 0.14811305701732635, 0.5543567538261414, 0.2693175971508026, -0.29988110065460205, -0.1073649525642395, -1.1562840938568115, 1.2155818939208984, -0.5189903378486633, 0.4167732000350952, 0.5987297892570496, 0.3482315242290497, 0.04024719446897507, -0.34709858894348145, -0.506787121295929, -0.0828707367181778, 0.07296089082956314, -0.2598792612552643, -0.18679195642471313, 0.08919142186641693, -0.07151543349027634, 0.5002862811088562, -0.2935561239719391, 0.06756734848022461, -0.7359206080436707, -0.32511278986930847, 0.40230512619018555, 0.17110677063465118, 0.3643895387649536, -0.06474518775939941, -0.32902956008911133, -0.0819319412112236, -0.9767986536026001, 0.08339786529541016, 0.46610572934150696, 0.243734210729599, 0.1425061970949173, 0.5342687964439392, -0.07804126292467117, 0.5288090109825134, 0.06411648541688919, -0.13898634910583496, 0.10605619102716446, 0.09507463127374649, -0.4172120988368988, -0.13216306269168854, 0.49291685223579407, 0.244794100522995, 0.11506476998329163, -0.25885191559791565, 0.03477839380502701, 0.08589620143175125, 0.5432495474815369, -0.6186094880104065, -0.07918770611286163, 0.21533983945846558, -0.42671215534210205, -0.3570832312107086, -0.320065438747406, -0.6537183523178101, -0.278280109167099, -0.49361124634742737, 0.4247388541698456, -0.6989478468894958, -0.3105171024799347, 0.2680110037326813, 0.10767495632171631, -0.2080926150083542, 0.4393000900745392, -0.71138995885849, 0.5201056599617004, 0.9814982414245605, 0.39727914333343506, 0.012506196275353432, 0.06974996626377106, -0.5175753235816956, 0.28019440174102783, -0.12230212986469269, 0.3364264965057373, -0.6995271444320679, -0.20450359582901, -0.005765740294009447, -0.12529732286930084, -0.04230445995926857, -0.4468996822834015, 0.8795086145401001, -0.5398697257041931, 0.44703638553619385, -0.3069241940975189, -0.6141372919082642, -0.5363419651985168, 0.15556275844573975, -0.5586399435997009, 0.956058144569397, -0.11094837635755539, -0.7245907187461853, -0.03799140453338623, -0.3839449882507324, -0.24987024068832397, -0.25699540972709656, -0.2785455286502838, -0.4301220178604126, 0.09226801246404648, 0.14923647046089172, 0.5039969086647034, -0.2585259675979614, 0.33463549613952637, -0.29810386896133423, -0.19076752662658691, -0.2714694142341614, -0.3617094159126282, 0.8574951887130737, 0.5112205147743225, -0.3024734854698181, -0.02222614735364914, -0.9047443270683289, 0.0717461034655571, 0.15696945786476135, -0.4011472761631012, -0.9086300134658813, 0.176205575466156, -0.28483346104621887, 0.029207609593868256, -0.024660294875502586, -0.8415796160697937, -0.2087840884923935, -0.6063523292541504, 0.24512313306331635, 0.8785802721977234, 0.06703140586614609, 0.6817356944084167, -0.27611419558525085, 0.38618743419647217, 0.015716560184955597, 0.050591565668582916, 0.03019522875547409, -0.54356449842453, -0.9077406525611877, -0.2538089454174042, -0.339736670255661, 0.26826563477516174, -0.7725698947906494, 0.2837977409362793, -0.2744142413139343, -0.4788172245025635, -0.44222337007522583, 0.056418463587760925, 0.7962050437927246, 0.6735355257987976, 0.30134639143943787, -0.04505425691604614, -0.42472854256629944, -0.7320417165756226, -0.5064528584480286, -0.0634700283408165, -0.205288827419281, 0.2425469160079956, 0.11946123838424683, 0.22887255251407623, 0.548862099647522, -0.6008882522583008, -0.37462007999420166, -0.16349194943904877, 0.135486900806427, 0.11537548899650574, 0.4660972058773041, 0.46579739451408386, -0.33298054337501526, -0.44833916425704956, 0.0639195516705513, -0.6172348856925964, -0.2120792120695114, 0.2827084958553314, -0.10287977755069733, 0.06986285746097565, 0.33675119280815125, -0.3907721936702728, 0.15327121317386627, 0.35622328519821167, -0.23527640104293823, 0.061143405735492706, -0.3039270043373108, 0.1938118189573288, -0.7969309091567993, 0.11533354967832565, -0.12311774492263794, -0.5103304386138916, -0.8189724683761597, 0.3539080321788788, 0.017095087096095085, -0.31568416953086853, -0.44133520126342773, 0.29653167724609375, -0.47754499316215515, 0.3170698583126068, -0.33221450448036194, -0.013393227010965347, 0.22425846755504608, 0.9461181163787842, 0.05701775103807449, 0.27086663246154785, 0.38497665524482727, -0.8810714483261108, -0.17191053926944733, -0.025823041796684265, 0.17757004499435425, 0.6268770694732666, -0.5493937730789185, 0.5461553931236267, -0.6365333795547485, -0.00006989125540712848, -0.930735170841217, 0.27633604407310486, 0.6225292682647705, -0.4153331220149994, 0.347637802362442, -0.037670865654945374, -0.13006822764873505, 0.059150565415620804, -0.5648851990699768, 0.5992976427078247, 0.4602915644645691, -0.4208545386791229, 0.6627007722854614, 0.8500147461891174, -0.3382500112056732, -0.6267199516296387, -0.2743734121322632, -0.3568590581417084, -0.26477745175361633, -0.3923725485801697, 0.4830786883831024, 0.2593861222267151, -0.31686657667160034, 0.05256380885839462, -0.02409014292061329, -0.24901548027992249, -0.10763338953256607, 0.34065839648246765, 0.023963522166013718, 0.0378519743680954, 0.1843186467885971, 0.28419753909111023, -0.26187971234321594, 0.21077032387256622, -0.3441391885280609, 0.553144097328186, 0.019914209842681885, -0.40545013546943665, -0.11363334208726883, 0.5850295424461365, 0.224853515625, -0.17108364403247833, 0.8558722734451294, 0.31136995553970337, -0.738616943359375, -0.46203145384788513, -0.36772245168685913, -0.10614089667797089, -0.4550354778766632, 0.46002331376075745, -0.018796611577272415, -0.7849719524383545, 0.286763072013855, -0.051083702594041824, 0.49201324582099915, 0.46349966526031494, 0.5389626026153564, 0.09272094815969467, 0.721296489238739, 0.8094740509986877, -0.21423590183258057, 0.009867335669696331, -0.1452140361070633, 0.5120471715927124, -0.5723901987075806, -0.2544613182544708, -0.8136122226715088, -0.1435425877571106, -0.13782577216625214, -0.7081480622291565, 0.5045055150985718, -0.09064871817827225, -0.2915578782558441, 0.3767663836479187, -0.6260067820549011, 0.4356567859649658, 0.3732999265193939, 0.39189082384109497, 0.6196555495262146, 0.1959916055202484, -0.11175813525915146, -0.3102931082248688, -0.46790504455566406, -0.6229177117347717, 1.3321582078933716, 0.7051810026168823, 0.6522634029388428, 0.26151496171951294, 0.6330623626708984, 0.22506234049797058, 0.35650303959846497, -0.3353174030780792, 0.6297501921653748, -0.1225438043475151, -0.5731790065765381, -0.4753943085670471, -0.5149983167648315, -0.6940717101097107, 0.46048176288604736, 0.04024069383740425, -0.7313264608383179, 0.15698154270648956, 0.41092318296432495, -0.44386082887649536, 0.5739690661430359, -0.4411493241786957, 0.32479357719421387, 0.22743944823741913, -0.4962781071662903, -0.6958269476890564, -0.31450462341308594, 0.3878748416900635, 0.10225618630647659, 0.44541409611701965, -0.03122616931796074, 0.0924324318766594, 0.6573761701583862, -0.5709877610206604, 1.0399785041809082, -0.29415765404701233, -0.4350126087665558, 0.12084513157606125, 0.22754022479057312, 0.6731062531471252, -0.12106435000896454, -0.17251694202423096, 0.264177531003952, -0.19902253150939941, -0.14189252257347107, -0.3092786967754364, 0.7327345609664917, -0.653268575668335, -0.40942278504371643, -0.28519347310066223, -0.451241135597229, -0.29148247838020325, 0.09824199229478836, 0.3485828638076782, 0.38130810856819153, -0.23672854900360107, 0.000875145080499351, 0.85448157787323, -0.6969195604324341, 0.0957239493727684, 0.7163717150688171, -0.2451792061328888, -0.3094547688961029, 0.959961473941803, -0.11084391921758652, 0.34646615386009216, 0.4452567994594574, 0.056767791509628296, -0.12502285838127136, -0.3524429500102997, -0.1395110934972763, -0.004519538953900337, -0.8940277695655823, -0.1975678652524948, -0.8539162278175354, -0.20148320496082306, -0.21389606595039368, 0.1397916078567505, -0.5905704498291016, -0.6992413401603699, 0.02838265523314476, -0.3565906882286072, 0.23279236257076263, 0.5976004600524902, -0.17204131186008453, 0.10705316066741943, -0.6419200301170349, 0.5674651861190796, 0.18296700716018677, 0.31143978238105774, 0.20086543262004852, -0.6208713054656982, -0.02647610381245613, 0.09381207078695297, -0.5339467525482178, -0.983320415019989, 0.5368698835372925, 0.4445347189903259, 0.47618377208709717, 0.4709123373031616, 0.2957150936126709, 0.5326375961303711, -0.6938002109527588, 0.4124610126018524, 0.01422420796006918, -0.8946487903594971, 0.2372673749923706, -0.31129658222198486, -0.3245633542537689, 0.4595187306404114, 0.3699435591697693, -0.48483702540397644, -0.8828324675559998, -0.476199746131897, -1.0697516202926636, 0.7494850754737854, 0.39379870891571045, 0.2873282730579376, -0.05563126876950264, 0.1733182817697525, 0.3976747691631317, 0.44245076179504395, -0.734487771987915, -0.5225036144256592, 0.08488577604293823, -0.21701842546463013, 0.2760644257068634, -0.5040817856788635, -0.0893627479672432, -0.4150655269622803, 0.82126384973526, 0.36648932099342346, 0.38890349864959717, 0.009275225922465324, -0.31068938970565796, -0.3768627941608429, 0.46448543667793274, 0.3293355405330658, 0.4956822693347931, -0.1282506138086319, 0.4143541157245636, -0.043163180351257324, -0.3641293942928314, 0.12132996320724487, 0.01318111177533865, -0.18626509606838226, 0.13223803043365479, 0.06154046207666397, 0.5205807089805603, 0.45779410004615784, -0.2367975264787674, 0.3988697826862335, 0.16644571721553802, 0.020756559446454048, -0.3853019177913666, 0.04149318486452103, 0.014492406509816647, -0.09234114736318588, 0.20360368490219116, 0.24542392790317535, 0.47159379720687866, -0.5357699990272522, 0.13789133727550507, 0.1266138106584549, -0.15317101776599884, -0.3156638443470001, 0.8636103272438049, 0.47973671555519104, -0.11712680757045746, 0.24505390226840973, -0.15357226133346558, -0.44190341234207153, 0.29284390807151794, 0.4099270701408386, 0.7112628817558289, -0.5386538505554199, 0.25669312477111816, 0.4672374725341797, 0.29389670491218567, 0.13720151782035828, 0.5755382180213928, -0.12268537282943726, -0.7836814522743225, -0.3920482397079468, -0.5340678691864014, -0.21728944778442383, 0.23690077662467957, -0.7239934206008911, -0.1821078658103943, -0.6833709478378296, 0.03102654404938221, 0.017609555274248123, -0.4390120804309845, -0.7346403002738953, 0.013433595187962055, 0.1250164955854416, 0.4907900393009186, -0.9025465846061707, 0.7800197005271912, 0.3578881621360779, -0.19743265211582184, -0.9477230906486511, -0.20341332256793976, 0.13776370882987976, -0.9568892121315002, 0.5718134641647339, 0.09942331910133362, -0.19534163177013397, -0.028627144172787666, -0.14909330010414124, -0.5347903966903687, 0.5435869097709656, 0.7606008648872375, -0.6790995597839355, 0.3101029694080353, 0.6467632055282593, 0.465676486492157, 0.08126034587621689, 0.16297152638435364, 0.2096589356660843, 0.32791316509246826, -0.34251365065574646, -0.9342318773269653, 0.2590879499912262, -0.5020312070846558, -0.01570769026875496, 0.27518218755722046, -0.17565982043743134, 0.9766585230827332, -0.1225924864411354, -0.3565995395183563, -0.2611454427242279, 0.4648914039134979, 0.302832692861557, 0.18039673566818237, 0.6720349192619324, 0.6588120460510254, 0.8443647027015686, 0.03399357572197914, 0.8416197896003723, -0.281385600566864, 0.42455437779426575, 1.002977967262268, -0.24200880527496338, 0.6593208909034729, 0.6496646404266357, -0.24286328256130219, 0.2402980923652649, 0.08747191727161407, 0.7118034958839417, 0.7631853818893433, 0.22560258209705353, -0.32024314999580383, -0.1440230756998062, -0.07998289167881012, -0.46233370900154114, 0.15181124210357666, 0.14657966792583466, -0.6119887828826904, -0.5970251560211182, 0.10407112538814545, 0.5455465912818909, 0.5493510365486145, -0.3857402205467224, 0.5700302720069885, 0.3571942150592804, -0.7059396505355835, 0.5282266736030579, 0.5045167803764343, 0.40655407309532166, -0.5173259973526001, -0.26822441816329956, -0.06642291694879532, 0.6319829821586609, -0.08051935583353043, -0.4714619517326355, 0.7693345546722412, 0.06151001900434494, -0.12836167216300964, -0.5938196778297424, 0.9072305560112, -0.6895425915718079, -0.4562358558177948, 0.3124687373638153, 0.25971880555152893, -0.034967534244060516, -0.48356300592422485, -0.32769352197647095, -0.05527776852250099, 0.013020247220993042, -0.09515541791915894, 0.24156934022903442, 0.4766583740711212, 0.0733695849776268, 0.5493822693824768, 0.5283089876174927, 0.00033848543534986675, 0.024189502000808716, -0.016450533643364906, 1.001914381980896, -0.46414172649383545, -0.7051172256469727, -0.8558853268623352, 0.5043264031410217, -0.19934730231761932, -0.12663006782531738, 0.8271322250366211, 0.31403452157974243, 0.6937760710716248, -0.15516413748264313, 0.7103443145751953, 0.11779554188251495, 0.8432063460350037, -0.45020028948783875, 0.6648501753807068, -0.2536439895629883, 0.6923778057098389, -0.23351867496967316, -0.6726323366165161, -0.09133165329694748, 0.6036335825920105, -0.26232820749282837, -0.1456655114889145, 0.6330050230026245, 0.5914590358734131, -0.17495615780353546, 0.2293817549943924, 0.07613856345415115, 0.1659088283777237, 0.31452834606170654, 0.8534501791000366, 0.6498545408248901, -0.2966265082359314, 0.3828355371952057, -0.5147503018379211, -0.27235567569732666, -0.04710310697555542, -0.8563210964202881, -0.6486153602600098, -0.40802380442619324, -0.22133027017116547, -0.0645088478922844, 0.27820783853530884, 0.8332862854003906, 0.6712048053741455, -0.9347676634788513, 0.0314653217792511, -0.02591397613286972, 0.12480157613754272, -0.4444596767425537, -0.2115485966205597, 0.4311756193637848, -0.10828229784965515, -0.7311189770698547, 0.2874377965927124, 0.38538578152656555, -0.6898018717765808, -0.355915904045105, -0.19718074798583984, 0.3578167259693146, 0.07602348178625107, 0.6606632471084595, 0.2878476083278656, -0.4224502742290497, -0.4136481285095215, -0.1650523841381073, -0.1693345308303833, -0.04985662177205086, 0.7014197707176208, -0.5368008613586426, 0.22217842936515808, 0.5839053988456726, 0.685465395450592, 0.06459056586027145, -0.22540846467018127, 1.0128804445266724, -1.0112258195877075, 0.3549674451351166, 0.32119283080101013, 0.5118046402931213, 0.202196404337883, -0.7084041833877563, 0.3649132549762726, -0.15899987518787384, -0.3770720660686493, -0.7488892674446106, 0.179407000541687, -0.8022907972335815, -0.25389373302459717, 1.1486897468566895, -0.3838966488838196, -0.2199108600616455, -0.441226065158844, -0.22371956706047058, 0.3032233417034149, -0.3536476492881775, 1.0046566724777222, 0.20237916707992554, 0.35821297764778137, 0.12630467116832733, -0.592755913734436, 0.46449387073516846, 0.5451120138168335, -0.7543671727180481, 0.1504463255405426, 0.5701788663864136, 0.4463772177696228, -0.020852437242865562, 0.9454143047332764, -0.4991268217563629, 0.025487396866083145, -0.43796759843826294, 0.10901056975126266, -0.38656085729599, -0.3610858619213104, -0.14246611297130585, 0.3921838104724884, 0.015733182430267334, -0.5168090462684631 ]
http://arxiv.org/abs/2403.09744v1
http://arxiv.org/pdf/2403.09744v1
Evaluating the Application of Large Language Models to Generate Feedback in Programming Education
2024-03-13T23:14:35
2024-03-13T23:14:35
Sven Jacobs, Steffen Jaschke
cs.CL
cs.CL, cs.AI, cs.CY, cs.HC
This study investigates the application of large language models, specifically GPT-4, to enhance programming education. The research outlines the design of a web application that uses GPT-4 to provide feedback on programming tasks, without giving away the solution. A web application for working on programming tasks was developed for the study and evaluated with 51 students over the course of one semester. The results show that most of the feedback generated by GPT-4 effectively addressed code errors. However, challenges with incorrect suggestions and hallucinated issues indicate the need for further improvements.
[ -0.32329607009887695, -0.7321835160255432, 0.6684291362762451, 0.43809542059898376, 0.0791003629565239, 0.12049827724695206, -0.336763858795166, -0.40364348888397217, -0.18133936822414398, 0.1046125590801239, -0.32891976833343506, -0.5003944039344788, -0.34222903847694397, 0.14837300777435303, -0.4692099690437317, 1.1793681383132935, -0.09025919437408447, 0.31136026978492737, 0.08860336244106293, 0.47934696078300476, -0.7323976755142212, -0.7307425141334534, -0.8987686038017273, -0.11933678388595581, 0.3409057557582855, 0.4064405858516693, 0.5259401798248291, -0.010486542247235775, 0.7700138092041016, 0.3355344831943512, 0.6047510504722595, -0.5300528407096863, -0.5281658172607422, -0.29180437326431274, -0.5186355113983154, -0.36566340923309326, -0.5852790474891663, 0.0941154882311821, 0.5112539529800415, 0.7379232048988342, -0.3847269117832184, 0.18706394731998444, 0.15350845456123352, 0.6176287531852722, -0.3202039897441864, 0.49049338698387146, -0.08732446283102036, 0.02517213299870491, -0.1684563010931015, -0.1611539125442505, -0.3755963444709778, -0.7005583047866821, 0.2778257131576538, -0.4616055488586426, 0.21154101192951202, -0.37251096963882446, 0.5047367215156555, 0.001993168145418167, -0.20124037563800812, -0.6906504034996033, -0.7672955989837646, 0.8252120018005371, -0.9780160188674927, 0.4611099064350128, 0.5100563764572144, 0.29202601313591003, -0.09193036705255508, -0.5187108516693115, -0.5449756383895874, -0.45609086751937866, 0.3473059833049774, 0.24837042391300201, 0.0030540593434125185, 0.23420658707618713, 0.42986077070236206, 0.43005695939064026, -0.7392011284828186, -0.013703912496566772, -0.6382510662078857, -0.11528980731964111, 0.4619029462337494, 0.08303826302289963, 0.5125674605369568, 0.1467774361371994, 0.16581329703330994, 0.08040300011634827, -0.6435087323188782, -0.19655731320381165, 0.5850449204444885, 0.20595203340053558, 0.016324132680892944, 0.5040596127510071, -0.09462148696184158, 0.9114124774932861, -0.1908288151025772, -0.12658360600471497, 0.3020491600036621, -0.23219957947731018, -0.21868446469306946, -0.5432056188583374, 0.5148104429244995, 0.5435557961463928, 0.25559505820274353, -0.21878555417060852, -0.3695995509624481, 0.3705809712409973, 0.45823153853416443, -0.8543148040771484, -0.5027433037757874, 0.17320777475833893, -0.4051394462585449, -0.23581574857234955, 0.03613172471523285, -0.9779834747314453, -0.1921846866607666, -0.41861334443092346, 0.4343068599700928, -0.31207919120788574, -0.42123088240623474, 0.10214877873659134, -0.31827250123023987, 0.14999008178710938, 0.5549524426460266, -1.1653584241867065, 0.39189833402633667, 0.608851432800293, 0.8851699233055115, -0.2607840895652771, -0.330858439207077, -0.1858125776052475, 0.0618392676115036, -0.25142720341682434, 0.5384092926979065, -0.8988710045814514, -0.49434971809387207, 0.13103504478931427, -0.19169694185256958, 0.18221049010753632, -0.3233170807361603, 0.262052983045578, -0.4287430942058563, 0.22148007154464722, -0.06144878640770912, -0.7593128681182861, -0.07779266685247421, 0.4749107360839844, -0.5087141990661621, 0.6743845343589783, 0.6457046270370483, -0.49985581636428833, 0.06038434058427811, -1.0512027740478516, -0.159415140748024, 0.3529348075389862, -0.25611335039138794, -0.16540271043777466, 0.18288850784301758, 0.07040725648403168, 0.16451312601566315, -0.05569535866379738, 0.13294702768325806, -0.16856080293655396, -0.569706380367279, 0.03787664696574211, -0.15425048768520355, 0.46070596575737, 0.09292259067296982, -0.78532475233078, 0.19346857070922852, -0.5125123858451843, 0.4669138789176941, 0.04476311057806015, -0.8166696429252625, -0.07421904802322388, -0.3027646243572235, 0.07677970081567764, 0.04157187044620514, 0.14939254522323608, -0.46903377771377563, 0.6969152688980103, -0.19142982363700867, 0.4760628044605255, 0.7121260166168213, 0.011931085027754307, 0.29564884305000305, -0.015713199973106384, 1.1102755069732666, -0.35954827070236206, 0.1284061074256897, 0.15119002759456635, -0.49282750487327576, -0.5805582404136658, 0.28268399834632874, 0.2613966763019562, 0.3059272766113281, -0.986716091632843, -0.2416713833808899, 0.010930889286100864, -0.41329479217529297, -0.08390549570322037, 0.35479936003685, 0.462114155292511, -0.04354904964566231, 0.17758287489414215, -0.5250625610351562, -0.618854284286499, -0.5298103094100952, -0.1371028870344162, -0.08499143272638321, -0.2268989384174347, 0.1135651245713234, 0.5578583478927612, -0.5972903370857239, 0.6078271865844727, -0.6133943200111389, 0.05082719027996063, -0.3916460871696472, 0.14961740374565125, 0.19111844897270203, 0.5384456515312195, 0.6685208678245544, -0.37433376908302307, -0.6215406060218811, -0.12075921148061752, -0.5476056337356567, -0.1588350087404251, 0.14382855594158173, 0.017899038270115852, 0.03914943337440491, -0.09095495194196701, -0.4704867899417877, 0.31835633516311646, 0.9675222635269165, -0.2277972549200058, 0.8167684674263, -0.1553785502910614, 0.25931838154792786, -0.6339470148086548, -0.036709535866975784, 0.08302503079175949, -0.19530199468135834, -0.3345089852809906, 0.239872545003891, 0.06527648866176605, -0.6220863461494446, 0.12449932843446732, 0.16080252826213837, -0.5753644704818726, -0.08755369484424591, -0.5825416445732117, 0.24652332067489624, -0.17613911628723145, 0.28043192625045776, -0.059806566685438156, 0.8867358565330505, 0.42276865243911743, -0.33826449513435364, 0.6214199066162109, -0.08459550142288208, -0.16908718645572662, 0.4352635145187378, -0.5754349827766418, 0.6060416102409363, 0.27580496668815613, 0.29583626985549927, -0.7146867513656616, -0.5395765900611877, -0.04037005454301834, -0.4950571060180664, 0.3364846706390381, -0.20972971618175507, -0.1325792819261551, -1.1027624607086182, -0.4667191207408905, 0.08726390451192856, 0.35621878504753113, -0.34981298446655273, 0.13194014132022858, 0.3898310959339142, -0.3057501018047333, -0.3645625710487366, -0.3679542541503906, 0.10991498082876205, 0.09921766817569733, -0.382145494222641, -0.16474466025829315, -0.34222307801246643, -0.15017744898796082, 0.03086134046316147, -0.09311113506555557, -0.33179953694343567, -0.10868001729249954, 0.1975444257259369, 0.24180088937282562, -0.27847060561180115, 0.12868739664554596, -0.39683443307876587, 0.14382092654705048, 0.21209876239299774, -0.5612514615058899, 0.6155482530593872, -0.46001771092414856, -0.462047278881073, -0.6306330561637878, 0.4019261598587036, 0.43765389919281006, 0.028667638078331947, 0.3150757849216461, 0.40931931138038635, -0.22335557639598846, -0.31756892800331116, -0.6088013648986816, -0.24916483461856842, -0.47931358218193054, 0.5402610898017883, -0.3400794267654419, -1.0299952030181885, 0.07982829213142395, -0.22282391786575317, 0.024416988715529442, 0.020014887675642967, 0.7287721037864685, 0.164327472448349, 1.1919912099838257, 0.8732504844665527, -0.23043282330036163, 0.6973028779029846, -0.4156247079372406, 0.4559630751609802, -0.6456180810928345, -0.004598489962518215, -0.572832465171814, 0.03421376645565033, -0.2165927141904831, -0.4027045667171478, -0.10192000865936279, 0.0909544974565506, -0.36097458004951477, 0.23007841408252716, -0.689487874507904, 0.6694002747535706, 0.6259276270866394, 0.06126650422811508, -0.03165397047996521, -0.2583405077457428, 0.06521480530500412, -0.003342814277857542, -0.42782774567604065, -0.5055737495422363, 1.265075922012329, 0.30914056301116943, 0.9675053358078003, 0.5486533045768738, 0.6151711344718933, 0.33554622530937195, 0.7091236114501953, -0.7493104338645935, 0.3630060851573944, 0.19001169502735138, -0.6622080206871033, -0.4556429386138916, -0.6238946318626404, -0.664505124092102, 0.12214011698961258, 0.23343275487422943, -0.894934356212616, -0.3928379714488983, 0.35912251472473145, -0.3446153402328491, -0.007400963455438614, -1.2917555570602417, 0.9920406937599182, -0.3216109871864319, -0.5580431222915649, -0.377636194229126, -0.21181175112724304, 0.3885782063007355, -0.22247031331062317, 0.27409040927886963, 0.2734698951244354, 0.5050901770591736, 0.7702956795692444, -0.7397769093513489, 0.9646963477134705, -0.5500054359436035, -0.32645183801651, 0.4397568702697754, 0.11343968659639359, 0.48626449704170227, 0.10058024525642395, -0.14315888285636902, -0.13217571377754211, 0.013552126474678516, -0.3463383913040161, -0.808824896812439, 1.115983486175537, -0.8285819292068481, -0.8674221634864807, -0.43677517771720886, -0.639588475227356, -0.425245076417923, 0.29310092329978943, -0.17800462245941162, 0.5464980006217957, 0.15429528057575226, 0.029071230441331863, 0.14495006203651428, -0.3427312672138214, 0.4590500593185425, 0.6439079642295837, -0.6416196823120117, -0.25524985790252686, 0.9423136115074158, 0.0035520181991159916, 0.3154338598251343, -0.11055860668420792, 0.32456231117248535, -0.25726211071014404, -0.6351544260978699, -0.7504910230636597, 0.13031239807605743, -0.8191325068473816, -0.1599659025669098, -0.21851195394992828, 0.03159422054886818, -0.589765191078186, -0.24789702892303467, -0.22313737869262695, -0.348411500453949, 0.3156015872955322, -0.22735433280467987, 0.031263694167137146, 1.4613075256347656, 0.08256247639656067, 0.395087331533432, -0.8243846893310547, -0.06645813584327698, 0.3337356448173523, 0.733300507068634, 0.29127591848373413, -0.17622889578342438, -0.4197097718715668, 0.005233085248619318, -0.6522057056427002, -1.0700101852416992, 0.1801747828722, 0.007711315527558327, 0.4915061891078949, 0.23351402580738068, -0.4827014207839966, 0.5177773833274841, -0.47732776403427124, 1.1978585720062256, 0.44528263807296753, -1.32445228099823, 0.7735852599143982, -0.6980545520782471, 0.7475765943527222, 0.18785226345062256, 0.42774125933647156, -0.3837474286556244, -0.45928388833999634, -0.28963756561279297, -0.5619773268699646, 0.6101182699203491, 0.1372096836566925, 0.29704931378364563, -0.08064333349466324, 0.4137411117553711, 0.04475805163383484, 0.3309577405452728, -1.1052820682525635, 0.2483324557542801, -0.555447518825531, -0.11943439394235611, 0.2550497353076935, -0.3481403887271881, 0.15317878127098083, -0.3651929795742035, 0.7579439282417297, -0.1380690336227417, 0.3639456033706665, -0.3222508430480957, 0.09335561841726303, -0.09458944201469421, 0.39514532685279846, 0.729711651802063, 1.3662666082382202, 0.04801551252603531, 0.07019005715847015, -0.053199902176856995, -0.8312466740608215, -0.03099244087934494, -0.2283220738172531, 0.09896772354841232, -0.14518959820270538, 0.17908354103565216, 0.43568018078804016, 0.11785483360290527, -0.6586523652076721, 0.6752234101295471, -0.1626129001379013, -0.004766605794429779, -0.22211959958076477, 0.08726824074983597, 0.15165895223617554, 0.12997829914093018, 0.21916349232196808, -0.3335448205471039, 0.4887810945510864, -0.7616806626319885, 0.07613784074783325, 0.3006209135055542, -0.21562756597995758, -0.5228019952774048, 0.5526337623596191, 0.5103253126144409, -0.2961318790912628, 0.7978396415710449, -0.2383863776922226, -0.8676903247833252, 0.4854886531829834, 1.19268000125885, 0.5237575173377991, -0.5831901431083679, 0.3159324824810028, 0.5769343972206116, 0.14868752658367157, -0.15268142521381378, 0.43071624636650085, 0.02501758188009262, -0.22622184455394745, -0.7823672294616699, -0.721307635307312, -0.6922756433486938, 0.22821933031082153, -0.41351455450057983, 0.19568684697151184, -0.5627288818359375, -0.38069799542427063, -0.08019247651100159, -0.10793592780828476, -0.6809470653533936, 0.259346604347229, 0.010513353161513805, 0.4054674506187439, -0.633704423904419, 1.087368369102478, 0.9277106523513794, -0.8640192151069641, -1.4622892141342163, -0.06584666669368744, 0.15227043628692627, -0.3992939889431, 0.8982753753662109, 0.1977226883172989, -0.1791607290506363, 0.1179124265909195, -0.5432690382003784, -0.8578339219093323, 0.4432801604270935, 0.238327756524086, -0.7273736596107483, -0.052640799432992935, 0.12371459603309631, 0.67597895860672, 0.02773483470082283, 0.457063227891922, 0.43479225039482117, 0.4587980806827545, -0.10616236180067062, -1.3061429262161255, -0.13592568039894104, -0.4713030755519867, 0.19890691339969635, 0.38796406984329224, -0.44995248317718506, 0.8836047053337097, -0.22574594616889954, 0.022876117378473282, -0.04499540105462074, 0.3428194224834442, -0.09542251378297806, -0.060419902205467224, 0.19563773274421692, 0.4447488784790039, 0.8608777523040771, -0.06835267692804337, 1.2380744218826294, -0.2451404631137848, 0.8082225322723389, 1.162784218788147, -0.2646638751029968, 0.7130753993988037, 0.34783586859703064, -0.5675428509712219, 0.526273250579834, 0.40922823548316956, -0.114456906914711, 0.32302069664001465, 0.7088143825531006, -0.28221869468688965, 0.23422209918498993, 0.38019365072250366, -0.5526139140129089, 0.25026801228523254, 0.4060267508029938, -0.07704225927591324, -0.11613140255212784, 0.3344916105270386, 0.09938881546258926, -0.04400855675339699, -0.4515317976474762, 0.38220474123954773, 0.07274916023015976, -0.7488241791725159, 0.4706445038318634, 0.09257783740758896, 0.5132612586021423, -0.5171092748641968, -0.4623631238937378, -0.18764252960681915, 0.6061175465583801, -0.5246047973632812, -0.7038494944572449, 0.32410380244255066, 0.35759180784225464, -0.1716378927230835, -0.07680521160364151, 0.3374861478805542, -0.2518918812274933, -0.3906789720058441, 0.23893575370311737, 0.16682112216949463, 0.30873793363571167, 0.10351280122995377, -0.5056537985801697, 0.3989788889884949, 0.1815083622932434, -0.25249627232551575, 0.2612004578113556, 0.31937164068222046, -0.07447462528944016, 0.5393903851509094, 0.5772557854652405, 0.18456748127937317, 0.1848955899477005, 0.520211935043335, 0.8304436206817627, -0.4887016713619232, -0.4403165280818939, -0.7967321276664734, 0.05839924514293671, -0.2710725963115692, -0.13258299231529236, 1.2939293384552002, 0.7241095900535583, 1.0226421356201172, -0.4695453941822052, 1.2701478004455566, -0.37155818939208984, 0.47917893528938293, -0.3050510883331299, 0.4059423804283142, -0.01863950863480568, 0.29976075887680054, -0.7018799185752869, -1.3207519054412842, -0.4523426592350006, 0.8749035000801086, -0.7035443186759949, 0.4201566278934479, 0.9605323076248169, 0.42521005868911743, 0.08766649663448334, 0.2553030252456665, 0.3586915135383606, 0.1291479915380478, 0.7284467220306396, 0.6254480481147766, 0.9606830477714539, -0.018443306908011436, 0.31625643372535706, -0.17467474937438965, -0.5334513187408447, -0.23582176864147186, -0.5092481970787048, -1.0474976301193237, -0.23189318180084229, -0.26995766162872314, -0.4631800353527069, 0.3281799554824829, 0.7168754935264587, 0.6226553320884705, -0.884478747844696, -0.38695916533470154, -0.19479277729988098, -0.3353595435619354, -0.11425371468067169, -0.25998881459236145, 0.33113253116607666, -0.5166255235671997, -0.8065643310546875, 0.3680143654346466, 0.1779472529888153, -0.15114924311637878, -0.577539324760437, -0.04145815968513489, 0.11178142577409744, -0.22618524730205536, 0.7864724397659302, 0.11739905178546906, -0.5161750912666321, -0.693246066570282, -0.14582447707653046, -0.039283160120248795, -0.15578697621822357, 1.0836801528930664, -0.3589628338813782, 0.5338205099105835, 0.29339322447776794, 0.7628600001335144, 0.5524792075157166, 0.048435479402542114, 0.8387593626976013, -0.4485011696815491, 0.06751418113708496, 0.1640123575925827, 0.32623806595802307, 0.43363314867019653, -0.43950456380844116, 0.7715211510658264, 0.20293466746807098, -0.9366671442985535, -0.4478064477443695, 0.0167206060141325, -0.6617947220802307, -0.16813133656978607, 1.1315151453018188, -0.40884873270988464, 0.09179452806711197, -0.19506525993347168, -0.45192044973373413, -0.06170579046010971, -0.38729745149612427, 0.8943820595741272, 1.0562188625335693, -0.4374625086784363, -0.12184197455644608, -1.1369340419769287, 0.37501323223114014, 0.09608756750822067, -1.0153539180755615, -0.16764825582504272, 0.8975390791893005, 0.5823328495025635, 0.11860967427492142, 0.8733192086219788, -0.15034633874893188, 0.3729866147041321, 0.22370976209640503, 0.3583049178123474, 0.23427966237068176, -0.17860202491283417, -0.1405862718820572, 0.2803371846675873, 0.5425724983215332, 0.1274707019329071 ]
http://arxiv.org/abs/2403.08978v1
http://arxiv.org/pdf/2403.08978v1
AutoGuide: Automated Generation and Selection of State-Aware Guidelines for Large Language Model Agents
2024-03-13T22:06:03
2024-03-13T22:06:03
Yao Fu, Dong-Ki Kim, Jaekyeom Kim, Sungryull Sohn, Lajanugen Logeswaran, Kyunghoon Bae, Honglak Lee
cs.CL
cs.CL, cs.LG
The primary limitation of large language models (LLMs) is their restricted understanding of the world. This poses significant difficulties for LLM-based agents, particularly in domains where pre-trained LLMs lack sufficient knowledge. In this paper, we introduce a novel framework, called AutoGuide, that bridges the knowledge gap in pre-trained LLMs by leveraging implicit knowledge in offline experiences. Specifically, AutoGuide effectively extracts knowledge embedded in offline data by extracting a set of state-aware guidelines. Importantly, each state-aware guideline is expressed in concise natural language and follows a conditional structure, clearly describing the state where it is applicable. As such, the resulting guidelines enable a principled way to provide helpful knowledge pertinent to an agent's current decision-making process. We show that our approach outperforms competitive LLM-based baselines by a large margin in sequential decision-making benchmarks.
[ -0.5534695982933044, -0.5253989100456238, 0.8603376150131226, -0.1570269763469696, -0.023271795362234116, -0.08434304594993591, -0.1304367035627365, -0.2734624445438385, 0.03408462926745415, 0.36868205666542053, -0.7092215418815613, -0.4174180030822754, -0.3633011281490326, 0.19819270074367523, -0.2832454442977905, 0.9027351140975952, -0.26952818036079407, -0.09622172266244888, -0.35826918482780457, 0.2350902110338211, -0.3166913390159607, -0.11180056631565094, -0.6570728421211243, -0.5009461641311646, 0.3848317861557007, 0.2953045070171356, 0.6091907620429993, 0.756118893623352, 0.07940278202295303, 0.35098519921302795, 0.18525780737400055, 0.5001482963562012, -0.400935560464859, 0.3233884274959564, -0.4072401523590088, -0.42857760190963745, -0.5549402236938477, -0.0510222427546978, 0.4720931947231293, 0.4418434202671051, -0.21568453311920166, 0.06815776973962784, 0.17742952704429626, 0.49334684014320374, -0.6922077536582947, 0.5013259649276733, -0.6779807806015015, 0.11428913474082947, -0.0022042719647288322, -0.30965107679367065, -0.25107067823410034, -0.500998318195343, 0.469296932220459, -1.0827748775482178, 0.028217215090990067, 0.25751006603240967, 0.8827545642852783, 0.7904623746871948, -0.4804977476596832, -0.41490206122398376, -0.7056263089179993, 0.2836911082267761, -0.4748999774456024, 0.4196995198726654, 0.5348562598228455, 0.5997763276100159, -0.3844543695449829, -0.7434304356575012, -0.601256787776947, -0.0802340880036354, -0.2571902871131897, 0.050484396517276764, -0.18856655061244965, 0.24247156083583832, 0.1339474618434906, 0.13884413242340088, -0.46453914046287537, 0.007856559939682484, -0.10363882035017014, -0.1477348804473877, 0.4878181517124176, 0.0639253556728363, 0.09847790002822876, -0.12223881483078003, -0.16883805394172668, 0.07589306682348251, -0.863582968711853, -0.1153508722782135, 0.24155673384666443, 0.04945795610547066, 0.07251199334859848, 0.30776023864746094, -0.21858441829681396, 0.8735986351966858, 0.45755016803741455, -0.3538340926170349, -0.01223006658256054, -0.32787224650382996, -0.30140140652656555, 0.14449304342269897, 0.5493673086166382, 0.3277519643306732, 0.2875065505504608, -0.24529097974300385, -0.33448904752731323, -0.2567727565765381, 0.13573653995990753, -0.7359495759010315, -0.24635548889636993, -0.07767102122306824, -0.32600995898246765, -0.0788550153374672, -0.19770130515098572, -0.6791690587997437, -0.6566962599754333, -0.44934719800949097, 0.4073554575443268, -0.057102400809526443, -0.2177613228559494, -0.19667696952819824, -0.21189063787460327, 0.4656113386154175, 0.44653111696243286, -0.6355926990509033, 0.18574568629264832, 0.3496359586715698, 0.7840940356254578, 0.008569440804421902, -0.142147034406662, -0.4319489300251007, 0.4467090368270874, -0.30599838495254517, 0.933049738407135, -0.6293611526489258, -0.4557194411754608, -0.04961910471320152, 0.12982110679149628, 0.0798836424946785, -0.29160282015800476, 0.13061903417110443, -0.6184884309768677, 0.1347631961107254, -0.3184126317501068, -0.5748022198677063, -0.2991252541542053, 0.1746244579553604, -0.5913203954696655, 0.9690848588943481, 0.16861006617546082, -0.36290132999420166, 0.7699282169342041, -0.5463399887084961, -0.48361894488334656, 0.050383295863866806, -0.4412444829940796, -0.1569368988275528, -0.30937767028808594, 0.3124660849571228, 0.3105308711528778, -0.49361076951026917, 0.2380572110414505, -0.44314301013946533, 0.012044701725244522, -0.3100181519985199, -0.16252294182777405, 0.484341025352478, 0.18129239976406097, -0.5652192234992981, 0.1358986794948578, -0.526646614074707, 0.04481858015060425, -0.014726686291396618, -0.2940763533115387, -0.4778396189212799, 0.32925644516944885, -0.39735570549964905, 0.4893296957015991, 0.2605913579463959, -0.3062402904033661, 0.30712202191352844, -0.5156060457229614, 0.46483319997787476, 0.8586823344230652, -0.0031092213466763496, 0.7369586229324341, -0.2550481855869293, 0.6459059119224548, -0.290205180644989, 0.39236316084861755, -0.18212616443634033, -0.23087173700332642, -1.0219165086746216, -0.20717744529247284, -0.0628785490989685, 0.4722059965133667, -1.0065710544586182, 0.7719265222549438, -0.09168434888124466, -0.45177239179611206, -0.4311535358428955, 0.5120599269866943, 0.3140798807144165, 0.4818579852581024, 0.3551713228225708, 0.0926031693816185, -0.6727737188339233, -0.5776460766792297, -0.03751154989004135, -0.08892758935689926, 0.34259235858917236, 0.4911293685436249, 0.5554882287979126, -0.40970611572265625, 1.4155811071395874, -0.636433482170105, -0.7299649715423584, -0.3131701350212097, -0.10084252804517746, -0.10053420066833496, 0.14191746711730957, 0.3096182644367218, -0.6895610690116882, -0.6022291779518127, -0.15134908258914948, -0.9395409226417542, -0.21955303847789764, -0.1785437911748886, -0.505918025970459, 0.2065034955739975, 0.8932744860649109, -0.37324148416519165, 0.48709794878959656, 0.3358820974826813, -0.4418569505214691, 0.026461726054549217, -0.700351893901825, -0.3433517515659332, -1.017282485961914, -0.005167834926396608, 0.1497115194797516, -0.5405716896057129, -0.1983494758605957, -0.43841132521629333, 0.012351099401712418, 0.1396348476409912, -0.14446061849594116, 0.9746809601783752, -0.8689952492713928, -0.1512359082698822, -0.43661177158355713, 0.4296967387199402, 0.10469572991132736, 0.4277992844581604, 0.32916393876075745, 0.48366156220436096, 0.5377796292304993, -0.7236916422843933, 0.5653677582740784, 0.4141649305820465, -0.2697271704673767, 0.6387428641319275, -0.4939422607421875, -0.12070470303297043, -0.305341511964798, 0.7226365208625793, -0.5930942296981812, -0.041732169687747955, 0.20727767050266266, -0.10490802675485611, 0.16268672049045563, -0.40573757886886597, -0.3857496976852417, -0.20865055918693542, 0.07203881442546844, 0.23108592629432678, 0.5564635396003723, -0.4280269742012024, 0.972476065158844, 0.804906964302063, -0.1715942621231079, -0.27594271302223206, -0.2457922250032425, -0.03775027021765709, -0.08872231841087341, -0.2976434826850891, 0.1200127899646759, -0.1895393580198288, -0.23401033878326416, 0.07694453746080399, -0.08031285554170609, -0.1181468665599823, 0.08330469578504562, 0.5353773832321167, 0.24340829253196716, 0.028164513409137726, 0.1337311863899231, 0.11916673183441162, -0.15859924256801605, 0.16792435944080353, -0.7759087681770325, 0.3212779760360718, -0.062129873782396317, -0.31378263235092163, -0.11160515248775482, 0.12853215634822845, 0.4565272629261017, -0.3375009000301361, 0.4856503903865814, 0.33243870735168457, -0.3146219253540039, -0.8568083643913269, -0.4721405506134033, -0.16400359570980072, -0.566616415977478, 0.14529885351657867, -0.1763007491827011, -0.5145248174667358, 0.1332746148109436, -0.18565711379051208, 0.16358596086502075, 0.30865177512168884, 0.4203034043312073, 0.05584060773253441, 1.150228500366211, 0.9594057202339172, 0.041243527084589005, 0.4569590091705322, -0.16769132018089294, 0.09862834960222244, -0.6269522309303284, -0.4637712836265564, -0.2353249192237854, 0.02446993626654148, -0.5182217359542847, -0.4313887059688568, 0.6881800889968872, -0.06301534920930862, -0.20223811268806458, 0.09557686001062393, -0.31849372386932373, 0.5270146131515503, 0.3602457344532013, 0.026719026267528534, 0.343858003616333, -0.2946799397468567, -0.3713698089122772, 0.35217204689979553, -0.9369310736656189, -0.47509706020355225, 1.098237156867981, 0.1671953946352005, 0.9510602951049805, 0.07612170279026031, 0.3802904486656189, 0.6162354350090027, 0.2580753564834595, -0.7371106743812561, 0.5337803959846497, 0.1434117704629898, -0.7643997073173523, -0.38771623373031616, -0.3707226812839508, -0.8261479735374451, 0.040613576769828796, -0.36112087965011597, -0.2720218002796173, 0.24640938639640808, 0.4642099142074585, -0.6502997875213623, 0.14945898950099945, -0.5475221872329712, 0.5459831953048706, -0.5480009913444519, -0.25648683309555054, -0.04970063269138336, -0.46271026134490967, 0.025410030037164688, -0.5353829860687256, 0.24900884926319122, -0.1201695054769516, -0.22589462995529175, 0.6530963778495789, -0.7237598299980164, 0.7336245179176331, -0.2557874321937561, -0.328421413898468, 0.19756247103214264, 0.017375219613313675, 0.7930516600608826, 0.04980839788913727, 0.08197043836116791, -0.14961735904216766, 0.00592923816293478, -0.006288382224738598, -0.5308033227920532, 0.5943693518638611, -0.696603000164032, -0.544549822807312, -0.4959201216697693, -0.2784733176231384, -0.32914674282073975, 0.48583391308784485, 0.24744220077991486, 0.5210514068603516, -0.09522157907485962, -0.1920253485441208, 0.7366064786911011, -0.33232635259628296, 0.503765344619751, 1.1414594650268555, -0.30903467535972595, -0.21343545615673065, 0.811587393283844, 0.2211926281452179, 0.11244235187768936, 0.23156513273715973, 0.121657595038414, -0.7243487238883972, -0.24409539997577667, -0.6352695822715759, 0.15749670565128326, -1.0891311168670654, -0.0351785272359848, -0.41418522596359253, -0.11764318495988846, -0.32944726943969727, -0.31086403131484985, -0.26393118500709534, 0.03238490968942642, -0.11394891142845154, -0.0637124553322792, 0.3592408001422882, 1.206432580947876, -0.20600034296512604, 0.03391941636800766, -0.6100968718528748, 0.25637754797935486, 0.4411426782608032, 0.34979602694511414, -0.03665977716445923, -0.37975743412971497, -0.3159458637237549, -0.12639977037906647, 0.069692462682724, -0.765367865562439, 0.24996712803840637, 0.5330511331558228, 1.0129714012145996, 0.6543064117431641, 0.45338279008865356, 0.6866159439086914, -0.5933008790016174, 0.3138873279094696, -0.09891942143440247, -0.8344727158546448, 0.691805362701416, -0.3184502422809601, 0.24086834490299225, 0.5855770111083984, 0.581275224685669, -0.2810014486312866, -0.4149979054927826, -0.31468716263771057, -0.9719098210334778, 0.7098693251609802, 0.036703046411275864, -0.23820041120052338, 0.15575982630252838, 0.3621896207332611, 0.09817363321781158, 0.3245830833911896, -0.5026846528053284, -0.5134873986244202, -0.261787474155426, -0.1932891607284546, -0.05169764533638954, 0.11996299773454666, -0.14793729782104492, -0.276460736989975, 0.7508270740509033, -0.355720579624176, 0.14506027102470398, 0.29709869623184204, -0.6210448741912842, -0.10523778945207596, -0.09979745000600815, 0.31538596749305725, 0.9043526649475098, -0.09600113332271576, 0.061962541192770004, 0.33311721682548523, -0.3226221203804016, 0.23127266764640808, 0.39331239461898804, -0.35430851578712463, -0.12531571090221405, 0.1356256753206253, 0.5886077284812927, 0.19552816450595856, -0.6074207425117493, 0.46976733207702637, -0.29144856333732605, -0.034882280975580215, -0.7490914463996887, 0.2233649045228958, -0.28370657563209534, 0.4302777647972107, 0.2901012897491455, -0.1180746778845787, -0.012371247634291649, -0.33320778608322144, 0.4400525391101837, 0.47922423481941223, -0.4008769392967224, -0.039374466985464096, 0.5343291163444519, 0.8414658308029175, 0.12277370691299438, 0.21712663769721985, -0.5214009284973145, -0.4239093065261841, 0.34348851442337036, 0.2098175436258316, 0.7817349433898926, 0.06747841089963913, 0.13539694249629974, 0.24193355441093445, 0.2596065402030945, -0.24602827429771423, 0.08643297851085663, -0.36868393421173096, -0.5743927359580994, -0.32156580686569214, -0.686438798904419, -0.27233609557151794, 0.030574776232242584, -0.5611007213592529, 0.3525887131690979, -0.7610228061676025, -0.19389669597148895, -0.24755433201789856, -0.05177342891693115, -0.7655277848243713, 0.2559764087200165, 0.40302762389183044, 0.9835454225540161, -0.5761920213699341, 1.038243293762207, 0.6363216042518616, -0.40610772371292114, -1.0340272188186646, 0.10464976727962494, 0.26872193813323975, -0.7949053049087524, 0.6637663245201111, -0.07787425071001053, -0.627587080001831, 0.42246314883232117, -0.15319286286830902, -1.077958583831787, 1.2350633144378662, 0.22814083099365234, -0.5011299848556519, -0.4685373604297638, -0.03836438059806824, 0.23992544412612915, -0.3684886395931244, 0.7392064929008484, 0.7034934163093567, 0.723503589630127, 0.10735445469617844, -1.0324536561965942, 0.18186916410923004, -0.3117023706436157, -0.2834639847278595, 0.22673164308071136, -0.5383988618850708, 0.6438829898834229, -0.160088911652565, -0.2694897949695587, -0.23245146870613098, 0.3810644745826721, -0.10150926560163498, 0.04955402389168739, 0.8193489909172058, 0.32318025827407837, 0.8547404408454895, 0.01559658907353878, 0.7173194289207458, -0.6465415954589844, 0.07510949671268463, 1.207712173461914, -0.44238781929016113, 0.6062073707580566, -0.061487749218940735, 0.2579241693019867, 0.7381314039230347, 0.7493383288383484, -0.0718207061290741, 0.6134675145149231, 0.00856365542858839, -0.2198820263147354, -0.672644853591919, -0.10284997522830963, -0.4071349501609802, 0.5722689628601074, 0.2879560589790344, -0.3649803698062897, -0.5595294833183289, -0.015651477500796318, 0.3366124927997589, -0.2502862215042114, -0.579002320766449, 1.0590825080871582, 0.13693280518054962, -1.049949288368225, 0.5648426413536072, -0.031548768281936646, 0.5996720194816589, -0.943151593208313, -0.23262925446033478, -0.17787764966487885, 0.38207194209098816, -0.3415631055831909, -0.6971709132194519, 0.0681886225938797, 0.17790019512176514, -0.18228957056999207, -0.5753284692764282, 0.7216721177101135, -0.4598774313926697, -0.25116094946861267, 0.5083274841308594, 0.6509252786636353, 0.008107563480734825, -0.09690570086240768, -0.6920107007026672, -0.3791215419769287, -0.1044808104634285, -0.18936662375926971, 0.08265624195337296, 0.45434409379959106, -0.19962570071220398, 0.958991527557373, 0.6279341578483582, 0.4013921618461609, -0.09842023998498917, -0.2613498270511627, 1.0382003784179688, -0.5761225819587708, -0.9024524688720703, -0.8731998801231384, 0.1797153502702713, -0.14120551943778992, -0.141482874751091, 0.8705412745475769, 0.3376563489437103, 0.8309546113014221, 0.46217265725135803, 1.267356514930725, -0.10209930688142776, 0.3635486364364624, -0.6490379571914673, 1.1439309120178223, -0.7486507296562195, 0.4227272570133209, 0.11883249133825302, -0.7396367788314819, 0.31940579414367676, 0.712971031665802, -0.5732434391975403, 0.2395521104335785, 0.7158379554748535, 0.9771516919136047, 0.12236560136079788, -0.4023444950580597, 0.14069966971874237, 0.17758014798164368, 0.3218422532081604, 0.6805741190910339, 0.7894410490989685, 0.11993125081062317, 0.9345995783805847, 0.17021682858467102, -0.21517054736614227, -0.18645451962947845, -1.1377003192901611, -1.175410270690918, -0.6318596601486206, -0.032596562057733536, -0.20682582259178162, 0.10056496411561966, 1.2206122875213623, 1.123785376548767, -0.3933892250061035, -0.1460934579372406, -0.19871552288532257, 0.21885815262794495, 0.29404813051223755, -0.11202248930931091, 0.15676388144493103, -0.2631610631942749, -0.4381157457828522, 0.6331091523170471, 0.2102816104888916, 0.09379124641418457, -0.6513579487800598, -0.5366313457489014, -0.08286885917186737, 0.3025030195713043, 0.3310178220272064, 0.4619719982147217, -0.46603378653526306, 0.22117196023464203, -0.2553822100162506, -0.2127397358417511, -0.18904148042201996, 0.8375301361083984, -1.0265244245529175, 0.5913835167884827, 0.36569738388061523, 0.3190271854400635, 0.2797468900680542, -0.08121054619550705, 1.108703851699829, -0.5144017338752747, 0.08271683007478714, 0.06783415377140045, 0.3364521265029907, 0.23288272321224213, -0.2512211203575134, 0.21321038901805878, 0.1624939888715744, -0.502275824546814, -0.4832201302051544, 0.2715005576610565, -0.44738584756851196, -0.4615640640258789, 1.597766399383545, -0.3299259841442108, -0.19248895347118378, -0.6638526916503906, -0.14341342449188232, 0.45381858944892883, -0.5062562227249146, 0.5466972589492798, 0.26727959513664246, 0.003997130319476128, -0.026447555050253868, -0.6481324434280396, 1.2344657182693481, -0.00997151993215084, -1.1287000179290771, -0.12809552252292633, 0.5658450722694397, 0.35002338886260986, -0.27520832419395447, 0.591479480266571, 0.39749690890312195, 0.07399289309978485, -0.23630250990390778, -0.13139380514621735, -0.5018930435180664, -0.49129459261894226, -0.07492022961378098, -0.24879053235054016, 0.22956113517284393, 0.19120092689990997 ]
http://arxiv.org/abs/2403.09743v1
http://arxiv.org/pdf/2403.09743v1
The Human Factor in Detecting Errors of Large Language Models: A Systematic Literature Review and Future Research Directions
2024-03-13T21:39:39
2024-03-13T21:39:39
Christian A. Schiller
cs.CL
cs.CL, cs.AI, cs.LG
The launch of ChatGPT by OpenAI in November 2022 marked a pivotal moment for Artificial Intelligence, introducing Large Language Models (LLMs) to the mainstream and setting new records in user adoption. LLMs, particularly ChatGPT, trained on extensive internet data, demonstrate remarkable conversational capabilities across various domains, suggesting a significant impact on the workforce. However, these models are susceptible to errors - "hallucinations" and omissions, generating incorrect or incomplete information. This poses risks especially in contexts where accuracy is crucial, such as legal compliance, medicine or fine-grained process frameworks. There are both technical and human solutions to cope with this isse. This paper explores the human factors that enable users to detect errors in LLM outputs, a critical component in mitigating risks associated with their use in professional settings. Understanding these factors is essential for organizations aiming to leverage LLM technology efficiently, guiding targeted training and deployment strategies to enhance error detection by users. This approach not only aims to optimize the use of LLMs but also to prevent potential downstream issues stemming from reliance on inaccurate model responses. The research emphasizes the balance between technological advancement and human insight in maximizing the benefits of LLMs while minimizing the risks, particularly in areas where precision is paramount. This paper performs a systematic literature research on this research topic, analyses and synthesizes the findings, and outlines future research directions. Literature selection cut-off date is January 11th 2024.
[ -0.28383129835128784, -0.7771180868148804, 0.5858598947525024, 0.20753343403339386, 0.05788199231028557, 0.051099687814712524, -0.3161599636077881, -0.6743419170379639, -0.15281805396080017, 0.6605796813964844, -0.4917174279689789, -0.21063709259033203, -0.5831664800643921, 0.22489354014396667, -0.43742066621780396, 0.5381859540939331, -0.22952242195606232, 0.2631934881210327, -0.09751494973897934, -0.03562216833233833, -0.4450627267360687, -0.8435350656509399, -0.719433605670929, -0.5842333436012268, 0.5872699618339539, 0.4113720953464508, 0.6251763105392456, 0.24162724614143372, 0.7042250633239746, 0.24532368779182434, -0.009188001975417137, 0.37992921471595764, -0.3450223505496979, -0.034466080367565155, 0.05171443149447441, -0.5035432577133179, -0.6385375261306763, -0.21923880279064178, 0.5590577125549316, 0.7956286072731018, -0.26047980785369873, -0.10696280002593994, 0.3571678102016449, 0.7035953402519226, -0.3229784369468689, 0.40225356817245483, -0.2997867465019226, 0.07497044652700424, -0.3439432680606842, -0.33142685890197754, -0.31557798385620117, -0.3783192038536072, 0.18930484354496002, -0.28731128573417664, 0.3125914931297302, 0.25602617859840393, 0.6688327789306641, 0.25790658593177795, -0.3559730052947998, -0.40420618653297424, -0.9527621269226074, 0.6671085953712463, -0.9235242605209351, 0.33866792917251587, 0.4712931513786316, 0.16524876654148102, -0.7242245078086853, -0.3704158663749695, -0.5816174745559692, -0.1245311051607132, -0.08634452521800995, -0.1377696692943573, -0.0027808235026896, 0.20083236694335938, 0.3574874997138977, 0.03173865005373955, -0.5385154485702515, 0.35602080821990967, -0.43377360701560974, -0.3594498038291931, 0.7420433163642883, 0.23536868393421173, 0.5208849906921387, 0.020539073273539543, 0.15736132860183716, -0.11305136978626251, -0.8984249234199524, -0.29655933380126953, 0.4849123954772949, 0.2632519602775574, -0.008423653431236744, 0.5949033498764038, -0.20531582832336426, 0.3587777018547058, -0.24681368470191956, -0.15834219753742218, 0.1972430944442749, -0.2848069369792938, -0.22483763098716736, 0.16779391467571259, 0.8288909792900085, 0.15799948573112488, 0.5201160907745361, 0.12260313332080841, -0.39689844846725464, -0.08250661939382553, 0.31712210178375244, -0.600227952003479, -0.11324987560510635, 0.20381972193717957, -0.2903924882411957, -0.34187281131744385, 0.11776132881641388, -0.8077129125595093, -0.8643869161605835, -0.34424686431884766, 0.15527400374412537, -0.18391700088977814, -0.30234235525131226, 0.11529163271188736, 0.2940288484096527, 0.19101367890834808, 0.5759435296058655, -0.7104472517967224, 0.21619153022766113, 0.6995168328285217, 0.7667974233627319, -0.05587328225374222, -0.3321135640144348, -0.3174685835838318, -0.11616425216197968, -0.49212151765823364, 0.5715327858924866, -0.06545820087194443, -0.5328381061553955, 0.3862481415271759, -0.09346774965524673, -0.0038225383032113314, -0.5719515681266785, 0.8271852731704712, -0.40833044052124023, 0.2396104633808136, -0.36359351873397827, -0.4272969365119934, -0.33103424310684204, 0.20147839188575745, -0.5402884483337402, 0.7494245767593384, 0.05948664993047714, -0.7216654419898987, 0.21671180427074432, -0.890932559967041, -0.3349393904209137, 0.07430759817361832, -0.36039382219314575, -0.5879402160644531, 0.12681230902671814, 0.19226309657096863, 0.4054195284843445, -0.4617277979850769, 0.4539504945278168, -0.25092393159866333, -0.3848947286605835, 0.6245324611663818, -0.5650177001953125, 0.7312160730361938, 0.09239408373832703, -0.4049222469329834, 0.3219124376773834, -0.5753939747810364, -0.25564223527908325, 0.23052434623241425, -0.3364352583885193, 0.011451096273958683, 0.385628879070282, 0.2536734938621521, 0.2182605266571045, -0.15286843478679657, -0.4009780287742615, -0.1270672231912613, -0.17341187596321106, 0.5922276973724365, 0.7655493021011353, 0.021817047148942947, 0.16149690747261047, -0.37841522693634033, 0.5648722648620605, -0.009882241487503052, 0.38049864768981934, -0.2527286410331726, -0.5190920233726501, -0.641654908657074, 0.019397640600800514, 0.31635862588882446, 0.6248461008071899, -0.5369542241096497, 0.6604419350624084, -0.29022732377052307, -0.43870383501052856, -0.44982123374938965, 0.2582825720310211, 0.08991371095180511, 0.41910481452941895, -0.1499354988336563, -0.441401869058609, -0.7605794668197632, -0.6732107996940613, -0.15281113982200623, -0.5240775346755981, -0.11101193726062775, 0.35978537797927856, 0.4346843659877777, -0.633529782295227, 0.995770275592804, -0.41223829984664917, -0.46705833077430725, -0.23409095406532288, 0.22703003883361816, -0.00815300177782774, 0.37396544218063354, 0.20716984570026398, -0.8096765279769897, -0.13585443794727325, 0.07694640010595322, -0.9512993693351746, -0.27702316641807556, -0.1788729429244995, 0.1771562397480011, 0.42882394790649414, 0.46688833832740784, -0.6450793147087097, 0.44371527433395386, 0.4532918930053711, -0.2064756602048874, 0.7116621136665344, -0.3312140107154846, 0.14154402911663055, -0.6735609173774719, 0.20356640219688416, 0.16519738733768463, -0.059185583144426346, -0.7135767936706543, -0.23823025822639465, 0.03522346541285515, -0.027864519506692886, -0.2375335693359375, 0.5028473138809204, -0.41301679611206055, -0.17720922827720642, -0.2986032962799072, 0.1311536729335785, -0.22525426745414734, 0.32926589250564575, -0.1173524409532547, 0.8009241819381714, 0.18193590641021729, -0.36142629384994507, 0.22936129570007324, 0.19671349227428436, -0.519153356552124, 0.5699300169944763, -0.698438286781311, 0.04224604368209839, -0.03727206587791443, 0.2615725100040436, -0.9636063575744629, -0.8229414224624634, 0.49797844886779785, -0.6422106623649597, 0.2640394866466522, 0.17188334465026855, -0.8500578999519348, -0.3780045807361603, -0.11942575871944427, 0.0055813174694776535, 0.6182157397270203, -0.24156229197978973, 0.6500875353813171, 0.5486783385276794, -0.14250753819942474, -0.5189810395240784, -0.7162472009658813, 0.3235521912574768, -0.10372398048639297, -0.8145483732223511, -0.22201628983020782, 0.04751252755522728, -0.3788120746612549, -0.24394473433494568, -0.00647406280040741, -0.17782744765281677, 0.455131858587265, 0.3369864225387573, 0.5457128882408142, -0.22833867371082306, 0.22761519253253937, -0.5073817372322083, 0.004888695664703846, 0.3959534168243408, -0.14205117523670197, 0.41247090697288513, -0.05895773321390152, -0.6432745456695557, -0.4729378819465637, 0.08017478138208389, 0.7467244267463684, -0.023459557443857193, 0.5674315690994263, 0.8862937688827515, -0.48435020446777344, 0.08960708975791931, -0.8241590261459351, -0.45045846700668335, -0.4258510172367096, 0.6625094413757324, 0.260512113571167, -0.7172321081161499, 0.5475009083747864, 0.01200590468943119, 0.052720826119184494, 0.26008152961730957, 0.5941320657730103, -0.28047069907188416, 0.9629095196723938, 0.6905404329299927, -0.19886146485805511, 0.5019369721412659, 0.17697177827358246, 0.5181182622909546, -0.814309298992157, -0.1548631638288498, -0.6988300681114197, -0.020548980683088303, -0.6537188291549683, -0.38914549350738525, 0.6125977635383606, -0.11195474863052368, -0.22644996643066406, -0.29432412981987, -0.22346007823944092, 0.15660199522972107, 0.5099971294403076, 0.12243141978979111, 0.40094852447509766, 0.042207639664411545, 0.1467750370502472, 0.07051229476928711, -0.6407068371772766, -0.7251056432723999, 1.0412803888320923, 0.6231023073196411, 0.9468938708305359, 0.030155330896377563, 0.45064955949783325, 0.46370476484298706, 0.3714381754398346, -0.6917631030082703, 0.5043056607246399, 0.3315442204475403, -0.7962599992752075, -0.5705214738845825, -0.31144532561302185, -0.8856161832809448, 0.21247157454490662, -0.33255547285079956, -0.6795446872711182, 0.06318382918834686, 0.3785560727119446, -0.2101333886384964, 0.40888890624046326, -0.6785401105880737, 0.7615557312965393, -0.3747878968715668, -0.3692656457424164, -0.14841656386852264, -0.6641396284103394, 0.4807499945163727, -0.35048240423202515, 0.3752621114253998, -0.17414560914039612, -0.013970160856842995, 0.7740187644958496, -0.06861132383346558, 1.2174593210220337, -0.04782045632600784, -0.1106598749756813, 0.2346382588148117, -0.06601240485906601, 0.7458667755126953, -0.3721716105937958, 0.06503546237945557, 0.353248655796051, -0.2291431725025177, -0.3385743498802185, -0.3288779854774475, 0.29756227135658264, -0.9199250936508179, -0.5649932622909546, -0.5740591287612915, -0.37482374906539917, -0.3128852844238281, 0.10343799740076065, 0.17605838179588318, 0.2850193381309509, -0.2944052219390869, 0.11223874241113663, 0.8280526995658875, -0.2824706733226776, 0.24459978938102722, 0.3612583875656128, -0.28006690740585327, -0.13475659489631653, 0.7090722322463989, 0.11527232825756073, 0.08500023931264877, 0.00586970429867506, 0.23868098855018616, -0.16195878386497498, -0.8637595176696777, -0.36836618185043335, 0.4377366900444031, -0.717605710029602, 0.13783127069473267, -0.605278491973877, -0.27353328466415405, -0.3192571699619293, 0.05661295726895332, -0.21477799117565155, 0.21173112094402313, -0.5039250254631042, 0.10384106636047363, 0.13813920319080353, 0.8465315103530884, 0.11237242072820663, 0.5069222450256348, -0.9627536535263062, -0.12134420871734619, 0.0516357421875, 0.36154741048812866, 0.19239532947540283, -0.4570276737213135, -0.2501738369464874, -0.020503345876932144, -0.31118160486221313, -0.6622474789619446, 0.4448273181915283, -0.0717829018831253, 0.7132148146629333, 0.26878052949905396, -0.10598354041576385, 0.4094262719154358, -0.28559693694114685, 0.7379341125488281, 0.1674736589193344, -0.8051918745040894, 0.3817136287689209, -0.5615639686584473, 0.10853742063045502, 0.25397151708602905, 0.3901126980781555, -1.2068802118301392, -0.029611017554998398, -0.39596009254455566, -0.8095629811286926, 0.7222335934638977, 0.128199964761734, -0.027645766735076904, 0.2093483954668045, 0.158468559384346, -0.06632017344236374, 0.0843062549829483, -0.45974645018577576, 0.14921343326568604, 0.4181287884712219, -0.20230670273303986, -0.13976161181926727, -0.4546096920967102, 0.005499026272445917, 0.2608616054058075, 0.8420219421386719, -0.34740859270095825, 0.13321222364902496, 0.38210994005203247, -0.25845158100128174, -0.4077673554420471, 0.34009915590286255, 0.7976533770561218, 0.9328724145889282, -0.22387953102588654, -0.10734868049621582, 0.16962113976478577, -0.6148576736450195, 0.06742256134748459, -0.2565162181854248, -0.1808360069990158, -0.08040968328714371, 0.5280763506889343, 0.6127470135688782, 0.1922810673713684, -1.0386532545089722, 0.4210902750492096, 0.02586563304066658, -0.12069442123174667, -0.7332996129989624, 0.007204316556453705, 0.030607765540480614, 0.18995775282382965, 0.48593711853027344, 0.28497418761253357, -0.0012524097692221403, -0.500954270362854, -0.021849006414413452, 0.11557471752166748, -0.4096892774105072, -0.3879409730434418, 0.4633791446685791, 0.4268037676811218, -0.4265159070491791, 0.6751797795295715, 0.03979671001434326, -0.528742790222168, 0.4984080195426941, 0.049001507461071014, 1.0043214559555054, -0.28112971782684326, -0.06525500863790512, 0.15228672325611115, 0.48198452591896057, -0.5342119932174683, 0.08314386755228043, 0.5930852293968201, -0.8260078430175781, -0.5008398294448853, -0.19062864780426025, -0.7042034268379211, 0.08943889290094376, -0.33698758482933044, 0.45080167055130005, -0.4132867753505707, -0.18001694977283478, -0.09773176163434982, -0.16091549396514893, -0.6160759925842285, -0.1456434577703476, 0.32441002130508423, 0.7032366991043091, -0.8632948994636536, 0.7241358160972595, 0.5310693979263306, -0.3093673884868622, -0.5381201505661011, -0.0201354268938303, 0.5124556422233582, -0.6425139904022217, 0.664718747138977, -0.03921917453408241, -0.04286884143948555, -0.36867350339889526, -0.459420382976532, -0.5880213975906372, 0.9250553846359253, 0.20741775631904602, -0.7340895533561707, -0.1293526589870453, 0.16050484776496887, 0.5965332388877869, -0.26456090807914734, 0.2956504821777344, 0.6714538335800171, 0.5270758867263794, 0.006928068585693836, -1.107377529144287, -0.08711586892604828, 0.2057305872440338, 0.050455592572689056, 0.2038908302783966, -0.3452621102333069, 0.6489105820655823, -0.16802679002285004, -0.19938263297080994, -0.06673399358987808, 0.4049580693244934, 0.13362964987754822, 0.29451844096183777, 0.3422301709651947, -0.057494305074214935, 0.9243758320808411, -0.14354245364665985, 1.0712454319000244, -0.000025902689230861142, 0.18013779819011688, 0.9654625654220581, -0.5516526103019714, 0.8646551370620728, 0.47908419370651245, -0.4263639450073242, 0.10547129064798355, 0.6638743281364441, -0.007558214478194714, -0.15295541286468506, 0.20233647525310516, -0.15752719342708588, -0.04623294621706009, -0.09092451632022858, -0.10308687388896942, 0.47197169065475464, 0.6356872916221619, -0.3653581738471985, -0.006575650069862604, -0.04690244048833847, 0.13314540684223175, 0.10603728145360947, -0.16276603937149048, 0.6754757165908813, 0.06955181062221527, -0.7498284578323364, 0.37309888005256653, 0.06677578389644623, 0.8154373168945312, -0.6124263405799866, 0.06302262842655182, -0.2651709020137787, 0.35011059045791626, -0.3590923845767975, -0.7266615033149719, 0.2475360631942749, -0.10035289824008942, 0.010038434527814388, 0.013272064737975597, 0.9797061085700989, -0.12605449557304382, -0.35549044609069824, 0.16869135200977325, 0.6577135324478149, 0.1955987960100174, -0.2206389456987381, -0.5633396506309509, 0.41192278265953064, 0.09198522567749023, -0.07570613920688629, 0.3717076778411865, 0.2951866686344147, -0.2983509600162506, 0.8778731226921082, 0.549338698387146, 0.2536211907863617, -0.031103532761335373, -0.030713025480508804, 0.537704586982727, -0.6529362201690674, -0.22490668296813965, -0.9505971074104309, 0.288143515586853, -0.15727882087230682, -0.17661352455615997, 0.523084282875061, 0.12209677696228027, 0.7050424218177795, -0.12013814598321915, 0.924560546875, 0.1870434731245041, 0.4248681962490082, -0.3018660247325897, 0.7317899465560913, -0.24840322136878967, 0.43122345209121704, -0.15625426173210144, -0.776363730430603, -0.4091358780860901, 0.4227678179740906, -0.4222937524318695, 0.10457079112529755, 0.593504786491394, 0.9914328455924988, 0.18476562201976776, 0.26083382964134216, 0.42036065459251404, 0.12696082890033722, 0.5905225276947021, 0.3508753776550293, 0.842269778251648, -0.3917992115020752, 0.48317480087280273, -0.01590835116803646, -0.23342594504356384, -0.844641387462616, -0.9031432867050171, -0.8950021862983704, -0.4742869436740875, -0.44259071350097656, -0.3438231945037842, 0.05916939303278923, 1.124452829360962, 0.6487194299697876, -0.8515693545341492, -0.4910794794559479, -0.029040366411209106, 0.22263860702514648, 0.04148847237229347, -0.18100139498710632, 0.2667112946510315, -0.5382596254348755, -0.4763513207435608, -0.11956548690795898, 0.292275607585907, 0.11166606843471527, -0.5805090665817261, -0.26191678643226624, -0.1166752353310585, 0.042699895799160004, 0.5706394910812378, 0.35781362652778625, -0.9102578163146973, -0.2644057869911194, -0.020024705678224564, -0.28460341691970825, 0.16353878378868103, 0.9027398824691772, -0.2559359669685364, 0.2816326320171356, 0.5783076286315918, 0.8106340169906616, 0.034309737384319305, -0.36263856291770935, 0.7414619326591492, -0.4605324864387512, -0.18563590943813324, 0.24871893227100372, 0.562877357006073, 0.631550669670105, -0.4736800789833069, 0.8821625709533691, 0.4470704197883606, -0.890423595905304, -0.8817005157470703, -0.09185192734003067, -0.7999529838562012, -0.04572289064526558, 1.0654799938201904, -0.13828130066394806, -0.35397547483444214, -0.394025981426239, -0.5018662214279175, 0.12912499904632568, -0.2911657691001892, 1.068051815032959, 0.9839914441108704, -0.06919612735509872, -0.11128729581832886, -1.081787109375, 0.43366748094558716, 0.3034626841545105, -0.8928434252738953, 0.4390164315700531, 0.5262395739555359, 0.18880964815616608, 0.21412703394889832, 0.5172321200370789, -0.211064413189888, 0.40583378076553345, -0.03713768720626831, 0.41521701216697693, 0.06102510541677475, 0.04348107799887657, -0.49097663164138794, -0.0930948480963707, 0.5517280697822571, 0.035550571978092194 ]
http://arxiv.org/abs/2403.08946v1
http://arxiv.org/pdf/2403.08946v1
Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Era
2024-03-13T20:25:27
2024-03-13T20:25:27
Xuansheng Wu, Haiyan Zhao, Yaochen Zhu, Yucheng Shi, Fan Yang, Tianming Liu, Xiaoming Zhai, Wenlin Yao, Jundong Li, Mengnan Du, Ninghao Liu
cs.LG
cs.LG, cs.CL, cs.CY
Explainable AI (XAI) refers to techniques that provide human-understandable insights into the workings of AI models. Recently, the focus of XAI is being extended towards Large Language Models (LLMs) which are often criticized for their lack of transparency. This extension calls for a significant transformation in XAI methodologies because of two reasons. First, many existing XAI methods cannot be directly applied to LLMs due to their complexity advanced capabilities. Second, as LLMs are increasingly deployed across diverse industry applications, the role of XAI shifts from merely opening the "black box" to actively enhancing the productivity and applicability of LLMs in real-world settings. Meanwhile, unlike traditional machine learning models that are passive recipients of XAI insights, the distinct abilities of LLMs can reciprocally enhance XAI. Therefore, in this paper, we introduce Usable XAI in the context of LLMs by analyzing (1) how XAI can benefit LLMs and AI systems, and (2) how LLMs can contribute to the advancement of XAI. We introduce 10 strategies, introducing the key techniques for each and discussing their associated challenges. We also provide case studies to demonstrate how to obtain and leverage explanations. The code used in this paper can be found at: https://github.com/JacksonWuxs/UsableXAI_LLM.
[ -0.21631580591201782, -0.2633793354034424, 0.8113479614257812, 0.041664183139801025, -0.07856755703687668, 0.07147204875946045, -0.20359709858894348, -0.6609531044960022, -0.08879761397838593, 0.47231659293174744, -0.6128476858139038, -0.32888931035995483, -0.3385726511478424, -0.12129465490579605, -0.5353327393531799, 0.8821445107460022, -0.20523323118686676, -0.21230827271938324, -0.1961590200662613, -0.47680729627609253, -0.2953318655490875, -0.3176267147064209, -0.8548974990844727, -0.4668298661708832, 0.7309224009513855, 0.6015243530273438, 0.906515896320343, 0.8820350170135498, 0.21021009981632233, 0.4087294936180115, -0.1455482393503189, 0.10129643976688385, -0.4760635495185852, 0.008872549049556255, 0.004692559130489826, -1.0259252786636353, -0.35729870200157166, -0.029313042759895325, 0.6955631971359253, 0.6715814471244812, -0.19092637300491333, 0.03184639289975166, 0.16090436279773712, 0.3494843542575836, -0.4879678189754486, 0.25978291034698486, -0.5392844080924988, 0.0007816504803486168, -0.25442081689834595, -0.3255000114440918, -0.23054192960262299, 0.10274593532085419, 0.09317024052143097, -0.9520289301872253, -0.19525355100631714, 0.06582561880350113, 0.5873209238052368, 0.16992135345935822, -0.1846260279417038, -0.5560598373413086, -0.9253405928611755, 0.8624027371406555, -0.7511873245239258, 0.19227254390716553, 0.0900765135884285, 0.6188792586326599, -0.015887727960944176, -0.9279228448867798, -0.753719687461853, -0.3030676245689392, -0.1251026690006256, -0.001530492678284645, -0.3588431477546692, 0.0432540662586689, 0.27729082107543945, 0.5332699418067932, -0.2978561520576477, 0.49538180232048035, -0.0019814614206552505, 0.19079068303108215, 0.608435332775116, 0.23437871038913727, 0.491248220205307, -0.006330461241304874, -0.18201680481433868, -0.13865317404270172, -0.8019841909408569, 0.22956208884716034, 0.2449391782283783, 0.11340789496898651, -0.11080034077167511, 0.43420591950416565, 0.006620131433010101, 0.3366723656654358, -0.36521896719932556, -0.29200905561447144, 0.1342008113861084, -0.35212433338165283, -0.15139374136924744, -0.13789981603622437, 0.36567628383636475, -0.047392405569553375, 0.10609849542379379, -0.26493000984191895, -0.30111420154571533, -0.21982355415821075, 0.4147511124610901, -0.4615758955478668, 0.03654706850647926, 0.3489818572998047, -0.6300512552261353, -0.4114248752593994, -0.25481274724006653, -0.5264383554458618, -0.6266434788703918, -0.25635647773742676, 0.373513400554657, -0.2840062975883484, -0.328986257314682, -0.20800970494747162, -0.31788766384124756, 0.7279780507087708, 0.38662806153297424, -0.8426710367202759, 0.033097051084041595, 0.8145987391471863, 0.860741376876831, -0.058587223291397095, -0.22255364060401917, -0.3733060956001282, 0.36282283067703247, -0.1714537888765335, 0.4319990873336792, -0.4509700536727905, -0.39967289566993713, -0.037038933485746384, -0.28942203521728516, 0.08289723098278046, -0.5695552229881287, 0.42891764640808105, -0.4191361367702484, 0.051652487367391586, -0.07839477807283401, -0.33806100487709045, -0.49648433923721313, 0.4653315544128418, -0.6801828145980835, 0.3349405825138092, 0.17141211032867432, -0.4559287130832672, 0.23027381300926208, -1.2796101570129395, -0.15509547293186188, 0.16400104761123657, -0.29538506269454956, -0.44416794180870056, 0.2934916615486145, 0.026195628568530083, 0.4434145390987396, -0.012822005897760391, 0.0932120606303215, -0.39475736021995544, -0.1929865926504135, 0.5831634998321533, -0.8229551315307617, 0.8484494686126709, 0.3739200234413147, -0.689446747303009, 0.3748515844345093, -0.9662985801696777, 0.0544930025935173, 0.24413037300109863, -0.11124501377344131, -0.28653255105018616, 0.051982730627059937, -0.2008890062570572, -0.09475404024124146, -0.08165378868579865, -0.266445517539978, -0.01839010789990425, -0.4721445143222809, 0.7252442836761475, 0.7964591979980469, -0.44030410051345825, 0.4280228316783905, -0.4712859094142914, 0.7720749378204346, -0.16064700484275818, 0.17639362812042236, -0.5841584801673889, -0.25247445702552795, -0.7303691506385803, -0.3414357304573059, 0.03055642358958721, 0.4713074564933777, -0.9937755465507507, -0.20037421584129333, -0.3349834382534027, -0.4382743835449219, -0.6698881387710571, 0.4323854148387909, 0.3055383861064911, 0.5048524737358093, -0.003140845103189349, 0.1204298660159111, -0.40660569071769714, -0.6970252394676208, -0.31746819615364075, -0.46087074279785156, -0.07967469096183777, 0.6029492020606995, 0.25550657510757446, -0.35168126225471497, 0.6003708839416504, -0.1682671755552292, -0.013044379651546478, -0.6917215585708618, -0.04213394224643707, 0.03244129568338394, 0.1746220588684082, 0.3397766351699829, -1.1028367280960083, -0.15830497443675995, 0.3446482717990875, -1.1788661479949951, 0.0727045089006424, -0.40874183177948, 0.10729487985372543, 0.0804869681596756, 0.5125155448913574, -0.36830630898475647, 0.6578924059867859, 0.41834133863449097, -0.2746506333351135, 0.474647581577301, -0.29760774970054626, -0.012666813097894192, -0.8441895842552185, 0.1977304220199585, -0.02126162499189377, -0.5772685408592224, -0.7524026036262512, 0.6075649261474609, -0.2134939581155777, -0.24381297826766968, -0.5926415920257568, 0.7828854918479919, -0.6808458566665649, 0.056861720979213715, -0.4765186905860901, 0.3311125934123993, -0.110320545732975, 0.3445831835269928, -0.14630085229873657, 0.6976417899131775, 0.5256803631782532, -0.5981534719467163, 0.10235851258039474, 0.18155255913734436, -0.3693026900291443, 0.2146781086921692, -0.8814843893051147, -0.15534880757331848, -0.0953623503446579, -0.012473499402403831, -0.9417649507522583, -0.10437507927417755, 0.45023274421691895, -0.31925076246261597, 0.26263269782066345, 0.18217988312244415, -0.27523842453956604, -0.1215943917632103, -0.4409176707267761, 0.5352766513824463, 0.6284688711166382, -0.9936836957931519, 0.9040103554725647, 0.29797089099884033, -0.11675414443016052, -0.4337073564529419, -0.7772504687309265, 0.4253338873386383, -0.7151458263397217, -0.7117955088615417, 0.41336771845817566, -0.2632805407047272, -0.5493764877319336, -0.10114583373069763, -0.13099895417690277, 0.049701523035764694, 0.6210733652114868, 0.4759345054626465, 0.012903090566396713, -0.30644845962524414, -0.1525108814239502, -0.013415304012596607, -0.4574108123779297, 0.12666495144367218, -0.20633919537067413, -0.006585096009075642, -0.05734724551439285, -0.3652927875518799, -0.7266597747802734, 0.4679180383682251, 0.5232330560684204, 0.0937136635184288, 0.6566920280456543, 0.5476574301719666, -0.22031410038471222, -0.17248351871967316, -0.22632990777492523, 0.09181948751211166, -0.5188605785369873, 0.2565992772579193, -0.3907473385334015, -0.8919923305511475, 0.39990025758743286, -0.1768675297498703, 0.344475656747818, 0.0035992925986647606, 0.48967432975769043, -0.1450210064649582, 1.1910607814788818, 1.1601227521896362, 0.029861122369766235, 0.6097955703735352, -0.41670942306518555, 0.3303046226501465, -0.6908445358276367, -0.2565758228302002, -0.514073371887207, -0.28166887164115906, -0.651029109954834, -0.12188009172677994, 0.32829150557518005, -0.022463379427790642, 0.11050879955291748, 0.12462609261274338, -0.13478636741638184, 0.41535210609436035, 0.7191056609153748, -0.07451923936605453, 0.4949961006641388, -0.0028285819571465254, 0.317659854888916, 0.34316831827163696, -0.8159509301185608, -0.805121660232544, 0.9036529064178467, 0.7433052659034729, 0.8125747442245483, 0.3025139570236206, 0.6322429776191711, 0.3415604531764984, 0.42201316356658936, -0.8114132285118103, 0.527766227722168, 0.02787349745631218, -0.39847394824028015, -0.5168272256851196, -0.5134099721908569, -1.0660823583602905, 0.04478417709469795, 0.011084571480751038, -0.7689826488494873, 0.07301318645477295, 0.3998928666114807, -0.32149937748908997, 0.4785797595977783, -0.8355509638786316, 0.6685576438903809, -0.5437189340591431, -0.1501873880624771, -0.4068528115749359, -0.46429866552352905, 0.3737521171569824, 0.0015108996303752065, 0.1828821748495102, 0.10549495369195938, -0.3136059641838074, 0.5765945315361023, -0.43935930728912354, 1.0012284517288208, -0.15312792360782623, -0.33473101258277893, 0.1406814157962799, -0.31389081478118896, 0.2550887167453766, 0.09583478420972824, -0.19992797076702118, 0.3894588351249695, 0.04012663662433624, -0.5614376664161682, -1.1562442779541016, 0.7015019059181213, -0.8209720253944397, -0.8777332901954651, -0.15752391517162323, -0.6296464204788208, 0.03575323894619942, 0.31352946162223816, -0.031967345625162125, 0.41767558455467224, -0.14234189689159393, -0.04835362732410431, 0.6982969641685486, -0.2354748696088791, 0.6227312684059143, 0.3697650730609894, -0.1275385469198227, -0.16623754799365997, 1.0341899394989014, 0.22718746960163116, 0.0857228934764862, 0.4294881522655487, 0.15520893037319183, -0.25967392325401306, -0.8356969952583313, -0.29798078536987305, 0.19369269907474518, -0.7355717420578003, 0.007090721745043993, -0.3744727373123169, -0.13359186053276062, -0.2168969362974167, -0.1507207304239273, 0.11075009405612946, -0.5873476266860962, -0.32075393199920654, -0.0745229497551918, -0.03603958338499069, 0.8452799916267395, -0.18256822228431702, 0.6377900838851929, -0.5935745239257812, 0.34700462222099304, 0.23881974816322327, 0.4822501540184021, 0.3502982258796692, -0.48088809847831726, -0.3072938323020935, 0.20717191696166992, -0.2535415291786194, -0.6269192695617676, 0.2812897562980652, 0.0831371396780014, 1.046738624572754, 0.7551435232162476, 0.07029444724321365, 0.5877390503883362, -0.11605386435985565, 0.6192556023597717, 0.017869070172309875, -0.9955434799194336, 0.4916810691356659, -0.060661688446998596, 0.1590181291103363, 0.3397878110408783, 0.6358184218406677, -0.39042750000953674, -0.19692367315292358, -0.5671626925468445, -0.9873995184898376, 0.5637199878692627, 0.3660033345222473, 0.32583722472190857, 0.24433694779872894, 0.819785475730896, 0.38911786675453186, 0.13762325048446655, -0.8799591064453125, -0.4752272963523865, -0.07651077210903168, -0.15838108956813812, -0.17560823261737823, -0.34824639558792114, -0.2825447618961334, 0.1596650630235672, 0.9087189435958862, -0.14387840032577515, 0.2966327667236328, 0.020554985851049423, -0.35537588596343994, 0.48936566710472107, 0.3728269934654236, 0.5825653076171875, 0.9279038906097412, 0.1533856987953186, 0.15929271280765533, -0.05010122060775757, -0.05976366996765137, 0.11234791576862335, 0.11169619113206863, -0.2610860764980316, -0.23302505910396576, 0.5596439242362976, 0.9650681018829346, -0.08046352863311768, -0.85722416639328, 0.1362716555595398, -0.2640482783317566, -0.03891231492161751, -0.4853554666042328, 0.49807584285736084, -0.12298189848661423, 0.5095873475074768, 0.17065653204917908, -0.2649819254875183, 0.058761436492204666, -0.8727533221244812, -0.031028682366013527, 0.4533163905143738, -0.5217615962028503, -0.2496308982372284, 0.6971237659454346, 0.26876282691955566, -0.5860592126846313, 0.640540361404419, -0.10845666378736496, -0.09949000179767609, 0.308468222618103, 0.5381978750228882, 0.8101977109909058, 0.22000952064990997, 0.2460433840751648, -0.333467572927475, 0.15059521794319153, 0.3693351745605469, 0.09157466888427734, -0.45560222864151, -0.7375234961509705, -0.42197224497795105, 0.062328752130270004, -0.6834837794303894, 0.17681604623794556, -0.6316309571266174, 0.10870680958032608, -0.3667193353176117, 0.2184956818819046, 0.18218496441841125, -0.05630340427160263, -0.4452052116394043, 0.010448835790157318, 0.3486889600753784, 1.2888545989990234, -0.5882139801979065, 0.5291604399681091, 0.6250960826873779, -0.5300451517105103, -0.7654013633728027, 0.047219958156347275, 0.17323923110961914, -1.2176467180252075, 0.05307513102889061, 0.19492857158184052, 0.09801273047924042, -0.10925120115280151, -0.7381882667541504, -0.49961698055267334, 1.31798255443573, 0.374428391456604, -0.3539513647556305, -0.11126493662595749, 0.20008715987205505, 0.40768182277679443, -0.3811578154563904, 0.399557888507843, 0.7488751411437988, 0.6088002324104309, -0.04629575461149216, -0.4180622100830078, 0.06697741150856018, -0.4505847692489624, 0.04007917270064354, -0.0558784194290638, -0.39638641476631165, 0.025809351354837418, -0.48853084444999695, -0.22958378493785858, 0.6011524200439453, 0.9346343278884888, 0.2649449408054352, 0.8567188382148743, 0.6663635969161987, 0.36507806181907654, 0.9338236451148987, 0.1257406324148178, 1.2837672233581543, -0.027459735050797462, -0.24320527911186218, 0.8768453001976013, -0.1605721116065979, 0.6814964413642883, 0.5168985724449158, 0.13118121027946472, 0.6089332103729248, 0.306266725063324, 0.07271573692560196, 0.10485474765300751, 0.37756335735321045, -0.4826916754245758, -0.0286422036588192, -0.11921026557683945, -0.11637687683105469, 0.6323267221450806, 0.4182354509830475, -0.3653082549571991, -0.27803105115890503, 0.5026455521583557, 0.2933841347694397, 0.11604554206132889, -0.515569806098938, 0.9626487493515015, 0.15917471051216125, -0.46317002177238464, 0.4161580502986908, 0.014523515477776527, 0.5171107649803162, -0.6946632862091064, -0.3156101107597351, -0.2869000732898712, 0.1723615527153015, -0.22577466070652008, -0.9005646705627441, 0.4577646553516388, 0.06008140370249748, -0.4307318329811096, -0.41873475909233093, 0.74979567527771, -0.06399019062519073, -0.3747186064720154, 0.25405246019363403, 0.5824973583221436, 0.45541536808013916, -0.015370046719908714, -0.6748173832893372, 0.08636204898357391, 0.3190133273601532, 0.013497723266482353, 0.46663135290145874, 0.5709701776504517, -0.32985633611679077, 1.3032522201538086, 0.45501184463500977, 0.049352653324604034, -0.21885034441947937, -0.04510548338294029, 0.8153948783874512, -0.8982275128364563, -0.40123483538627625, -0.7560603022575378, 0.7064273953437805, -0.036129772663116455, -0.0655084177851677, 0.801577091217041, 0.044527456164360046, 0.747732400894165, 0.338032066822052, 1.0435960292816162, 0.03188350424170494, 0.34914731979370117, -0.49510377645492554, 0.851169764995575, -0.6204987168312073, 0.7669516205787659, -0.0619296133518219, -0.5673421621322632, -0.430901437997818, 0.3043893575668335, -0.06365802884101868, 0.2761874198913574, 0.2781001925468445, 0.848181426525116, -0.06206681951880455, -0.016616521403193474, 0.6719756722450256, 0.3741999864578247, 0.6096512079238892, 0.21260473132133484, 0.9775223731994629, -0.11599794775247574, 1.0383230447769165, -0.2975223958492279, -0.5562174916267395, 0.12649470567703247, -1.0848827362060547, -0.5384379029273987, -0.3737349510192871, -0.6077753901481628, -0.2713679075241089, 0.1696261316537857, 0.39790815114974976, 0.9033727645874023, -0.6083125472068787, -0.28644421696662903, -0.03467867150902748, 0.7324856519699097, -0.39453136920928955, -0.2044268697500229, -0.004349631257355213, -0.32172760367393494, -0.6650080680847168, 0.5388684868812561, 0.33347707986831665, 0.04215378314256668, -0.3674037456512451, -0.22332389652729034, 0.28900301456451416, 0.07567229121923447, 0.6880502700805664, 0.7908006906509399, -0.6192253828048706, -0.199611634016037, -0.13559654355049133, 0.5299636721611023, 0.08630430698394775, 0.9887639880180359, -0.8748539090156555, 0.29882726073265076, 0.30445531010627747, 0.93067467212677, 0.09993816167116165, -0.18281134963035583, 0.7902904152870178, -0.42769739031791687, -0.32042190432548523, -0.17959974706172943, 0.39786192774772644, 0.38857775926589966, -0.43133601546287537, 0.5605080127716064, -0.13988594710826874, -0.5364847183227539, -0.9605635404586792, 0.2156076580286026, -0.9247045516967773, -0.31911009550094604, 0.9557775259017944, -0.551214873790741, -0.3074168264865875, -0.202391117811203, -0.1194913312792778, 0.030625157058238983, -0.08569294214248657, 0.7350550293922424, 0.25299593806266785, -0.34144365787506104, -0.5180302262306213, -0.37796929478645325, 0.15704305469989777, 0.34224122762680054, -0.886200487613678, 0.06806488335132599, -0.031096462160348892, 0.1814681589603424, 0.18503423035144806, 0.41937220096588135, -0.2602733075618744, 0.27274948358535767, -0.10493777692317963, -0.153361514210701, -0.2994441092014313, -0.3214779496192932, -0.8168271780014038, 0.13784247636795044, 0.4820561707019806, -0.27453872561454773 ]
http://arxiv.org/abs/2403.08943v1
http://arxiv.org/pdf/2403.08943v1
LMStyle Benchmark: Evaluating Text Style Transfer for Chatbots
2024-03-13T20:19:30
2024-03-13T20:19:30
Jianlin Chen
cs.CL
cs.CL
Since the breakthrough of ChatGPT, large language models (LLMs) have garnered significant attention in the research community. With the development of LLMs, the question of text style transfer for conversational models has emerged as a natural extension, where chatbots may possess their own styles or even characters. However, standard evaluation metrics have not yet been established for this new settings. This paper aims to address this issue by proposing the LMStyle Benchmark, a novel evaluation framework applicable to chat-style text style transfer (C-TST), that can measure the quality of style transfer for LLMs in an automated and scalable manner. In addition to conventional style strength metrics, LMStyle Benchmark further considers a novel aspect of metrics called appropriateness, a high-level metrics take account of coherence, fluency and other implicit factors without the aid of reference samples. Our experiments demonstrate that the new evaluation methods introduced by LMStyle Benchmark have a higher correlation with human judgments in terms of appropriateness. Based on LMStyle Benchmark, we present a comprehensive list of evaluation results for popular LLMs, including LLaMA, Alpaca, and Vicuna, reflecting their stylistic properties, such as formality and sentiment strength, along with their appropriateness.
[ -0.272746205329895, -0.8149079084396362, 0.44130900502204895, 0.4881732165813446, -0.4250403344631195, 0.3880271017551422, -0.49702727794647217, -0.5034251809120178, 0.3518792986869812, 0.2692793011665344, -0.5612313747406006, -0.5287319421768188, -0.5718657970428467, 0.2729276716709137, -0.5965626835823059, 0.9217783808708191, -0.21835818886756897, -0.13693025708198547, -0.2219424694776535, -0.09153316915035248, -0.4043678641319275, -0.458067923784256, -0.4958142638206482, -0.08530421555042267, 0.49250298738479614, 0.27543124556541443, 0.7972604036331177, 0.28622156381607056, 0.8241361379623413, 0.29071110486984253, -0.07594072818756104, 0.20049729943275452, -0.5327339172363281, 0.20554423332214355, -0.20125262439250946, -0.23793020844459534, -0.7999985814094543, -0.11088191717863083, 0.5589577555656433, 0.1899632215499878, -0.045528165996074677, 0.3133581578731537, 0.2821483314037323, 0.7452704310417175, -0.47417813539505005, -0.03612399101257324, -0.6357872486114502, 0.025528559461236, -0.15679886937141418, -0.43645718693733215, -0.4088454246520996, -0.6990706920623779, 0.13821588456630707, -0.35644057393074036, -0.10754408687353134, 0.005668099503964186, 0.691474199295044, 0.060099486261606216, -0.2730713486671448, -0.44598427414894104, -0.624437153339386, 0.477645605802536, -0.6229265332221985, 0.5411654114723206, 0.10158441960811615, 0.7341001629829407, 0.07271192967891693, -0.793166995048523, -0.5583926439285278, -0.4555682837963104, 0.006008952856063843, 0.14391149580478668, -0.1649228036403656, -0.1831779181957245, -0.06505580991506577, 0.19406382739543915, -0.372988224029541, 0.12348667532205582, -0.13762980699539185, -0.1571529060602188, 0.7056596279144287, 0.13954627513885498, 0.2706160843372345, -0.056251443922519684, -0.5538936257362366, -0.2160111963748932, -0.3919084668159485, 0.23655244708061218, 0.21663466095924377, 0.45467543601989746, -0.26150935888290405, 0.37561744451522827, -0.32607150077819824, 0.4126843214035034, -0.2160010039806366, -0.41569188237190247, 0.28633150458335876, -0.6691496968269348, -0.035520005971193314, -0.18416327238082886, 0.8493220210075378, 0.8578787446022034, 0.5047818422317505, -0.2574971616268158, -0.32036641240119934, -0.15680183470249176, 0.30463382601737976, -0.927824854850769, -0.019666379317641258, -0.02280185930430889, -0.5655158162117004, -0.4040253460407257, -0.19388966262340546, -1.0361709594726562, -0.5419051647186279, -0.2901747524738312, 0.5976239442825317, -0.3254276216030121, -0.201030433177948, 0.07028181850910187, -0.08033277094364166, 0.28504735231399536, 0.5078880190849304, -0.64225172996521, 0.28280505537986755, 0.7172586917877197, 1.0553679466247559, -0.7462959289550781, 0.005699288100004196, 0.02765125036239624, -0.26779860258102417, -0.4102883040904999, 0.8048557043075562, -0.4087306559085846, -0.38746213912963867, 0.000284349313005805, -0.06398189812898636, -0.0449097603559494, -0.2991524338722229, 0.7760757207870483, -0.2414024919271469, -0.11957426369190216, -0.08985013514757156, -0.4226562976837158, 0.15718860924243927, 0.14940305054187775, -0.3422253429889679, 0.9405293464660645, 0.21761435270309448, -0.45362982153892517, 0.368927925825119, -0.6228206157684326, -0.42261552810668945, 0.05515733361244202, 0.062081851065158844, -0.513918399810791, -0.25709396600723267, 0.10824219882488251, 0.6280703544616699, -0.28353390097618103, 0.21216921508312225, -0.6866344809532166, -0.6348755359649658, 0.7231220602989197, -0.591655433177948, 0.3669516444206238, 0.4017578363418579, -0.17936652898788452, 0.3062181770801544, -0.8335184454917908, 0.36967015266418457, 0.15838325023651123, -0.1664970964193344, -0.10796516388654709, -0.25811123847961426, 0.2926020324230194, 0.1288779377937317, 0.41971176862716675, -0.21903009712696075, 0.08731959760189056, 0.07843931019306183, 0.5933219194412231, 0.9557417035102844, -0.15331561863422394, 0.4381480813026428, -0.467175155878067, 0.5137638449668884, -0.6121737360954285, 0.12337193638086319, 0.13606508076190948, -0.10553444921970367, -0.8857061266899109, -0.6245508193969727, 0.07736807316541672, 0.6027489304542542, -0.43120425939559937, 0.6148608922958374, -0.3334057629108429, -0.9614656567573547, -0.4146950840950012, -0.011455779895186424, 0.30075445771217346, 0.16079778969287872, 0.201043501496315, -0.5004827976226807, -0.48712411522865295, -1.024256706237793, -0.6030304431915283, -0.05645962059497833, -0.1117125004529953, 0.35340994596481323, 0.19930286705493927, -0.07457398623228073, 0.8976691365242004, -0.12149234116077423, 0.12984508275985718, -0.230283722281456, -0.0655251070857048, 0.16507746279239655, 0.32693609595298767, 0.7877190709114075, -0.301086962223053, -0.4389854669570923, -0.07415233552455902, -0.377318799495697, -0.3508835434913635, -0.10405626893043518, -0.30875760316848755, -0.018643692135810852, 0.5303605198860168, -0.17762276530265808, 0.21873778104782104, 0.7724931240081787, -0.33572548627853394, 0.6677163243293762, 0.08412951976060867, 0.3804689347743988, -1.2829093933105469, 0.1548190712928772, 0.20092131197452545, -0.467655211687088, -0.48328661918640137, -0.08493892103433609, 0.11051121354103088, 0.004951123148202896, -0.533913254737854, 0.929161787033081, -0.10870231688022614, -0.34974434971809387, -0.014418579638004303, 0.35876381397247314, 0.22684206068515778, 0.5300007462501526, -0.10042483359575272, 1.0343482494354248, 0.29336294531822205, -0.44492658972740173, 0.4561314880847931, -0.02200733870267868, -0.5285348892211914, 1.2513293027877808, -0.8165063858032227, 0.5292122960090637, 0.1976914405822754, 0.35281452536582947, -1.1844303607940674, 0.20908203721046448, 0.17227408289909363, -0.20083126425743103, 0.06789541244506836, -0.07472620904445648, -0.6184664964675903, -0.23696789145469666, -0.21851004660129547, 0.23301932215690613, 0.6065719127655029, -0.481361985206604, 0.1601083129644394, 0.06850140541791916, -0.28767621517181396, -0.293037474155426, -0.23746447265148163, 0.2073432356119156, -0.6193276643753052, -0.5712883472442627, 0.33821189403533936, -0.5380773544311523, -0.19529449939727783, -0.4828673005104065, -0.0807662233710289, -0.1386551409959793, 0.2512744665145874, -0.027670621871948242, 0.35436758399009705, -0.34437018632888794, -0.15013183653354645, -0.26620087027549744, 0.3446337580680847, -0.11128149181604385, 0.1890236884355545, 0.7265917658805847, -0.5452019572257996, -0.38684648275375366, -0.6361748576164246, -0.26958343386650085, 0.5884106755256653, -0.09284405410289764, 0.3117959499359131, 0.7566224336624146, 0.03757394477725029, -0.15495960414409637, -0.4220792353153229, -0.11116451770067215, -0.5307081937789917, 0.6357640624046326, -0.46115341782569885, -0.7903953790664673, 0.40209394693374634, -0.032014504075050354, 0.0773845762014389, 0.352545827627182, 0.6090583801269531, -0.104758620262146, 0.757014811038971, 0.5353116989135742, -0.06089198216795921, 0.7809207439422607, 0.2616795301437378, -0.027071736752986908, -0.6760191917419434, -0.08197370171546936, -0.7125659584999084, -0.42197757959365845, -0.8172146081924438, -0.44784629344940186, 0.12400465458631516, 0.029299136251211166, -0.38072678446769714, 0.6816146373748779, -0.3216751217842102, 0.4253932535648346, 0.25867870450019836, 0.2633124589920044, 0.4601114094257355, 0.03404286503791809, -0.02007438801229, -0.02777225896716118, -0.2612124979496002, -0.7081729173660278, 0.9523742198944092, 0.62982177734375, 0.7501481175422668, 0.25316154956817627, 0.5007660984992981, 0.5860705971717834, 0.3563196063041687, -1.0470664501190186, 0.7040992975234985, -0.1410064697265625, -0.11962078511714935, -0.3216928541660309, -0.46309441328048706, -0.8979148864746094, 0.25519368052482605, -0.4520435631275177, -1.0569359064102173, -0.11341584473848343, -0.06567800045013428, -0.053378626704216, 0.13338109850883484, -0.42950132489204407, 0.6532948613166809, -0.36028218269348145, -0.29666292667388916, -0.054393015801906586, -0.3662142753601074, 0.2041635513305664, -0.10407056659460068, 0.22405971586704254, -0.5431686639785767, -0.21486493945121765, 0.8751856088638306, -0.08009958267211914, 0.6637076735496521, 0.3840990662574768, -0.364004909992218, 0.14384181797504425, 0.43995484709739685, 0.4160347282886505, -0.10136161744594574, -0.10138203948736191, 0.2814570963382721, 0.28215742111206055, -0.18238720297813416, -0.7239859700202942, 0.43294888734817505, -0.7443740367889404, -0.20132073760032654, -0.05459671467542648, -0.5296881794929504, -0.6738818883895874, 0.3099505603313446, 0.0014966906746849418, 0.38168033957481384, -0.6575459241867065, 0.354607492685318, 0.2146911472082138, -0.04158775508403778, 0.3238070607185364, 0.4555644392967224, -0.4339655637741089, -0.4310591518878937, 0.7957981824874878, -0.08194007724523544, 0.5481758117675781, 0.2586153447628021, 0.3099733293056488, -0.38330748677253723, -0.37100207805633545, -0.5966818928718567, -0.059948839247226715, -0.7417688965797424, -0.04270291328430176, -0.2861061990261078, -0.5037851929664612, -0.2776927947998047, -0.3282597064971924, -0.544616162776947, -0.41964980959892273, -0.061705704778432846, 0.3030760884284973, 0.6483536958694458, 0.5401176810264587, 0.5614984035491943, 0.3641170561313629, -0.6734603643417358, 0.10055346041917801, 0.16204728186130524, 0.6747004389762878, -0.22690676152706146, -0.9483894109725952, 0.17139092087745667, -0.2508241534233093, -0.28436288237571716, -0.5998444557189941, 0.17415615916252136, 0.133330300450325, 0.6047747135162354, 0.22841207683086395, -0.12328656762838364, 0.5571958422660828, -0.3585362136363983, 0.4191877841949463, 0.34769967198371887, -0.8206601738929749, 0.3350939154624939, -0.4706171751022339, 0.1056232675909996, 0.7296042442321777, 0.1634812355041504, -1.0287377834320068, -0.29585397243499756, -0.608650803565979, -0.6499574780464172, 0.19384346902370453, 0.43353271484375, 0.38507360219955444, 0.1789003312587738, 0.16626513004302979, 0.20603351294994354, 0.27225300669670105, -0.5033491253852844, -0.08276358246803284, -0.14902682602405548, -0.22220273315906525, -0.20445504784584045, 0.038255926221609116, -0.07173646986484528, 0.09487660229206085, 0.2443801611661911, -0.20735378563404083, 0.404190331697464, -0.08945527672767639, -0.06677912920713425, 0.18966630101203918, 0.6177278757095337, 0.6176311373710632, 0.6325947046279907, -0.3939456641674042, -0.0481003001332283, 0.2883302569389343, -0.4064983129501343, -0.005035410635173321, -0.07820984721183777, -0.020259013399481773, -0.11438700556755066, 0.2807702124118805, 0.7239139080047607, 0.2663811445236206, -0.6065114140510559, 0.6093257069587708, -0.35736438632011414, 0.10305806249380112, 0.03561895340681076, 0.2201641947031021, 0.020695962011814117, 0.267415314912796, 0.021540826186537743, 0.15157608687877655, 0.18097525835037231, -0.7241268754005432, 0.2237088531255722, 0.6266520619392395, -0.48920655250549316, -0.1568775177001953, 0.13736869394779205, 0.4766400456428528, -0.5856232047080994, 0.013390692882239819, 0.0776967704296112, -0.36348581314086914, 0.6197314262390137, 0.6213760375976562, 0.9127419590950012, 0.005392834078520536, 0.028054840862751007, 0.47524991631507874, 0.16367706656455994, -0.05400209128856659, -0.020503949373960495, -0.17396457493305206, -0.7418643832206726, -0.031105967238545418, -0.7281410694122314, -0.7682655453681946, 0.010326642543077469, -0.5366145372390747, 0.684942364692688, -0.634736955165863, -0.2508089244365692, -0.19389407336711884, -0.15214426815509796, -0.8621324300765991, 0.07055380195379257, 0.13235369324684143, 0.9075500965118408, -0.6601983904838562, 0.493265837430954, 0.27563467621803284, -0.10303619503974915, -0.4677579700946808, 0.13446612656116486, 0.08224115520715714, -1.324886441230774, 0.17844387888908386, 0.1349775195121765, -0.362973690032959, -0.2539905607700348, -0.33799925446510315, -0.9698522686958313, 1.0697181224822998, 0.32089197635650635, -0.8054057955741882, 0.15644466876983643, 0.030070846900343895, 0.6854279041290283, -0.25438979268074036, 0.4747893512248993, 0.8246188163757324, 0.3601404130458832, 0.3176703155040741, -1.369144082069397, 0.12423306703567505, -0.25591641664505005, 0.0888257697224617, -0.051809750497341156, -0.9003763794898987, 0.37485402822494507, 0.006273664999753237, -0.2635704278945923, 0.5990371704101562, 0.6381271481513977, 0.32457810640335083, 0.3171231746673584, 0.5144528150558472, 0.0463663674890995, 0.7065038084983826, -0.046106595546007156, 0.863365650177002, -0.30846506357192993, 0.26277753710746765, 0.9808943271636963, -0.07772532105445862, 1.1247563362121582, 0.3000909388065338, -0.45696210861206055, 0.4155694246292114, 0.6631380319595337, 0.029399868100881577, 0.3774993121623993, 0.538337230682373, 0.22688238322734833, 0.06910420209169388, -0.2349376231431961, -0.4730585217475891, 0.7592312693595886, 0.15372860431671143, -0.3995407223701477, 0.04995805397629738, -0.42749205231666565, 0.5335826277732849, 0.2138925939798355, -0.24055911600589752, 0.730076789855957, 0.07317717373371124, -0.5949707627296448, 0.6982206106185913, -0.1674068570137024, 1.098291277885437, -0.4989754557609558, 0.14845940470695496, -0.3284343481063843, 0.0696830078959465, -0.1332511305809021, -1.1360924243927002, 0.02164553478360176, -0.03814380615949631, 0.3178479075431824, -0.21742501854896545, 0.8314886093139648, -0.16394735872745514, -0.6487401723861694, 0.1656825691461563, 0.5728844404220581, 0.29555657505989075, 0.18748067319393158, -0.7637203931808472, 0.13978847861289978, -0.4275619387626648, -0.12069296091794968, 0.4362565279006958, 0.46139997243881226, -0.06528416275978088, 0.699232280254364, 0.5847245454788208, 0.14544980227947235, -0.3299846947193146, 0.3306189477443695, 0.4992515444755554, -0.5105835795402527, -0.36180493235588074, -0.9418625831604004, -0.0017585119931027293, -0.07940215617418289, -0.5268385410308838, 0.8079156279563904, 0.2720258831977844, 0.4532916247844696, 0.22754745185375214, 0.6881924271583557, 0.130052849650383, 0.3239801526069641, -0.6321145296096802, 0.8940446972846985, -0.4979558289051056, 0.14742085337638855, -0.8551201224327087, -1.1000174283981323, 0.04518038406968117, 0.48989227414131165, -0.08704402297735214, 0.4672934412956238, 0.4441247880458832, 0.7125768661499023, 0.04708946868777275, 0.030227383598685265, 0.427890419960022, -0.12795089185237885, 0.12789465487003326, 0.404142826795578, 0.9191398024559021, -0.03572843223810196, 0.5793318152427673, -0.2726689577102661, -0.2551766335964203, -0.48295384645462036, -1.237959384918213, -0.889443039894104, -0.6036208868026733, -0.11188958585262299, -0.5544901490211487, 0.23244482278823853, 1.0861055850982666, 0.7895811796188354, -0.2674797475337982, -0.43475595116615295, 0.33818453550338745, -0.10592666268348694, -0.32016703486442566, -0.19446486234664917, 0.37499770522117615, -0.17873424291610718, -0.7142519950866699, 0.2897532880306244, 0.18370969593524933, 0.28478124737739563, -0.2985464930534363, -0.060705892741680145, 0.4289778769016266, 0.34886857867240906, 0.8091781735420227, 0.11710067838430405, -0.5713220238685608, -0.49224069714546204, 0.08659768104553223, -0.4557752013206482, 0.21855174005031586, 0.7190369963645935, -0.3854796588420868, 0.3185189664363861, 0.40461647510528564, 0.6205074191093445, 0.1557452529668808, -0.07177109271287918, 0.3981200158596039, -0.7300076484680176, -0.02365720272064209, 0.07184386253356934, 0.3623488247394562, 0.44854095578193665, -0.18296374380588531, 0.6273196935653687, -0.009853607974946499, -0.48918503522872925, -0.7749524116516113, 0.14293664693832397, -1.2542937994003296, 0.08269426226615906, 1.4641902446746826, -0.025572674348950386, -0.14170265197753906, 0.2505127191543579, -0.4928961992263794, 0.1780480593442917, -0.48694583773612976, 0.748101532459259, 0.5806041955947876, -0.16530252993106842, -0.12635290622711182, -0.5560700297355652, 0.5425972938537598, 0.39397725462913513, -1.0344161987304688, 0.07462374866008759, 0.08466615527868271, 0.458446741104126, -0.07055850327014923, 0.7247747182846069, -0.11203770339488983, 0.26223665475845337, -0.2686765789985657, -0.05729103833436966, 0.24524658918380737, -0.1832609921693802, -0.00154170673340559, -0.22037217020988464, 0.35926225781440735, 0.029580144211649895 ]
http://arxiv.org/abs/2403.10557v1
http://arxiv.org/pdf/2403.10557v1
Second-Order Information Matters: Revisiting Machine Unlearning for Large Language Models
2024-03-13T18:57:30
2024-03-13T18:57:30
Kang Gu, Md Rafi Ur Rashid, Najrin Sultana, Shagufta Mehnaz
cs.LG
cs.LG, cs.AI, cs.CL
With the rapid development of Large Language Models (LLMs), we have witnessed intense competition among the major LLM products like ChatGPT, LLaMa, and Gemini. However, various issues (e.g. privacy leakage and copyright violation) of the training corpus still remain underexplored. For example, the Times sued OpenAI and Microsoft for infringing on its copyrights by using millions of its articles for training. From the perspective of LLM practitioners, handling such unintended privacy violations can be challenging. Previous work addressed the ``unlearning" problem of LLMs using gradient information, while they mostly introduced significant overheads like data preprocessing or lacked robustness. In this paper, contrasting with the methods based on first-order information, we revisit the unlearning problem via the perspective of second-order information (Hessian). Our unlearning algorithms, which are inspired by classic Newton update, are not only data-agnostic/model-agnostic but also proven to be robust in terms of utility preservation or privacy guarantee. Through a comprehensive evaluation with four NLP datasets as well as a case study on real-world datasets, our methods consistently show superiority over the first-order methods.
[ -0.053699277341365814, -0.41311943531036377, 0.2188509702682495, -0.14395581185817719, -0.23054787516593933, 0.2495332658290863, -0.3354431390762329, -0.46418407559394836, -0.24977628886699677, 0.6353101134300232, -0.3223448097705841, -0.31560829281806946, -0.8016713261604309, -0.5673249363899231, -0.4704059362411499, 1.1967360973358154, 0.1066986620426178, 0.32440659403800964, -0.18941277265548706, -0.4186610281467438, 0.18986038863658905, -0.7266127467155457, -0.7591010332107544, -0.5156772136688232, 0.6060556173324585, 0.2766837477684021, 0.7430398464202881, 0.7911524176597595, 0.2943468391895294, 0.27819085121154785, -0.4578074514865875, 0.19774878025054932, -0.618983805179596, 0.16068889200687408, -0.3249894678592682, -0.5560874938964844, -0.008322354406118393, -0.05612296983599663, 0.5814584493637085, 0.8591461181640625, -0.34535837173461914, 0.4437960386276245, 0.354479044675827, 1.134819746017456, -0.8485863208770752, 0.19486933946609497, -0.6851553320884705, 0.21948811411857605, -0.07618967443704605, -0.10188190639019012, -0.45925623178482056, -0.1472962200641632, 0.07763452082872391, -0.5277203917503357, 0.30194854736328125, -0.11503951251506805, 0.6511355638504028, 0.4233696758747101, -0.15769733488559723, -0.3385566771030426, -0.9238488078117371, 0.9323883652687073, -0.6339121460914612, 0.3994782269001007, 0.3352489173412323, 0.17504142224788666, -0.5262218713760376, -0.7135329842567444, -0.2657915949821472, 0.09998171776533127, -0.05400382727384567, -0.006839785724878311, -0.48776891827583313, -0.13221096992492676, 0.29451578855514526, 0.10963023453950882, -0.2775276005268097, 0.5950560569763184, -0.5179056525230408, 0.057682160288095474, 0.633010983467102, -0.15815062820911407, -0.11483314633369446, 0.19518807530403137, -0.38265261054039, -0.16581670939922333, -1.0584466457366943, 0.07193943113088608, 0.6311490535736084, 0.0928998664021492, 0.07530931383371353, 0.7651121616363525, 0.03966468200087547, 0.2723202705383301, -0.07230443507432938, 0.06140316650271416, 0.31259581446647644, 0.1575699895620346, -0.28409722447395325, -0.15329132974147797, 0.7845556139945984, 0.127767413854599, 0.5447887182235718, -0.3686199188232422, -0.41074779629707336, -0.316975474357605, 0.10512252897024155, -0.6317488551139832, 0.00786090362817049, 0.30797702074050903, -0.5257238149642944, -0.24431200325489044, 0.025192152708768845, -0.9478899836540222, -0.7144457697868347, -0.5541113615036011, 0.15921586751937866, -0.06506659090518951, -0.27365249395370483, -0.1600584089756012, 0.2129918485879898, 0.039935510605573654, 0.2615882158279419, -0.9556262493133545, 0.18326638638973236, 0.995397686958313, 0.6171374917030334, -0.05159168317914009, -0.17173409461975098, -0.5147102475166321, -0.07008731365203857, -0.34355756640434265, 0.3469145596027374, -0.373681902885437, -0.41139528155326843, 0.32334616780281067, -0.043584056198596954, 0.25531965494155884, -0.7727883458137512, 0.46115124225616455, -0.8744431138038635, 0.392622709274292, -0.13424310088157654, -0.5313438773155212, -0.17396827042102814, -0.26290085911750793, -0.2845688760280609, 0.9741113781929016, -0.03623141348361969, -0.9054646492004395, 0.2096909135580063, -0.4120628237724304, -0.40371671319007874, -0.24286285042762756, -0.46148574352264404, -0.5343219637870789, 0.42477846145629883, -0.054821476340293884, 0.47020503878593445, -0.2864282727241516, 0.442558228969574, -0.3203921914100647, -0.21658729016780853, 0.37568122148513794, -0.6656721830368042, 0.880124568939209, 0.3642923831939697, -0.3802576959133148, -0.21236030757427216, -0.8270018100738525, 0.037684954702854156, 0.3212931454181671, -0.5061695575714111, -0.30796006321907043, 0.1938803642988205, -0.16235370934009552, 0.13379478454589844, 0.305086612701416, -0.5141918659210205, 0.012630045413970947, -0.3741784989833832, 0.4148159921169281, 0.9843836426734924, -0.3052005469799042, 0.6377185583114624, -0.2752131521701813, 0.40072306990623474, 0.13842712342739105, 0.21176663041114807, 0.027258364483714104, -0.3855360150337219, -0.8487952947616577, 0.11783292889595032, 0.4659571051597595, 0.590842068195343, -0.3865310847759247, -0.017843417823314667, -0.24501344561576843, -0.41902682185173035, -0.5919143557548523, 0.2813473045825958, 0.6771757006645203, 0.43420901894569397, 0.4012150168418884, -0.007380783092230558, -0.4795759618282318, -0.87492835521698, -0.4773862063884735, -0.2922256588935852, -0.28114426136016846, 0.36076101660728455, 0.2140941619873047, -0.38109418749809265, 0.7653295397758484, -0.401617169380188, -0.1439734697341919, 0.03771134093403816, 0.3563578426837921, 0.19970083236694336, 0.4769744873046875, 0.2849106192588806, -0.656358540058136, -0.21968938410282135, 0.09992623329162598, -0.8393292427062988, -0.0341956727206707, 0.03451773524284363, 0.13340625166893005, 0.7342073917388916, 0.5462648272514343, -0.4597093164920807, 0.5353487133979797, 0.5962536334991455, 0.17692166566848755, 0.2806762456893921, -0.6764344573020935, -0.3921869993209839, -0.982260525226593, 0.08306805789470673, -0.06508750468492508, -0.06645198911428452, -0.7439530491828918, -0.08400046080350876, -0.06750161945819855, 0.07753127068281174, -0.46117904782295227, 0.412463515996933, -0.6263463497161865, -0.3637159466743469, -0.5743247866630554, -0.05556607246398926, -0.1530422419309616, 0.6168637871742249, 0.017593776807188988, 0.7254635691642761, 0.2561803460121155, -0.5533345937728882, -0.17500180006027222, -0.047432489693164825, -0.32894596457481384, 0.04443350061774254, -0.5916081666946411, 0.4536266624927521, -0.6603260636329651, -0.07240285724401474, -0.8653748035430908, 0.09409408271312714, 0.19696317613124847, -0.47976717352867126, 0.6667102575302124, -0.4657316207885742, -0.5542221665382385, 0.047902192920446396, -0.25624480843544006, 0.26443707942962646, 0.7311604022979736, -0.9271893501281738, 0.29951390624046326, 0.7417130470275879, -0.1008666604757309, -1.300311803817749, -0.667309582233429, -0.13649390637874603, -0.19444185495376587, -0.2671372592449188, 0.2312324196100235, 0.04503535106778145, -0.4137275815010071, -0.15774472057819366, -0.26337775588035583, -0.34751638770103455, 0.1707412302494049, 0.40162593126296997, 0.04960585758090019, -0.035776469856500626, 0.11916924268007278, 0.031077181920409203, -0.20949488878250122, 0.19297251105308533, -0.4043115973472595, 0.4797499179840088, 0.025505276396870613, -0.24314340949058533, -0.37293556332588196, 0.31814536452293396, 0.53470778465271, 0.05329715460538864, 0.8297301530838013, 0.6497141718864441, -0.5387588143348694, -0.23962609469890594, -0.506618320941925, -0.057553961873054504, -0.4883768856525421, 0.33602648973464966, 0.16926345229148865, -0.8310483694076538, 0.21697106957435608, -0.161054328083992, 0.5731262564659119, 0.23736438155174255, 0.4946112334728241, -0.4024127125740051, 0.7747528553009033, 0.8109176158905029, -0.4234708249568939, 0.5558062791824341, -0.23066388070583344, 0.1825193464756012, -0.6713701486587524, -0.46594417095184326, -0.6135632395744324, -0.36117851734161377, -0.7110821008682251, -0.14810483157634735, 0.16948732733726501, 0.4127410352230072, -0.36937862634658813, 0.23094230890274048, -0.17499153316020966, 0.595319926738739, 0.5483407974243164, 0.03724119812250137, 0.3807556927204132, 0.4953893721103668, 0.07085883617401123, -0.032340407371520996, -0.596269428730011, -0.5432940721511841, 1.3815420866012573, 0.4076074957847595, 0.9248798489570618, 0.3373454213142395, 0.5816351175308228, 0.22868551313877106, 0.33410829305648804, -0.7217851877212524, 0.32281503081321716, -0.43128496408462524, -0.3748379051685333, -0.21277809143066406, -0.5503819584846497, -1.2646623849868774, 0.48535534739494324, -0.09204918891191483, -0.8812240958213806, 0.3066830337047577, 0.20416244864463806, -0.11114420741796494, 0.38955578207969666, -0.6595465540885925, 0.367266982793808, -0.29299014806747437, -0.5720877051353455, -0.17769446969032288, -0.6927809119224548, 0.22107596695423126, -0.31416982412338257, 0.4650774896144867, 0.03181455284357071, -0.22821341454982758, 0.9197442531585693, -0.6209989190101624, 0.9425672292709351, -0.2712741792201996, -0.37152400612831116, 0.15227912366390228, 0.07445954531431198, 0.6763829588890076, 0.18327948451042175, 0.01843070052564144, 0.3781457245349884, -0.07913088798522949, -0.3004370927810669, -0.708477795124054, 0.5514249205589294, -0.9101169109344482, -0.5989182591438293, -0.33590346574783325, -0.25794246792793274, -0.2712717652320862, 0.1451387107372284, 0.5344291925430298, 0.37873154878616333, 0.09131132811307907, 0.10361738502979279, 0.7395723462104797, -0.11380141228437424, 0.7009546160697937, 0.8061954379081726, -0.19390560686588287, -0.3324621021747589, 0.8041701316833496, 0.17403042316436768, 0.15569226443767548, 0.4686829745769501, 0.196994811296463, -0.45758411288261414, -0.7908469438552856, -0.40109655261039734, 0.3875810205936432, -0.7457514405250549, -0.1234508529305458, -0.5487398505210876, -0.056127600371837616, -0.19780780375003815, 0.18327242136001587, -0.6271486282348633, -0.4957773685455322, -0.6179705858230591, 0.24270769953727722, 0.053379498422145844, 0.9383779764175415, -0.19129496812820435, 0.3386935591697693, -0.7586667537689209, 0.06701761484146118, 0.003829238237813115, 0.2028682678937912, -0.1118139922618866, -0.8695812225341797, -0.17991116642951965, 0.22446587681770325, -0.2205430120229721, -0.4647989869117737, 0.2441233992576599, -0.018969526514410973, 0.45491546392440796, 0.5504764914512634, -0.1301594078540802, 0.4139540493488312, -0.5719248652458191, 0.42984023690223694, 0.3023833930492401, -0.7014013528823853, 0.1200254037976265, -0.1894300878047943, -0.10202718526124954, 0.5579271912574768, 0.41258320212364197, -0.6019947528839111, 0.1567005068063736, -0.8125877976417542, -0.9271621704101562, 0.6807594895362854, 0.04127882793545723, 0.14621183276176453, 0.4706416726112366, 0.6802397966384888, 0.113803431391716, 0.6301376223564148, -0.5558798909187317, -0.4604754149913788, 0.16206367313861847, -0.22905874252319336, -0.28028586506843567, -0.47995081543922424, -0.0711594745516777, -0.035169657319784164, 0.6922069191932678, 0.030092034488916397, 0.14460495114326477, -0.2211664468050003, -0.23150359094142914, -0.04796888306736946, 0.4635853171348572, 0.5157584547996521, 0.6299881339073181, 0.16084501147270203, 0.14101332426071167, 0.10711553692817688, -0.41308677196502686, 0.22302548587322235, -0.08971774578094482, -0.4272909462451935, -0.07263477146625519, 0.1502799242734909, 0.3990724980831146, 0.08141395449638367, -0.7106987237930298, 0.7493367195129395, 0.06407913565635681, -0.07012566179037094, -0.47935986518859863, 0.012522132135927677, -0.08692655712366104, 0.367560476064682, 0.12680131196975708, 0.1542932093143463, -0.024532301351428032, -0.3639366626739502, 0.14298738539218903, 0.49364134669303894, -0.47058504819869995, -0.32239389419555664, 0.5020692348480225, -0.25070083141326904, -0.29931995272636414, 0.5249985456466675, 0.004295691382139921, -0.28550347685813904, 0.3398973047733307, 0.3588913679122925, 0.7203971743583679, -0.2957226037979126, 0.242615208029747, 0.02011454477906227, 0.35113009810447693, -0.444634348154068, 0.12945041060447693, -0.04942786321043968, -0.7223793268203735, -0.34078389406204224, -0.42750903964042664, -0.5420656204223633, 0.5765519142150879, -0.7351202368736267, -0.08935621380805969, -0.8757310509681702, -0.05933095142245293, -0.11641520261764526, -0.08834318816661835, -0.5364508032798767, -0.029863519594073296, 0.06418585032224655, 0.5072742104530334, -0.333849161863327, 0.824130117893219, 0.6206339597702026, -0.1144728884100914, -0.304511696100235, 0.014029699377715588, 0.1796073317527771, -0.9103134870529175, 0.6460489630699158, 0.011515957303345203, -0.3349340558052063, -0.21340179443359375, -0.5141608119010925, -0.862794816493988, 0.793425977230072, 0.6698158979415894, -0.8156415224075317, 0.15461201965808868, 0.2821459472179413, 0.5721814632415771, -0.11163853108882904, 0.12907370924949646, 0.4430629312992096, 0.125922292470932, -0.02205066569149494, -0.3200480043888092, -0.2934303283691406, -0.14591620862483978, 0.010927071794867516, 0.2030286341905594, -0.7384955286979675, 0.7468288540840149, -0.4830861985683441, -0.4391961693763733, 0.04255738481879234, 0.7090364694595337, -0.16599765419960022, 0.19637981057167053, 0.42183253169059753, 0.38742437958717346, 1.1253021955490112, 0.13812081515789032, 0.6858152747154236, -0.12711066007614136, 0.5022831559181213, 1.3768340349197388, -0.2669883370399475, 0.9580087661743164, 0.52110356092453, -0.33960020542144775, 0.20052556693553925, 0.6015791893005371, 0.10567880421876907, 0.4553653597831726, 0.5747912526130676, -0.2339812070131302, 0.1665903627872467, -0.20318573713302612, -0.28428128361701965, 0.4635361433029175, 0.1865795999765396, -0.48572808504104614, -0.309371680021286, -0.3181236684322357, 0.5334979891777039, 0.05784422159194946, -0.18523505330085754, 0.9043331146240234, 0.19880174100399017, -0.4421774446964264, 0.7358800768852234, 0.2305852174758911, 0.5894731283187866, -0.26192376017570496, 0.2539232671260834, -0.3770006597042084, 0.5540780425071716, -0.25327709317207336, -0.5308734774589539, 0.1621282398700714, 0.28919750452041626, -0.15966744720935822, -0.1473352611064911, 0.45705363154411316, -0.4826117753982544, -0.22707442939281464, 0.5329002141952515, 0.5511730313301086, 0.184262216091156, 0.023028694093227386, -0.7233489751815796, -0.08737356215715408, -0.10427705943584442, -0.3257352113723755, 0.656082272529602, 0.1222962960600853, 0.23636244237422943, 0.6584176421165466, 0.5905135273933411, -0.13853377103805542, -0.05070529878139496, 0.08527204394340515, 0.8087717294692993, -0.3893860876560211, -0.13656389713287354, -0.913417398929596, 0.18078283965587616, 0.020893627777695656, -0.2688060700893402, 0.5290610790252686, 0.6474278569221497, 0.9849164485931396, 0.2493383139371872, 0.8761584758758545, 0.5629227161407471, 0.5531014204025269, -0.7769887447357178, 0.7667737007141113, -0.6137211918830872, 0.5917013883590698, 0.0487242229282856, -0.808891236782074, -0.31821075081825256, 0.25504809617996216, -0.05134815722703934, 0.11638764292001724, 0.5516554117202759, 0.7035450339317322, -0.03123573586344719, 0.39811819791793823, 0.17294584214687347, 0.16397371888160706, 0.1445387750864029, 0.4518526494503021, 0.8868431448936462, -0.2848057150840759, 0.3840120732784271, -0.3768412470817566, -0.2348562479019165, -0.03462944179773331, -0.7569053173065186, -0.9177651405334473, -0.39607906341552734, -0.22206757962703705, -0.5122819542884827, 0.14608526229858398, 0.9375479817390442, 0.43668681383132935, -0.8811786770820618, -0.3126547932624817, -0.1602809876203537, 0.13102510571479797, 0.04374220222234726, -0.07052340358495712, 0.47310882806777954, -0.3086507022380829, -0.6632154583930969, 0.5217217206954956, 0.08822204917669296, 0.3416866362094879, -0.3844251036643982, 0.022035926580429077, 0.28030234575271606, -0.03274695202708244, 0.5759082436561584, 0.5741270780563354, -0.4483751654624939, -0.10486986488103867, -0.31693774461746216, -0.012648400850594044, 0.25324419140815735, 1.0513889789581299, -0.6110830903053284, 0.02341179922223091, 0.30024608969688416, 1.068365454673767, 0.4633634388446808, 0.0581032857298851, 0.3122102916240692, -0.7218916416168213, 0.19765247404575348, -0.058646172285079956, 0.5286544561386108, 0.3518107831478119, -0.3706597685813904, 0.5191274881362915, 0.20731890201568604, -0.5368835926055908, -0.8286653757095337, 0.34171023964881897, -0.581322431564331, -0.3663118779659271, 1.3099181652069092, -0.32948628067970276, -0.25144362449645996, -0.08915834873914719, 0.11638814955949783, 0.27364611625671387, -0.37761208415031433, 0.7121012806892395, 0.43706950545310974, 0.07357227057218552, -0.003113706596195698, -0.6050761342048645, 0.5076991319656372, 0.5883690118789673, -0.6977097392082214, 0.4704778492450714, 0.33895280957221985, 0.23322629928588867, 0.04082265868782997, 0.435692697763443, -0.27649614214897156, -0.10120241343975067, -0.39357396960258484, -0.24332837760448456, -0.13991938531398773, -0.6172653436660767, -0.9310343861579895, 0.23319630324840546, 0.07456253468990326, -0.2035587728023529 ]
http://arxiv.org/abs/2403.08904v1
http://arxiv.org/pdf/2403.08904v1
Detecting Hallucination and Coverage Errors in Retrieval Augmented Generation for Controversial Topics
2024-03-13T18:47:00
2024-03-13T18:47:00
Tyler A. Chang, Katrin Tomanek, Jessica Hoffmann, Nithum Thain, Erin van Liemt, Kathleen Meier-Hellstern, Lucas Dixon
cs.CL
cs.CL
We explore a strategy to handle controversial topics in LLM-based chatbots based on Wikipedia's Neutral Point of View (NPOV) principle: acknowledge the absence of a single true answer and surface multiple perspectives. We frame this as retrieval augmented generation, where perspectives are retrieved from a knowledge base and the LLM is tasked with generating a fluent and faithful response from the given perspectives. As a starting point, we use a deterministic retrieval system and then focus on common LLM failure modes that arise during this approach to text generation, namely hallucination and coverage errors. We propose and evaluate three methods to detect such errors based on (1) word-overlap, (2) salience, and (3) LLM-based classifiers. Our results demonstrate that LLM-based classifiers, even when trained only on synthetic errors, achieve high error detection performance, with ROC AUC scores of 95.3% for hallucination and 90.5% for coverage error detection on unambiguous error cases. We show that when no training data is available, our other methods still yield good results on hallucination (84.0%) and coverage error (85.2%) detection.
[ -0.6481373906135559, -1.1654351949691772, 0.6964148283004761, 0.2982015907764435, -0.08354615420103073, 0.2397996187210083, -0.010721172206103802, -0.34724369645118713, 0.4753434956073761, 0.6003803014755249, -0.457213819026947, -0.5261475443840027, -0.5893211960792542, 0.26030224561691284, -0.6909598112106323, 0.8793518543243408, -0.1529880315065384, -0.09088654071092606, -0.5010449290275574, -0.004055174998939037, -0.5077505111694336, -0.5445803999900818, -0.22758501768112183, -0.14944398403167725, 0.5909027457237244, 0.6038705110549927, 0.5227477550506592, 0.3789651691913605, 0.4071182608604431, 0.28068551421165466, -0.21406221389770508, 0.7670729160308838, -0.5261998176574707, 0.401519238948822, 0.028333941474556923, -0.4274159073829651, -0.19245362281799316, -0.241927832365036, 0.622855544090271, 0.6592482924461365, -0.03422986716032028, -0.3723547160625458, 0.014374718070030212, 0.6749566197395325, -0.6717404127120972, -0.2300599366426468, -1.0863138437271118, 0.2553887367248535, 0.03360633924603462, -0.4736484885215759, -0.6083076000213623, -0.39446336030960083, -0.007033475674688816, -0.5539917349815369, 0.580690860748291, 0.013664644211530685, 0.7879761457443237, 0.422609806060791, -0.26235640048980713, -0.4964301884174347, -0.8593599200248718, 0.7922013401985168, -0.5325429439544678, 0.17891226708889008, 0.5690019726753235, 0.23947308957576752, -0.33962514996528625, -0.2583754360675812, -1.020004391670227, -0.26891639828681946, -0.08207178115844727, 0.12019374966621399, -0.17875343561172485, 0.13735522329807281, 0.28421780467033386, 0.2915157973766327, -0.36285147070884705, -0.08952708542346954, -0.3645668029785156, -0.6002079844474792, 0.6046184301376343, 0.030631287023425102, 0.2087278962135315, -0.5080206394195557, -0.304587721824646, 0.06696546077728271, -0.5920417904853821, -0.39384499192237854, 0.7226752638816833, 0.046765610575675964, 0.18543373048305511, 0.8856968283653259, -0.4468325674533844, 0.7218186855316162, 0.10321808606386185, 0.023307792842388153, 0.34923964738845825, -0.2930852174758911, -0.12228641659021378, 0.14395219087600708, 0.7350193858146667, 0.27205604314804077, 0.08301704376935959, -0.28428012132644653, -0.14038704335689545, 0.08080342411994934, 0.5649413466453552, -0.47779950499534607, -0.07448437064886093, 0.43923649191856384, -0.0543866828083992, -0.5258679389953613, 0.02518959902226925, -0.6979437470436096, -0.6351336240768433, -0.10394991189241409, 0.6335657835006714, -0.3413151204586029, -0.19462715089321136, -0.008088544011116028, -0.09000920504331589, 0.3837815225124359, 0.5979686975479126, -0.682200014591217, 0.09212817996740341, 0.5571051239967346, 0.8766714334487915, -0.4543437063694, -0.3144320249557495, -0.4746382236480713, -0.11763572692871094, -0.537036120891571, 1.117213249206543, -0.041361004114151, -0.5075217485427856, 0.03621215373277664, -0.15477171540260315, 0.10566066950559616, -0.5984519124031067, 0.35271015763282776, -0.5060383081436157, 0.39502695202827454, -0.21275115013122559, -0.6195994019508362, -0.17909514904022217, 0.6932451128959656, -0.6493674516677856, 0.8756796717643738, 0.04862765967845917, -1.1190788745880127, 0.18368107080459595, -0.2900032103061676, -0.4172225892543793, -0.1164550632238388, -0.4808045029640198, -0.5377740263938904, 0.039083994925022125, -0.1077391654253006, 0.37298640608787537, 0.07601521164178848, 0.3775346279144287, -0.10480482876300812, -0.5724989771842957, 0.6064313650131226, -0.5440415143966675, 0.4804132580757141, -0.12599298357963562, -0.6379141807556152, 0.2416323870420456, -0.8781136274337769, 0.014600766822695732, -0.15077516436576843, -0.33146077394485474, -0.18654562532901764, 0.13312286138534546, 0.006111196707934141, -0.0587577149271965, 0.06629261374473572, -0.48787716031074524, -0.01879107765853405, -0.35878971219062805, -0.04790256544947624, 0.7979633212089539, 0.19587484002113342, 0.23928311467170715, -0.5054686665534973, 0.3391609787940979, 0.24613279104232788, 0.026059526950120926, -0.001561965560540557, -0.5220138430595398, -1.1428958177566528, 0.16123001277446747, -0.009836808778345585, 0.7234991788864136, -1.1038166284561157, 0.49961724877357483, 0.061913494020700455, -0.571772575378418, -0.42002660036087036, 0.20862622559070587, 0.4910074770450592, 0.8984167575836182, 0.508098840713501, -0.14645478129386902, -0.6135475039482117, -0.9801157712936401, -0.29290062189102173, -0.49564307928085327, 0.14099183678627014, 0.6532739400863647, 0.4101155996322632, -0.512351930141449, 0.8844504356384277, -0.38581836223602295, -0.12298542261123657, -0.12062425911426544, 0.19746026396751404, -0.05271701514720917, 0.36590927839279175, 0.1338396966457367, -1.0963605642318726, -0.3822662830352783, -0.10441861301660538, -0.9884137511253357, -0.08892747759819031, -0.21172493696212769, -0.16441722214221954, 0.6139906048774719, 0.417085200548172, -0.5700604915618896, 0.5257179737091064, 0.28340739011764526, -0.1937682330608368, 0.6043071150779724, -0.041706398129463196, 0.3059214651584625, -1.0219762325286865, -0.2733170688152313, -0.18387790024280548, -0.14249397814273834, -0.8969973921775818, -0.2845614552497864, -0.11506465822458267, 0.4987483620643616, -0.5825292468070984, 0.29682838916778564, -0.19182740151882172, 0.0868501216173172, -0.7142022848129272, 0.46871110796928406, 0.0006544660427607596, 0.30071038007736206, 0.11188073456287384, 0.6280349493026733, 0.3465692102909088, -0.6754076480865479, 0.49671047925949097, 0.3135928213596344, -0.17796126008033752, 0.475015252828598, -0.5964906811714172, 0.30136364698410034, -0.35684093832969666, 0.0195873212069273, -1.1206425428390503, -0.6104477643966675, 0.6754204034805298, -0.7403842806816101, 0.16543537378311157, 0.031090406700968742, -0.4419505298137665, -0.03156234696507454, -0.3162150979042053, 0.2990269362926483, 0.2759617865085602, -0.541737973690033, 0.5010315179824829, 0.4930991530418396, 0.10989327728748322, -1.0034739971160889, -0.7371122241020203, -0.06483916938304901, -0.1217108741402626, -0.4975995421409607, 0.279691219329834, -0.1569012701511383, -0.4676240384578705, -0.08625397086143494, -0.16524505615234375, -0.00315191806294024, 0.2547890245914459, 0.4408709704875946, 0.25737088918685913, 0.000051085033192066476, 0.1864902228116989, 0.07418368011713028, 0.1175420731306076, 0.18714450299739838, 0.08594639599323273, 0.7646453976631165, -0.16974006593227386, -0.5831462144851685, -0.1852012723684311, 0.1890001744031906, 0.3631914258003235, 0.3414421081542969, 0.6587883234024048, 0.308575302362442, -0.5558933615684509, -0.18177397549152374, -0.8998861908912659, -0.2562141716480255, -0.4367176592350006, 0.35487765073776245, -0.1446467489004135, -0.7904476523399353, 0.6877946853637695, 0.40235698223114014, -0.09370781481266022, 0.6329201459884644, 0.640038788318634, -0.20697897672653198, 0.6987876296043396, 0.63092440366745, 0.13660122454166412, 0.2709502875804901, -0.0677524283528328, -0.04975707828998566, -0.6888628005981445, -0.537345826625824, -0.46993306279182434, -0.2172674834728241, -0.866171658039093, -0.5846351981163025, 0.2602890133857727, 0.18570686876773834, -0.04031236097216606, 0.15216019749641418, -0.6788843870162964, 0.42939049005508423, 0.5638185143470764, 0.30887821316719055, 0.5330461859703064, 0.27934107184410095, 0.09015468508005142, -0.1777336299419403, -0.41986414790153503, -0.5227680206298828, 0.9996129274368286, 0.15534034371376038, 0.634153425693512, 0.0744175910949707, 0.8937829732894897, 0.38130465149879456, 0.42640766501426697, -0.9282822012901306, 0.5771489143371582, 0.458711713552475, -0.6914520859718323, -0.5250410437583923, -0.6517900824546814, -0.654693067073822, 0.33686256408691406, -0.2596716284751892, -0.44707220792770386, 0.28399235010147095, 0.16122475266456604, -0.03430912271142006, 0.4942796230316162, -0.42584142088890076, 0.555063009262085, -0.17484700679779053, -0.4246639609336853, -0.0011480635730549693, -0.6658401489257812, 0.6078270673751831, -0.25291502475738525, 0.09453964233398438, -0.05306306853890419, 0.06450498849153519, 0.5874030590057373, -0.13053110241889954, 0.7875246405601501, -0.1596771478652954, -0.06609410047531128, 0.48104819655418396, 0.1038435697555542, 0.27725255489349365, 0.27021947503089905, 0.06623023748397827, 0.13577258586883545, -0.34562474489212036, -0.25114667415618896, -0.6275462508201599, 0.5890041589736938, -0.8310751914978027, -0.8525487184524536, -0.6079807281494141, -0.6645720601081848, -0.28571245074272156, 0.16588464379310608, 0.4976637363433838, -0.031373340636491776, -0.20439811050891876, 0.1234830692410469, 1.0928051471710205, -0.43965187668800354, 0.013207362033426762, 0.44410136342048645, -0.40175890922546387, -0.3007161617279053, 0.9872174263000488, 0.053537145256996155, 0.3245096802711487, 0.3537251651287079, 0.0006791026680730283, 0.0006716122152283788, -0.742160975933075, -0.41906440258026123, 0.0680454894900322, -0.8757564425468445, -0.32747480273246765, -1.0032721757888794, -0.69254469871521, -0.19835413992404938, 0.09841562062501907, -0.35912394523620605, -0.3770289719104767, -0.47208529710769653, -0.1514069139957428, 0.5126690864562988, 0.5303837656974792, -0.12761585414409637, 0.18676330149173737, -0.5069761276245117, 0.47785961627960205, 0.06160356104373932, 0.04242047294974327, -0.3057350516319275, -0.6358217597007751, 0.15041957795619965, 0.09771808236837387, -0.4988802969455719, -1.0481008291244507, 0.316182941198349, -0.25784391164779663, 0.512536346912384, 0.23530356585979462, 0.19453828036785126, 0.4337806701660156, -0.39365285634994507, 0.5753680467605591, 0.10502801090478897, -0.7618127465248108, 0.7179857492446899, -0.07794689387083054, -0.15476775169372559, 0.6731401681900024, 0.5184189081192017, -0.6409633755683899, -0.74261873960495, -0.6441856026649475, -0.8276391625404358, 0.4197984039783478, 0.32466980814933777, 0.35058489441871643, -0.25462380051612854, 0.40265506505966187, 0.24121510982513428, 0.39027801156044006, -0.8244403004646301, -0.3546290695667267, -0.3048316240310669, 0.020520979538559914, 0.22222855687141418, -0.42286548018455505, -0.25448718667030334, 0.07801762223243713, 0.7288553714752197, -0.2688869833946228, 0.2366633266210556, 0.6116634607315063, -0.18647481501102448, -0.06506878137588501, 0.32126960158348083, 0.8265507817268372, 0.7031059861183167, -0.31205499172210693, 0.23880423605442047, 0.1183670163154602, -0.6154273152351379, 0.18808794021606445, 0.14839567244052887, -0.5720381736755371, 0.39540591835975647, 0.24099494516849518, 0.6345616579055786, -0.020337555557489395, -0.6757432818412781, 0.4474017024040222, 0.02522352710366249, -0.32108578085899353, -0.5117847919464111, 0.15510033071041107, -0.17598313093185425, 0.17266257107257843, 0.5194200873374939, 0.1314912885427475, 0.25316327810287476, -0.40986281633377075, 0.3583807945251465, 0.5711426138877869, -0.43855467438697815, 0.05512293800711632, 0.47191423177719116, -0.0612129382789135, -0.3102247714996338, 0.623658299446106, -0.32500162720680237, -0.6870858073234558, 0.6943827867507935, 0.2678746283054352, 0.7125695943832397, -0.014540858566761017, 0.5536070466041565, 0.13662473857402802, 0.39225637912750244, -0.07877988368272781, 0.3290357291698456, -0.06605469435453415, -1.1400201320648193, -0.4093441069126129, -0.40846407413482666, -0.8593521118164062, 0.12571126222610474, -0.5615272521972656, 0.19017143547534943, -0.4211852550506592, 0.03390439227223396, -0.1267537623643875, 0.06062823906540871, -0.32809221744537354, 0.07648678123950958, -0.09331932663917542, 0.7139491438865662, -0.6737545728683472, 0.4832758903503418, 0.4228803515434265, -0.37237364053726196, -0.45986494421958923, 0.24073733389377594, 0.019030839204788208, -0.6877325773239136, 0.6045363545417786, 0.26560312509536743, -0.2261858582496643, -0.2373621016740799, -0.5190587043762207, -0.5430954694747925, 1.0043141841888428, 0.10973009467124939, -0.6195214986801147, -0.08605031669139862, 0.2003307342529297, 0.47190752625465393, -0.07146576792001724, 0.1935506910085678, 0.319316029548645, 0.362384170293808, 0.34417402744293213, -0.6287031173706055, -0.023857606574892998, 0.038637757301330566, -0.2232864797115326, -0.06237872689962387, -0.6108543276786804, 0.6672192811965942, -0.2503666579723358, -0.14956240355968475, 0.10701499879360199, 0.7293311953544617, 0.7241336107254028, 0.7106291651725769, 0.5364688038825989, 0.3251546323299408, 0.9490614533424377, -0.15587320923805237, 0.9485957622528076, -0.09471388161182404, 0.2727137506008148, 0.8951342105865479, -0.09779305756092072, 0.758918046951294, 0.7527608871459961, 0.06353044509887695, 0.322664737701416, 0.6508569121360779, -0.08446408063173294, 0.48703381419181824, 0.35920998454093933, -0.4130867123603821, -0.12192787975072861, -0.10031990706920624, -0.4113242030143738, 0.2664736807346344, 0.37710845470428467, -0.23900054395198822, -0.03505130484700203, 0.11430208384990692, -0.040542662143707275, 0.1753942370414734, -0.12116477638483047, 0.696407675743103, -0.02518155425786972, -0.7088249921798706, 0.5734211802482605, -0.07611917704343796, 0.8255890607833862, -0.13109034299850464, -0.18053507804870605, -0.6053088903427124, 0.05191648006439209, -0.4111335277557373, -0.7754021883010864, 0.4528767168521881, -0.045147694647312164, -0.3822876214981079, -0.01385707501322031, 1.0937591791152954, -0.33176282048225403, -0.5335316061973572, 0.14941762387752533, 0.6547880172729492, 0.45487430691719055, -0.1536036878824234, -0.33993983268737793, 0.3190901577472687, 0.16751396656036377, -0.13422612845897675, 0.0481535829603672, 0.4451321065425873, 0.052169349044561386, 0.5343716740608215, 0.5053554773330688, 0.09340917319059372, 0.11935766786336899, -0.11760587990283966, 0.9142656922340393, -0.6280047297477722, -0.000751093786675483, -0.9299629926681519, 0.37455058097839355, -0.2738302946090698, -0.22523079812526703, 0.8974794149398804, 0.5724902749061584, 0.9950451254844666, 0.08428396284580231, 0.8586111068725586, 0.0798758715391159, 0.6619349718093872, -0.55451500415802, 0.7503687143325806, -0.45069366693496704, 0.5303066968917847, -0.30661651492118835, -0.9087511897087097, -0.41713666915893555, 0.8563668131828308, -0.21043220162391663, -0.0035082469694316387, 0.3850131332874298, 0.8642177581787109, 0.09472745656967163, 0.032222017645835876, 0.4241569936275482, 0.3138848543167114, 0.3099074363708496, 0.39090558886528015, 1.2522178888320923, -0.5116682052612305, 0.6387205123901367, -0.3936682343482971, -0.1786956787109375, -0.42258599400520325, -0.6370298266410828, -0.9942464232444763, -0.6078345775604248, -0.42513543367385864, -0.9744541049003601, -0.061986684799194336, 0.4620983302593231, 0.331707626581192, -0.8178159594535828, 0.11394502222537994, -0.421956866979599, 0.7047020196914673, 0.2638692557811737, -0.35475045442581177, 0.27785393595695496, -0.5058653354644775, -0.6926473379135132, 0.2986578643321991, 0.24070902168750763, 0.1202860027551651, -0.5778428912162781, -0.1555715799331665, -0.0282222218811512, 0.05830089747905731, 0.47678518295288086, 0.3521467447280884, -0.8679852485656738, -0.39305707812309265, 0.3725655972957611, -0.24219733476638794, 0.10479752719402313, 0.6651251912117004, -0.8658208250999451, 0.5706982612609863, 0.4411132037639618, 0.8830683827400208, 0.4433661699295044, -0.02631688304245472, 0.2510059177875519, -0.5391889810562134, 0.02790842391550541, 0.465008407831192, 0.04327654838562012, 0.5871180295944214, -0.5327324271202087, 0.43340587615966797, 0.5983619689941406, -0.5992058515548706, -1.1971255540847778, 0.3404325246810913, -0.9462980628013611, -0.21100249886512756, 1.2029790878295898, 0.21279168128967285, -0.15112324059009552, -0.231130450963974, -0.25679436326026917, 0.30636486411094666, 0.014548493549227715, 1.3278300762176514, 0.9371744990348816, -0.30265846848487854, -0.028242439031600952, -0.7427056431770325, 0.544746994972229, 0.4142688512802124, -0.979775071144104, -0.14694425463676453, 0.647655725479126, 0.1939210146665573, 0.7002552151679993, 0.6270118355751038, -0.019887130707502365, 0.3945711553096771, -0.02967999503016472, -0.027914082631468773, 0.21564780175685883, -0.5045536756515503, -0.07928763329982758, 0.017368195578455925, -0.08673100918531418, -0.1678188443183899 ]
http://arxiv.org/abs/2403.08890v1
http://arxiv.org/pdf/2403.08890v1
From "um" to "yeah": Producing, predicting, and regulating information flow in human conversation
2024-03-13T18:20:24
2024-03-13T18:20:24
Claire Augusta Bergey, Simon DeDeo
cs.CL
cs.CL, cs.IT, math.IT, q-bio.NC
Conversation demands attention. Speakers must call words to mind, listeners must make sense of them, and both together must negotiate this flow of information, all in fractions of a second. We used large language models to study how this works in a large-scale dataset of English-language conversation, the CANDOR corpus. We provide a new estimate of the information density of unstructured conversation, of approximately 13 bits/second, and find significant effects associated with the cognitive load of both retrieving, and presenting, that information. We also reveal a role for backchannels -- the brief yeahs, uh-huhs, and mhmms that listeners provide -- in regulating the production of novelty: the lead-up to a backchannel is associated with declining information rate, while speech downstream rebounds to previous rates. Our results provide new insights into long-standing theories of how we respond to fluctuating demands on cognitive resources, and how we negotiate those demands in partnership with others.
[ -0.640536367893219, -0.9606702923774719, 0.6096802949905396, 0.2124660313129425, -0.09792067110538483, -0.2521248161792755, -0.21091075241565704, -0.6325588226318359, 0.4517463743686676, 0.701702892780304, -0.6858535408973694, -0.07220850884914398, -0.5227286219596863, -0.2859298288822174, -0.5312747359275818, 1.111085295677185, 0.7043224573135376, -0.056178878992795944, -0.1034720316529274, 0.051615696400403976, -0.8009094595909119, -0.5999522805213928, -0.7346601486206055, -0.39391008019447327, 0.7782588601112366, 0.47133705019950867, 0.7997857332229614, 0.7195859551429749, 0.3897804915904999, 0.33342498540878296, -0.21358045935630798, -0.34141162037849426, -0.7719247937202454, 0.4478035569190979, -0.22955118119716644, -0.6606807112693787, -0.07971333712339401, 0.06695596873760223, 0.6815086603164673, 1.1395506858825684, -0.2946104407310486, -0.08135642111301422, 0.11623343080282211, 0.47159701585769653, -0.32851728796958923, 0.1348361223936081, -0.703711986541748, -0.15440650284290314, -0.2551305592060089, -0.6777063012123108, -0.254384845495224, -0.2663500905036926, 0.5095030665397644, -0.4717922508716583, 0.09018228948116302, 0.11514067649841309, 0.7449817061424255, 0.31639543175697327, -0.49036434292793274, -0.49707984924316406, -0.8738595247268677, 0.7042056918144226, -0.29062420129776, 0.3417470157146454, 0.45641279220581055, 0.10819541662931442, -0.3721764087677002, -0.8552002906799316, -0.593099057674408, -0.02663940191268921, 0.09967900067567825, 0.029366154223680496, -0.29589706659317017, -0.052141252905130386, 0.1193263903260231, 0.2822871804237366, 0.031664151698350906, -0.14056865870952606, -0.6424595713615417, -0.09853186458349228, 0.5023883581161499, 0.30924826860427856, 0.3351217806339264, -0.0016131593147292733, -0.2317592203617096, -0.003082385053858161, -0.3418225646018982, 0.22489821910858154, 0.3356361389160156, 0.08388028293848038, -0.11163871735334396, 0.40358421206474304, -0.22807899117469788, 0.3294052481651306, 0.14667995274066925, 0.06586890667676926, -0.11799220740795135, -0.25427359342575073, -0.2383255809545517, -0.037061434239149094, 0.671085774898529, 0.48442867398262024, 0.18223132193088531, -0.17758843302726746, 0.2661057710647583, 0.06621669977903366, 0.42744526267051697, -0.5538783073425293, -0.37549909949302673, 0.274607390165329, -0.23838019371032715, -0.21388626098632812, 0.16121968626976013, -0.7692890167236328, -0.3916918635368347, -0.34847426414489746, 0.289792537689209, -0.28930068016052246, -0.3369726240634918, 0.292292058467865, -0.40059658885002136, 0.25086891651153564, 0.3771548569202423, -0.7890109419822693, 0.4988495707511902, 0.3990824520587921, 0.6840359568595886, -0.05022331699728966, -0.21967683732509613, -0.5748348236083984, 0.16650022566318512, -0.4757995307445526, 0.9542670845985413, -0.289993017911911, -0.6198486685752869, -0.2521292269229889, -0.23143039643764496, 0.14368878304958344, -0.27627962827682495, 0.5526576638221741, -0.4319794476032257, 0.2763134241104126, -0.2749249041080475, -0.32207128405570984, -0.12838183343410492, -0.15032048523426056, -0.5847855806350708, 0.5784026980400085, -0.20372648537158966, -0.7531905174255371, 0.21934880316257477, -0.42130064964294434, -0.6404010653495789, 0.34945961833000183, -0.43416067957878113, 0.10805879533290863, 0.39562106132507324, -0.41705557703971863, 0.3738569915294647, -0.31371384859085083, 0.15419606864452362, -0.2685360610485077, -0.07910745590925217, 1.0080246925354004, -0.45932382345199585, 0.6306131482124329, 0.26988646388053894, -0.1658502072095871, -0.20518982410430908, -0.8172448873519897, 0.06771790236234665, -0.10133816301822662, -0.596136212348938, -0.2714066803455353, 0.22445420920848846, -0.2688996195793152, 0.09052325040102005, 0.05691225081682205, -0.512610137462616, -0.050339359790086746, -0.25995951890945435, 0.6882060766220093, 0.5787402391433716, 0.34254908561706543, 0.3759963810443878, -0.53678959608078, 0.11021091043949127, -0.019285591319203377, -0.0553031750023365, -0.3213156759738922, -0.8667960166931152, -0.9007202982902527, -0.1290939599275589, 0.013036757707595825, 0.4253625273704529, -0.3743428885936737, 0.12337698042392731, -0.2712784707546234, -0.3344583809375763, -0.5785008668899536, -0.12058617919683456, 0.055253054946660995, 0.4533924162387848, 0.05608716234564781, -0.590662956237793, -0.4783937335014343, -0.5987983345985413, -0.06202983483672142, -0.1865682750940323, -0.2882981598377228, 0.22923970222473145, -0.010774768888950348, 0.05343474820256233, 0.9088706970214844, -0.41980770230293274, -0.3195424973964691, -0.1081530824303627, 0.7454490661621094, 0.2303415983915329, 0.271729052066803, 0.10939744859933853, -0.7676894068717957, 0.006926615256816149, -0.1081468015909195, -0.4611304700374603, -0.1433670073747635, -0.20804260671138763, -0.1305621862411499, -0.10460959374904633, 0.6131715178489685, -0.5602397322654724, 0.46932873129844666, 0.4408074915409088, -0.2506244480609894, 0.15271446108818054, -0.4505766034126282, 0.14866124093532562, -0.8500787019729614, -0.17075106501579285, -0.31561827659606934, 0.05011506751179695, -0.7271867394447327, -0.23902317881584167, -0.2706741392612457, -0.13883447647094727, -0.5540730357170105, 0.26506587862968445, -0.6235405802726746, 0.12148860841989517, -0.479896605014801, 0.3108595013618469, 0.06655512750148773, 0.5171505212783813, -0.07128572463989258, 0.4383576810359955, 0.6927314400672913, -1.06222665309906, 0.5080625414848328, 0.09960799664258957, -0.547973096370697, 0.9245242476463318, -0.5961151123046875, 0.3668493926525116, -0.37159252166748047, 0.30378249287605286, -1.4510301351547241, -0.6239991784095764, -0.19542436301708221, -0.6723863482475281, 0.17647762596607208, -0.0847858116030693, -0.18054254353046417, -0.2981317639350891, -0.11263742297887802, 0.08734577149152756, 0.34599557518959045, 0.008537350222468376, 0.6545296907424927, 0.9357743859291077, -0.5549394488334656, -0.1123746782541275, -1.4085217714309692, 0.15040968358516693, -0.042723797261714935, -0.8146591186523438, 0.3378455638885498, -0.2877572476863861, -0.5115481019020081, -0.02176312915980816, 0.03542204573750496, -0.17269818484783173, 0.22062039375305176, 0.4077937602996826, 0.009398954920470715, -0.04811421409249306, 0.3148135840892792, -0.2446439564228058, -0.024024734273552895, 0.282121479511261, -0.4730713665485382, 0.5071448087692261, 0.08156614750623703, -0.1457650363445282, -0.6724600791931152, 0.7633458375930786, 0.5695660710334778, 0.2059062421321869, 0.7308844327926636, 0.39715376496315, -0.10381937026977539, 0.2382371425628662, -0.625052273273468, -0.39072665572166443, -0.42270728945732117, 0.30114465951919556, -0.4632379412651062, -0.9548176527023315, 0.39521485567092896, 0.2845444977283478, 0.13380897045135498, 0.27571722865104675, 0.7226788401603699, -0.35955342650413513, 0.9543407559394836, 0.6228841543197632, 0.19447050988674164, 0.4986960291862488, 0.08404003083705902, 0.15578126907348633, -0.4027870297431946, -0.2532505393028259, -0.5662888288497925, -0.45240283012390137, -0.8283101320266724, -0.29975682497024536, 0.33927658200263977, 0.014540276490151882, 0.24847093224525452, 0.03217665106058121, -0.1368628442287445, 0.5062901973724365, 0.6730341911315918, -0.2260776311159134, 0.3416256904602051, -0.32502856850624084, 0.2602696418762207, 0.11826059967279434, -0.5441204309463501, -0.37109312415122986, 1.0189639329910278, 0.35346463322639465, 0.9886749386787415, 0.24430227279663086, 0.493595689535141, 0.3118707835674286, 0.03937548026442528, -0.855146586894989, 0.6106549501419067, 0.24847497045993805, -0.6013692021369934, -0.2378387749195099, -0.469014972448349, -1.3000141382217407, 0.021518882364034653, -0.1915500909090042, -1.101792335510254, 0.27509865164756775, 0.21200735867023468, -0.5481751561164856, -0.00956726260483265, -1.0259863138198853, 0.524307370185852, -0.16501638293266296, -0.36990198493003845, -0.487236350774765, -0.8348273038864136, 0.16015851497650146, 0.2950437664985657, 0.4595339298248291, -0.26428714394569397, -0.09014292806386948, 0.677790105342865, -0.0020758849568665028, 0.8257592916488647, 0.27115175127983093, -0.177724227309227, 0.6266382932662964, 0.08785580098628998, 0.28520435094833374, 0.08940815925598145, 0.25639981031417847, 0.28179726004600525, 0.14478756487369537, -0.36430689692497253, -0.4211995303630829, 0.5728369355201721, -0.8267077207565308, -0.6752977967262268, -0.06423579156398773, -0.7518932223320007, 0.08977676928043365, 0.04738390073180199, 0.6783115267753601, 0.43789100646972656, -0.3527469336986542, 0.5798735022544861, 0.8424298167228699, 0.17201578617095947, 0.26820024847984314, 0.45129260420799255, -0.159508615732193, -0.16016070544719696, 0.9102921485900879, 0.39553219079971313, 0.4289774000644684, 0.5128670930862427, 0.3599047362804413, -0.23828327655792236, -0.2762295603752136, 0.0501546673476696, 0.17588403820991516, -0.6987029910087585, 0.09574972838163376, -0.9602729678153992, -0.034665871411561966, -0.6490416526794434, 0.21737538278102875, -0.21163035929203033, -0.5039404034614563, -0.3102477192878723, 0.016170989722013474, 0.17388002574443817, 1.0151187181472778, -0.2553810775279999, 0.3870246410369873, -0.5858229398727417, 0.3373998999595642, 0.8488564491271973, 0.20106568932533264, -0.09213117510080338, -0.5486064553260803, -0.30332860350608826, 0.11819041520357132, -0.5497974753379822, -1.0177021026611328, 0.2183419167995453, 0.18412087857723236, 0.5305233597755432, 0.22941485047340393, -0.05502944439649582, 0.2671481668949127, -0.2763034403324127, 0.7301243543624878, 0.13094064593315125, -0.8466632962226868, 0.35537728667259216, -0.4322989881038666, 0.3828364908695221, 0.24159307777881622, 0.10775171965360641, -0.843167781829834, -0.6399303078651428, -0.8105366826057434, -0.9928736686706543, 0.6932091116905212, 0.11790462583303452, 0.47967883944511414, -0.2564105689525604, -0.2371908724308014, -0.02328522689640522, 0.5074604749679565, -0.48712900280952454, -0.04062316566705704, -0.0844971314072609, 0.17909793555736542, 0.16288365423679352, -0.2120783030986786, -0.18573586642742157, 0.05264541506767273, 0.2545677125453949, 0.1355808824300766, 0.5492013096809387, 0.1799229383468628, 0.10090891271829605, -0.4040328562259674, 0.6999516487121582, 0.6740221381187439, 0.4064784348011017, -0.1698446422815323, 0.3275930881500244, -0.054571542888879776, -0.4326004385948181, -0.1867000162601471, -0.1949693262577057, 0.026383081451058388, -0.13818004727363586, -0.06914074718952179, 0.9711259603500366, 0.38953763246536255, -0.5184938311576843, 0.32187291979789734, -0.17703945934772491, -0.2843078076839447, -0.21879935264587402, 0.40405887365341187, 0.15256847441196442, 0.37598180770874023, 0.4545046389102936, 0.10784222930669785, 0.10313310474157333, -1.1362608671188354, 0.19546958804130554, 0.2198694497346878, -0.3517097532749176, -0.3493324816226959, 0.5894480347633362, 0.3291654586791992, -0.5001452565193176, 0.44284725189208984, 0.04958121106028557, -0.02323577180504799, 0.36222293972969055, 0.23224110901355743, 0.818223774433136, -0.012604658491909504, -0.09695052355527878, -0.11667098104953766, -0.05275976285338402, -0.10570643842220306, 0.4369427561759949, -0.19695062935352325, -0.7358912825584412, -0.5102106332778931, -0.3404664993286133, -0.5506648421287537, 0.29846546053886414, -0.8366797566413879, 0.08494861423969269, -0.4951532185077667, -0.6291607618331909, 0.27498260140419006, -0.22514386475086212, -0.9092410802841187, -0.0472688153386116, 0.43188756704330444, 0.6754749417304993, -0.5255782604217529, 0.7227389216423035, 0.5004039406776428, -0.4328341782093048, -0.693412721157074, 0.19655561447143555, 0.1502799540758133, -0.6562814712524414, 0.3917161524295807, 0.11648677289485931, -0.43842220306396484, 0.3182886242866516, -0.7160651087760925, -0.9323564171791077, 0.7528076171875, 0.26388198137283325, -0.4367566704750061, -0.03465087339282036, -0.08539669960737228, 0.6468375325202942, -0.3745118975639343, 0.09093774855136871, 0.7335448265075684, 0.34709230065345764, 0.1827848106622696, -0.604789674282074, -0.4057410657405853, -0.21145842969417572, -0.04637277126312256, 0.31223610043525696, -0.6712559461593628, 0.9265445470809937, -0.4660625457763672, -0.6140977144241333, 0.23563198745250702, 0.8405250906944275, -0.2684541642665863, 0.18101631104946136, 0.2641874849796295, 0.4010743498802185, 0.8325120806694031, -0.09363053739070892, 1.0219647884368896, -0.0246362816542387, -0.12294280529022217, 1.1038320064544678, -0.08025044202804565, 0.9403939843177795, 0.7381719350814819, -0.07116477936506271, 0.5636720061302185, 0.2039370983839035, 0.35320669412612915, 0.3914962112903595, 0.40050673484802246, -0.025624126195907593, -0.023156430572271347, -0.5355314612388611, -0.13641607761383057, 0.4386722445487976, 0.6755518913269043, -0.11287057399749756, 0.17524351179599762, 0.1618071347475052, -0.054083652794361115, -0.07623528689146042, -0.20351053774356842, 0.9994627237319946, 0.05624254420399666, -1.0342472791671753, 0.37883344292640686, -0.4075410068035126, 0.4664430022239685, -0.6676129102706909, 0.2962982952594757, -0.2382478415966034, -0.02210150472819805, 0.043336424976587296, -1.162494421005249, 0.16336403787136078, -0.1605520397424698, -0.2491440773010254, -0.34110498428344727, 0.47686657309532166, -0.6703647971153259, 0.03497463837265968, 0.34958791732788086, 0.47689029574394226, 0.4802721440792084, 0.03047356568276882, -0.29037556052207947, 0.19961486756801605, -0.1043999195098877, -0.20218069851398468, 0.36861974000930786, 0.9286400675773621, 0.15691561996936798, 0.5301493406295776, 0.6034861207008362, 0.39932218194007874, 0.3761836588382721, 0.25898823142051697, 0.6412171721458435, -0.668708324432373, -0.8161706924438477, -0.5367389917373657, 0.5060029625892639, -0.08380545675754547, -0.5315232872962952, 0.30320072174072266, -0.04031798616051674, 0.9054598808288574, 0.29004186391830444, 0.7146034836769104, -0.13010771572589874, 0.6523590087890625, -0.5148047208786011, 0.4895651638507843, -0.433887243270874, 0.1396821141242981, -0.046398889273405075, -0.5160908102989197, 0.1237565353512764, 0.3161467909812927, -0.3134140968322754, -0.24386052787303925, 0.7311442494392395, 0.6054434180259705, 0.12278562039136887, 0.39841943979263306, 0.5932283401489258, 0.4841143786907196, 0.1848985105752945, 0.443918377161026, 0.9949994087219238, -0.04069167748093605, 1.0718156099319458, -0.16098366677761078, -0.13595029711723328, -0.40767818689346313, -0.6968423128128052, -0.5435360074043274, -0.7645525932312012, -0.26534417271614075, -0.29755088686943054, -0.24432609975337982, 0.8098039031028748, 0.7035999894142151, -0.519583523273468, -0.6137548685073853, -0.19147205352783203, -0.014218980446457863, -0.1604415327310562, -0.2652447819709778, -0.13598214089870453, -0.5357232093811035, -0.6124204993247986, 0.32020115852355957, 0.5814046859741211, 0.39864581823349, -0.2613902688026428, 0.21458537876605988, -0.22848276793956757, 0.38002899289131165, 0.39238354563713074, 0.5457773208618164, -0.6086103320121765, -0.23812004923820496, -0.125, -0.494377076625824, 0.2505495846271515, 1.072002649307251, -0.5427144169807434, 0.5404815077781677, 0.5988036394119263, 0.6855503916740417, 0.4325092136859894, -0.20975889265537262, 0.7884936928749084, -0.8674095869064331, 0.3441052734851837, 0.1985170543193817, 0.21038344502449036, 0.39847877621650696, -0.2768787145614624, 0.16426587104797363, 0.3892698585987091, -0.5687684416770935, -0.45691534876823425, 0.4827541708946228, -0.809249997138977, -0.23267288506031036, 0.8104714751243591, 0.16416847705841064, -0.5270112752914429, -0.5247963666915894, -0.44997674226760864, 0.39767006039619446, -0.7199583053588867, 1.0168516635894775, 1.0731183290481567, -0.2822135090827942, -0.24808214604854584, -0.6100766062736511, 0.42838677763938904, 0.5038630366325378, -0.7575513124465942, 0.1573261022567749, 0.5257362127304077, -0.09714659303426743, 0.5404115915298462, 0.9440344572067261, 0.21182896196842194, 0.24063588678836823, 0.06372801959514618, -0.337128221988678, 0.5153141617774963, -0.520760178565979, 0.07410864531993866, 0.23819999396800995, -0.022319376468658447, -0.32433176040649414 ]
http://arxiv.org/abs/2403.09738v4
http://arxiv.org/pdf/2403.09738v4
Evaluating Large Language Models as Generative User Simulators for Conversational Recommendation
2024-03-13T18:16:21
2024-03-25T23:53:01
Se-eun Yoon, Zhankui He, Jessica Maria Echterhoff, Julian McAuley
cs.CL
cs.CL, cs.AI, cs.IR
Synthetic users are cost-effective proxies for real users in the evaluation of conversational recommender systems. Large language models show promise in simulating human-like behavior, raising the question of their ability to represent a diverse population of users. We introduce a new protocol to measure the degree to which language models can accurately emulate human behavior in conversational recommendation. This protocol is comprised of five tasks, each designed to evaluate a key property that a synthetic user should exhibit: choosing which items to talk about, expressing binary preferences, expressing open-ended preferences, requesting recommendations, and giving feedback. Through evaluation of baseline simulators, we demonstrate these tasks effectively reveal deviations of language models from human behavior, and offer insights on how to reduce the deviations with model selection and prompting strategies.
[ -0.4161350727081299, -0.8043354153633118, 0.5229936838150024, 0.3842785060405731, 0.02822260744869709, 0.15507657825946808, -0.38724830746650696, -0.3772304952144623, 0.3235326111316681, 0.6232807040214539, -0.5727475881576538, -0.23464861512184143, 0.05898141488432884, -0.03301632031798363, -0.44730958342552185, 0.7324906587600708, 0.182204008102417, 0.1008264496922493, -0.46826303005218506, 0.3166665732860565, -0.5371075868606567, -0.6835557818412781, -0.63536536693573, -0.6077656149864197, 0.41155892610549927, 0.2540431320667267, 0.8426521420478821, 0.209849551320076, 0.22040237486362457, 0.38138872385025024, -0.08680032938718796, -0.022306358441710472, -0.6560214757919312, 0.10871545225381851, -0.2649277150630951, -0.28839316964149475, -0.36670541763305664, 0.11293566972017288, 0.5575350522994995, 0.7727963924407959, -0.4165348708629608, 0.17604751884937286, -0.09679918736219406, 0.29919567704200745, -0.4490409195423126, 0.03819655999541283, -0.31977590918540955, -0.10260878503322601, -0.000021550995370489545, -0.040615592151880264, -0.6774933934211731, -0.3429366648197174, 0.4455321431159973, -0.5792983770370483, 0.3395307660102844, 0.37430498003959656, 0.3682967722415924, -0.5057834982872009, -0.44102224707603455, -0.0516008697450161, -1.081742763519287, 0.7554047703742981, -0.6554746627807617, 0.49517783522605896, 0.49840354919433594, 0.6632385849952698, -0.3691367506980896, -0.690942108631134, -0.7491012215614319, -1.0204832553863525, -0.13711440563201904, -0.1120503768324852, -0.22098803520202637, 0.1682545244693756, 0.49402081966400146, 0.417042076587677, -0.4250561594963074, -0.16917216777801514, -0.41542384028434753, -0.33135202527046204, 0.7027274966239929, 0.2504911720752716, 0.5411655306816101, -0.01586644910275936, -0.14850208163261414, -0.27834436297416687, -0.5166646242141724, -0.2717812955379486, 0.7072146534919739, 0.16419698297977448, -0.2672450542449951, 0.6909961104393005, -0.3652391731739044, 0.6607608199119568, 0.01790609024465084, 0.1193607747554779, 0.2106320559978485, -0.5563890337944031, -0.11559773236513138, -0.2661260664463043, 0.736335813999176, 0.6170654296875, 0.6349446773529053, -0.33820873498916626, -0.13538265228271484, 0.1622040569782257, 0.4745935797691345, -0.7759842276573181, -0.32330864667892456, 0.04154108464717865, -0.520002543926239, -0.2231488972902298, 0.03002064861357212, -0.7509714365005493, -0.39781180024147034, -0.34094730019569397, 0.3091607987880707, -0.41310301423072815, -0.38715824484825134, 0.2527995705604553, -0.37150081992149353, -0.06282635033130646, 0.4493907690048218, -1.29317307472229, 0.7349783182144165, 0.5779094696044922, 0.7023209929466248, -0.08532287925481796, -0.44300398230552673, -0.3840901255607605, -0.06747816503047943, -0.25156059861183167, 0.6855335235595703, -0.6002232432365417, -0.8479650020599365, -0.0018278670031577349, -0.15846291184425354, 0.0726814866065979, -0.6958047151565552, 0.5329168438911438, -0.42055052518844604, -0.0169555451720953, -0.4755428731441498, -0.4962339699268341, 0.005482826381921768, 0.3626977503299713, -0.5370277166366577, 0.7694903612136841, 0.4227398633956909, -0.30345726013183594, 0.21002601087093353, -0.6821991801261902, -0.1990824192762375, 0.2396705448627472, 0.25261661410331726, 0.09148366749286652, 0.16889001429080963, 0.14527063071727753, 0.32995307445526123, -0.3225208818912506, 0.21960052847862244, -0.4784415662288666, -0.45076367259025574, 0.5561529397964478, -0.36798155307769775, 0.6667159795761108, 0.2898988127708435, 0.28330671787261963, 0.4787352681159973, -0.511310338973999, 0.060040850192308426, 0.1859174519777298, -0.23400412499904633, -0.3700927793979645, 0.019883375614881516, 0.6418278217315674, -0.010785495862364769, 0.07146298140287399, -0.6822197437286377, 0.4747300446033478, -0.6149418354034424, 0.5471874475479126, 0.4764358103275299, 0.1276707947254181, 0.440944641828537, -0.5987942218780518, 0.6677879691123962, -0.2794966697692871, 0.19564522802829742, -0.16361571848392487, -0.42370444536209106, -0.8057999014854431, -0.10785698145627975, 0.2650301456451416, 0.07998348772525787, -0.37873247265815735, 0.3911859095096588, -0.06709406524896622, -0.7649504542350769, -0.42645490169525146, 0.1482192724943161, 0.3684539794921875, -0.004660445731133223, 0.046440206468105316, -0.4472127854824066, -0.609309196472168, -0.9008193612098694, -0.3544940948486328, -0.48711058497428894, -0.25431621074676514, 0.38202720880508423, 0.5965986251831055, -0.5037368535995483, 0.8790537118911743, -0.36030399799346924, 0.08593588322401047, -0.43224939703941345, 0.3222029209136963, -0.21430842578411102, 0.44194841384887695, 0.71220463514328, -0.5734042525291443, -0.3293814957141876, -0.08374841511249542, -0.2936055064201355, -0.06008801981806755, -0.19609850645065308, -0.13798481225967407, -0.1590936779975891, 0.3083234429359436, -0.5995251536369324, 0.04749263823032379, 0.6853399872779846, -0.477295845746994, 0.7422555088996887, -0.5035480856895447, 0.1881537139415741, -0.961915135383606, 0.13089396059513092, 0.24120764434337616, -0.3332359194755554, -0.5620552897453308, 0.06719247251749039, -0.17718006670475006, -0.23575450479984283, -0.3136235773563385, 0.8592081069946289, -0.2663939595222473, -0.2153962105512619, -0.0681784451007843, -0.02956218086183071, -0.12488120794296265, 0.18927158415317535, -0.04366648942232132, 0.7479124069213867, 0.32435762882232666, -0.41711172461509705, 0.6759743094444275, 0.21737907826900482, -0.6601060032844543, 0.4920271635055542, -0.9395766854286194, 0.4423072934150696, 0.04415474086999893, 0.4996802508831024, -1.026528239250183, -0.35418763756752014, 0.11335945874452591, -0.3194703161716461, -0.3164580464363098, -0.10627530515193939, -0.610804557800293, -0.4483988285064697, -0.16129888594150543, 0.3555387556552887, 0.7169824838638306, -0.35234978795051575, 0.6378360390663147, 0.35974985361099243, 0.11411355435848236, -0.05372798442840576, -0.11196419596672058, 0.22246164083480835, -0.03992022946476936, -0.5272098183631897, 0.37530800700187683, -0.3906020224094391, -0.45299965143203735, -0.23378773033618927, 0.3634333908557892, 0.1315881311893463, 0.14220905303955078, 0.34715035557746887, 0.15669669210910797, -0.006339121609926224, -0.20757266879081726, -0.16284479200839996, 0.015375600196421146, 0.21356117725372314, -0.2265409678220749, 1.0067716836929321, -0.2057279497385025, -0.5034982562065125, -0.6935117840766907, 0.19179002940654755, 0.7029711008071899, -0.15542848408222198, 0.4960643947124481, 0.5098929405212402, -0.2797432541847229, -0.18851828575134277, -0.7001405954360962, -0.5482463240623474, -0.4900949001312256, 0.41957300901412964, -0.41939204931259155, -0.658601701259613, 0.4195951223373413, -0.11968697607517242, 0.06509935855865479, 0.13025425374507904, 0.8740100264549255, -0.007035844027996063, 1.3928180932998657, 0.48888877034187317, 0.10402882099151611, 0.3528040647506714, -0.19821317493915558, 0.24272418022155762, -0.6489136815071106, -0.38161250948905945, -0.527079701423645, -0.17190071940422058, -0.3634316921234131, -0.44097891449928284, 0.14348094165325165, 0.013403824530541897, -0.06478609889745712, 0.34934911131858826, -0.011516355909407139, 0.44021135568618774, 0.7949689626693726, 0.08389392495155334, 0.18657349050045013, 0.0453219935297966, -0.2156834900379181, -0.0026557594537734985, -0.2961887717247009, -0.6073064208030701, 0.8352111577987671, 0.34792646765708923, 0.8139503598213196, -0.024425523355603218, 0.2914430797100067, 0.596975564956665, 0.338296502828598, -1.0463111400604248, 0.7948380708694458, 0.08373608440160751, -0.559520423412323, -0.229145348072052, -0.3084207773208618, -0.781495213508606, 0.11682691425085068, -0.4006754457950592, -1.0371668338775635, -0.09527383744716644, 0.5813287496566772, -0.2762988209724426, 0.009751023724675179, -0.7506303191184998, 0.9504245519638062, -0.12224628031253815, -0.062486663460731506, -0.6478697061538696, -0.23133257031440735, 0.30377939343452454, 0.07701054215431213, -0.10126883536577225, -0.07359205186367035, 0.511398196220398, 0.6600553393363953, -0.22798991203308105, 0.8844756484031677, -0.1381136029958725, 0.13327156007289886, 0.1907883733510971, 0.5785351395606995, 0.3713793456554413, -0.08173144608736038, -0.17647428810596466, 0.147477924823761, 0.24364882707595825, -0.14326322078704834, -0.8592188358306885, 0.7008597254753113, -0.7398961782455444, -0.6148611307144165, -0.1976993829011917, -0.48059186339378357, -0.25040170550346375, -0.06179273501038551, -0.2726711928844452, 0.246270552277565, -0.9498322606086731, 0.35293257236480713, 0.013832966797053814, -0.2493276745080948, -0.05505004897713661, 0.5023310780525208, -0.5966958403587341, -0.2696608304977417, 0.8373554348945618, -0.2695716917514801, 0.34977537393569946, 0.13482852280139923, 0.48967626690864563, -0.3780525326728821, -0.3441210389137268, -0.6430283188819885, 0.2145117223262787, -0.37343642115592957, 0.34315225481987, -0.7326036691665649, 0.0384044386446476, -0.5308839678764343, -0.18671168386936188, -0.26147449016571045, -0.2090446501970291, 0.03653046861290932, -0.1894630640745163, 0.14293481409549713, 0.7849064469337463, 0.30070486664772034, 0.5010417103767395, -0.6212119460105896, 0.27074623107910156, 0.5268875956535339, 0.24220922589302063, 0.16878440976142883, -0.4116474688053131, -0.029049545526504517, 0.40265846252441406, -0.2841546833515167, -0.6720166206359863, 0.5842937231063843, 0.11274413764476776, 0.6224644184112549, 0.7059952020645142, -0.02145559899508953, 0.4940544366836548, -0.47111546993255615, 0.8333368897438049, 0.22144317626953125, -1.1041144132614136, 0.4242253303527832, -0.4409346580505371, 0.03075382299721241, 0.2977239489555359, 0.23369938135147095, -0.939979612827301, -0.12367641180753708, -0.4392393231391907, -0.37331199645996094, 0.6889661550521851, 0.31254976987838745, 0.72685307264328, -0.12887895107269287, 0.319439560174942, -0.09402967244386673, 0.08208159357309341, -0.42567282915115356, -0.016887038946151733, -0.01937898062169552, -0.014143817126750946, -0.28148508071899414, -0.598412811756134, -0.13997679948806763, -0.21638162434101105, 0.26586633920669556, -0.08237229287624359, 0.12641125917434692, -0.22598055005073547, 0.21102359890937805, -0.2208888828754425, 0.15595056116580963, 0.5216397047042847, 0.6679565906524658, -0.37110957503318787, -0.05703439936041832, 0.1789988875389099, -0.30002376437187195, 0.17898143827915192, -0.21540004014968872, -0.21678222715854645, -0.2062464952468872, 0.0045575289987027645, 0.7565170526504517, 0.23620863258838654, -1.0655938386917114, 0.4345117509365082, -0.301302045583725, -0.12090229243040085, -0.3811211585998535, 0.31498947739601135, 0.2779703736305237, 0.007326909340918064, -0.08819147199392319, 0.07591809332370758, 0.37474146485328674, -0.9582836627960205, -0.028187647461891174, 0.44079917669296265, -0.4884803593158722, -0.7342327237129211, 0.4707135558128357, 0.5205380916595459, -0.837152361869812, 0.8246361613273621, 0.04180573299527168, -0.3226393163204193, 0.4980890452861786, 1.0248063802719116, 0.8540686964988708, -0.32412153482437134, 0.5040552020072937, 0.36001530289649963, 0.036957789212465286, -0.4971938729286194, 0.15633122622966766, -0.12113580107688904, -0.9623686671257019, -0.06414119899272919, -0.698871910572052, -0.6378463506698608, 0.039397306740283966, -0.5633372664451599, 0.43149328231811523, -0.31366971135139465, -0.30364009737968445, 0.3073437511920929, -0.2894105613231659, -0.5484639406204224, -0.12214205414056778, -0.011543503031134605, 0.7298027276992798, -0.8682350516319275, 0.8034933805465698, 0.8638507723808289, -0.39138028025627136, -0.44216516613960266, -0.03239672631025314, -0.043765630573034286, -0.5794087648391724, 0.7576161623001099, 0.06805165112018585, -0.15668517351150513, -0.03520714491605759, -0.36823639273643494, -0.39405491948127747, 0.5351905822753906, 0.5567178130149841, -0.6063703894615173, -0.06907366961240768, 0.02903735265135765, 0.7857628464698792, -0.4038228392601013, 0.549938976764679, 0.5833728909492493, 0.36232563853263855, 0.23873364925384521, -1.1844364404678345, 0.005820609629154205, -0.24964645504951477, 0.35402974486351013, -0.050199780613183975, -0.46759673953056335, 0.6452981233596802, -0.4005580246448517, -0.16050536930561066, 0.42152971029281616, 0.508699357509613, 0.3995290994644165, 0.08151359111070633, 0.8953197598457336, 0.18121442198753357, 0.4321320354938507, 0.22796547412872314, 1.2396461963653564, -0.2966693639755249, 0.21970397233963013, 0.8247181177139282, -0.6896762251853943, 0.8883842825889587, 0.5113112926483154, -0.23474332690238953, 0.4561587870121002, 0.4106900095939636, -0.11086396127939224, 0.23394054174423218, 0.6860190629959106, -0.3599740266799927, -0.41644486784935, -0.3358224332332611, 0.05617939680814743, 0.6082341074943542, 0.3364517092704773, -0.23854582011699677, 0.03023175150156021, 0.06613468378782272, -0.17169013619422913, 0.17913192510604858, 0.18611207604408264, 0.8610239028930664, -0.04702974110841751, -0.9496030807495117, 0.4890836477279663, 0.2689017951488495, 0.40118518471717834, -0.5905783772468567, -0.4085034132003784, -0.06810696423053741, 0.11241903156042099, 0.14497239887714386, -0.4947875142097473, -0.020420560613274574, -0.07320374995470047, -0.15987829864025116, -0.289933443069458, 0.5144990086555481, -0.3289352059364319, -0.4753081798553467, 0.35631829500198364, 0.36756274104118347, 0.2701236307621002, -0.1873723864555359, -0.5154924392700195, -0.1354251354932785, -0.06655951589345932, -0.20135743916034698, 0.2947973608970642, -0.07212331146001816, -0.3946673572063446, 0.9719699621200562, 0.9750075936317444, 0.30497434735298157, -0.27320656180381775, 0.5462340712547302, 0.6499674320220947, -0.4959726929664612, -0.47673994302749634, -0.7799371480941772, 0.2250988930463791, -0.21500056982040405, -0.3321254253387451, 0.7764849066734314, 0.545361340045929, 0.965283989906311, -0.36381375789642334, 0.6631874442100525, 0.02877107262611389, 0.3327306807041168, -0.28257957100868225, 0.6961740255355835, -0.24774976074695587, 0.3474244475364685, -0.12278703600168228, -1.1441214084625244, 0.023947378620505333, 0.6312941312789917, -0.19163860380649567, 0.3081301748752594, 0.3244292438030243, 0.9970738291740417, -0.2510056495666504, 0.014328387565910816, 0.588371217250824, 0.1181027963757515, 0.39931339025497437, 0.13019198179244995, 1.1653742790222168, -0.07717172056436539, 0.20796184241771698, -0.24902434647083282, -0.13304156064987183, -0.47611576318740845, -0.6552667617797852, -1.06466543674469, -0.49905866384506226, -0.19394604861736298, -0.38233938813209534, 0.13716301321983337, 1.399863600730896, 1.0846368074417114, -0.8347781896591187, -0.7147745490074158, -0.027400141581892967, -0.2544597089290619, -0.3772980570793152, -0.24458925426006317, -0.05062444508075714, 0.0036684663500636816, -1.019775629043579, 0.4843882620334625, 0.07231364399194717, 0.22179804742336273, -0.7729559540748596, -0.11380819231271744, 0.3476006090641022, 0.09979904443025589, 0.6187441349029541, 0.18040652573108673, -0.9401952028274536, -0.24896283447742462, 0.03271202743053436, -0.06460972130298615, -0.40208879113197327, 1.151644229888916, -0.7490500211715698, 0.7863276600837708, 0.6005352139472961, 0.2499271035194397, 0.5038465857505798, 0.22643010318279266, 1.063906192779541, -0.5968254208564758, 0.23967596888542175, 0.24690549075603485, 0.3124135136604309, 0.23691041767597198, -0.10051953792572021, 0.10795920342206955, 0.1259007304906845, -0.469109445810318, -0.833472490310669, 0.1611710637807846, -1.0784437656402588, 0.027637047693133354, 1.2374752759933472, -0.23194797337055206, 0.08728708326816559, -0.17880450189113617, -0.6945164203643799, -0.13720716536045074, -0.5981348156929016, 0.9834060072898865, 0.5511434674263, 0.011211743578314781, -0.03404852747917175, -0.625383198261261, 0.42990735173225403, 0.1646440178155899, -0.7217800617218018, 0.3180806040763855, 0.6484276652336121, 0.21588222682476044, 0.05051182210445404, 0.6938307285308838, 0.12532386183738708, 0.1731511652469635, -0.020854255184531212, 0.20263583958148956, 0.04766365513205528, -0.1896458864212036, -0.0025659438688308, -0.04393194615840912, 0.28241053223609924, 0.15627421438694 ]
http://arxiv.org/abs/2403.08851v1
http://arxiv.org/pdf/2403.08851v1
PAPERCLIP: Associating Astronomical Observations and Natural Language with Multi-Modal Models
2024-03-13T18:00:00
2024-03-13T18:00:00
Siddharth Mishra-Sharma, Yiding Song, Jesse Thaler
astro-ph.IM
astro-ph.IM, cs.CL, cs.CV, cs.IR, cs.LG
We present PAPERCLIP (Proposal Abstracts Provide an Effective Representation for Contrastive Language-Image Pre-training), a method which associates astronomical observations imaged by telescopes with natural language using a neural network model. The model is fine-tuned from a pre-trained Contrastive Language-Image Pre-training (CLIP) model using successful observing proposal abstracts and corresponding downstream observations, with the abstracts optionally summarized via guided generation using large language models (LLMs). Using observations from the Hubble Space Telescope (HST) as an example, we show that the fine-tuned model embodies a meaningful joint representation between observations and natural language through tests targeting image retrieval (i.e., finding the most relevant observations using natural language queries) and description retrieval (i.e., querying for astrophysical object classes and use cases most relevant to a given observation). Our study demonstrates the potential for using generalist foundation models rather than task-specific models for interacting with astronomical data by leveraging text as an interface.
[ -0.4690874516963959, -0.6087735295295715, 0.7095267176628113, 0.20362445712089539, -0.399069219827652, -0.1925199031829834, -0.47197622060775757, -0.7739771604537964, 0.6734262704849243, 0.6637322902679443, -0.3951038420200348, -0.4965362846851349, -0.5426763892173767, -0.011719862930476665, -0.6436739563941956, 1.3816797733306885, -0.0375853031873703, -0.2067258358001709, -0.5263513326644897, 0.10854744166135788, -0.12109741568565369, -0.2160354107618332, -0.2656218409538269, -0.18106108903884888, 0.5244104266166687, 0.14629702270030975, 0.8578605651855469, 0.8511918783187866, 1.0972038507461548, 0.32234057784080505, 0.03978169709444046, 0.2626846134662628, 0.015823498368263245, -0.4300526976585388, -0.18872353434562683, -0.33338993787765503, -0.34579914808273315, 0.24859516322612762, 0.46439528465270996, 1.0843462944030762, 0.05331283062696457, 0.1505458652973175, -0.03199214115738869, 0.3170792758464813, -0.6256045699119568, 0.31161972880363464, -0.5702548623085022, -0.16287095844745636, -0.2557697594165802, -0.3281603753566742, -0.09050055593252182, -0.1082332506775856, 0.4314889907836914, -0.9666746258735657, 0.20973673462867737, 0.057200878858566284, 0.9234675765037537, 0.08495936542749405, -0.3264203667640686, -0.7167329788208008, -0.7461957931518555, 0.7884714007377625, -0.7546184659004211, 0.2764829099178314, 0.5535627007484436, 0.3079645037651062, 0.1600707620382309, -0.8297697305679321, -0.6743009686470032, -0.46951666474342346, -0.2175956666469574, 0.16266855597496033, 0.06411564350128174, 0.06486089527606964, -0.20543134212493896, 0.20069192349910736, -0.44283008575439453, -0.23568108677864075, -0.37832221388816833, -0.0629991814494133, 0.28394079208374023, 0.16976326704025269, 0.03630496934056282, -0.46883416175842285, -0.23876935243606567, -0.15272043645381927, -0.45006436109542847, -0.0906982421875, 0.4161530137062073, 0.4623713195323944, -0.44024306535720825, 0.6543026566505432, 0.0015217806212604046, 0.9502873420715332, 0.043935611844062805, -0.11586610972881317, -0.008466937579214573, -0.6376306414604187, -0.01660129800438881, -0.41362130641937256, 0.7151039242744446, 0.5774973630905151, -0.06706248968839645, -0.25691717863082886, -0.015822043642401695, 0.41364139318466187, 0.045525070279836655, -0.7424139976501465, -0.324593186378479, -0.1826268881559372, -0.4616950750350952, -0.27877533435821533, 0.47383764386177063, -0.8853929042816162, -0.14519114792346954, -0.7180296182632446, 0.3269340693950653, -0.2089676409959793, -0.1390681117773056, 0.2235863357782364, -0.05067828670144081, -0.21524500846862793, 0.35556432604789734, -1.0151548385620117, 0.6050944328308105, 0.8581331372261047, 0.8041270971298218, 0.07862654328346252, -0.5135632157325745, -0.27147313952445984, 0.36584338545799255, -0.09749208390712738, 0.9979416728019714, -0.8504238724708557, -0.4413205087184906, -0.14001397788524628, -0.06924059242010117, -0.02212211675941944, -0.20226258039474487, 0.629409909248352, -0.4235129654407501, 0.6604803204536438, -0.008156063966453075, -0.45403239130973816, -0.35868459939956665, 0.24858704209327698, -0.5565497279167175, 0.5161433219909668, -0.2670353353023529, -0.8549681901931763, 0.34532031416893005, -1.0920203924179077, -0.24708862602710724, -0.14590656757354736, -0.4117232859134674, -0.143392875790596, 0.015554865822196007, 0.3879343271255493, 0.2774316966533661, -0.27092573046684265, 0.43787816166877747, -0.3772069215774536, -0.06618670374155045, 0.20613707602024078, -0.24033482372760773, 0.228702113032341, 0.19981446862220764, -0.07674439251422882, 0.2193632572889328, -0.5843234062194824, -0.1762319654226303, -0.19955258071422577, -0.28250253200531006, -0.5674389004707336, 0.25905632972717285, 0.5257253050804138, -0.06847531348466873, 0.43719959259033203, -0.4817906618118286, 0.35207581520080566, -0.43325838446617126, 0.4177335798740387, 0.3052099645137787, -0.1534620076417923, 0.5660083293914795, -0.20462355017662048, 0.2928709089756012, -0.0776747316122055, 0.11729463934898376, -0.6603374481201172, -0.22202904522418976, -0.6196886301040649, -0.16814929246902466, 0.1591057926416397, 0.3669213056564331, -0.4153687655925751, 0.1911611258983612, -0.4013175368309021, -0.4673509895801544, -0.3104458153247833, 0.14544178545475006, 0.5179982781410217, 0.8165245652198792, 0.32108351588249207, -0.1917426586151123, -0.643639326095581, -1.1515229940414429, -0.20613911747932434, -0.15033341944217682, -0.14196118712425232, 0.48802244663238525, 0.788436233997345, -0.19101381301879883, 0.8953314423561096, -0.533810019493103, -0.18091954290866852, 0.1594834178686142, 0.5996765494346619, 0.5318857431411743, 0.3234042227268219, 0.6009129881858826, -1.029782772064209, -0.37058061361312866, 0.14091627299785614, -0.7357490658760071, -0.018455391749739647, -0.010201972909271717, 0.12789879739284515, -0.05668193846940994, 0.48100724816322327, -0.4569072127342224, 0.4232795536518097, 0.7260946035385132, -0.396573930978775, 0.45009109377861023, -0.19400128722190857, 0.22243303060531616, -1.1337147951126099, 0.4611750543117523, 0.039852675050497055, -0.18603715300559998, -0.42049315571784973, -0.0435798354446888, -0.028715286403894424, -0.2580580711364746, -0.392911434173584, 0.4448077380657196, -0.5444457530975342, -0.2577604055404663, -0.8147513270378113, 0.1283704787492752, 0.20918604731559753, 0.1682383418083191, 0.5360562801361084, 0.9108931422233582, 0.37249699234962463, -0.4045146405696869, -0.21251524984836578, 0.4188108444213867, -0.33801713585853577, 0.5293199419975281, -0.795702338218689, 0.01107391994446516, -0.28497833013534546, 0.13383911550045013, -0.7873548269271851, -0.5008144974708557, 0.04920149967074394, -0.25113680958747864, 0.030517295002937317, 0.02562587708234787, -0.21377450227737427, -0.30149924755096436, -0.24038074910640717, 0.3759689927101135, -0.09019917994737625, -0.4705064594745636, 0.6892692446708679, 0.477609246969223, -0.2926754951477051, -0.40691691637039185, -0.5573628544807434, 0.36270350217819214, -0.17124035954475403, -0.5234273076057434, 0.8201125264167786, 0.01640966720879078, -0.09843133389949799, 0.1868617683649063, 0.2369941622018814, -0.1506267935037613, -0.07449476420879364, 0.49379509687423706, 0.39314842224121094, -0.16105660796165466, -0.07969021052122116, -0.26307904720306396, -0.03307292237877846, -0.030898546800017357, -0.12451794743537903, 0.47779369354248047, -0.6835214495658875, -0.3629538118839264, -0.4722208082675934, 0.5279824137687683, 0.44760608673095703, -0.12415178120136261, 0.270656943321228, 0.3151762783527374, -0.36024513840675354, 0.5119680166244507, -0.3688865900039673, -0.33086711168289185, -0.4557819068431854, 0.43529799580574036, -0.22291024029254913, -0.6469982266426086, 0.46726351976394653, -0.03261768817901611, 0.09221020340919495, 0.2854829430580139, 0.24831846356391907, -0.4132997393608093, 0.8921582102775574, 0.9410614371299744, -0.0701107308268547, 0.6290701031684875, -0.24316929280757904, -0.17879755795001984, -1.0272058248519897, -0.05695555359125137, -0.6350163817405701, -0.2338647097349167, -0.2940407693386078, -0.38028231263160706, 0.4037999212741852, 0.1962297409772873, -0.16753213107585907, 0.5237234234809875, -0.5470664501190186, 0.689338743686676, 0.552287757396698, 0.0351593904197216, 0.40718042850494385, -0.1667451709508896, 0.04736650735139847, -0.4194409251213074, -0.3833639919757843, -0.8567373752593994, 1.1220794916152954, -0.027861662209033966, 0.865263044834137, -0.1707150638103485, 0.45309460163116455, -0.0575593076646328, 0.5742790699005127, -0.3065272271633148, 0.4027300179004669, -0.377629816532135, -0.5513994693756104, 0.1436040848493576, -0.21281398832798004, -0.8285912275314331, 0.16596248745918274, -0.3592050075531006, -0.7435734272003174, 0.20624254643917084, 0.21943818032741547, -0.21179170906543732, 0.12001392245292664, -0.5234919190406799, 0.807392418384552, -0.438180148601532, -0.23003360629081726, -0.2391592413187027, -0.7281160354614258, 0.44560208916664124, -0.008504346944391727, 0.359456330537796, 0.07914479076862335, -0.14352066814899445, 0.914415180683136, -0.1271483600139618, 1.13863205909729, 0.03763910382986069, 0.27038684487342834, 0.20184047520160675, 0.026330089196562767, 0.21021591126918793, 0.19179648160934448, -0.013342631049454212, 0.009272265248000622, 0.16293150186538696, -0.1287594884634018, -0.43936240673065186, 0.6853787899017334, -0.8518128991127014, -0.4155082106590271, -0.32768115401268005, -0.8466455936431885, -0.015611094422638416, 0.2853741943836212, 0.02777920849621296, 0.5999036431312561, -0.22674503922462463, 0.17805127799510956, -0.23083028197288513, -0.0501323826611042, 0.6964970231056213, 0.5335977673530579, -0.732561469078064, -0.6391969323158264, 0.651984453201294, -0.11907686293125153, 0.08856068551540375, 0.5323208570480347, 0.2526650130748749, -0.3092021644115448, -0.5468765497207642, 0.03373495116829872, 0.37896889448165894, -0.5598687529563904, -0.12401530146598816, -0.5664079189300537, 0.0751928836107254, -0.1663041114807129, -0.4229603409767151, -0.39111655950546265, -0.5120577216148376, -0.3140929341316223, 0.1340734362602234, 0.21225817501544952, 0.5062514543533325, -0.13277889788150787, 0.7660810351371765, -0.6547679901123047, 0.34133127331733704, 0.07758846879005432, 0.3395092487335205, -0.3200938105583191, -0.27737829089164734, -0.4228321313858032, 0.13276121020317078, -0.49371573328971863, -0.6430092453956604, 0.37761133909225464, 0.6042375564575195, 0.3406941890716553, 0.5927342772483826, -0.2909266948699951, 0.9007688164710999, -0.4141424298286438, 0.7211416363716125, 0.44486284255981445, -0.9270208477973938, 0.6892789602279663, -0.8446639776229858, 0.5006749629974365, 0.8572438955307007, 0.2567984461784363, -0.4392799437046051, -0.4977843463420868, -0.4553394615650177, -0.6378864049911499, 0.38460952043533325, -0.21971459686756134, 0.15859626233577728, -0.07143224775791168, 0.411266565322876, 0.23867283761501312, 0.6835393309593201, -0.9411739706993103, 0.24515387415885925, -0.4941524863243103, -0.2245989292860031, -0.007084478158503771, 0.11084470897912979, -0.4058417081832886, -0.20832552015781403, 0.12327690422534943, -0.395561158657074, 0.32908323407173157, 0.2737756669521332, -0.04303010553121567, 0.0026168443728238344, 0.032246269285678864, 0.8338713049888611, 0.9145579934120178, -0.3971506655216217, 0.42931151390075684, -0.43397456407546997, -0.5945241451263428, -0.42683497071266174, 0.32048481702804565, -0.3141801655292511, 0.03726436570286751, 0.6082065105438232, 0.890356183052063, 0.4806579053401947, -0.5715218186378479, 0.5068981051445007, 0.13399535417556763, -0.3126918375492096, -0.2755061686038971, -0.30254077911376953, 0.3189384639263153, 0.10129668563604355, 0.3643210828304291, 0.427795946598053, 0.33232763409614563, -0.54341721534729, 0.3048652112483978, 0.5824422836303711, -0.3117135465145111, -0.8608411550521851, 1.0003660917282104, 0.2506783604621887, -0.21917837858200073, 0.20939354598522186, 0.12169159203767776, -0.567197322845459, 0.5548596978187561, 0.5736439824104309, 0.5602954030036926, 0.2641144394874573, 0.27560025453567505, 0.08989601582288742, 0.2263830155134201, 0.10953701287508011, 0.2986808121204376, -0.09634269773960114, -0.5341561436653137, -0.654523491859436, -0.5126247406005859, -0.6759066581726074, 0.00614597462117672, -0.6438074707984924, 0.2779366970062256, -0.45297688245773315, -0.27146127820014954, 0.3615976870059967, -0.002640789607539773, -0.7769904136657715, -0.025527622550725937, 0.215426966547966, 0.7998956441879272, -0.8229677081108093, 0.6260032057762146, 0.8630623817443848, -0.45403650403022766, -0.4959106743335724, -0.23470519483089447, -0.04459301009774208, -0.49293026328086853, 0.8976553082466125, 0.3066954016685486, -0.22651681303977966, -0.3402014970779419, -0.5517802238464355, -0.8236989378929138, 0.7830484509468079, 0.37001124024391174, -0.4986199140548706, 0.06378651410341263, 0.10039301216602325, 0.6056386828422546, -0.6912973523139954, 0.4315548837184906, 0.07072418928146362, 0.6942285299301147, -0.03254302591085434, -1.1306687593460083, -0.3560773432254791, -0.29502353072166443, -0.13906288146972656, 0.4658415615558624, -0.47099605202674866, 1.0101549625396729, -0.15206654369831085, -0.12375462800264359, 0.22856773436069489, 0.8846129179000854, 0.08465735614299774, 0.5279343128204346, 0.5881520509719849, 0.4770272374153137, 0.43965035676956177, 0.019752226769924164, 1.0129103660583496, -0.45359790325164795, 0.39574167132377625, 1.2593798637390137, -0.440918505191803, 1.0272282361984253, 1.155604362487793, -0.0961833968758583, 0.3778245449066162, 0.3362005650997162, -0.11060307919979095, 0.9216408133506775, -0.1586020588874817, -0.18006813526153564, -0.041102755814790726, -0.46409255266189575, -0.31050628423690796, 0.6398616433143616, 0.38500508666038513, -0.20509205758571625, -0.6185161471366882, 0.2454180270433426, -0.036520060151815414, 0.5562371611595154, -0.22444865107536316, 0.6614940762519836, -0.05856006592512131, -0.6965149641036987, 0.19093139469623566, -0.08139215409755707, 0.9345245957374573, -0.6312763094902039, -0.06736535578966141, 0.20611290633678436, 0.0651150718331337, -0.25818565487861633, -0.6878562569618225, 0.7442770004272461, -0.05177717283368111, -0.42900875210762024, -0.1274239420890808, 0.44622641801834106, -0.47030696272850037, -0.7673419713973999, 0.11433680355548859, 0.2737889885902405, 0.12736918032169342, 0.17897234857082367, -0.4656473398208618, -0.04294240102171898, -0.222609743475914, -0.23158839344978333, 0.09321136027574539, -0.05363326519727707, -0.00508294440805912, 0.391703337430954, 0.8470616340637207, 0.28587135672569275, -0.018630297854542732, -0.09973210096359253, 1.0102496147155762, -0.7708044648170471, -0.6634988784790039, -0.5413710474967957, 0.29304274916648865, -0.1728626936674118, -0.5115495324134827, 0.49107491970062256, 0.6719530820846558, 0.49837788939476013, -0.1944008767604828, 0.625490665435791, -0.08875226229429245, 0.8359503746032715, -0.5243174433708191, 0.3110133409500122, -0.4211995601654053, 0.20255602896213531, -0.30994465947151184, -0.9477797746658325, -0.5216681957244873, 0.5753962993621826, -0.7099440693855286, -0.11035051196813583, 0.672164797782898, 0.6788508892059326, -0.40688595175743103, 0.1638614684343338, -0.0447315089404583, -0.18562215566635132, 0.4013601243495941, 0.4548739194869995, 0.7926024198532104, -0.4173918664455414, 0.7025485038757324, -0.25952258706092834, -0.14171485602855682, -0.16835202276706696, -1.2880834341049194, -0.8969839215278625, -0.6303486227989197, -0.27811744809150696, 0.2105841189622879, -0.0077362521551549435, 0.7075762152671814, 0.8395593762397766, -0.621551513671875, -0.4476557672023773, -0.25350889563560486, -0.3878806531429291, 0.0774015262722969, -0.20815697312355042, 0.6399682760238647, -0.07106316834688187, -0.8019049167633057, 0.49436309933662415, 0.31950128078460693, 0.1098288968205452, -0.17031559348106384, 0.1356186866760254, -0.26672932505607605, -0.19368377327919006, 0.29894495010375977, 0.42553016543388367, -0.6826738715171814, -0.46762698888778687, 0.26979705691337585, 0.051638271659612656, -0.07643651217222214, 0.8612397909164429, -0.6409836411476135, 0.3976175785064697, 0.23746651411056519, 0.7122968435287476, 0.7380746603012085, 0.10590420663356781, 0.6038805246353149, -0.6102877259254456, 0.6099551916122437, 0.2487046718597412, 0.3370268940925598, 0.4331981837749481, -0.06330887228250504, 0.3714490234851837, 0.04330391064286232, -0.6353685855865479, -0.7854679822921753, 0.23165173828601837, -1.2701876163482666, -0.15722407400608063, 0.6506839990615845, 0.06861350685358047, -0.27193915843963623, 0.14117562770843506, -0.2752545475959778, -0.14227932691574097, -0.3050324320793152, 0.9655188918113708, 0.7613789439201355, -0.2127397656440735, -0.30747517943382263, -0.6609675884246826, 0.23337726294994354, 0.43776121735572815, -0.9103232026100159, -0.20526021718978882, 0.4738630950450897, 0.023721523582935333, 0.7466603517532349, 0.3690991997718811, -0.23885071277618408, 0.19275297224521637, -0.18985766172409058, 0.13874728977680206, -0.3634352684020996, -0.4353395104408264, -0.0583854615688324, 0.15986356139183044, -0.05661246180534363, -0.2577665150165558 ]
http://arxiv.org/abs/2403.08763v3
http://arxiv.org/pdf/2403.08763v3
Simple and Scalable Strategies to Continually Pre-train Large Language Models
2024-03-13T17:58:57
2024-03-26T17:58:48
Adam Ibrahim, Benjamin Thérien, Kshitij Gupta, Mats L. Richter, Quentin Anthony, Timothée Lesort, Eugene Belilovsky, Irina Rish
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) are routinely pre-trained on billions of tokens, only to start the process over again once new data becomes available. A much more efficient solution is to continually pre-train these models, saving significant compute compared to re-training. However, the distribution shift induced by new data typically results in degraded performance on previous data or poor adaptation to the new data. In this work, we show that a simple and scalable combination of learning rate (LR) re-warming, LR re-decaying, and replay of previous data is sufficient to match the performance of fully re-training from scratch on all available data, as measured by the final loss and the average score on several language model (LM) evaluation benchmarks. Specifically, we show this for a weak but realistic distribution shift between two commonly used LLM pre-training datasets (English$\rightarrow$English) and a stronger distribution shift (English$\rightarrow$German) at the $405$M parameter model scale with large dataset sizes (hundreds of billions of tokens). Selecting the weak but realistic shift for larger-scale experiments, we also find that our continual learning strategies match the re-training baseline for a 10B parameter LLM. Our results demonstrate that LLMs can be successfully updated via simple and scalable continual learning strategies, matching the re-training baseline using only a fraction of the compute. Finally, inspired by previous work, we propose alternatives to the cosine learning rate schedule that help circumvent forgetting induced by LR re-warming and that are not bound to a fixed token budget.
[ -0.21889878809452057, -0.5576915144920349, 0.3577520251274109, 0.14229172468185425, -0.38370826840400696, 0.02155238576233387, -0.635266125202179, 0.009320525452494621, 0.19089479744434357, 0.40376144647598267, -0.5472318530082703, -0.2174040526151657, -0.4094177186489105, -0.029357755556702614, -0.20141012966632843, 0.8540974259376526, -0.12260175496339798, 0.049622539430856705, 0.055529456585645676, -0.13977105915546417, -0.3413022756576538, -0.5660576820373535, -1.1641687154769897, -0.43893712759017944, 0.7255702018737793, 0.3696255385875702, 0.5006546378135681, 0.6196943521499634, 0.4696267247200012, 0.1735754907131195, 0.02551610954105854, -0.07805667817592621, -0.9245033860206604, 0.13252103328704834, -0.03929858282208443, -0.5343570113182068, -0.20903116464614868, -0.14526817202568054, 0.9769602417945862, 0.7977423667907715, -0.462318480014801, 0.25490787625312805, 0.022252151742577553, 0.6100364327430725, -0.6411630511283875, 0.11718804389238358, -0.9317169785499573, -0.004298817832022905, -0.30354607105255127, -0.2620800733566284, -0.7678585648536682, -0.3086033761501312, -0.08591800183057785, -0.4644472897052765, 0.11528035998344421, -0.11410515755414963, 0.7431932687759399, 0.21365594863891602, -0.14683997631072998, -0.017481885850429535, -0.7278298139572144, 0.8477451205253601, -0.6594435572624207, 0.7860385775566101, 0.18868274986743927, 0.2804966866970062, -0.10883981734514236, -0.7087208032608032, -0.39485132694244385, -0.4579432010650635, 0.2705111503601074, -0.022872330620884895, 0.030249007046222687, -0.4130386412143707, 0.17056706547737122, 0.15622316300868988, -0.1800900250673294, 0.4028756022453308, -0.06447866559028625, -0.1637943685054779, 0.5557872653007507, 0.2136220782995224, 0.032550934702157974, 0.4857482612133026, -0.25912046432495117, -0.6141413450241089, -1.0217547416687012, 0.0003605915408115834, 0.2398364096879959, 0.43429285287857056, -0.03707081824541092, 0.13736680150032043, 0.17720025777816772, 0.5064840912818909, 0.19587348401546478, -0.270645409822464, 0.4667806327342987, -0.3526325225830078, 0.02697164937853813, -0.18223349750041962, 0.5463554859161377, 0.12037455290555954, 0.43205398321151733, -0.27581921219825745, -0.4695441424846649, -0.18480853736400604, 0.2533031702041626, -0.7164233326911926, -0.2368350327014923, -0.20916013419628143, -0.19906441867351532, -0.02602062188088894, -0.336813747882843, -0.5754638910293579, -0.05774901434779167, -0.4751124382019043, 0.48692524433135986, -0.28603336215019226, -0.3353586792945862, 0.28897711634635925, 0.20788909494876862, 0.4021381735801697, 0.39778590202331543, -1.049782395362854, 0.27024179697036743, 0.4350578486919403, 0.802016019821167, -0.3429100215435028, -0.43945035338401794, -0.6380225419998169, 0.005357489921152592, -0.6642147898674011, 0.6242356896400452, -0.2880707383155823, -0.18095330893993378, 0.10567720979452133, 0.09896837919950485, -0.158472940325737, -0.5593447089195251, 0.21963092684745789, -0.6706846356391907, 0.09717529267072678, -0.3190489709377289, -0.49391478300094604, 0.35092371702194214, 0.29201358556747437, -0.7864805459976196, 0.9401296973228455, 0.08600937575101852, -0.7039122581481934, 0.6053004860877991, -0.33027034997940063, -0.46664535999298096, -0.1614503562450409, 0.21821099519729614, -0.7318746447563171, 0.11599181592464447, 0.0881940945982933, 0.42490747570991516, -0.135438933968544, 0.10305364429950714, -0.36627626419067383, -0.4026311933994293, 0.03760628402233124, -0.5907213687896729, 0.5030945539474487, 0.13952895998954773, -0.24210847914218903, -0.03016616590321064, -0.5891754031181335, 0.05769369378685951, 0.17523662745952606, -0.6550158262252808, -0.19618816673755646, 0.08339601755142212, 0.0399760976433754, -0.026211917400360107, 0.2617868185043335, -0.20816506445407867, 0.34318482875823975, -0.39701440930366516, 0.2918678820133209, 0.8496355414390564, -0.022164039313793182, 0.5008412599563599, -0.37669408321380615, 0.44065818190574646, 0.06074245646595955, 0.08193899691104889, -0.306571900844574, 0.16099628806114197, -0.8963753581047058, -0.305105984210968, 0.2147563248872757, 0.5267823934555054, -0.6593853831291199, 0.3549741208553314, -0.6350492835044861, -0.5327852964401245, -0.47465696930885315, 0.30196481943130493, 0.1895115226507187, 0.3042643666267395, 0.4293877184391022, -0.2396889477968216, -0.5259135961532593, -0.5503374338150024, -0.2541840076446533, -0.015718910843133926, 0.04576963558793068, 0.017574412748217583, 0.3508662283420563, -0.15039120614528656, 0.7472591996192932, -0.36357253789901733, 0.1809069663286209, -0.438993364572525, -0.03550463169813156, 0.3182361125946045, 0.33868157863616943, 0.2801848351955414, -0.43875551223754883, -0.5420272350311279, -0.033365264534950256, -0.4471263587474823, -0.05105157569050789, -0.33714917302131653, -0.029778581112623215, 0.3310849964618683, 0.8363472819328308, -0.4488690197467804, 0.04231823980808258, 0.4783448874950409, 0.033310048282146454, 0.5979196429252625, -0.32453227043151855, -0.12231730669736862, -1.0709095001220703, -0.08861668407917023, -0.2770775556564331, -0.35028910636901855, -0.6112227439880371, -0.10920652747154236, 0.13406088948249817, -0.04528116062283516, -0.6051795482635498, 0.8602669835090637, -0.6060746312141418, 0.13407988846302032, -0.10526973754167557, 0.043300483375787735, -0.326234370470047, 0.285452663898468, 0.10490204393863678, 0.709080696105957, 0.577764630317688, -0.7707237601280212, 0.11882216483354568, -0.06212908402085304, -0.3316057622432709, 0.27071377635002136, -0.5865027904510498, 0.26551353931427, -0.16735681891441345, 0.3845854103565216, -0.7293230891227722, 0.14439602196216583, 0.022948114201426506, -0.00787638034671545, 0.5827013254165649, -0.03597040846943855, -0.5099312663078308, -0.28225839138031006, -0.30902114510536194, 0.330234557390213, 0.771674394607544, -0.7086510062217712, 0.5047935843467712, 0.08714020997285843, -0.09920630604028702, -0.6113183498382568, -0.46841174364089966, 0.05147065222263336, -0.4009130597114563, -0.2964317500591278, 0.19682863354682922, -0.1769740879535675, -0.038338664919137955, -0.19289153814315796, -0.0874827429652214, 0.22267884016036987, 0.2212934046983719, -0.10719306766986847, 0.08661886304616928, -0.21427325904369354, 0.31223371624946594, -0.38600245118141174, -0.2797930836677551, -0.09466425329446793, -0.46941810846328735, 0.908062219619751, -0.049652282148599625, -0.35778024792671204, -0.3245599865913391, -0.0778822973370552, 0.6157670617103577, -0.03625135496258736, 1.0310368537902832, 0.5920240879058838, -0.21572217345237732, -0.17308194935321808, -0.7198400497436523, -0.31779029965400696, -0.4062880873680115, 0.6054568290710449, -0.4856263995170593, -0.7442631125450134, 0.5111772418022156, -0.17013214528560638, 0.24669165909290314, 0.2832894027233124, 0.6959801316261292, -0.058057088404893875, 0.5885934829711914, 0.7895386815071106, -0.4500647783279419, 0.7829114198684692, -0.06213155388832092, 0.17795442044734955, -0.5511366128921509, 0.015453333035111427, -0.33389121294021606, -0.08662804961204529, -0.3111029267311096, -0.4200984239578247, 0.21014033257961273, 0.28018108010292053, -0.5829533338546753, 0.1963745653629303, 0.03459281101822853, 0.5556719303131104, 0.30207908153533936, 0.01865130290389061, 0.060342852026224136, 0.2222096174955368, 0.10975431650876999, 0.008199193514883518, -0.8717526197433472, -0.1969260573387146, 1.3644558191299438, 0.48803508281707764, 1.0069780349731445, -0.00621397141367197, 0.9609155654907227, 0.023802440613508224, 0.6409122943878174, -0.4466399848461151, 0.3813278079032898, -0.17629499733448029, -0.1251668632030487, -0.6172600984573364, -0.6938988566398621, -1.1202583312988281, 0.1424838900566101, -0.16903716325759888, -0.2575867176055908, -0.0785745158791542, 0.43707144260406494, -0.005302142817527056, 0.47980713844299316, -0.6953954100608826, 0.7250081300735474, -0.33202609419822693, -0.30544111132621765, -0.2604840397834778, -0.3677162528038025, 0.18671828508377075, -0.49810072779655457, 0.2542839050292969, 0.0317034088075161, -0.07757595181465149, 0.7026436924934387, -0.2715568542480469, 0.8614799380302429, -0.24520625174045563, -0.10181494057178497, 0.04633883386850357, -0.000943890365306288, 0.7863497138023376, -0.05303080752491951, 0.009235990233719349, 0.1468401700258255, -0.1853424608707428, -0.6406657099723816, -0.5285991430282593, 0.4536536931991577, -0.8859111070632935, -0.5189657807350159, -0.1578735113143921, -0.4615837335586548, -0.1999611109495163, 0.2103138118982315, 0.32021868228912354, 0.3182610869407654, -0.2820266783237457, 0.3115188479423523, 0.7529880404472351, -0.1516318917274475, 0.4085487723350525, 0.49188441038131714, -0.31441447138786316, -0.36459118127822876, 0.7599945664405823, 0.10376547276973724, 0.7670329809188843, 0.415406733751297, 0.3544880449771881, -0.43482494354248047, -0.4998186528682709, -0.16579458117485046, 0.3296096920967102, -0.6026383638381958, -0.05560683831572533, -0.4888511896133423, -0.12337695062160492, -0.3868198096752167, -0.3860953450202942, -0.5397762656211853, -0.007819073274731636, -0.04837389662861824, 0.011502964422106743, 0.31793877482414246, 0.2736814320087433, -0.1676308810710907, 0.40366730093955994, -0.4077203869819641, 0.06278625130653381, 0.2324993759393692, 0.240219846367836, 0.1775800585746765, -0.8203531503677368, -0.41206490993499756, 0.11132648587226868, 0.09158558398485184, -0.42299577593803406, 0.30549097061157227, 0.3816036880016327, 0.6563591957092285, 0.16266845166683197, -0.2220740020275116, 0.7311474680900574, -0.7891972064971924, 0.5864114165306091, 0.47612643241882324, -0.7319502830505371, 0.20791766047477722, -0.06324021518230438, 0.5774186253547668, 0.6540600061416626, 0.49235105514526367, -0.6558883786201477, -0.22763539850711823, -0.5287331342697144, -0.8934248089790344, 0.353666752576828, -0.2886744439601898, 0.45152169466018677, -0.1191740483045578, 0.49061068892478943, 0.06665448844432831, 0.09714268147945404, -0.820980429649353, -0.13261249661445618, -0.2551729083061218, -0.14322447776794434, -0.5815911889076233, -0.2311921864748001, 0.05493445694446564, -0.28789618611335754, 0.5543710589408875, -0.12830287218093872, -0.04446727782487869, -0.20795680582523346, -0.25111743807792664, 0.08824742585420609, 0.2943582534790039, 0.36696353554725647, 0.7470578551292419, -0.2932019829750061, 0.15899668633937836, 0.5820272564888, -0.5270921587944031, 0.4664761424064636, -0.2219693511724472, -0.17843541502952576, -0.08135288953781128, 0.5996738076210022, 0.9108396768569946, 0.6539657711982727, -0.6398445963859558, 0.3397112488746643, 0.03871830552816391, -0.04624186456203461, -0.5383104681968689, -0.00023418782802764326, 0.36710691452026367, -0.038753002882003784, 0.2398281842470169, -0.09691685438156128, -0.7557114362716675, -0.7170241475105286, 0.41833776235580444, 0.36687445640563965, -0.17997218668460846, -0.28504589200019836, 0.40620025992393494, -0.05521921440958977, -0.31440430879592896, 0.8218246102333069, -0.1971205174922943, -0.4097038507461548, 0.2220040112733841, 0.704491138458252, 0.7034761905670166, -0.5125880837440491, 0.17041048407554626, 0.4489707052707672, 0.30933862924575806, -0.7270736694335938, 0.0691804364323616, 0.1203022375702858, -0.8993598818778992, -0.5022295713424683, -0.7071853876113892, -0.19286759197711945, 0.13623835146427155, -0.6441431641578674, 0.42268428206443787, -0.556726336479187, -0.03959031403064728, -0.34275075793266296, -0.012043901719152927, -0.9047913551330566, 0.1415928155183792, 0.07111245393753052, 1.0710362195968628, -0.9817023277282715, 1.01776921749115, 0.3066188395023346, -0.30435383319854736, -0.8498429656028748, 0.02524164691567421, -0.2983661890029907, -0.9838613867759705, 0.7330988645553589, -0.12744441628456116, -0.11957679688930511, 0.16464440524578094, -0.5042884349822998, -1.0925891399383545, 0.9614720940589905, 0.5386627316474915, -1.0051381587982178, -0.019179189577698708, -0.05575200542807579, 0.6143015623092651, -0.37039488554000854, 0.15132595598697662, 0.6038861870765686, 0.2668363153934479, 0.1751805990934372, -0.7185727953910828, -0.11632755398750305, 0.09706290811300278, -0.12386689335107803, 0.4250407814979553, -0.5774917602539062, 0.973597526550293, -0.3101089596748352, -0.2586585283279419, -0.24319568276405334, 0.5095705986022949, 0.2507513761520386, 0.1744939088821411, 0.7492058277130127, 0.7977673411369324, 0.8065884113311768, 0.027244416996836662, 0.9562249779701233, -0.2678837776184082, 0.48932966589927673, 1.0590277910232544, -0.42455199360847473, 1.3021764755249023, 0.4522622227668762, -0.24600718915462494, 0.2235856056213379, 0.5847551226615906, -0.003484461223706603, 0.6101677417755127, 0.5050398707389832, -0.21732518076896667, -0.5288957357406616, 0.2819163501262665, -0.4348239600658417, 0.037211380898952484, 0.09546102583408356, 0.09289658814668655, -0.3760369122028351, 0.17843623459339142, 0.37054479122161865, -0.11411821097135544, -0.37876230478286743, 0.6384865045547485, 0.1955716460943222, -0.4707527458667755, 0.9561307430267334, -0.3532290756702423, 0.6992998123168945, -0.8931972980499268, 0.35989803075790405, -0.44367197155952454, 0.3644596040248871, 0.13014306128025055, -0.35238906741142273, 0.19039960205554962, -0.1824866682291031, -0.2576274573802948, -0.38207510113716125, 0.18255484104156494, -0.5505543947219849, -0.6497979760169983, 0.20936012268066406, 0.2905759811401367, 0.07642856985330582, 0.23310908675193787, -0.593847930431366, 0.3164326846599579, 0.036957964301109314, -0.3525455892086029, 0.6380258798599243, 0.3418259620666504, -0.12984636425971985, 0.9089469313621521, 0.8800714612007141, 0.39975255727767944, 0.17992746829986572, 0.24824918806552887, 0.7303123474121094, -0.6816241145133972, -0.3914823830127716, -0.7918863892555237, 0.17322491109371185, 0.13767015933990479, -0.33043330907821655, 0.5950324535369873, 0.3678903579711914, 0.89703768491745, -0.08973310887813568, 0.5764511823654175, 0.39406535029411316, 0.38309693336486816, -0.8253452181816101, 0.5152295827865601, -0.5490467548370361, 0.3190195560455322, -0.01016487181186676, -1.1027289628982544, -0.13319659233093262, 0.4250546991825104, -0.34480854868888855, 0.09125296026468277, 0.7194639444351196, 0.665336012840271, 0.024652745574712753, -0.5763795971870422, 0.2869817316532135, 0.399277001619339, 0.5333274602890015, 0.6749131083488464, 0.6790981292724609, -0.21624842286109924, 0.3281269967556, 0.03645740821957588, -0.0915178507566452, -0.12826025485992432, -0.9701352119445801, -0.7200238704681396, -0.47691893577575684, -0.41756898164749146, -0.28760555386543274, 0.30357417464256287, 0.8017971515655518, 0.6677186489105225, -0.659228503704071, -0.27587592601776123, -0.017832178622484207, -0.24952784180641174, -0.32613542675971985, -0.1512640118598938, 0.6093695163726807, -0.8338661193847656, -0.40813592076301575, 0.32425639033317566, 0.13996759057044983, -0.013088037259876728, -0.30300483107566833, -0.16751185059547424, -0.13680493831634521, 0.13182799518108368, 0.5067333579063416, 0.4549960494041443, -0.4959033727645874, -0.4041053354740143, -0.029623446986079216, -0.05747227370738983, -0.05169900506734848, 0.7712855339050293, -0.6816659569740295, 0.25648486614227295, 0.2708722949028015, 1.0339950323104858, 0.730537474155426, -0.15302059054374695, 0.5947587490081787, -0.5705616474151611, 0.23481379449367523, 0.09432028979063034, 0.23377472162246704, 0.43590599298477173, -0.10841277986764908, 0.2767268419265747, 0.2578043043613434, -0.5943511724472046, -1.0123207569122314, 0.12935569882392883, -0.7072256803512573, -0.15565375983715057, 1.0138545036315918, -0.2254014015197754, -0.12326040863990784, -0.01127484068274498, 0.1674310863018036, 0.0007661388372071087, 0.005058075301349163, 0.7685019373893738, 0.7562602758407593, 0.24988287687301636, -0.3583720624446869, -0.3950912356376648, 0.4638672173023224, 0.519233226776123, -0.6486626863479614, 0.28070229291915894, 0.20504644513130188, 0.7208825349807739, -0.07649737596511841, 0.8390100002288818, 0.07152844965457916, 0.039668213576078415, 0.08360621333122253, 0.11449559777975082, 0.1160634383559227, -0.45848044753074646, -0.46923837065696716, -0.015182489529252052, 0.2564050853252411, -0.03876124322414398 ]
http://arxiv.org/abs/2403.08755v2
http://arxiv.org/pdf/2403.08755v2
DAM: Dynamic Adapter Merging for Continual Video QA Learning
2024-03-13T17:53:47
2024-04-22T19:17:49
Feng Cheng, Ziyang Wang, Yi-Lin Sung, Yan-Bo Lin, Mohit Bansal, Gedas Bertasius
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
We present a parameter-efficient method for continual video question-answering (VidQA) learning. Our method, named DAM, uses the proposed Dynamic Adapter Merging to (i) mitigate catastrophic forgetting, (ii) enable efficient adaptation to continually arriving datasets, (iii) handle inputs from unknown datasets during inference, and (iv) enable knowledge sharing across similar dataset domains. Given a set of continually streaming VidQA datasets, we sequentially train dataset-specific adapters for each dataset while freezing the parameters of a large pretrained video-language backbone. During inference, given a video-question sample from an unknown domain, our method first uses the proposed non-parametric router function to compute a probability for each adapter, reflecting how relevant that adapter is to the current video-question input instance. Subsequently, the proposed dynamic adapter merging scheme aggregates all the adapter weights into a new adapter instance tailored for that particular test sample to compute the final VidQA prediction, mitigating the impact of inaccurate router predictions and facilitating knowledge sharing across domains. Our DAM model outperforms prior state-of-the-art continual learning approaches by 9.1% while exhibiting 1.9% less forgetting on 6 VidQA datasets spanning various domains. We further extend DAM to continual image classification and image QA and outperform prior methods by a large margin. The code is publicly available at: https://github.com/klauscc/DAM
[ -0.5996203422546387, -0.6542360186576843, 0.3057604134082794, 0.16111621260643005, -0.45718914270401, 0.13889308273792267, 0.17985916137695312, 0.045483481138944626, -0.17165789008140564, 0.28559446334838867, -0.4076307415962219, -0.08669663965702057, -0.6249731779098511, -0.35176771879196167, -0.4877455234527588, 0.7400872707366943, -0.4070751667022705, 0.04931803047657013, -0.5680403709411621, -0.38755765557289124, -0.6835449934005737, 0.004787326790392399, -0.7813090085983276, -0.04587014392018318, 0.5557968020439148, 0.5572730302810669, 0.4348107576370239, 0.44340118765830994, 0.5528648495674133, 0.3144693374633789, 0.07698255032300949, 0.27398252487182617, -0.7716958522796631, 0.41630229353904724, -0.1133330687880516, -0.0923033133149147, -0.03553631901741028, -0.3650604784488678, 1.066941738128662, 0.3999304175376892, -0.3811779320240021, 0.4969625771045685, -0.044997602701187134, 0.7244977355003357, -0.9245036840438843, 0.08346341550350189, -0.7421253323554993, -0.02139369212090969, 0.28095027804374695, -0.26326537132263184, -0.18865104019641876, -0.5595543384552002, 0.1992582380771637, -0.5268428921699524, 0.15354733169078827, -0.09095318615436554, 0.9976890087127686, 0.932910144329071, -0.5133278369903564, 0.14371709525585175, -0.9384564161300659, 0.6478961110115051, -0.32637181878089905, 0.4970889389514923, -0.01331047248095274, 0.7897689342498779, -0.05480208620429039, -0.9256541132926941, -1.0284861326217651, 0.12978136539459229, 0.6129879951477051, 0.2480919361114502, -0.24770928919315338, 0.01258467510342598, 0.25449588894844055, 0.5588884949684143, -0.4211823344230652, -0.07385966926813126, -0.5154556035995483, 0.01736091822385788, 0.4464876055717468, 0.08553525805473328, 0.37682637572288513, 0.06672186404466629, -0.4438762664794922, -0.19705191254615784, -0.5445733666419983, 0.38132449984550476, -0.00856369361281395, -0.3460632264614105, -0.05147774890065193, 0.32166755199432373, -0.19344502687454224, 0.7017069458961487, 0.39434629678726196, -0.07275018095970154, 0.2199903130531311, -0.06754305213689804, -0.2655748426914215, 0.005383439362049103, 0.5277270674705505, 0.4338945746421814, 0.15337547659873962, -0.1561548262834549, -0.01904788240790367, -0.17174974083900452, 0.6248419880867004, -0.8434126377105713, -0.7437249422073364, 0.20812878012657166, -0.20758028328418732, -0.10911968350410461, 0.022352438420057297, -0.8418035507202148, -0.31831467151641846, -0.16140994429588318, 0.8600630164146423, -0.31716397404670715, -0.23198170959949493, -0.16214245557785034, -0.26185962557792664, 0.6368894577026367, 0.43000951409339905, -0.5586145520210266, 0.3228834569454193, 0.19568361341953278, 0.747175395488739, -0.26728129386901855, -0.38372567296028137, -1.1798592805862427, 0.2501949369907379, -0.3498026132583618, 0.7620843052864075, -0.24596841633319855, -0.1558723896741867, 0.015484454110264778, -0.0033386305440217257, -0.1398407369852066, -0.7080442309379578, 0.12279187142848969, -1.1379153728485107, 0.06656660884618759, -0.18615654110908508, -0.5422224998474121, -0.5731968879699707, 0.2726303040981293, -0.8413918018341064, 0.8668020367622375, 0.2724301815032959, -0.5350256562232971, 0.44454413652420044, -0.4029035270214081, 0.0415206104516983, 0.17902341485023499, 0.0627555400133133, -0.9091858863830566, -0.22986532747745514, -0.03339808061718941, 0.1428384929895401, -0.030359163880348206, 0.40364667773246765, -0.4744977653026581, -0.42607754468917847, 0.14242292940616608, -0.4538411498069763, 0.3393505811691284, 0.024711446836590767, -0.3397354483604431, 0.13526678085327148, -0.6283414959907532, 0.018413901329040527, -0.21483011543750763, -0.35446152091026306, -0.02947336807847023, -0.019953079521656036, -0.16689859330654144, 0.4487859606742859, 0.148351788520813, -0.3755733370780945, 0.03576752915978432, 0.25711822509765625, 0.17163927853107452, 0.755477786064148, 0.4128151535987854, 0.3769647181034088, -0.40352973341941833, 0.6961033940315247, 0.3020350933074951, 0.32844793796539307, -0.031017450615763664, -0.43846774101257324, -0.8809821605682373, -0.2516076862812042, 0.48175445199012756, 0.644074022769928, -1.0375360250473022, 0.0833398774266243, -0.4384315609931946, -0.6790727376937866, -0.29072311520576477, 0.36238527297973633, 0.3043570816516876, 0.7989901304244995, 0.6421561241149902, -0.4938797056674957, -0.4381493628025055, -0.4770947992801666, 0.18288643658161163, -0.33958837389945984, -0.16410976648330688, 0.26468586921691895, 0.2723537087440491, -0.037562496960163116, 0.8601409196853638, -0.49010366201400757, -0.20568175613880157, -0.010981627739965916, 0.18095101416110992, -0.04785561561584473, 0.4568364918231964, 0.5469578504562378, -1.2012507915496826, -0.6166841387748718, -0.2801641821861267, -0.9296217560768127, 0.24323691427707672, -0.2616319954395294, -0.1827191859483719, -0.24436400830745697, 0.36314666271209717, -0.36471304297447205, 0.400619775056839, 0.6570097804069519, 0.04184988886117935, 0.6654835939407349, -0.30815058946609497, 0.3404448628425598, -1.0168631076812744, -0.2970302700996399, -0.2347881942987442, -0.03268418833613396, -0.42241808772087097, -0.029990924522280693, 0.10699793696403503, -0.09032312780618668, -0.6408024430274963, 0.5016564130783081, -0.31626737117767334, 0.22565867006778717, -0.28940725326538086, 0.02988380752503872, -0.2538740634918213, 0.7248332500457764, -0.2268732488155365, 0.8005399107933044, 1.0557186603546143, -1.1750296354293823, 0.8110567331314087, 0.44350385665893555, -0.20819410681724548, 0.4523140788078308, -0.5973095297813416, -0.004799640737473965, -0.2054578810930252, 0.30738916993141174, -1.0854007005691528, -0.14060132205486298, 0.18181484937667847, -0.42832353711128235, 0.3102024495601654, -0.35818666219711304, -0.07713450491428375, -0.40922480821609497, -0.19925300776958466, 0.6519126296043396, 0.7258458137512207, -0.6907403469085693, 0.8682277798652649, 0.5497466325759888, -0.18710550665855408, -0.5432822704315186, -0.4496847987174988, 0.0807308629155159, -0.5029672384262085, -0.5289250016212463, 0.33619868755340576, -0.34561046957969666, 0.0847642719745636, 0.21089968085289001, -0.3966215252876282, -0.6960177421569824, -0.21181152760982513, 0.46966660022735596, 0.4183928966522217, -0.2008669525384903, 0.1523023098707199, 0.18770040571689606, 0.15359073877334595, 0.09507586061954498, -0.4843887686729431, 0.12401293963193893, 0.012910837307572365, -0.3240680396556854, -0.4348699450492859, 0.42785441875457764, 0.7284418940544128, -0.1678386777639389, 0.8489755988121033, 0.7402332425117493, -0.27281299233436584, -0.015658719465136528, -0.8176082968711853, 0.09770045429468155, -0.48955485224723816, 0.29648926854133606, -0.34728145599365234, -0.9258744716644287, 0.6588642597198486, -0.20125769078731537, 0.18353359401226044, 0.10179763287305832, 0.41176536679267883, -0.38767433166503906, 0.6258875727653503, 0.7965914011001587, -0.006916017271578312, 0.7771912813186646, -0.5469173789024353, 0.3291459381580353, -0.7595339417457581, -0.2581007778644562, 0.06282727420330048, -0.44690245389938354, -0.5374987125396729, -0.5272756218910217, 0.5470069646835327, 0.09605073183774948, -0.5226859450340271, 0.11594673991203308, -0.10429401695728302, 0.3240744173526764, 0.46381300687789917, 0.2793472707271576, 0.025876155123114586, 0.047449324280023575, 0.05615749955177307, 0.10863064974546432, -0.9514381885528564, -0.01758013293147087, 0.9103995561599731, 0.05992342531681061, 0.5839149951934814, 0.26052868366241455, 0.4885389506816864, 0.3568481504917145, 0.12121263146400452, -0.7717078924179077, 0.6081181764602661, -0.021938269957900047, -0.1500239223241806, -0.5191987752914429, -0.47128960490226746, -0.8900704383850098, -0.03479931503534317, -0.0204131118953228, -0.356478750705719, 0.3708569407463074, 0.5466113686561584, -0.49445730447769165, 0.6520959734916687, -0.536065936088562, 0.7984175086021423, 0.004632770083844662, -0.6023426651954651, -0.473064124584198, -0.6144358515739441, 0.6595631241798401, -0.3842368423938751, -0.06267734616994858, 0.24336518347263336, 0.0057850368320941925, 0.7232285737991333, -0.35160863399505615, 0.3858833909034729, -0.33087942004203796, 0.06614847481250763, 0.6568073034286499, 0.01686871610581875, 0.23268480598926544, 0.23459689319133759, 0.3086380958557129, -0.06706179678440094, -0.06766203045845032, -0.6769902110099792, -0.843917191028595, 0.5491480827331543, -0.6544201374053955, -0.4716116189956665, -0.2934306859970093, -0.6244823336601257, -0.3192192316055298, 0.042278140783309937, -0.11112936586141586, 0.6638488173484802, 0.14800198376178741, 0.36434316635131836, 1.1357500553131104, -0.222841277718544, 0.27490517497062683, 0.6296289563179016, 0.1795942783355713, -0.7535563707351685, 1.1686605215072632, -0.029340356588363647, 0.32079702615737915, 0.4481262266635895, -0.1146007627248764, -0.19421382248401642, -0.6556748151779175, -0.3818320333957672, 0.2192944586277008, -0.710307776927948, -0.32297107577323914, -0.5907882452011108, -0.48836660385131836, -0.17037472128868103, 0.1258298009634018, -0.18302622437477112, -0.11986003071069717, 0.021329378709197044, -0.051368653774261475, 0.47565343976020813, 0.3020665645599365, -0.23019391298294067, 0.423405259847641, -1.0467296838760376, 0.8045850396156311, 0.9765506386756897, 0.4552967846393585, 0.043817613273859024, -0.9400133490562439, -0.35334861278533936, -0.07180248945951462, -0.5639756917953491, -0.9227023720741272, 0.162819042801857, 0.4976784884929657, 0.6758637428283691, 0.5525851845741272, 0.3243756592273712, 0.9857310652732849, -0.6228298544883728, 0.8753457069396973, 0.28260406851768494, -0.6176540851593018, 0.33873337507247925, -0.14732976257801056, 0.40448611974716187, 0.7197344899177551, 0.5946575999259949, -0.3674299120903015, -0.3303970694541931, -0.6054797768592834, -0.9389268159866333, 0.144941508769989, 0.03687756508588791, 0.1764390766620636, 0.18118463456630707, 0.31447193026542664, -0.1281365305185318, 0.0921662449836731, -0.3007543385028839, -0.1836024969816208, -0.31200337409973145, -0.04201781377196312, 0.14569878578186035, -0.24917593598365784, -0.17526476085186005, -0.5100556015968323, 0.7281211018562317, -0.2330455482006073, 0.14210177958011627, -0.10140103101730347, -0.26390907168388367, -0.16401714086532593, -0.09411760419607162, 0.2748311460018158, 0.8885812759399414, -0.22555717825889587, 0.014742005616426468, 0.5858697891235352, -0.7508984208106995, 0.29523545503616333, 0.05853056535124779, -0.26151663064956665, 0.04914388433098793, -0.026829149574041367, 0.9129855036735535, 0.39955323934555054, -0.857315182685852, 0.39334216713905334, -0.4048454463481903, -0.5182429552078247, -0.5161773562431335, 0.26950690150260925, -0.09117617458105087, 0.39125731587409973, 0.36974576115608215, 0.2682133615016937, 0.06554465740919113, -0.21829256415367126, 0.7007709741592407, 0.2822609543800354, -0.5769377946853638, -0.1045929417014122, 0.7805300354957581, 0.1770029366016388, -0.07975495606660843, 0.905143678188324, -0.21617913246154785, -0.5929045081138611, 0.48862582445144653, -0.03366292640566826, 0.9141632318496704, -0.33318373560905457, 0.2533561587333679, 0.5798227190971375, -0.15290521085262299, -0.13406683504581451, 0.2139558345079422, -0.5342251658439636, -0.5693197250366211, -0.6877818703651428, -0.5372865200042725, -0.6999965310096741, 0.08649991452693939, -0.7872747182846069, 0.4648835062980652, -0.08464526385068893, 0.11108851432800293, -0.46474626660346985, -0.043657124042510986, -0.5543401837348938, 0.38639330863952637, 0.17029082775115967, 0.9693754315376282, -0.6299885511398315, 0.9722798466682434, 0.7185306549072266, -0.581866443157196, -1.0031633377075195, 0.20569299161434174, -0.22710049152374268, -0.4342421591281891, 0.5106529593467712, -0.14035820960998535, -0.10138478130102158, 0.19946737587451935, -0.5108097195625305, -0.9008886814117432, 1.2682039737701416, 0.3007639944553375, -0.30187535285949707, -0.09346602112054825, -0.21418632566928864, 0.1980694830417633, -0.02145162597298622, 0.12825384736061096, 0.34327247738838196, 0.29348108172416687, 0.6680464744567871, -0.7159299850463867, -0.22581897675991058, -0.3769645392894745, -0.227985680103302, 0.1228003203868866, -0.6231471300125122, 0.3626861870288849, -0.506361186504364, -0.061458390206098557, -0.0028509858530014753, 1.1222208738327026, 0.36429744958877563, 0.5690003633499146, 0.9146721959114075, 0.4829697012901306, 0.7858484387397766, 0.07221359759569168, 0.513282060623169, -0.3025626540184021, 0.3144768476486206, 1.1240129470825195, 0.052600763738155365, 0.9090750813484192, 0.5478213429450989, -0.13724660873413086, 0.8045070767402649, 0.6948511004447937, -0.11212275922298431, 0.658775806427002, 0.146166130900383, -0.5751447677612305, -0.4598354399204254, 0.13865990936756134, -0.3355962932109833, 0.3156379461288452, 0.06667941808700562, 0.1712689995765686, -0.2775001525878906, 0.14988884329795837, -0.30932095646858215, -0.14538761973381042, -0.3202248215675354, 0.9739865660667419, -0.04720310866832733, -0.8225756287574768, 0.8241930603981018, -0.7098331451416016, 0.4116174876689911, -0.7287495136260986, -0.13832269608974457, -0.2516929507255554, 0.18884599208831787, -0.0702461525797844, -0.777641236782074, 0.42486050724983215, 0.11699327081441879, -0.32458245754241943, -0.02950901910662651, 0.32150891423225403, -0.7143005728721619, -0.12713110446929932, -0.08276340365409851, 0.19355376064777374, 0.20443816483020782, -0.10643427073955536, -0.5316986441612244, -0.15139342844486237, -0.11621519178152084, 0.11569145321846008, 0.4621065557003021, 0.5114767551422119, 0.046395011246204376, 1.0414897203445435, 0.4521372616291046, 0.03497103974223137, 0.38164761662483215, -0.024312926456332207, 1.134190320968628, -0.42367053031921387, -0.5117232799530029, -0.2837122678756714, 0.6929685473442078, -0.10453731566667557, -0.05528195574879646, 0.478899210691452, 0.5430458784103394, 0.7868208289146423, -0.17541518807411194, 0.7729707360267639, -0.04911567643284798, 0.001096515217795968, -0.3848470151424408, 0.6205834746360779, -0.6713411211967468, 0.12340492755174637, -0.03950147330760956, -0.8655279278755188, -0.03979331627488136, 0.09571108967065811, -0.18472567200660706, -0.1688471883535385, 0.7517978549003601, 0.5558385848999023, -0.19894272089004517, -0.25831735134124756, 0.34575939178466797, 0.01924702525138855, 0.44562840461730957, 0.6797932386398315, 0.7194142937660217, -0.6514512896537781, 1.0717368125915527, -0.3243996500968933, -0.3560561239719391, 0.06678406894207001, -0.8092008829116821, -0.5965193510055542, -0.8288393020629883, -0.8364261388778687, -0.31392785906791687, 0.20706990361213684, 0.3483314514160156, 0.6459084749221802, -0.8524630665779114, -0.03679037094116211, -0.09123460948467255, 0.2535038888454437, -0.6095520257949829, -0.26617246866226196, 0.2569214701652527, -0.31677842140197754, -0.7108110785484314, 0.07383088767528534, 0.29131510853767395, -0.16624175012111664, -0.26816821098327637, -0.1377614289522171, -0.1738160401582718, 0.16801919043064117, 0.4605603814125061, 0.5995671153068542, -0.43822312355041504, -0.23880527913570404, -0.05661572515964508, 0.2548040449619293, 0.08809541165828705, 0.7222145795822144, -1.1875146627426147, 0.6802470088005066, 0.6330122351646423, 0.9877175092697144, 0.54925936460495, 0.11888374388217926, 0.5983126759529114, -0.32300111651420593, -0.13186250627040863, 0.05835975706577301, 0.19565972685813904, 0.3732748031616211, -0.1690356582403183, 0.16144652664661407, 0.2459244281053543, -0.7380446791648865, -0.933440625667572, 0.2206510305404663, -1.2814127206802368, 0.06603936105966568, 0.9144864082336426, -0.29562637209892273, -0.22745026648044586, -0.2883610427379608, -0.0184248685836792, 0.6520469784736633, -0.18018202483654022, 1.150660514831543, 0.3308144807815552, -0.056822098791599274, -0.7399255633354187, -0.5609077215194702, 0.47259965538978577, 0.2596001625061035, -0.6698598265647888, -0.2490343302488327, 0.31896379590034485, 0.5054365992546082, -0.15792915225028992, 0.2775249481201172, 0.11300723999738693, 0.874829113483429, -0.07960441708564758, 0.015038357116281986, -0.13202020525932312, -0.37969186902046204, -0.4051947295665741, 0.30278483033180237, -0.12022798508405685, -0.7462994456291199 ]
http://arxiv.org/abs/2403.08743v1
http://arxiv.org/pdf/2403.08743v1
Steering LLMs Towards Unbiased Responses: A Causality-Guided Debiasing Framework
2024-03-13T17:46:28
2024-03-13T17:46:28
Jingling Li, Zeyu Tang, Xiaoyu Liu, Peter Spirtes, Kun Zhang, Liu Leqi, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) can easily generate biased and discriminative responses. As LLMs tap into consequential decision-making (e.g., hiring and healthcare), it is of crucial importance to develop strategies to mitigate these biases. This paper focuses on social bias, tackling the association between demographic information and LLM outputs. We propose a causality-guided debiasing framework that utilizes causal understandings of (1) the data-generating process of the training corpus fed to LLMs, and (2) the internal reasoning process of LLM inference, to guide the design of prompts for debiasing LLM outputs through selection mechanisms. Our framework unifies existing de-biasing prompting approaches such as inhibitive instructions and in-context contrastive examples, and sheds light on new ways of debiasing by encouraging bias-free reasoning. Our strong empirical performance on real-world datasets demonstrates that our framework provides principled guidelines on debiasing LLM outputs even with only the black-box access.
[ -0.09817298501729965, -0.6536795496940613, 0.8087421655654907, 0.21805311739444733, -0.30826178193092346, -0.2294098436832428, -0.17290779948234558, -0.03759719803929329, 0.03621707484126091, 0.693073034286499, -0.6253538727760315, -0.5712583065032959, -0.6320403814315796, -0.0442618727684021, -0.10521773993968964, 0.6824791431427002, 0.2773187458515167, 0.58528733253479, -0.4059247672557831, 0.05396443232893944, -0.43934497237205505, -0.6063258051872253, -0.9555840492248535, -0.6779736280441284, 0.7209866046905518, 0.6080583930015564, 0.6047645211219788, 0.5730971097946167, 0.14500048756599426, 0.13226404786109924, -0.19288237392902374, 0.02370712347328663, -0.7338960766792297, 0.29639700055122375, -0.22785894572734833, -0.5645188689231873, -0.07633472979068756, 0.11514073610305786, 0.3929951786994934, 0.9478142261505127, 0.026169294491410255, 0.385798841714859, 0.3458409607410431, 0.9422425031661987, -0.7115095257759094, 0.17074328660964966, -0.6147491931915283, -0.07427357137203217, -0.10554993152618408, -0.3074106276035309, -0.610427975654602, -0.5284703969955444, -0.1309848129749298, -0.2745146155357361, 0.31130698323249817, -0.044241175055503845, 0.12374380230903625, 0.4495117664337158, -0.7385575175285339, -0.00715592922642827, -0.7458364963531494, 0.7282024025917053, -0.5556997060775757, 0.3393232226371765, 0.7170085906982422, 0.13563190400600433, -0.20780032873153687, -0.12613774836063385, -0.20100589096546173, -0.1583615243434906, -0.029245393350720406, 0.02242249995470047, 0.0017751953564584255, 0.013896001502871513, 0.2852948307991028, -0.2512299716472626, -0.29639720916748047, 0.47362786531448364, -0.5406059622764587, 0.12546397745609283, 0.6659418940544128, -0.006335859186947346, -0.10168977081775665, -0.0029523291159421206, -0.23664513230323792, 0.069416344165802, -1.1617944240570068, -0.33048033714294434, 0.6806423664093018, 0.2703845500946045, -0.27399739623069763, 0.6791487336158752, -0.23781564831733704, 0.43723657727241516, 0.4778174161911011, 0.316520631313324, -0.0351744182407856, 0.10118812322616577, -0.1691829115152359, 0.4084160327911377, 0.5811002254486084, 0.5949413180351257, 0.4011213183403015, -0.21372324228286743, -0.022694753482937813, 0.4888732135295868, 0.1638565957546234, -0.6874097585678101, 0.3097871243953705, 0.3478575348854065, -0.5130318403244019, -0.5085363984107971, -0.21949993073940277, -1.0434215068817139, -0.8925286531448364, -0.4874567687511444, -0.16856110095977783, 0.02252713218331337, -0.041138894855976105, 0.1523548811674118, -0.07551062852144241, 0.10666419565677643, 0.2999921441078186, -0.8152267932891846, -0.03703278675675392, 0.530561625957489, 0.36850738525390625, -0.18835632503032684, 0.1995728313922882, -0.6664012670516968, 0.5145930051803589, -0.31025025248527527, 0.6322354078292847, -0.6261073350906372, -0.44856491684913635, 0.36942991614341736, -0.18864485621452332, 0.11028262227773666, -0.5711230039596558, 0.4745699167251587, -0.5786015391349792, 0.09027497470378876, -0.5806002616882324, -0.22330127656459808, -0.017676889896392822, -0.04925348609685898, -0.5440143942832947, 0.9172928929328918, -0.13791942596435547, -0.8673999905586243, 0.9188593626022339, -0.2231866419315338, -0.08489902317523956, -0.26712265610694885, -0.4788927733898163, -0.2832695245742798, 0.09890184551477432, 0.32672587037086487, 0.4360208213329315, -0.7686144709587097, 0.8950973749160767, -1.0357996225357056, -0.23729422688484192, 0.15099188685417175, -0.6385354399681091, 1.028876781463623, 0.30781713128089905, -0.5797622799873352, 0.3009023368358612, -0.6756855249404907, -0.5464737415313721, 0.021883130073547363, -0.19384630024433136, -0.5408517122268677, 0.2668967843055725, -0.35149478912353516, 0.3287718892097473, -0.15825632214546204, -0.4140048027038574, -0.08531410992145538, -0.031699519604444504, 0.19837768375873566, 1.0727241039276123, 0.07301956415176392, 0.6527757048606873, -0.2969365417957306, 0.26807600259780884, 0.1744910180568695, 0.3401801586151123, 0.5006793141365051, -0.08530158549547195, -0.5408625602722168, -0.1678619533777237, -0.22694428265094757, 0.40552443265914917, -0.7861599922180176, 0.4180644452571869, 0.0068428851664066315, -0.22980636358261108, -0.2915756106376648, 0.31262436509132385, 0.2721503973007202, 0.5202165246009827, 0.11601431667804718, 0.0024108444340527058, -0.5078046321868896, -0.9104621410369873, -0.21510417759418488, -0.4031139016151428, -0.09545779228210449, 0.08485843241214752, 0.2767288386821747, -0.37098222970962524, 0.5879573225975037, -0.42451488971710205, -0.14407548308372498, -0.09603030979633331, 0.024222740903496742, 0.16566315293312073, 0.32876962423324585, 0.4446122944355011, -0.6510002613067627, 0.16295228898525238, -0.485042005777359, -0.9351027011871338, -0.6815381050109863, -0.1408725082874298, -0.45544546842575073, -0.06546533107757568, 0.6942766308784485, -0.4684736728668213, 0.3601682186126709, 0.16512331366539001, -0.5413164496421814, 0.3141769766807556, -0.06334488093852997, -0.00738088833168149, -0.949707567691803, -0.02770909108221531, 0.41374117136001587, 0.08841761946678162, -0.12567344307899475, -0.2604193091392517, -0.32550251483917236, 0.10301797837018967, -0.36576327681541443, 0.7431538701057434, -0.47392717003822327, 0.0989668071269989, 0.07929132133722305, 0.3438505530357361, -0.20011314749717712, 0.2392459660768509, -0.06180530786514282, 0.3213616907596588, 0.3295725882053375, -0.6075096726417542, 0.15990330278873444, 0.4194871187210083, -0.2905611991882324, 0.8144625425338745, -0.6042656302452087, -0.08258526027202606, -0.7354035973548889, 0.4530813694000244, -0.834170401096344, -0.11607616394758224, 0.178776815533638, -0.27119919657707214, 0.007494468241930008, -0.16319826245307922, -0.2543712854385376, -0.4332999587059021, -0.4924145042896271, 0.4317338466644287, 0.29862168431282043, -0.4466695487499237, 0.1735246479511261, 0.5309516191482544, -0.09270332753658295, -0.7443612217903137, -0.8000997304916382, -0.2560873329639435, -0.4593973457813263, -0.287463515996933, 0.11667145043611526, -0.0032500969246029854, -0.7412652969360352, -0.12556524574756622, -0.009214549325406551, -0.0027441817801445723, 0.08787558972835541, 0.4198504686355591, 0.42021697759628296, 0.11479683220386505, 0.15132124722003937, 0.242980495095253, -0.22024033963680267, 0.43918079137802124, -0.285780668258667, 0.3919336497783661, 0.7904046177864075, -0.7499268054962158, -0.07086918503046036, 0.2982500195503235, 0.6059694290161133, 0.09851275384426117, 0.6096600294113159, 0.3475874662399292, -0.19757318496704102, -0.21053995192050934, -0.752875030040741, -0.5162351727485657, -0.39651522040367126, 0.038602184504270554, 0.40153059363365173, -0.9424307942390442, 0.34966158866882324, 0.05415619537234306, 0.07362111657857895, 0.21348261833190918, 0.9953373074531555, 0.219521164894104, 1.0290498733520508, 0.257879376411438, -0.24948596954345703, 0.5215545892715454, 0.026524871587753296, 0.10632844269275665, -0.6299726366996765, -0.2831360399723053, -0.5973652005195618, -0.1950426995754242, -0.5996837019920349, -0.46495291590690613, 0.285065233707428, 0.02963128685951233, -0.5864309072494507, -0.3677102029323578, -0.493415504693985, 0.2149023413658142, 0.667234480381012, 0.3028424382209778, 0.02153085358440876, -0.08342339098453522, -0.32893410325050354, 0.1421840488910675, -0.6087228655815125, -0.5909197926521301, 1.1267131567001343, 0.2539835572242737, 1.189501404762268, 0.03629394993185997, 0.5889677405357361, 0.5596761107444763, 0.516944944858551, -0.2518971264362335, 0.4748142957687378, 0.0067729344591498375, -0.873361349105835, -0.22767949104309082, -0.46477755904197693, -0.8272491097450256, 0.3459828197956085, -0.3800186812877655, -0.7055635452270508, 0.5801743865013123, 0.30419549345970154, -0.28295019268989563, 0.24469216167926788, -0.4513552486896515, 0.4846360981464386, -0.18699492514133453, -0.9019240140914917, -0.3900548815727234, -0.5303018093109131, 0.5512515306472778, -0.039047595113515854, 0.36356866359710693, -0.5086803436279297, 0.2717522382736206, 0.5850621461868286, -0.00997844710946083, 1.4474934339523315, -0.5172568559646606, -0.0410851389169693, 0.3430015742778778, -0.004812891595065594, 0.3005344271659851, 0.3468771278858185, -0.462484210729599, 0.13427048921585083, -0.061831872910261154, -0.2941689193248749, -0.2751215994358063, 0.8038845658302307, -0.6611456871032715, -0.7407785654067993, -0.16949337720870972, -0.42339256405830383, -0.41755157709121704, 0.0023323572240769863, 0.02687542885541916, 0.32873430848121643, -0.3818706274032593, 0.22866438329219818, 0.6799989938735962, -0.38178879022598267, 0.023002447560429573, 0.5909863710403442, -0.08645247668027878, -0.3568316698074341, 0.1774480640888214, 0.14333167672157288, 0.25688105821609497, 0.2902749180793762, 0.3290904462337494, -0.48627665638923645, -0.21063099801540375, -0.41763418912887573, 0.21193982660770416, -0.697053074836731, -0.21945184469223022, -0.3889386057853699, 0.23990097641944885, -0.6294637322425842, -0.23799557983875275, 0.12255095690488815, -0.17183297872543335, -0.24168884754180908, -0.43641582131385803, 0.21756583452224731, 0.8424221873283386, -0.2333480268716812, 0.29304230213165283, -0.41204312443733215, 0.3364325761795044, 0.39403748512268066, 0.021241389214992523, 0.17658957839012146, -0.27884945273399353, -0.017653215676546097, 0.21898330748081207, -0.333943247795105, -1.0371692180633545, 0.16623760759830475, -0.45215079188346863, 0.7613493204116821, 0.5452364683151245, 0.4099637269973755, 0.2642163336277008, -0.41752734780311584, 0.6821944117546082, 0.1722998470067978, -0.5006492137908936, 0.4635743498802185, -0.5583009123802185, 0.04544349014759064, 0.5824918746948242, 0.40742698311805725, -0.3805697560310364, -0.5370928645133972, -0.49303579330444336, -0.8645914196968079, 0.5190138816833496, -0.14177215099334717, -0.03378082811832428, -0.42317667603492737, 0.36887767910957336, 0.00618775887414813, 0.2661607563495636, -0.5881738662719727, -0.21741311252117157, 0.2851775586605072, -0.3445189297199249, -0.023388059809803963, -0.7304130792617798, -0.3891080319881439, -0.13238057494163513, 0.6637860536575317, -0.21446843445301056, 0.07599597424268723, 0.190440371632576, -0.1480182260274887, -0.32319360971450806, 0.3497403860092163, 0.4312067925930023, 0.6991094350814819, -0.19436056911945343, 0.3407505452632904, 0.09734488278627396, -0.05179140716791153, 0.3611193001270294, 0.029616285115480423, -0.530139148235321, -0.2223130613565445, 0.2460033893585205, 0.6160228848457336, 0.3342871367931366, -0.2578897178173065, 0.49838608503341675, 0.1992112100124359, -0.08497737348079681, -0.22178642451763153, -0.11776842176914215, 0.09527745842933655, 0.3081773817539215, 0.2733288109302521, -0.4704556465148926, -0.04199555516242981, -0.2536461353302002, 0.19356831908226013, 0.7051039934158325, -0.5816051363945007, -0.17220626771450043, 1.1185106039047241, 0.39873260259628296, 0.2370711714029312, 0.3330717086791992, 0.08978022634983063, -0.04283740743994713, 0.5976136326789856, 0.6438978314399719, 1.0072375535964966, -0.22060516476631165, 0.38776999711990356, 0.33358556032180786, 0.24019484221935272, -0.21676383912563324, 0.15881669521331787, 0.06404335051774979, -0.8490082025527954, -0.452789843082428, -0.49585896730422974, -0.3741084039211273, 0.10225094109773636, -0.8091080188751221, 0.32445111870765686, -0.40794846415519714, -0.2026136815547943, -0.0864643007516861, -0.42130324244499207, -0.7321697473526001, 0.25946757197380066, 0.27351856231689453, 0.7486949563026428, -1.1035772562026978, 0.650148332118988, 0.36847957968711853, -0.4405517578125, -0.41852039098739624, -0.1428678035736084, 0.5740978121757507, -1.1652562618255615, 0.9975924491882324, -0.0837140902876854, -0.2187950164079666, -0.48586228489875793, -0.692936897277832, -0.6127046346664429, 0.8616580367088318, 0.9023985266685486, -0.4819968640804291, -0.08738740533590317, 0.11534913629293442, 0.07997903227806091, -0.400568425655365, 0.40178993344306946, 0.4940266013145447, 0.5805264115333557, -0.08803769946098328, -0.39674580097198486, 0.2764511704444885, 0.159123957157135, 0.021866945549845695, -0.004967001266777515, -0.5150170922279358, 0.5397639870643616, -0.28229326009750366, -0.03640000894665718, -0.4593408405780792, 0.38791951537132263, 0.3601672351360321, 0.38453060388565063, 0.5255141854286194, 0.22507837414741516, 0.6975409984588623, 0.12602998316287994, 0.9146376848220825, -0.3947301208972931, 0.012553212232887745, 1.062216877937317, -0.662847101688385, 0.3338196873664856, 0.6662526726722717, -0.11197162419557571, 0.40364304184913635, 0.6884064674377441, 0.3280823528766632, 0.43083006143569946, 0.4791778326034546, -0.36179083585739136, -0.2847534120082855, -0.4956820607185364, -0.05873534455895424, 0.20274212956428528, 0.27125096321105957, -0.701794445514679, -0.429662823677063, -0.22262069582939148, 0.33170220255851746, 0.23517529666423798, -0.261691153049469, 0.7168322801589966, 0.28387996554374695, -0.6386299729347229, 0.3796454966068268, -0.2554621994495392, 0.6021384000778198, -0.6745156645774841, -0.11037616431713104, -0.3068752884864807, 0.1675085574388504, -0.2164088487625122, -0.580411970615387, 0.2779451012611389, -0.04230724647641182, -0.5764519572257996, -0.45479705929756165, 0.7774229049682617, -0.4980054795742035, -0.3970845937728882, 0.6060059666633606, 0.7941325902938843, -0.18000979721546173, 0.08453831821680069, -0.488452672958374, 0.09334104508161545, 0.1832982450723648, -0.26998868584632874, 0.4326240122318268, 0.5653573274612427, -0.4590536057949066, 0.5913320183753967, 0.7330273985862732, 0.36418667435646057, -0.20762412250041962, 0.45542147755622864, 0.780068039894104, -0.5179724097251892, -0.3765493929386139, -1.0806329250335693, 0.21612685918807983, -0.3135085105895996, -0.1341736614704132, 0.6390765309333801, 0.2887307405471802, 0.7339508533477783, 0.049780525267124176, 0.8059688806533813, 0.34402331709861755, 0.3157288134098053, -0.5601400136947632, 0.5362318158149719, -0.24573034048080444, 0.29480960965156555, -0.27675291895866394, -0.7566384673118591, -0.22307948768138885, 0.4951806664466858, -0.6815908551216125, 0.02207355387508869, 0.35344889760017395, 0.9237726926803589, 0.28485459089279175, -0.22595101594924927, 0.3080046474933624, 0.018518073484301567, 0.3713643252849579, 0.36090904474258423, 0.6868301033973694, 0.29892200231552124, 0.16255103051662445, 0.019226133823394775, -0.3776780962944031, -0.08035872876644135, -1.0596712827682495, -0.9790732860565186, -0.25488072633743286, -0.14887230098247528, -0.4377671480178833, 0.11957794427871704, 1.161190390586853, 0.530614972114563, -0.6080401539802551, -0.3410419821739197, 0.1983400285243988, 0.3894031345844269, 0.021114131435751915, -0.20253191888332367, 0.21209844946861267, -0.31531068682670593, -0.3881789445877075, 0.14128394424915314, 0.1896071583032608, -0.25981605052948, -0.4611446261405945, 0.013473611325025558, -0.1686430126428604, 0.2591473162174225, 0.5971412062644958, -0.06229668855667114, -0.5305613279342651, -0.26861336827278137, -0.414882093667984, -0.12021621316671371, -0.24267682433128357, 1.0572271347045898, -0.6844707727432251, 0.14698825776576996, 0.3767824172973633, 0.5786798000335693, 0.2704616189002991, -0.10950881242752075, 0.7961106896400452, -0.5759027004241943, 0.40046533942222595, 0.07342340797185898, 0.5406742691993713, 0.4209933578968048, -0.6641950011253357, 0.6656609773635864, 0.148947075009346, -0.5653160810470581, -0.7400856018066406, 0.29848429560661316, -0.5519564747810364, -0.357726126909256, 1.6671545505523682, 0.3562428951263428, -0.1941877156496048, -0.21379990875720978, -0.26925432682037354, 0.42996037006378174, -0.5085667371749878, 0.9162892699241638, 0.4679330289363861, 0.07847283035516739, 0.12937504053115845, -0.6867936253547668, 0.46558764576911926, 0.44631052017211914, -0.732140064239502, 0.5647119283676147, 0.964155375957489, 0.10588022321462631, -0.26598578691482544, 0.8611867427825928, -0.2707445025444031, -0.021136503666639328, -0.14216235280036926, 0.06880500912666321, 0.10243918001651764, -0.04623809829354286, -0.29872459173202515, -0.12348881363868713, 0.21969741582870483, -0.10098525136709213 ]
http://arxiv.org/abs/2403.08739v1
http://arxiv.org/pdf/2403.08739v1
The Garden of Forking Paths: Observing Dynamic Parameters Distribution in Large Language Models
2024-03-13T17:42:32
2024-03-13T17:42:32
Carlo Nicolini, Jacopo Staiano, Bruno Lepri, Raffaele Marino
cs.CL
cs.CL, cond-mat.dis-nn, cond-mat.stat-mech, cs.AI
A substantial gap persists in understanding the reasons behind the exceptional performance of the Transformer architecture in NLP. A particularly unexplored area involves the mechanistic description of how the distribution of parameters evolves over time during training. In this work we suggest that looking at the time evolution of the statistic distribution of model parameters, and specifically at bifurcation effects, can help understanding the model quality, potentially reducing training costs and evaluation efforts and empirically showing the reasons behind the effectiveness of weights sparsification.
[ -0.5533800721168518, -0.8028590083122253, 0.6773254871368408, 0.2286015897989273, -0.2432163655757904, -0.13901400566101074, 0.10793079435825348, -0.4983369708061218, -0.04696449264883995, 0.3569397032260895, -0.8868515491485596, 0.03470931574702263, -0.7911006808280945, -0.06812430918216705, -0.8944947123527527, 1.0200185775756836, -0.21584217250347137, -0.01233269739896059, 0.17659492790699005, -0.34599384665489197, -0.16696615517139435, -0.21544773876667023, -0.6304394006729126, -0.8028766512870789, 0.7799301147460938, -0.2854384779930115, 1.1181561946868896, 0.9239594340324402, 0.1362418234348297, 0.30142417550086975, -0.3870640993118286, -0.33833086490631104, -0.2306724488735199, 0.6244722604751587, -0.3143840432167053, -0.6557615995407104, 0.35621094703674316, -0.00234800623729825, 0.9405786395072937, 1.229799509048462, -0.11627022176980972, 0.12304605543613434, 0.18729253113269806, 0.7337008118629456, -0.429680198431015, 0.17108164727687836, -0.3398225009441376, 0.3671773672103882, -0.35807567834854126, -0.43693050742149353, -0.3592012822628021, -0.25359079241752625, 0.5343956351280212, -0.2519450783729553, 0.34986168146133423, 0.016048617660999298, 1.1132707595825195, 0.39745232462882996, -0.28036734461784363, -0.37634211778640747, -1.1560591459274292, 0.8282553553581238, -0.41298916935920715, 0.6753941178321838, 0.007051617372781038, 0.5379934906959534, -0.24135823547840118, -0.7119990587234497, -0.4372006952762604, 0.08947200328111649, 0.1055665835738182, -0.18971183896064758, -0.27530384063720703, -0.06345326453447342, 0.3177826404571533, 0.3838396966457367, -0.32785600423812866, 0.05728832259774208, -0.11841271072626114, 0.288110613822937, 0.45826756954193115, 0.293842077255249, 0.2869028151035309, -0.19670967757701874, -0.160226508975029, -0.6844492554664612, -0.40417611598968506, 0.27543196082115173, 0.8073623180389404, 0.2208183854818344, -0.08955378830432892, 0.3589501976966858, 0.12444975972175598, 0.5867651104927063, -0.030465366318821907, 0.39077022671699524, 0.15748602151870728, -0.34188324213027954, -0.09774854779243469, -0.20922380685806274, 0.759268581867218, 0.23794563114643097, 0.14229832589626312, -0.5344624519348145, -0.15964651107788086, -0.1990184336900711, 0.4054407775402069, -0.639930009841919, -0.6136610507965088, 0.03167472779750824, -0.611088216304779, -0.46387597918510437, 0.17598024010658264, -0.9753047823905945, -0.42600181698799133, -0.1380394995212555, 0.14911974966526031, -0.42227110266685486, -0.6600350737571716, 0.09047825634479523, -0.6066837906837463, 0.36922702193260193, 0.07302393764257431, -1.0277763605117798, 0.37927010655403137, 0.5588419437408447, 1.0885461568832397, -0.06286261230707169, -0.5253804922103882, -0.3428521752357483, 0.018337439745664597, -0.48873838782310486, 0.6936301589012146, -0.5579861998558044, -0.04811455309391022, 0.10381843149662018, 0.35323113203048706, -0.07961247861385345, -0.5417512655258179, 0.22156527638435364, -0.6904026865959167, -0.032825227826833725, -0.26769283413887024, -0.2640441060066223, -0.39452823996543884, -0.048122987151145935, -0.7914511561393738, 1.074562668800354, 0.3788004219532013, -0.8921452760696411, 0.590400755405426, -0.7470125555992126, -0.3385060429573059, 0.02731885388493538, -0.04957820102572441, -0.38517558574676514, 0.21177570521831512, -0.1049344539642334, 0.448018878698349, -0.17290271818637848, 0.3583161532878876, -0.28291139006614685, -0.12612846493721008, 0.34123194217681885, -0.9810115694999695, 1.1028573513031006, 0.20876018702983856, -0.6056629419326782, 0.04650415480136871, -0.5987449288368225, -0.32767558097839355, 0.13446828722953796, -0.35175788402557373, -0.50364089012146, 0.5141338109970093, 0.08993077278137207, 0.15000368654727936, -0.37536951899528503, -0.029845060780644417, 0.13732993602752686, -0.8486123085021973, 0.4461899697780609, 0.725299596786499, 0.5215258002281189, 0.5139989256858826, -0.05383025482296944, 0.3772905766963959, 0.4503922760486603, 0.5273861885070801, -0.04656265303492546, -0.49673405289649963, -0.8260450959205627, 0.3549385666847229, 0.40797027945518494, 0.1046108677983284, -0.707584798336029, 0.22417546808719635, -0.07965720444917679, -0.6030030250549316, -0.42016637325286865, -0.13255254924297333, 0.09126903861761093, 0.002100184792652726, 0.3082696497440338, -0.09979748725891113, -0.22080391645431519, -0.832888662815094, -0.2736411690711975, -0.08574726432561874, -0.06712226569652557, 0.007794980891048908, 0.5788992643356323, -0.353014200925827, 0.8131656050682068, -0.405091792345047, 0.4861532151699066, -0.132407546043396, 0.5595327019691467, 0.38812825083732605, 0.36688101291656494, 0.9382770657539368, -0.7493709325790405, -0.3873918652534485, -0.16147269308567047, -0.4158879220485687, -0.15877366065979004, -0.26663917303085327, -0.32616686820983887, 0.18343348801136017, 0.2822217643260956, -0.560012698173523, 0.34580692648887634, 0.8388801217079163, -0.32515931129455566, 0.8869713544845581, -0.2831895649433136, -0.10361748188734055, -1.031068205833435, -0.07732101529836655, 0.31460806727409363, -0.18051393330097198, -0.4700184166431427, -0.033412571996450424, -0.3645668029785156, 0.16047945618629456, -0.17700816690921783, 0.27290183305740356, -0.6649206280708313, -0.20617583394050598, -0.03147554770112038, 0.06533068418502808, -0.1378239244222641, 0.3184368908405304, -0.35474327206611633, 0.5001915097236633, 0.7387697696685791, -0.7523177862167358, 0.4880199134349823, -0.06640563160181046, -0.2734621465206146, 0.33128443360328674, -0.6866725087165833, -0.3871493339538574, -0.0545622743666172, -0.15168800950050354, -1.0604993104934692, 0.05313814803957939, 0.35189542174339294, -0.26167434453964233, 0.41618743538856506, -0.39330682158470154, -0.6340555548667908, -0.3238934576511383, -0.34905821084976196, 0.1598178744316101, 0.45260319113731384, -0.6691015958786011, 0.5258669853210449, 0.2345731109380722, 0.04483740031719208, -0.5208384394645691, -0.581977903842926, -0.09914781153202057, -0.28784993290901184, -0.5085755586624146, -0.02109266072511673, 0.13300028443336487, -0.3035288453102112, 0.09208343178033829, -0.23780076205730438, 0.08636510372161865, 0.21793673932552338, 0.4763948321342468, -0.1801239550113678, -0.1569894701242447, 0.11995313316583633, 0.4108293354511261, -0.18288640677928925, 0.5912042856216431, -0.35162436962127686, 0.9077056646347046, 0.20752091705799103, -0.34528490900993347, -0.2556473910808563, 0.19414016604423523, 0.6412009000778198, -0.09495548158884048, 1.125740647315979, 0.2732008397579193, -0.17633946239948273, -0.5577031373977661, -0.15672385692596436, -0.06330646574497223, -0.5681326985359192, 0.36403635144233704, -0.2096138298511505, -0.3605342209339142, 0.6217257976531982, -0.3846895098686218, 0.10165739804506302, 0.5769438743591309, 0.5425933003425598, -0.24484381079673767, 1.2248440980911255, 0.6638085246086121, -0.07392504811286926, 0.7040655016899109, -0.5727044939994812, 0.18846558034420013, -0.7742373943328857, -0.20749244093894958, -0.5339959263801575, -0.4972904622554779, -0.932728111743927, -0.5602656602859497, 0.3615768253803253, 0.19184811413288116, -0.36842575669288635, 0.08256655931472778, -0.569003701210022, 0.3253866136074066, 0.4852035939693451, -0.15550148487091064, -0.09895801544189453, -0.055783189833164215, -0.41872549057006836, 0.2158418446779251, -0.6806634664535522, -0.4030914902687073, 0.5313857793807983, 0.6421063542366028, 0.687768816947937, 0.01143685169517994, 0.3336319923400879, 0.216964989900589, -0.015758512541651726, -0.6296535730361938, 0.27258121967315674, -0.03770185261964798, -0.4825300872325897, -0.5334173440933228, -0.42219680547714233, -1.278329610824585, 0.11944462358951569, -0.19562314450740814, -0.8049192428588867, 0.27626723051071167, 0.2099163830280304, -0.050197750329971313, 0.5669366121292114, -0.4791966676712036, 0.9946650862693787, -0.27543267607688904, -0.27291956543922424, -0.04227897524833679, -0.8131916522979736, 0.0895932987332344, 0.1721518337726593, 0.019080428406596184, 0.2235778421163559, 0.20975658297538757, 0.9003451466560364, -0.5055264830589294, 0.6367620229721069, -0.44737324118614197, 0.1751580685377121, 0.046495016664266586, 0.3407783508300781, 0.6010546088218689, -0.211101233959198, -0.11957747489213943, 0.11317234486341476, 0.3272489011287689, -0.22434461116790771, -0.7883619070053101, 0.72587651014328, -0.9852507710456848, -0.46643775701522827, -0.3926210105419159, -0.6208198070526123, -0.24542874097824097, 0.10559546202421188, 0.1817166954278946, 0.36991086602211, 0.3236808776855469, 0.45375847816467285, 0.6908905506134033, -0.4365510940551758, 0.7542251944541931, 0.035028643906116486, -0.2933790683746338, 0.03859497606754303, 0.422270804643631, 0.5277538299560547, 0.3530410826206207, 0.04715409502387047, 0.5342990159988403, -0.3789006471633911, -0.7356916666030884, -0.5666715502738953, 0.5253866314888, -0.7203453779220581, 0.1707654744386673, -0.6074864268302917, -0.2855454683303833, 0.037641387432813644, -0.1851194053888321, -0.41781747341156006, -0.07559182494878769, -0.22435401380062103, -0.33003726601600647, 0.5331801772117615, 1.052435040473938, 0.3621584177017212, 0.616806149482727, -0.6038438081741333, -0.24805249273777008, -0.0235268697142601, 0.7584776282310486, 0.5629479885101318, -0.4444287121295929, -0.3681464195251465, 0.09413217753171921, -0.4512815475463867, -1.3885540962219238, 0.2836386263370514, -0.24549110233783722, 0.6147749423980713, 0.6919552087783813, -0.10686283558607101, 0.6494234204292297, -0.568245530128479, 1.0823115110397339, 0.3997339606285095, -0.9054605960845947, 0.3799329400062561, -0.37281206250190735, 0.16535718739032745, 0.06521164625883102, 0.671773374080658, -0.6944281458854675, -0.49052587151527405, -0.5751956105232239, -1.2500100135803223, 0.777036190032959, 0.011657209135591984, 0.36268389225006104, 0.2563566267490387, 0.6387198567390442, 0.249130979180336, -0.09715926647186279, -0.7721637487411499, -0.38581186532974243, -0.39918503165245056, -0.04841960221529007, -0.04566745460033417, -0.34818804264068604, -0.013139156624674797, -0.38771238923072815, 0.5322585105895996, 0.1674610823392868, 0.09270967543125153, -0.21301281452178955, 0.1402183324098587, -0.5787138342857361, -0.0851578637957573, 0.28749746084213257, 0.7451848983764648, 0.12063291668891907, 0.40668603777885437, 0.12495105713605881, -0.26326391100883484, 0.07938703149557114, 0.007750941440463066, -0.23842044174671173, 0.22299468517303467, 0.43836709856987, 1.133640170097351, 0.1649394929409027, -0.3639698624610901, 0.4133839011192322, 0.31569546461105347, -0.36676251888275146, -0.2798313498497009, 0.425873726606369, 0.3106118440628052, 0.7315691113471985, 0.34681984782218933, -0.06856831908226013, 0.30379006266593933, -0.45492997765541077, 0.24995781481266022, 0.3446565270423889, -0.6437855362892151, -0.6769285798072815, 0.5786970853805542, -0.16382284462451935, -0.5740686655044556, 0.7415698170661926, -0.09356369823217392, -0.49802544713020325, 0.303379625082016, 0.377757728099823, 0.7586798667907715, -0.3600575029850006, 0.46767181158065796, 0.12967705726623535, 0.36026713252067566, -0.20031245052814484, -0.05472956597805023, 0.06631537526845932, -0.45559656620025635, -0.34516921639442444, -0.9632346034049988, -0.17377249896526337, 0.11190984398126602, -0.6272319555282593, 0.2510330379009247, -0.21696072816848755, -0.1820109486579895, 0.30214792490005493, -0.2834473252296448, -0.5529812574386597, 0.06673502922058105, -0.0804281011223793, 0.8939211964607239, -1.3097513914108276, 0.5661448240280151, 0.6339849233627319, -0.6927645802497864, -1.0112751722335815, 0.2726026773452759, -0.38046178221702576, -0.39660197496414185, 0.7696123719215393, -0.15476316213607788, -0.184083953499794, -0.18791039288043976, -0.452589213848114, -0.8669467568397522, 1.0444777011871338, 0.21837197244167328, -0.5356675982475281, -0.36611050367355347, 0.48761001229286194, 0.7442615628242493, 0.20645703375339508, 0.12420781701803207, 0.48586505651474, 0.47028717398643494, 0.1263069361448288, -0.5607417225837708, -0.052585262805223465, -0.14178159832954407, 0.47776365280151367, 0.8014658689498901, -0.3558979630470276, 0.9865297079086304, 0.2799084782600403, -0.31816813349723816, -0.23254740238189697, 0.24258337914943695, -0.13802604377269745, 0.13649731874465942, 0.7881349325180054, 0.36520472168922424, 0.4579254984855652, -0.34499478340148926, 1.1693572998046875, -0.4171854853630066, 0.5009214282035828, 0.6072025895118713, 0.10636072605848312, 0.8182166218757629, 0.9160314798355103, -0.5782721638679504, 0.7281197309494019, 0.8002102375030518, -0.19877968728542328, 0.560811460018158, 0.5379260182380676, 0.07317425310611725, 0.17678150534629822, 0.2906486690044403, -0.04296605661511421, 0.1168617382645607, 0.0963231697678566, -0.5794687867164612, -0.4312431216239929, 0.06050672009587288, -0.059179794043302536, -0.26501157879829407, 0.0677383542060852, 0.4801514446735382, -0.11060795187950134, -0.5553080439567566, 0.34975099563598633, -0.1808921992778778, 0.44733497500419617, -0.6633590459823608, -0.09243862330913544, -0.0751805379986763, 0.2140495479106903, -0.044298335909843445, -1.0073351860046387, 0.6894354820251465, -0.2037959098815918, -0.3365013301372528, -0.2569632828235626, 0.23245017230510712, -0.08659674972295761, -0.26716628670692444, 0.7618836164474487, 0.3117891848087311, 0.21498991549015045, 0.006272026337683201, -0.8467711210250854, 0.24283729493618011, -0.4098983407020569, -0.8618200421333313, 0.1377003788948059, 0.8153960704803467, 0.08459068089723587, 0.7133538722991943, 0.5401173233985901, 0.17681939899921417, 0.4251576364040375, 0.1790962517261505, 0.9375725388526917, -0.5464066863059998, -0.37096884846687317, -0.9901296496391296, 0.7311265468597412, -0.036590367555618286, -0.28265413641929626, 0.6662402749061584, 0.42536497116088867, 0.7286301851272583, -0.0707239955663681, 0.533284068107605, 0.0583389550447464, 0.32834598422050476, -0.4264218807220459, 0.9027135372161865, -0.7083890438079834, 0.2987808585166931, -0.3117220103740692, -0.9968166947364807, -0.08923447877168655, 0.49932217597961426, -0.4017920196056366, 0.14484655857086182, 0.7343183755874634, 0.5862195491790771, -0.11753339320421219, -0.061638254672288895, 0.24348071217536926, 0.34615015983581543, 0.46843183040618896, 0.04039209708571434, 1.0217729806900024, -0.4558814465999603, 0.33873799443244934, -0.22189977765083313, -0.12340981513261795, -0.28996527194976807, -0.8407265543937683, -0.6715568900108337, -0.9785858392715454, -0.20875968039035797, -0.4388192296028137, 0.15813501179218292, 0.7090050578117371, 0.7047715783119202, -0.6934376955032349, -0.45653122663497925, -0.37585946917533875, 0.09660477936267853, -0.6595199704170227, -0.28939881920814514, 0.30544427037239075, -0.44497835636138916, -0.529020369052887, -0.16131417453289032, 0.4460965096950531, -0.012019882909953594, -0.8102712035179138, -0.1464308798313141, -0.40999943017959595, 0.3019983470439911, 0.45518195629119873, -0.09863393008708954, -0.7292271852493286, -0.47899580001831055, 0.06930286437273026, 0.38313114643096924, -0.01611953414976597, 0.5851406455039978, -0.19019435346126556, 0.4927772283554077, 0.5555048584938049, 0.5381624102592468, 0.5876663327217102, -0.28595396876335144, 0.6106491684913635, -0.6342771649360657, -0.10100902616977692, -0.006554342340677977, 0.3052786886692047, 0.10738348215818405, -0.10897788405418396, 0.4170309901237488, 0.3594071865081787, -0.6304653882980347, -1.1309210062026978, 0.19543208181858063, -0.7718565464019775, -0.3343983590602875, 1.0016118288040161, -0.010228333063423634, -0.48317378759384155, -0.13404390215873718, 0.10063230991363525, 0.8063998818397522, 0.11276516318321228, 0.9310210943222046, 1.076444149017334, -0.42027217149734497, -0.536325991153717, -0.6863280534744263, 0.5462141036987305, 0.11546750366687775, -0.6427314281463623, 0.3184741735458374, 0.3234340250492096, 0.4564262926578522, 0.37273523211479187, -0.16615740954875946, -0.04494830593466759, -0.08872883766889572, 0.21451956033706665, -0.15108734369277954, 0.16324442625045776, -0.4610566794872284, -0.12094804644584656, 0.21244968473911285, 0.3419506847858429, -0.18061727285385132 ]
http://arxiv.org/abs/2403.08738v1
http://arxiv.org/pdf/2403.08738v1
Improving Acoustic Word Embeddings through Correspondence Training of Self-supervised Speech Representations
2024-03-13T17:42:03
2024-03-13T17:42:03
Amit Meghanani, Thomas Hain
cs.CL
cs.CL, cs.SD, eess.AS
Acoustic word embeddings (AWEs) are vector representations of spoken words. An effective method for obtaining AWEs is the Correspondence Auto-Encoder (CAE). In the past, the CAE method has been associated with traditional MFCC features. Representations obtained from self-supervised learning (SSL)-based speech models such as HuBERT, Wav2vec2, etc., are outperforming MFCC in many downstream tasks. However, they have not been well studied in the context of learning AWEs. This work explores the effectiveness of CAE with SSL-based speech representations to obtain improved AWEs. Additionally, the capabilities of SSL-based speech models are explored in cross-lingual scenarios for obtaining AWEs. Experiments are conducted on five languages: Polish, Portuguese, Spanish, French, and English. HuBERT-based CAE model achieves the best results for word discrimination in all languages, despite Hu-BERT being pre-trained on English only. Also, the HuBERT-based CAE model works well in cross-lingual settings. It outperforms MFCC-based CAE models trained on the target languages when trained on one source language and tested on target languages.
[ -0.3617309331893921, -0.518334150314331, 0.30011609196662903, 0.23123109340667725, -0.17407214641571045, 0.11177419126033783, -0.15699468553066254, -0.7289438247680664, 0.5719795823097229, 0.22331655025482178, -0.4249686598777771, -0.6067153215408325, -0.6578742265701294, 0.24179388582706451, -0.3597049117088318, 0.376743346452713, -0.11858390271663666, 0.3635242283344269, 0.05731634050607681, -0.21936407685279846, -0.5716015100479126, -0.6348257660865784, -0.4674689471721649, -0.24981167912483215, 0.2945595383644104, -0.008167589083313942, 0.48108699917793274, 0.8264560699462891, 0.11467281728982925, 0.35212743282318115, 0.20076026022434235, 0.11768370866775513, -0.5086485147476196, 0.06326144933700562, 0.05329287052154541, -0.366550087928772, 0.021190956234931946, 0.17509624361991882, 0.5848650932312012, 0.6695258617401123, -0.41243624687194824, -0.18628732860088348, 0.3648918867111206, 0.3194020986557007, -0.7128615379333496, 0.40879082679748535, -0.7005670070648193, 0.37623295187950134, -0.04751015827059746, -0.18382182717323303, -0.42000946402549744, 0.05709083750844002, 0.29262417554855347, -0.7119379043579102, 0.016608037054538727, 0.10565261542797089, 0.6863723397254944, 0.13625630736351013, -0.15891033411026, -0.5748750567436218, -0.6033642292022705, 0.7638542652130127, -0.8264448642730713, 1.2323427200317383, 0.5286208987236023, 0.1364305466413498, -0.12456034123897552, -0.36608758568763733, -0.3567158877849579, -0.3356163799762726, 0.03977152332663536, 0.3480845093727112, -0.11727724969387054, 0.11118391156196594, -0.0970764234662056, 0.44962039589881897, -0.3646213710308075, 0.3019315004348755, -0.21197015047073364, -0.5149379968643188, 0.6226116418838501, -0.15719754993915558, 0.28687232732772827, -0.09708087146282196, -0.379243940114975, -0.2910781502723694, -0.5812028646469116, 0.034804992377758026, 0.40729597210884094, 0.41086888313293457, -0.34656286239624023, 0.3592027425765991, 0.11198168992996216, 0.634525716304779, 0.22582590579986572, -0.19559767842292786, 0.3211425244808197, -0.13907137513160706, -0.08540921658277512, 0.3758712410926819, 0.7418813705444336, -0.22988161444664001, 0.35833194851875305, -0.3155708909034729, -0.16812218725681305, 0.11214953660964966, -0.08787588030099869, -0.1613408327102661, -0.3120429217815399, -0.2049570083618164, -0.3491467833518982, -0.023930804803967476, 0.09411473572254181, -0.20328496396541595, 0.18786492943763733, -0.6261322498321533, 0.6147010922431946, -0.4068654775619507, -0.18099765479564667, 0.09194185584783554, -0.11042255908250809, 0.3889182507991791, 0.017719745635986328, -1.141463279724121, 0.2656901478767395, 0.3594694435596466, 0.6967568397521973, -0.0440424382686615, -0.31328365206718445, -0.6338216066360474, 0.4631301760673523, -0.5452147126197815, 0.6424039006233215, -0.4836965501308441, -0.6796903014183044, 0.31131935119628906, -0.2057417631149292, -0.2787618935108185, -0.5008578896522522, 0.385137677192688, -0.1730584353208542, 0.3986789584159851, -0.18764029443264008, -0.9514254331588745, 0.034689340740442276, -0.23255188763141632, -0.5388467311859131, 1.1060253381729126, 0.017460249364376068, -0.5500216484069824, 0.21801698207855225, -0.37916505336761475, -0.48289984464645386, -0.20679596066474915, -0.5260311365127563, -0.1697075217962265, 0.13302767276763916, 0.5002851486206055, 0.47525012493133545, 0.07089593261480331, -0.13774098455905914, -0.261029452085495, -0.2645696699619293, -0.027695849537849426, -0.4138076901435852, 0.6318286657333374, 0.19105909764766693, -0.41704320907592773, -0.2784493863582611, -0.45238807797431946, -0.25716233253479004, 0.0552687905728817, -0.26626038551330566, -0.6066579818725586, -0.188412144780159, -0.002500015078112483, 0.22071322798728943, 0.1711483895778656, -0.8958593606948853, -0.3268028795719147, -0.7273507714271545, 0.33527469635009766, 0.6679046154022217, -0.1758025735616684, 0.23782940208911896, -0.10842955112457275, 0.39994123578071594, 0.15400992333889008, 0.03781343251466751, -0.2078171819448471, -0.49597224593162537, -0.584203839302063, -0.1799192577600479, 0.5764672756195068, 0.622488260269165, -0.705802857875824, 0.5749967694282532, 0.02571682818233967, -0.27066197991371155, -1.1252361536026, 0.32729852199554443, 0.5500715970993042, 0.3670668601989746, 0.6132698655128479, -0.4463646411895752, -0.4335399866104126, -0.9584947228431702, -0.2266392707824707, -0.29539474844932556, -0.037914350628852844, 0.4499993920326233, 0.0621565505862236, 0.03818327188491821, 0.8660922646522522, -0.30818819999694824, -0.6602261662483215, 0.0866616889834404, 0.22735103964805603, -0.14473891258239746, 0.5055431127548218, 0.5916203260421753, -0.5082735419273376, -0.6351311206817627, -0.13588951528072357, -0.7279925346374512, -0.23114100098609924, -0.027250047773122787, 0.05642169341444969, 0.1906222701072693, 0.7447277903556824, 0.0040173898451030254, 0.4425787329673767, 0.8799262046813965, -0.029192110523581505, 0.43812549114227295, -0.2830057144165039, 0.1031656414270401, -0.9266471862792969, -0.5181334018707275, 0.1257890909910202, -0.3545153737068176, -0.48712044954299927, -0.1662745326757431, -0.02085396833717823, -0.18266698718070984, -0.6049691438674927, 0.4060520827770233, -0.7144225835800171, -0.079685740172863, -0.2946414649486542, 0.41481977701187134, -0.08334982395172119, 0.4767039716243744, 0.36288273334503174, 0.8336411714553833, 0.8752766251564026, -0.5719928741455078, 0.2178097665309906, 0.4376048743724823, -0.1606106460094452, 0.4716792404651642, -0.5959150195121765, 0.2186347246170044, 0.004174288362264633, 0.16428913176059723, -0.9727514982223511, 0.25087952613830566, -0.10161823034286499, -0.43055474758148193, 0.6627466082572937, 0.09910949319601059, -0.23900407552719116, -0.22439271211624146, -0.11531133204698563, 0.39437738060951233, 0.29819008708000183, -1.0177658796310425, 0.7534509301185608, 0.7183578610420227, -0.034100066870450974, -0.41146090626716614, -0.9587901830673218, 0.1410369873046875, -0.08947819471359253, -0.5779761672019958, 0.4245024621486664, 0.010034596547484398, 0.07392235845327377, -0.13011698424816132, -0.02424091100692749, 0.11359699815511703, -0.2657664120197296, 0.08203047513961792, -0.052078619599342346, -0.3333743214607239, 0.17210856080055237, 0.09719295799732208, -0.03416239470243454, 0.009250457398593426, -0.23763376474380493, 0.40745848417282104, 0.03299384564161301, -0.5892957448959351, -0.6581544280052185, 0.6275176405906677, 0.12631870806217194, -0.45914626121520996, 0.45416802167892456, 0.7426466941833496, -0.40397000312805176, -0.31254398822784424, -0.9182302355766296, -0.34965384006500244, -0.5061666369438171, 0.17133760452270508, -0.5754998326301575, -1.0167847871780396, 0.5875656008720398, -0.13113035261631012, 0.1418142169713974, 0.5002322793006897, 0.2771868407726288, -0.2975456714630127, 0.9209317564964294, 0.5869006514549255, -0.5919814705848694, 0.5878592133522034, -0.3488319516181946, 0.019591407850384712, -0.9986738562583923, -0.09540078788995743, -0.4991929233074188, 0.0845385491847992, -0.6147111654281616, -0.4413203001022339, 0.27050167322158813, -0.09256108105182648, 0.33504408597946167, 0.656150758266449, -0.1628616452217102, 0.18987540900707245, 0.3710775077342987, -0.00608239509165287, 0.02434750273823738, 0.1845124065876007, -0.6500417590141296, -0.22282066941261292, -0.9412772059440613, -0.07819341123104095, 0.7395771741867065, 0.6671639680862427, 0.851495623588562, -0.14879800379276276, 1.1434171199798584, 0.3910196125507355, -0.0497797429561615, -0.737213134765625, 0.2345912754535675, -0.38738784193992615, -0.3645970821380615, -0.4549465775489807, -0.3657734990119934, -0.9686627388000488, 0.4222017824649811, -0.35535046458244324, -0.5120130181312561, 0.62445068359375, 0.12474159896373749, -0.1036871150135994, 0.2117081880569458, -0.3998415172100067, 0.5073408484458923, -0.12790001928806305, -0.2295387238264084, -0.5266938805580139, -0.3903309404850006, -0.15938138961791992, -0.09377922862768173, 0.4384027421474457, 0.026302779093384743, 0.23258085548877716, 0.8667011857032776, -0.28139546513557434, 0.7653541564941406, -0.2087724655866623, -0.7404761910438538, 0.4310787320137024, -0.016531629487872124, 0.6025005578994751, -0.21086426079273224, -0.19009502232074738, 0.6394076347351074, -0.21207743883132935, -0.192726269364357, -0.5366835594177246, 0.7496050596237183, -0.7913771271705627, -0.5555010437965393, -0.21048325300216675, -0.28538990020751953, -0.4992397427558899, -0.21083056926727295, 0.22657491266727448, 0.773266613483429, -0.4902815520763397, 0.05675129219889641, 0.4521070718765259, -0.1959517002105713, 0.4769018888473511, 0.7632192373275757, -0.06556590646505356, -0.411360502243042, 0.8213834762573242, 0.3233107924461365, 0.20891845226287842, 0.45254597067832947, 0.28614574670791626, -0.6732763051986694, -0.4304164946079254, -0.45252105593681335, 0.4654541015625, -0.7722282409667969, 0.0025791109073907137, -0.5270336270332336, -0.2873079776763916, -0.7144892811775208, -0.19159764051437378, -0.560049295425415, -0.37238526344299316, -0.3746359348297119, -0.14192143082618713, 0.05634624883532524, 0.681282639503479, -0.6115267872810364, 0.2583749294281006, -0.6445326805114746, 0.3691369891166687, 0.492919921875, 0.15465131402015686, -0.09995106607675552, -0.845101535320282, -0.5233585834503174, 0.2271007001399994, -0.1296256184577942, -0.9319632053375244, 0.3704708218574524, 0.6408959627151489, 0.8072624206542969, 0.4119691848754883, -0.052908703684806824, 0.9113758206367493, -0.6625739932060242, 0.6685813069343567, 0.2627268433570862, -1.1610718965530396, 0.6087653040885925, -0.31881240010261536, 0.1741008162498474, 0.5063921809196472, 0.3027687668800354, -0.5363454222679138, -0.8071804046630859, -0.5946254730224609, -0.6028956770896912, 0.34588319063186646, 0.3315717279911041, 0.250192791223526, -0.2652026116847992, 0.255935937166214, -0.061036039143800735, -0.069078229367733, -0.555387020111084, -0.3972177505493164, -0.3941744863986969, -0.20994913578033447, -0.08039422333240509, -0.0065234643407166, 0.24490056931972504, -0.22505870461463928, 0.9223101735115051, -0.079920195043087, 0.2749030292034149, 0.5683892965316772, -0.19227993488311768, -0.19975656270980835, 0.027754195034503937, 0.2668018639087677, 0.16556105017662048, 0.09336768090724945, -0.03640502318739891, 0.4825897812843323, -0.32990941405296326, 0.003858359530568123, 0.05740439146757126, 0.16413480043411255, 0.34057459235191345, 0.5483306646347046, 0.8303633332252502, 0.5847148895263672, -0.181054949760437, 0.5824347734451294, 0.013089239597320557, -0.15086013078689575, -0.41766589879989624, 0.08445654809474945, 0.13498835265636444, -0.011263889260590076, 0.19248273968696594, -0.36176785826683044, 0.4778771698474884, -0.5456520915031433, 0.33794450759887695, 0.6798366904258728, -0.5753123164176941, -0.11899413913488388, 0.6179781556129456, 0.29492929577827454, -0.1601262390613556, 0.5379060506820679, 0.2480802834033966, -0.44560572504997253, 0.36513811349868774, 0.9324233531951904, 0.8622811436653137, -1.0082123279571533, -0.07943661510944366, 0.44477158784866333, 0.28924793004989624, 0.15685953199863434, 0.2698405385017395, -0.3156939148902893, -0.7070871591567993, -0.4056535065174103, -0.6844643950462341, -0.33469700813293457, -0.12473876029253006, -0.8321014642715454, 0.14590448141098022, -0.06001269072294235, -0.14092838764190674, -0.14696434140205383, -0.23375675082206726, -0.848301351070404, 0.16614693403244019, 0.47041481733322144, 0.78484708070755, -1.0184760093688965, 1.028307557106018, 0.3572854697704315, -0.04833921045064926, -1.1800044775009155, -0.1839638650417328, -0.12182499468326569, -0.9511311650276184, 0.5123476982116699, 0.07646942138671875, -0.5674850344657898, 0.13911648094654083, -0.20205393433570862, -1.0133581161499023, 0.8735665678977966, 0.3663957118988037, -0.9691942930221558, 0.17936956882476807, 0.5371612310409546, 0.5730204582214355, -0.6647773385047913, 0.050927430391311646, 0.2868170738220215, 0.38261377811431885, -0.1669488102197647, -1.3524236679077148, -0.3911210000514984, -0.03057745285332203, 0.09055826812982559, -0.0012406952446326613, -0.478721559047699, 0.381706565618515, 0.02012566849589348, -0.29245561361312866, -0.13890303671360016, 1.1736806631088257, 0.10120204836130142, -0.015985889360308647, 0.7581618428230286, 0.673396110534668, 0.6123008131980896, -0.0066598583944141865, 0.7868658304214478, -0.523309051990509, 0.17519450187683105, 1.148200511932373, -0.11932943761348724, 1.1418627500534058, 0.2537212371826172, -0.17815625667572021, 0.6765086650848389, 0.4321014881134033, -0.0968402847647667, 0.6306830644607544, 0.19028407335281372, -0.21562600135803223, -0.34194299578666687, -0.31754857301712036, -0.5750967264175415, 0.9486364722251892, 0.4816841781139374, -0.46945783495903015, -0.07090391218662262, 0.342062771320343, -0.3715616762638092, 0.20618459582328796, -0.25115278363227844, 1.0313624143600464, 0.5885907411575317, -0.20299676060676575, 0.6948227882385254, -0.09972972422838211, 0.7841890454292297, -0.7554662823677063, -0.143772155046463, -0.01839706487953663, -0.22811152040958405, -0.11479102075099945, -0.40761303901672363, 0.11448314785957336, -0.37168458104133606, 0.14148786664009094, -0.060930561274290085, 0.6569944024085999, -1.018980860710144, -0.432415246963501, 0.9104411602020264, 0.487231969833374, 0.20811884105205536, 0.23391543328762054, -0.7957703471183777, 0.00018291349988430738, -0.09824211150407791, 0.08227626234292984, 0.20668253302574158, 0.3130266070365906, 0.2841308116912842, 0.48441213369369507, 0.6239097118377686, 0.28342920541763306, 0.21718080341815948, 0.42473283410072327, 0.550603449344635, -0.41887086629867554, -1.0077407360076904, -0.59391188621521, 0.051178328692913055, 0.3017348349094391, 0.007523101754486561, 0.9861091375350952, 0.6875454187393188, 0.8693740367889404, -0.23467783629894257, 0.6376476883888245, 0.5289292335510254, 0.4645364284515381, -0.7528663277626038, 0.5562681555747986, -0.5392564535140991, 0.11681131273508072, -0.45123520493507385, -0.8441586494445801, 0.029534704983234406, 1.0778645277023315, -0.031481917947530746, 0.041815392673015594, 0.5673934817314148, 0.7211312055587769, -0.16244344413280487, 0.2515183389186859, 0.5916684865951538, 0.13091959059238434, 0.19679152965545654, 0.376959890127182, 0.6591896414756775, -0.5809855461120605, 0.26520395278930664, -0.4347679018974304, -0.15673258900642395, 0.10678666830062866, -0.6795323491096497, -0.8723738193511963, -0.7663258910179138, -0.5545173287391663, -0.11466249078512192, 0.23788881301879883, 0.9560367465019226, 0.867084264755249, -0.8640480637550354, -0.5167186856269836, 0.1311160773038864, -0.3049732744693756, -0.25655224919319153, -0.17328491806983948, 0.6901422142982483, -0.35460031032562256, -0.6141814589500427, 1.0103731155395508, 0.28200581669807434, 0.33657145500183105, -0.5191577076911926, -0.2106441706418991, -0.15355747938156128, 0.2840389907360077, 0.6635198593139648, 0.31803226470947266, -0.7664541006088257, -0.31127485632896423, -0.19488239288330078, 0.010673407465219498, 0.2502402067184448, 0.6482036113739014, -0.803392767906189, 0.5689992308616638, 0.21536695957183838, 0.5343486070632935, 0.3357696831226349, -0.1611856371164322, 0.7724774479866028, -0.819055438041687, 0.106120765209198, 0.0320751927793026, 0.7956350445747375, 0.5752855539321899, -0.389413446187973, 0.2987581193447113, 0.06445103138685226, -0.42217040061950684, -0.3817324936389923, 0.11627320200204849, -0.7822644710540771, -0.18478171527385712, 1.1533026695251465, -0.25116443634033203, -0.1263318955898285, -0.4679219424724579, -0.1124863401055336, 0.4644913971424103, -0.4302208423614502, 0.7900946140289307, 0.6903270483016968, -0.048565905541181564, 0.03141451254487038, -0.2785945236682892, 0.5044050812721252, 0.6113705635070801, -0.42694351077079773, 0.05661877244710922, 0.29074445366859436, 0.17155490815639496, 0.3395024836063385, 0.47130057215690613, -0.3021046221256256, 0.1181488037109375, -0.08654104173183441, 0.007187580224126577, -0.06933477520942688, -0.32110416889190674, -0.37043967843055725, -0.04436087980866432, 0.04791860654950142, -0.24451370537281036 ]
http://arxiv.org/abs/2403.08737v1
http://arxiv.org/pdf/2403.08737v1
ILCiteR: Evidence-grounded Interpretable Local Citation Recommendation
2024-03-13T17:38:05
2024-03-13T17:38:05
Sayar Ghosh Roy, Jiawei Han
cs.IR
cs.IR, cs.CL
Existing Machine Learning approaches for local citation recommendation directly map or translate a query, which is typically a claim or an entity mention, to citation-worthy research papers. Within such a formulation, it is challenging to pinpoint why one should cite a specific research paper for a particular query, leading to limited recommendation interpretability. To alleviate this, we introduce the evidence-grounded local citation recommendation task, where the target latent space comprises evidence spans for recommending specific papers. Using a distantly-supervised evidence retrieval and multi-step re-ranking framework, our proposed system, ILCiteR, recommends papers to cite for a query grounded on similar evidence spans extracted from the existing research literature. Unlike past formulations that simply output recommendations, ILCiteR retrieves ranked lists of evidence span and recommended paper pairs. Secondly, previously proposed neural models for citation recommendation require expensive training on massive labeled data, ideally after every significant update to the pool of candidate papers. In contrast, ILCiteR relies solely on distant supervision from a dynamic evidence database and pre-trained Transformer-based Language Models without any model training. We contribute a novel dataset for the evidence-grounded local citation recommendation task and demonstrate the efficacy of our proposed conditional neural rank-ensembling approach for re-ranking evidence spans.
[ -0.046876829117536545, -0.4372203052043915, 0.7224975824356079, 0.09459076076745987, -0.13680526614189148, -0.1274193972349167, -0.018554801121354103, -0.48502013087272644, 0.4707548916339874, 0.4316156506538391, -0.044388797134160995, -0.2591334283351898, -0.6655590534210205, 0.007899974472820759, -0.3160954415798187, 1.1683992147445679, -0.08876088261604309, 0.3234463632106781, -0.5649287104606628, -0.21131010353565216, -0.3060592710971832, -0.3878600597381592, -0.5891370177268982, -0.5478987097740173, 1.0687066316604614, 0.30385085940361023, 0.40186330676078796, 0.23564451932907104, 0.5518038272857666, 0.1352471560239792, -0.1375422328710556, 0.14244841039180756, -0.2808053493499756, 0.18188253045082092, -0.40967074036598206, -0.49217307567596436, -0.3069588840007782, 0.0030662778299301863, 0.383030503988266, 0.8135362267494202, 0.0960250198841095, -0.013696965761482716, -0.0007249780464917421, 0.5253119468688965, -0.7473071217536926, -0.07432838529348373, -0.8199788928031921, 0.060446128249168396, -0.2363467663526535, -0.2603389024734497, -0.5099075436592102, -0.768609344959259, 0.12771889567375183, -0.375761479139328, 0.2819640040397644, 0.1744440197944641, 0.6738698482513428, 0.13523565232753754, -0.5647802948951721, -0.06598421186208725, -0.4596427083015442, 0.5073142051696777, -0.5081508159637451, 0.10680167376995087, 0.6715003252029419, 0.20070098340511322, -0.01218660268932581, -0.9705708622932434, -0.053084392100572586, -0.2997819185256958, -0.5417612195014954, 0.06879671663045883, -0.13509269058704376, -0.13740602135658264, 0.08690457791090012, 0.2818480432033539, -0.40714409947395325, -0.336965948343277, -0.3551521301269531, -0.11079461872577667, 0.22808991372585297, -0.2297571450471878, -0.09240397065877914, -0.08161342889070511, -0.3019365072250366, 0.25385406613349915, -0.8167877793312073, -0.01493426039814949, 0.2146170288324356, 0.4956599175930023, 0.36594143509864807, 0.5089448094367981, -0.2831343114376068, 0.6494864821434021, 0.5058789849281311, 0.23514819145202637, 0.11449597030878067, -0.20397570729255676, -0.019447438418865204, 0.43734291195869446, 0.49355068802833557, 0.09635554999113083, -0.25921308994293213, -0.5876278281211853, -0.03728734701871872, -0.4124595522880554, 0.3789884150028229, -1.0479960441589355, -0.19396395981311798, 0.0033126925118267536, -0.7674959897994995, -0.28154081106185913, 0.024114668369293213, -0.4226571321487427, -0.5483514666557312, -0.3949967324733734, 0.5137496590614319, -0.38771262764930725, -0.3307112753391266, -0.19809386134147644, 0.0017706789076328278, -0.18146367371082306, 0.3437046408653259, -0.6954821944236755, 0.06765108555555344, 0.39069515466690063, 0.9986218810081482, -0.15042848885059357, -0.2418946474790573, -0.5963228940963745, -0.05486001446843147, -0.03777946159243584, 1.1068869829177856, -0.9018039703369141, -0.16039986908435822, 0.16205866634845734, 0.26050615310668945, -0.34572693705558777, -0.6532890200614929, 1.0575244426727295, -0.6257479190826416, 0.24706631898880005, -0.32846108078956604, -0.6093251705169678, -0.0832008421421051, 0.23982137441635132, -0.41041678190231323, 0.830129861831665, -0.08823366463184357, -1.1292229890823364, 0.7483260631561279, -0.6657484173774719, -0.5294855833053589, -0.10319307446479797, -0.05813112109899521, -0.2285640686750412, 0.17577695846557617, 0.28212276101112366, 0.25695016980171204, -0.16044673323631287, 0.7931394577026367, -0.41696617007255554, -0.4264783263206482, -0.3395273983478546, -0.22852495312690735, 0.6448955535888672, 0.5582139492034912, -0.3718721866607666, 0.35080891847610474, -0.8376356363296509, -0.035606272518634796, -0.2039531022310257, -0.2767358422279358, -0.7190395593643188, 0.2741428017616272, 0.09379281103610992, -0.0680449828505516, 0.20308475196361542, -0.48085322976112366, 0.3584633469581604, -0.2582431137561798, 0.24942824244499207, 0.2802821397781372, 0.07317359000444412, 0.599465012550354, -0.4074544906616211, 0.3816114366054535, -0.18880170583724976, -0.3583247661590576, -0.3158826231956482, -0.3239315450191498, -0.6648926138877869, -0.30367791652679443, 0.37269484996795654, 0.20073950290679932, -0.4702121615409851, 0.4514760375022888, -0.5715113878250122, -0.36857104301452637, -0.31627362966537476, -0.19456875324249268, -0.009057627059519291, 0.5426865816116333, 0.607343316078186, 0.21161092817783356, -0.6639208793640137, -0.9097035527229309, -0.5591918230056763, -0.09096914529800415, -0.13632969558238983, 0.25849899649620056, 0.537157416343689, -0.009935177862644196, 1.1832739114761353, -0.1699291318655014, -0.4387173056602478, 0.17216043174266815, 0.5625603795051575, 0.5705183148384094, 0.5800655484199524, 0.37031781673431396, -0.7179928421974182, -0.36181169748306274, -0.04064404219388962, -0.9226998686790466, -0.07745026797056198, -0.2888032793998718, -0.2183886617422104, -0.4218931794166565, 0.7062677145004272, -0.39728081226348877, 0.4792807400226593, 0.07798779010772705, -0.5714030265808105, 0.08444076776504517, -0.2374134063720703, 0.22308380901813507, -0.9455723166465759, 0.2835778295993805, -0.26496922969818115, -0.11126109957695007, -0.11081323027610779, -0.13285480439662933, 0.038584645837545395, -0.0529235303401947, 0.04255284368991852, 0.5815930962562561, -0.41612982749938965, 0.10006407648324966, -0.45712244510650635, -0.26752719283103943, 0.11178438365459442, 0.04685046151280403, 0.2862018346786499, 0.5290321707725525, 0.2902394235134125, -0.08637001365423203, -0.2022116631269455, 0.1634700894355774, -0.4667115807533264, 0.8335577249526978, -0.6731786131858826, 0.06665574759244919, -0.03941509872674942, 0.44597649574279785, -0.6275253295898438, 0.03496174141764641, -0.04896172881126404, -0.08217845857143402, 0.31420254707336426, -0.7477013468742371, -0.2371310591697693, 0.16507916152477264, 0.054804444313049316, 0.5786275863647461, -0.005542457103729248, -0.9138981103897095, 0.7485116720199585, 0.024373600259423256, -0.1541157215833664, -0.5432897210121155, -0.3753501772880554, 0.21936196088790894, -0.3860970139503479, -0.5941624641418457, 0.8109278678894043, 0.127767413854599, -0.3009776175022125, 0.32937899231910706, -0.12373042106628418, -0.033212851732969284, 0.004167749080806971, 0.6572945713996887, -0.1468481868505478, -0.38892897963523865, 0.1995873898267746, 0.08396445214748383, 0.053043823689222336, 0.20607642829418182, -0.4562080204486847, 0.0714392215013504, -0.12929944694042206, -0.40190961956977844, 0.00776006979867816, 0.4714829921722412, 0.6142837405204773, -0.025272320955991745, 0.7284931540489197, 0.679004430770874, -0.40523889660835266, 0.29274818301200867, -0.5482454895973206, -0.17705164849758148, -0.3447814881801605, 0.076268270611763, -0.37005433440208435, -0.7310776114463806, 0.26026415824890137, -0.25110194087028503, -0.018400372937321663, 0.4092368185520172, 0.49502843618392944, -0.05028465390205383, 0.6507394909858704, 0.34166786074638367, -0.28356650471687317, 0.6186046004295349, -0.09245902299880981, 0.28724053502082825, -0.6947904825210571, -0.37708523869514465, -0.8023961186408997, -0.30181488394737244, -0.20849603414535522, -0.2831973433494568, 0.10837798565626144, 0.3266003727912903, -0.4588683545589447, 0.05640145763754845, -0.6371167302131653, 0.4229865074157715, 0.6231845021247864, 0.049828533083200455, 0.29461774230003357, 0.41252294182777405, -0.48490849137306213, -0.18709754943847656, -0.5616372227668762, -0.4043092727661133, 0.8490039706230164, -0.0376463308930397, 0.7607003450393677, -0.15535572171211243, 0.8198031187057495, 0.6022075414657593, 0.6796233057975769, -0.5412044525146484, 0.07778581976890564, 0.288167804479599, -0.9052435755729675, 0.19608165323734283, -0.12506452202796936, -1.2332351207733154, 0.4699060916900635, -0.3890003561973572, -0.7884933948516846, 0.5724299550056458, -0.2553209066390991, -0.10617194324731827, 0.3612152338027954, -0.5455122590065002, 0.71393883228302, -0.29155057668685913, -0.7737686634063721, -0.18690623342990875, -0.4241408407688141, 0.17672516405582428, 0.07153722643852234, 0.11804983019828796, 0.05347185209393501, 0.44700944423675537, 0.7134851217269897, -0.37783727049827576, 0.6868008375167847, -0.6470324397087097, 0.24396218359470367, 0.12270089983940125, 0.011465289629995823, 0.7474696040153503, 0.36434945464134216, -0.5055531859397888, 0.15386585891246796, -0.13823802769184113, -0.34026846289634705, -0.49234622716903687, 1.05752432346344, -0.49105823040008545, -0.5876270532608032, -0.7937681078910828, -0.4988863468170166, -0.18459491431713104, 0.37253355979919434, 0.3272130489349365, 0.188479483127594, -0.079051673412323, 0.5870147347450256, 0.29546236991882324, 0.03951827809214592, 0.17733846604824066, 0.28185513615608215, -0.14778368175029755, -0.8009328842163086, 0.7920689582824707, -0.03848990425467491, -0.4927804172039032, 0.6091575026512146, -0.07778435945510864, -0.2990889847278595, -0.8955585360527039, -0.08760011196136475, 0.05066922307014465, -0.7267144918441772, -0.25531572103500366, -0.7155656218528748, 0.05029648542404175, -0.2760534882545471, -0.24366344511508942, -0.32170844078063965, -0.44480088353157043, -0.256966233253479, -0.04787862300872803, 0.2908014953136444, 0.5131068229675293, -0.06425812095403671, -0.04568766802549362, -0.31776660680770874, 0.08011635392904282, -0.021102478727698326, 0.4171737730503082, -0.12281829863786697, -0.6286237239837646, -0.4555850028991699, -0.12447253614664078, -0.0650077685713768, -0.4768401086330414, 0.30218684673309326, 0.12223940342664719, 0.707865834236145, 0.6284988522529602, 0.3071390688419342, 0.8417759537696838, -0.6450142860412598, 0.4700152575969696, 0.01222984679043293, -0.3892788589000702, 0.7529208660125732, -0.5137578845024109, 0.022744590416550636, 0.9428189992904663, 0.6787206530570984, 0.09908527880907059, -0.10991306602954865, -0.48036396503448486, -1.1201530694961548, 0.47425031661987305, 0.28153738379478455, -0.0872010588645935, 0.04871406406164169, 0.6000970602035522, 0.1516050100326538, -0.05368248373270035, -0.8420830368995667, -0.20974262058734894, -0.4318802058696747, -0.0697891116142273, 0.033074937760829926, -0.25516241788864136, -0.3439493477344513, -0.3628826141357422, 0.5968668460845947, -0.2730337679386139, 0.5114926695823669, 0.571387529373169, -0.20392294228076935, -0.04493793845176697, 0.23713195323944092, 0.46937280893325806, 0.7898204922676086, -0.7628756761550903, 0.29755309224128723, -0.073057159781456, -0.1714814305305481, 0.07365347445011139, 0.5119080543518066, -0.5702024102210999, 0.2436951845884323, 0.3099331259727478, 0.5238427519798279, 0.3202330470085144, -0.1827400177717209, 0.2391539067029953, -0.18504181504249573, -0.2443324476480484, -0.5792890787124634, -0.3125412166118622, 0.18281656503677368, 0.2719389796257019, 0.7407591342926025, 0.5679080486297607, 0.22791141271591187, -0.2973877787590027, 0.14915424585342407, 0.38113418221473694, -0.7024754881858826, -0.20590823888778687, 0.8500983119010925, 0.0845300704240799, -0.08290109783411026, 0.4460272192955017, 0.11362244933843613, -0.1374581903219223, 0.2698696255683899, 0.5954838991165161, 0.7677860856056213, 0.4078054130077362, -0.033701635897159576, 0.6663233637809753, 0.1353331059217453, -0.11829043924808502, -0.09935938566923141, -0.32691124081611633, -0.517012357711792, -0.2976420819759369, -0.6137422323226929, -0.30956119298934937, 0.15345977246761322, -0.9054373502731323, 0.06277712434530258, -0.2977454662322998, -0.24053606390953064, 0.12174060195684433, -0.11024800688028336, -0.33504852652549744, 0.08507984131574631, -0.06980948150157928, 0.8877575993537903, -0.6093011498451233, 1.0473711490631104, 0.8468614220619202, -0.5854702591896057, -0.41778624057769775, -0.009909103624522686, -0.26307597756385803, -0.26748237013816833, 1.0127992630004883, 0.11134606599807739, -0.23640023171901703, -0.3496588468551636, -0.42607876658439636, -0.9869982600212097, 1.0555245876312256, 0.5584080815315247, -0.1241341233253479, 0.12495215237140656, -0.5130399465560913, 0.39124447107315063, -0.6614029407501221, 0.772001326084137, -0.023265838623046875, 0.4334777593612671, 0.12226758897304535, -0.4191787540912628, 0.2768845856189728, -0.5948192477226257, -0.2656691372394562, 0.025303484871983528, -0.36936041712760925, 0.618572473526001, -0.1890878677368164, 0.19528184831142426, 0.24097749590873718, 0.8789370656013489, 0.2849026918411255, 0.7043649554252625, 0.44637352228164673, 0.4054371416568756, 0.8597136735916138, -0.07398167997598648, 0.9475278854370117, -0.24723787605762482, 0.17966969311237335, 1.4812779426574707, -0.5524901747703552, 0.976433515548706, 0.712737500667572, -0.12107248604297638, 0.9139509797096252, 0.6882094144821167, -0.18737870454788208, 0.8142367601394653, 0.009187394753098488, -0.29298076033592224, -0.3314974308013916, -0.4937204122543335, -0.6758249998092651, 0.16566357016563416, 0.042594533413648605, -0.7356752157211304, -0.2908780574798584, -0.17191296815872192, 0.061859384179115295, 0.04844134673476219, -0.01786494068801403, 0.361426442861557, -0.032957524061203, -1.0058743953704834, 0.6199657917022705, -0.21101334691047668, 0.7619812488555908, -0.5464200377464294, -0.1752213090658188, -0.5876468420028687, 0.2861759066581726, -0.49916619062423706, -0.025532249361276627, 0.27126893401145935, 0.05510740354657173, -0.6475536227226257, -0.4104025065898895, 0.808229923248291, -0.04867073893547058, -0.588364839553833, 0.2414291501045227, 0.38410884141921997, 0.14376913011074066, -0.1690087765455246, -0.4954659640789032, -0.5014629364013672, -0.04994839429855347, -0.25109824538230896, 0.7421701550483704, 0.5015441179275513, 0.007241062819957733, 0.5364625453948975, 0.905890703201294, 0.13967202603816986, -0.17006944119930267, 0.16970489919185638, 0.8154597282409668, -0.6977319717407227, -0.22230373322963715, -0.44258826971054077, 0.24611619114875793, -0.23387141525745392, -0.10416242480278015, 0.8189622163772583, 0.7313429117202759, 0.5313059091567993, 0.17868700623512268, 0.6651082038879395, -0.2851090431213379, 0.48651251196861267, -0.3789858818054199, 0.7953801155090332, -0.6268904209136963, 0.4716915786266327, -0.018027326092123985, -0.7106137871742249, -0.44285017251968384, 0.9961965084075928, -0.6292890906333923, 0.1652916967868805, 0.8393619656562805, 0.6680445671081543, -0.13493874669075012, 0.11934154480695724, 0.08380913734436035, 0.15840129554271698, 0.16160883009433746, 0.22549059987068176, 1.013954758644104, -0.3510405719280243, 0.6331760883331299, 0.018914952874183655, 0.22650213539600372, -0.3099448084831238, -1.1679883003234863, -0.8517221212387085, -0.3485836684703827, -0.431901216506958, -0.5329353213310242, 0.15058594942092896, 0.8663315773010254, 0.9771236777305603, -1.0356247425079346, 0.12544837594032288, -0.27095842361450195, 0.238502636551857, -0.2227693498134613, -0.2857070565223694, 0.6507106423377991, -0.42377227544784546, -0.5372923612594604, 0.8169119358062744, 0.0479263961315155, -0.4730580747127533, 0.18201862275600433, -0.07576793432235718, -0.6220060586929321, -0.4370403587818146, 0.28641578555107117, 0.24248714745044708, -0.7684393525123596, -0.1304922252893448, -0.00884634256362915, 0.016709694638848305, 0.20553788542747498, 1.2198405265808105, -1.240604281425476, 0.48302048444747925, 0.43888482451438904, 0.5945223569869995, 0.9114320278167725, -0.11334501951932907, 0.4654861390590668, -0.4118809998035431, 0.14558041095733643, 0.30738237500190735, 0.8322885036468506, 0.21048972010612488, -0.3353080153465271, 0.7852086424827576, 0.10613033175468445, -0.7871901988983154, -0.8224402070045471, -0.24107106029987335, -0.817486047744751, -0.20323804020881653, 0.9813422560691833, -0.6785523295402527, 0.2432411164045334, -0.356198787689209, -0.1617116928100586, -0.004321026615798473, -0.4821377694606781, 0.7978804707527161, 0.44789889454841614, -0.08785298466682434, -0.0467643104493618, -0.21283306181430817, 0.18849237263202667, 0.5767136216163635, -0.5643388628959656, -0.04370381683111191, 0.4810592532157898, 0.39735090732574463, 0.4111435115337372, 0.44908085465431213, -0.07110622525215149, 0.06346848607063293, 0.23834486305713654, -0.03360798582434654, -0.17302006483078003, -0.18964116275310516, -0.3396943509578705, 0.5347163677215576, 0.25586655735969543, 0.2095334678888321 ]
http://arxiv.org/abs/2403.08730v2
http://arxiv.org/pdf/2403.08730v2
Strengthening Multimodal Large Language Model with Bootstrapped Preference Optimization
2024-03-13T17:29:45
2024-04-03T15:22:23
Renjie Pi, Tianyang Han, Wei Xiong, Jipeng Zhang, Runtao Liu, Rui Pan, Tong Zhang
cs.CL
cs.CL, cs.CV
Multimodal Large Language Models (MLLMs) excel in generating responses based on visual inputs. However, they often suffer from a bias towards generating responses similar to their pretraining corpus, overshadowing the importance of visual information. We treat this bias as a "preference" for pretraining statistics, which hinders the model's grounding in visual input. To mitigate this issue, we propose Bootstrapped Preference Optimization (BPO), which conducts preference learning with datasets containing negative responses bootstrapped from the model itself. Specifically, we propose the following two strategies: 1) using distorted image inputs to the MLLM for eliciting responses that contain signified pretraining bias; 2) leveraging text-based LLM to explicitly inject erroneous but common elements into the original response. Those undesirable responses are paired with original annotated responses from the datasets to construct the preference dataset, which is subsequently utilized to perform preference learning. Our approach effectively suppresses pretrained LLM bias, enabling enhanced grounding in visual inputs. Extensive experimentation demonstrates significant performance improvements across multiple benchmarks, advancing the state-of-the-art in multimodal conversational systems.
[ -0.5945349931716919, -0.6282122731208801, 0.5180578231811523, 0.2668730318546295, -0.4629146158695221, -0.09023870527744293, -0.5606721043586731, -0.25098106265068054, 0.3512793183326721, 0.5264403820037842, -0.595037579536438, -0.27646782994270325, -0.6184579133987427, -0.15345671772956848, 0.09764230996370316, 1.084211826324463, 0.13888098299503326, 0.4663180708885193, -0.4146246910095215, -0.12816764414310455, -0.41126468777656555, -0.663653552532196, -0.5426036715507507, -0.4849313497543335, 0.7325222492218018, 0.494450181722641, 0.6229322552680969, 0.3598974347114563, 0.21476499736309052, 0.2864078879356384, 0.3281533420085907, 0.2695378363132477, -0.6019322872161865, 0.3045913577079773, 0.1829376369714737, -0.3548879325389862, -0.36720210313796997, -0.0841061994433403, 0.5114178657531738, 0.5865506529808044, 0.1243724599480629, 0.15402129292488098, -0.0004536361084319651, 0.7514410018920898, -0.8807117342948914, 0.31214439868927, -0.8849515914916992, 0.028210211545228958, -0.004360312595963478, -0.593825101852417, -0.6364973187446594, -0.1555761694908142, 0.16798144578933716, -0.46708834171295166, 0.023912644013762474, 0.10972729325294495, 0.792310357093811, 0.20432385802268982, -0.3012603521347046, 0.14445562660694122, -0.49611178040504456, 1.0237194299697876, -0.5413124561309814, 0.4831998944282532, 0.6365264058113098, 0.08900126814842224, 0.012414529919624329, -0.09379629790782928, -0.43665653467178345, -0.4198754131793976, 0.01707272417843342, 0.02814408950507641, 0.14981769025325775, 0.20104630291461945, 0.11047052592039108, -0.0015366582665592432, -0.488932728767395, 0.25083452463150024, -0.2020237147808075, -0.33432719111442566, 0.328637957572937, -0.1722979098558426, -0.016909653320908546, -0.05094379186630249, -0.3847166895866394, -0.33958619832992554, -0.6568619608879089, 0.09728850424289703, 0.3956769108772278, 0.4630131721496582, -0.011623640544712543, 0.6897473931312561, -0.09376142919063568, 0.7763592004776001, 0.16605450212955475, -0.30852043628692627, 0.7508854866027832, -0.04828032851219177, -0.36375191807746887, 0.003554773051291704, 0.705693244934082, 0.8109714388847351, 0.4712906777858734, -0.07785296440124512, -0.3859077990055084, 0.11785586923360825, 0.27607461810112, -0.950887143611908, 0.013878888450562954, 0.42786675691604614, -0.41785839200019836, -0.4590241312980652, -0.22655490040779114, -0.815222442150116, -0.5359706282615662, -0.5994223952293396, 0.3351267874240875, -0.44001829624176025, -0.17459405958652496, 0.031112616881728172, 0.07493739575147629, -0.08277155458927155, 0.4051527678966522, -1.1997034549713135, -0.08620411157608032, 0.21971292793750763, 0.6433555483818054, -0.07071185857057571, -0.22832167148590088, -0.8214868307113647, 0.06794015318155289, -0.2936457395553589, 0.6980513334274292, -0.7070052623748779, -0.13366465270519257, 0.09605839848518372, 0.09235340356826782, 0.27262645959854126, -0.5785691738128662, 0.3021973967552185, -0.6870567798614502, 0.1277029812335968, -0.23597946763038635, -0.15303657948970795, 0.07043305039405823, 0.5256161689758301, -0.5459536910057068, 0.8640927672386169, -0.11440248787403107, -0.6447989344596863, 0.7767835855484009, -0.5780652165412903, -0.35940054059028625, -0.21132299304008484, -0.31265535950660706, -0.5538566708564758, 0.002206217497587204, 0.4386991858482361, 0.7888883948326111, -0.1720162332057953, 0.4365237355232239, -0.6640796661376953, -0.014860516414046288, 0.16202843189239502, -0.3892677426338196, 0.3488677740097046, 0.16372662782669067, -0.2750733196735382, 0.637890100479126, -0.9888615608215332, 0.1424044519662857, 0.14841130375862122, -0.4320652186870575, -0.4203264117240906, 0.1004982739686966, 0.4436413645744324, 0.29145678877830505, 0.12603433430194855, -0.46859243512153625, 0.012955522164702415, -0.33208349347114563, 0.2675122618675232, 1.1993571519851685, -0.2853181064128876, 0.5296810865402222, -0.14707966148853302, 0.2985304296016693, 0.30473268032073975, 0.09459958225488663, -0.36262014508247375, -0.03753044828772545, -0.955374002456665, -0.4331607520580292, 0.024433933198451996, 0.11587512493133545, -0.909634530544281, 0.36602213978767395, -0.22866348922252655, -0.2440493255853653, -0.46623316407203674, 0.24716030061244965, 0.3788761794567108, 0.5742896795272827, 0.586300253868103, -0.39780735969543457, -0.6166554093360901, -1.2736643552780151, 0.06926748156547546, -0.1082099974155426, -0.001184043358080089, 0.41254866123199463, 0.14061875641345978, -0.2666183114051819, 0.8186159729957581, -0.486919641494751, -0.1398327797651291, -0.24584373831748962, 0.027000902220606804, -0.06880391389131546, 0.470397025346756, 0.7319971919059753, -0.9343979954719543, -0.35076674818992615, -0.11904610693454742, -0.43972060084342957, 0.010149977169930935, -0.11911213397979736, -0.21930530667304993, 0.2917139232158661, 0.20101851224899292, -0.4461432695388794, 0.05953991413116455, 0.6123102903366089, -0.05381719768047333, 0.5984057188034058, -0.061899349093437195, 0.21689626574516296, -1.054194688796997, 0.005959650967270136, 0.2207217812538147, -0.4388776123523712, -0.5118803977966309, -0.13988995552062988, 0.18071971833705902, -0.07379040867090225, -0.4122358560562134, 0.3717409372329712, -0.46355947852134705, 0.13405323028564453, -0.2678431272506714, -0.11365058273077011, -0.015711693093180656, 0.608291745185852, 0.36036866903305054, 0.7600501179695129, 0.6591777801513672, -0.5644275546073914, 0.39412710070610046, 0.03485000506043434, -0.23707562685012817, 0.42746007442474365, -0.5292091369628906, 0.13520677387714386, -0.5325837135314941, 0.16318988800048828, -1.0806884765625, -0.34558215737342834, 0.14377368986606598, -0.3038397431373596, 0.5419159531593323, -0.1991511434316635, -0.4110174775123596, -0.15054722130298615, -0.6043335199356079, 0.4556054472923279, 0.25173720717430115, -0.6147205233573914, 0.43816110491752625, 0.35925692319869995, -0.05676696449518204, -0.9987810254096985, -0.45106807351112366, -0.08849086612462997, -0.20425154268741608, -0.4823487102985382, 0.07757610082626343, -0.14477680623531342, -0.028105175122618675, -0.475162535905838, 0.08875627815723419, 0.12289562076330185, -0.15749399363994598, 0.22229234874248505, 0.5716261267662048, -0.16217947006225586, 0.41247543692588806, -0.2201775759458542, -0.17583605647087097, -0.039434198290109634, -0.31382039189338684, 1.103593111038208, -0.0508255735039711, -0.2925952076911926, -0.1536436378955841, 0.14432670176029205, 0.9039300680160522, -0.39514532685279846, 0.7974790334701538, 0.7175493836402893, 0.0032884276006370783, -0.01169223990291357, -0.8100733757019043, -0.41464734077453613, -0.47885313630104065, 0.6673016548156738, -0.25160834193229675, -0.8068673014640808, 0.03897043690085411, -0.01401909813284874, -0.06446856260299683, -0.1080830916762352, 0.8816710114479065, -0.09365937858819962, 0.8133083581924438, 0.6051279306411743, -0.33323490619659424, 0.7582353353500366, 0.011072647757828236, 0.027768218889832497, -0.618323564529419, -0.28115546703338623, -0.23485514521598816, -0.3203698992729187, -0.47035619616508484, -0.4001874327659607, 0.388410359621048, -0.36021462082862854, -0.242051899433136, -0.04592585563659668, -0.21711847186088562, 0.3721873462200165, 0.7249219417572021, 0.35993292927742004, 0.051175374537706375, 0.33539003133773804, -0.18058350682258606, -0.22770191729068756, -0.5055743455886841, -0.49860185384750366, 1.388426423072815, 0.32863426208496094, 0.9914754033088684, -0.22112376987934113, 0.4686354100704193, -0.10272327065467834, 0.327097624540329, -0.8749405741691589, 0.443915992975235, 0.19319379329681396, -0.5776012539863586, -0.28151729702949524, -0.44992658495903015, -0.6946266293525696, 0.4961232542991638, -0.7379759550094604, -0.6185107231140137, 0.11722643673419952, 0.5216644406318665, -0.19119413197040558, 0.22623902559280396, -0.9558809995651245, 0.7676925659179688, -0.4384792149066925, -0.8397804498672485, -0.1297389417886734, -0.8205398917198181, 0.34921517968177795, -0.12648022174835205, 0.25909560918807983, -0.05151120200753212, 0.12319853901863098, 0.4805794656276703, -0.20597293972969055, 0.8385434746742249, -0.2289659082889557, -0.08566179871559143, -0.2579011619091034, -0.18843083083629608, 0.3946656584739685, 0.09325950592756271, -0.00428265705704689, -0.06730077415704727, -0.23010319471359253, -0.5549909472465515, -0.5653995275497437, 0.6146964430809021, -0.8775779008865356, -0.4423373341560364, -0.21636074781417847, -0.5338136553764343, -0.7045047283172607, 0.25159355998039246, 0.23165057599544525, 0.5399925708770752, -0.11177187412977219, 0.40398159623146057, 0.5212923288345337, -0.24901741743087769, 0.44291606545448303, 0.3312600255012512, -0.4234720766544342, -0.45018112659454346, 0.8677244782447815, -0.11353962868452072, 0.608660876750946, 0.4397740662097931, 0.08310316503047943, -0.2719547748565674, -0.4807944595813751, -0.5130555033683777, 0.12153374403715134, -0.5631327033042908, -0.0779290646314621, -0.628387451171875, 0.18309001624584198, -0.3794187605381012, -0.10410581529140472, -0.5555721521377563, -0.13027822971343994, -0.20693187415599823, -0.15398456156253815, 0.03481324389576912, 0.15010195970535278, 0.12277273088693619, 0.21674105525016785, -0.5349196195602417, 0.41747868061065674, 0.273691862821579, 0.3969976603984833, 0.1475573033094406, -0.2734343409538269, -0.2671082019805908, 0.07623490691184998, -0.36093229055404663, -0.5592008829116821, 0.4795718193054199, -0.02184046432375908, 0.29538267850875854, 0.7961102724075317, -0.03337951749563217, 0.8238713145256042, -0.8077374696731567, 0.4429425597190857, 0.6733434796333313, -0.6222077012062073, 0.608880877494812, -0.3748481571674347, 0.2664169371128082, 0.6069347262382507, 0.5923547148704529, -0.3166849911212921, -0.09327806532382965, -0.23778820037841797, -0.8471552729606628, 0.5980638265609741, 0.03581743314862251, 0.4110371768474579, 0.03473996743559837, -0.08932556211948395, 0.19916415214538574, 0.5645287036895752, -1.1337254047393799, -0.3508670926094055, -0.40785518288612366, 0.04839443042874336, -0.3672514259815216, -0.5307984948158264, -0.32192179560661316, -0.25373250246047974, 0.7267386317253113, -0.3174258768558502, 0.001257212134078145, -0.11423990875482559, -0.17331479489803314, -0.0813683494925499, 0.4057285785675049, 0.6920243501663208, 0.6616429090499878, -0.44435355067253113, 0.30369219183921814, -0.23311710357666016, -0.4371839463710785, 0.31411367654800415, -0.10403026640415192, -0.15350441634655, -0.0827353224158287, 0.10064572840929031, 1.0389997959136963, 0.03733339160680771, -0.78854900598526, 0.610822856426239, 0.12495195120573044, 0.06276118010282516, -0.1721602827310562, -0.23801515996456146, -0.1081884577870369, 0.04282386228442192, 0.38235053420066833, 0.470691978931427, -0.010190737433731556, -0.6325932741165161, 0.03991962969303131, 0.7479450106620789, -0.4278872311115265, -0.14978404343128204, 0.4030968248844147, 0.30665624141693115, 0.008379098027944565, 0.21939219534397125, 0.07990197092294693, -0.5004891753196716, 0.2822178304195404, 0.689214825630188, 0.5430669784545898, -0.1382664293050766, 0.2650962173938751, 0.3142339885234833, 0.4364715814590454, 0.07178416848182678, -0.04502179101109505, -0.09548722952604294, -1.0776793956756592, -0.349216490983963, -0.6070986390113831, -0.20723381638526917, 0.5418320298194885, -0.671193540096283, 0.5667141079902649, -0.5282485485076904, -0.3821742832660675, -0.09468663483858109, -0.5141733884811401, -0.6624104380607605, 0.489963561296463, 0.26697292923927307, 0.32756975293159485, -0.7348223924636841, 0.7051311135292053, 0.7016683220863342, -0.5374628305435181, -0.4660264551639557, -0.024716757237911224, -0.039629314094781876, -1.0476908683776855, 0.86565101146698, 0.28560274839401245, -0.22654244303703308, -0.19409838318824768, -0.7797890901565552, -0.6914229393005371, 0.6875696778297424, 0.6552115678787231, -0.5242370367050171, 0.10778793692588806, -0.0029110084287822247, 0.21977046132087708, -0.5360279083251953, 0.46607887744903564, 0.19286218285560608, 0.37397125363349915, 0.10036090016365051, -0.89626544713974, -0.04411466419696808, -0.207210972905159, 0.0937652513384819, 0.12710997462272644, -0.7618561387062073, 0.5488782525062561, -0.22766585648059845, 0.10366087406873703, -0.2998005151748657, 0.34995517134666443, 0.25614550709724426, 0.12609907984733582, 0.6181212067604065, 0.4397311210632324, 0.5801801681518555, 0.1137082427740097, 0.9193339943885803, -0.23371678590774536, 0.20161773264408112, 1.19498872756958, -0.24922455847263336, 0.9635915160179138, 0.9846071004867554, -0.02444932423532009, 0.2861814498901367, 0.6790514588356018, 0.07929156720638275, 0.703804612159729, 0.10955315828323364, -0.24440696835517883, -0.5602618455886841, -0.128575399518013, -0.4524764120578766, 0.4903605282306671, 0.00906242337077856, -0.6546860933303833, -0.06032554432749748, 0.12772949039936066, 0.06788521260023117, -0.0031597681809216738, -0.23914308845996857, 0.6117712259292603, -0.14157667756080627, -0.5110745429992676, 0.7969571948051453, -0.05180245637893677, 0.9292991161346436, -0.7637408971786499, 0.13158324360847473, -0.01133229024708271, 0.03803279995918274, -0.21640221774578094, -0.23950807750225067, -0.18891911208629608, -0.1251872330904007, -0.5435534715652466, -0.34277549386024475, 0.6503919959068298, -0.6228122711181641, -0.514437735080719, 0.27096059918403625, 0.407245934009552, -0.08611385524272919, -0.10704851150512695, -0.4752046465873718, 0.23888391256332397, 0.02905638888478279, -0.28039366006851196, 0.5859623551368713, 0.14434757828712463, 0.11419575661420822, 0.7973292469978333, 0.8616304397583008, 0.13858579099178314, -0.04886021465063095, 0.3031826317310333, 1.131662368774414, -0.3031272888183594, -0.4329195022583008, -1.108686089515686, 0.568179190158844, -0.24747294187545776, -0.2042364478111267, 0.6446353197097778, 0.7076245546340942, 0.9202926754951477, -0.5033109188079834, 0.8628051280975342, 0.2938247323036194, 0.15671373903751373, -0.8032748699188232, 0.7821179628372192, -0.6770645976066589, 0.09380496293306351, -0.5177534818649292, -1.176910400390625, -0.21894332766532898, 0.6707910895347595, -0.5213358402252197, 0.17610080540180206, 0.6902228593826294, 0.9317181706428528, -0.1874966323375702, -0.34273430705070496, 0.6260576248168945, 0.054176442325115204, 0.18028567731380463, 0.49083128571510315, 0.8023386001586914, -0.06405901908874512, 0.3324087858200073, -0.06181899830698967, -0.4287834167480469, -0.18157397210597992, -0.9595550298690796, -1.1901390552520752, -0.5828355550765991, 0.0005195601843297482, -0.4686480760574341, -0.004101586528122425, 1.503366231918335, 1.1466015577316284, -0.7928411960601807, -0.3080996572971344, 0.2574605345726013, -0.240697979927063, 0.3792223334312439, -0.2133224904537201, 0.062380097806453705, -0.6874483227729797, -0.7046193480491638, 0.20181113481521606, 0.39934149384498596, 0.11396913975477219, -0.38398709893226624, -0.10839539766311646, -0.1504075825214386, -0.10689402371644974, 1.0282082557678223, -0.006880682893097401, -0.7273858189582825, -0.29553496837615967, -0.08418987691402435, 0.054822131991386414, 0.41886264085769653, 0.805866539478302, -0.7126801013946533, 0.7187811136245728, 0.06560167670249939, 0.8069602847099304, 0.6808112263679504, 0.04083479568362236, 0.7575666308403015, -0.8038095235824585, 0.5904225707054138, 0.17870771884918213, 0.41166573762893677, 0.5918086171150208, -0.17803242802619934, 0.13165999948978424, 0.2541155517101288, -0.3056350648403168, -0.7229985594749451, 0.3513639569282532, -1.0179978609085083, -0.16968749463558197, 1.3317636251449585, 0.16853110492229462, -0.14353014528751373, 0.06900149583816528, -0.4915233254432678, -0.1765921264886856, -0.7402614951133728, 0.8839106559753418, 0.8608236908912659, 0.014165637083351612, -0.293765664100647, -0.3913910388946533, 0.4899836480617523, 0.6577335596084595, -0.7030360102653503, -0.008776083588600159, 0.8802502751350403, 0.19004960358142853, 0.2167930006980896, 0.7132024765014648, -0.045390535145998, 0.09247012436389923, -0.3477863073348999, 0.2959541082382202, -0.13341660797595978, -0.4774945378303528, -0.16083669662475586, 0.27727028727531433, 0.21335910260677338, -0.2922172546386719 ]
http://arxiv.org/abs/2403.08715v3
http://arxiv.org/pdf/2403.08715v3
SOTOPIA-$π$: Interactive Learning of Socially Intelligent Language Agents
2024-03-13T17:17:48
2024-04-25T20:23:41
Ruiyi Wang, Haofei Yu, Wenxin Zhang, Zhengyang Qi, Maarten Sap, Graham Neubig, Yonatan Bisk, Hao Zhu
cs.CL
cs.CL
Humans learn social skills through both imitation and social interaction. This social learning process is largely understudied by existing research on building language agents. Motivated by this gap, we propose an interactive learning method, SOTOPIA-$\pi$, improving the social intelligence of language agents. This method leverages behavior cloning and self-reinforcement training on filtered social interaction data according to large language model (LLM) ratings. We show that our training method allows a 7B LLM to reach the social goal completion ability of an expert model (GPT-4-based agent), while improving the safety of language agents and maintaining general QA ability on the MMLU benchmark. We also find that this training paradigm uncovers some difficulties in LLM-based evaluation of social intelligence: LLM-based evaluators overestimate the abilities of the language agents trained specifically for social interaction.
[ -0.2300092577934265, -1.0275590419769287, 0.7281749844551086, 0.24759699404239655, -0.12758752703666687, 0.6823554635047913, -0.4423782229423523, -0.40130749344825745, 0.7442148923873901, 0.27361005544662476, -0.35426148772239685, -0.2792423963546753, -0.5062887072563171, -0.09557517617940903, 0.05223693326115608, 0.8472940325737, 0.3710833489894867, 0.25699254870414734, -0.006059706211090088, 0.22391751408576965, 0.17126719653606415, -0.43663549423217773, -1.058462142944336, -0.22837716341018677, 0.6205703616142273, 0.541096568107605, 0.7007317543029785, 0.3457854688167572, 0.2529684603214264, 0.4885087013244629, 0.005650574341416359, 0.5104995369911194, -0.7742984890937805, -0.0071844542399048805, -0.49460920691490173, -0.5906223058700562, -0.5544689297676086, 0.31580889225006104, 0.678776204586029, 0.5846118330955505, -0.22714093327522278, -0.12744362652301788, -0.13408179581165314, 0.6198514699935913, -0.3588615655899048, 0.45890364050865173, -0.6530469655990601, -0.12948736548423767, -0.038134824484586716, -0.22460922598838806, -0.5394611358642578, -0.5784075260162354, -0.19985225796699524, -0.7001355886459351, -0.005033886060118675, -0.06543107330799103, 0.5410359501838684, 0.017616072669625282, -0.1973259299993515, -0.3923134207725525, -0.7037287354469299, 0.5572065711021423, -0.4459448456764221, 0.04217490181326866, 0.46900323033332825, 0.3766182065010071, -0.4744522273540497, -0.4396135210990906, -0.7850230932235718, -0.5312535762786865, 0.2789008617401123, 0.14659054577350616, 0.21506552398204803, 0.2161254733800888, 0.26235243678092957, -0.026364436373114586, -0.002079445868730545, -0.13540753722190857, -0.760046124458313, 0.0615108385682106, 0.9970729351043701, -0.009917364455759525, 0.5162334442138672, -0.3325253129005432, -0.23253943026065826, -0.3134387135505676, -0.4411056935787201, 0.10696131736040115, 0.7340930104255676, 0.1846528798341751, 0.1021813377737999, 0.3295418322086334, -0.4897752106189728, 0.16149917244911194, 0.27278029918670654, -0.2898850440979004, 0.49428585171699524, 0.019338935613632202, 0.14617986977100372, -0.15413573384284973, 0.7997996211051941, 0.1977275311946869, 0.6652846932411194, -0.23793020844459534, -0.04266047105193138, -0.13272665441036224, 0.42040085792541504, -0.3898758888244629, -0.14174936711788177, -0.11334706097841263, -0.2195633351802826, -0.6812755465507507, 0.2924567759037018, -0.8078423738479614, -0.43185797333717346, -0.2803364098072052, 0.4617723822593689, -0.6251097917556763, -0.614276111125946, -0.09454236924648285, -0.1403937190771103, 0.5083688497543335, 0.5140039324760437, -1.1261690855026245, 0.4851679503917694, 0.8061230778694153, 0.5821431279182434, -0.24590511620044708, -0.7861137986183167, -0.8287922143936157, 0.29501503705978394, -0.31518709659576416, 0.8207234740257263, -0.7386051416397095, -0.601655900478363, -0.08129099756479263, 0.14985421299934387, -0.22487133741378784, -0.13618986308574677, -0.04181584343314171, -0.4430685043334961, -0.06320414692163467, -0.3248351812362671, -0.5462993383407593, -0.2374664843082428, 0.16606874763965607, -0.30430108308792114, 0.8451265096664429, 0.11831619590520859, -0.3261049687862396, 0.14058908820152283, -0.5514272451400757, -0.34742921590805054, 0.36863380670547485, -0.2471899539232254, -0.21205729246139526, 0.032447345554828644, 0.008364717476069927, 0.6157873272895813, 0.21769753098487854, 0.3154786229133606, -0.8618968725204468, -0.5556562542915344, 0.4056054949760437, -0.2695550322532654, 0.8528349995613098, 0.03251410648226738, -0.32297202944755554, 0.4095012843608856, -0.8238229751586914, 0.08531705290079117, 0.23462006449699402, -0.20317046344280243, -0.3455049395561218, -0.10565576702356339, -0.3861047029495239, 0.08309536427259445, 0.15626506507396698, -0.6347179412841797, 0.39372584223747253, -0.18449519574642181, 0.3657284080982208, 1.0264464616775513, 0.22876620292663574, 0.5215062499046326, -0.5111421346664429, 0.5552042722702026, -0.7222729325294495, 0.4542867839336395, 0.45307183265686035, -0.5124344229698181, -0.7291698455810547, -0.4927692115306854, -0.05510318651795387, 0.37428367137908936, -1.057773470878601, 0.3237006366252899, -0.3397591710090637, -0.840600311756134, -0.4213688373565674, 0.3896709680557251, 0.3841851055622101, -0.15681198239326477, 0.21620678901672363, -0.25658395886421204, -0.27932530641555786, -0.3237866759300232, -0.10889200121164322, -0.4234763979911804, 0.12034028768539429, 0.18506549298763275, 0.47893011569976807, -0.26260972023010254, 0.5434654951095581, -0.09421525150537491, -0.14333684742450714, -0.6094480156898499, 0.03019130788743496, -0.1383122354745865, 0.3343677222728729, 0.38018468022346497, -0.44817835092544556, -0.7854973673820496, -0.019977157935500145, -0.7208732962608337, 0.038340017199516296, 0.01973656751215458, -0.19174198806285858, 0.010826816782355309, 0.7821357250213623, -0.5797238945960999, 0.3274170458316803, 0.20927214622497559, -0.11490798741579056, 0.29040563106536865, -0.45205315947532654, 0.35355597734451294, -0.8440496325492859, -0.2909029722213745, -0.33687207102775574, -0.32469069957733154, -0.7247021794319153, 0.07665075361728668, 0.127524271607399, -0.07770796120166779, -0.6703291535377502, 0.7986639738082886, -0.5282464623451233, -0.05527020990848541, -0.4028951823711395, 0.3485875427722931, -0.38178491592407227, 0.9811738133430481, 0.07362323999404907, 0.5248079299926758, 0.4073488116264343, -0.49991554021835327, 0.6468243598937988, 0.008982357569038868, -0.13441431522369385, 0.6908114552497864, -0.7085402607917786, 0.434766560792923, -0.1427924931049347, -0.05151517316699028, -0.9074377417564392, -0.48199886083602905, 0.41222527623176575, -0.5717328190803528, 0.23842963576316833, -0.08252450823783875, -0.317042738199234, -0.02997661381959915, -0.6509236097335815, -0.030917659401893616, 0.6825310587882996, -0.5523377060890198, 0.727609395980835, 0.5889864563941956, -0.1935426890850067, -0.1740776151418686, -0.14880457520484924, -0.29465532302856445, -0.17708520591259003, -0.5628775954246521, 0.06974620372056961, 0.10147774964570999, -0.2624708116054535, -0.1354529708623886, 0.32493090629577637, 0.33513209223747253, 0.1659824550151825, 0.30745911598205566, 0.1287546306848526, 0.26184678077697754, 0.16937464475631714, 0.15752273797988892, -0.13019832968711853, 0.1909819394350052, 0.40889135003089905, 0.6016136407852173, -0.4497371315956116, -0.6349358558654785, -0.2992038428783417, -0.09895147383213043, 0.4257403016090393, -0.16915535926818848, 0.6615408658981323, 0.5358676314353943, -0.1413465142250061, -0.1496526300907135, -0.5299291014671326, -0.04484367370605469, -0.511738657951355, 0.30755046010017395, -0.4228852093219757, -0.48731204867362976, 0.24681873619556427, -0.1440603882074356, -0.09179362654685974, 0.09491544961929321, 0.338512122631073, -0.23110133409500122, 0.8088705539703369, 0.44430282711982727, 0.07173371315002441, 0.9479734897613525, -0.2228780835866928, -0.03101385571062565, -0.9443466663360596, -0.4256390333175659, -0.1564328968524933, 0.023848388344049454, -0.4999975860118866, -0.5378493070602417, 0.21118439733982086, -0.09484363347291946, -0.04519062489271164, 0.16802260279655457, -0.11379020661115646, 0.493942528963089, 0.6362402439117432, 0.6392871737480164, 0.32608312368392944, 0.09410464018583298, 0.24398207664489746, 0.2517464756965637, -0.39544677734375, -0.5217428207397461, 1.200531005859375, 0.35838577151298523, 0.999164879322052, 0.2869226634502411, 1.020127534866333, 0.443846732378006, 0.4471006393432617, -0.6082247495651245, 0.8606386184692383, 0.22892208397388458, -0.27931612730026245, -0.8148100972175598, -0.34177008271217346, -0.8358024954795837, 0.29262790083885193, -0.310138463973999, -0.7660857439041138, 0.03569099307060242, -0.01479102112352848, -0.13572262227535248, 0.09791995584964752, -0.782708466053009, 0.513149619102478, -0.3712943494319916, -0.5875629782676697, -0.7349767088890076, -0.47062957286834717, 0.11109686642885208, 0.20081570744514465, 0.2807202935218811, -0.4211038053035736, -0.016767174005508423, 0.4626055359840393, -0.40397122502326965, 1.0727792978286743, -0.42567428946495056, 0.2838803231716156, 0.17064212262630463, 0.03354732319712639, 0.7280400395393372, 0.12465111166238785, -0.14181406795978546, -0.15552343428134918, -0.07551821321249008, -0.6457496881484985, -0.8985447883605957, 0.5479027628898621, -0.9254503846168518, -0.8725951313972473, -0.5301279425621033, -0.09756293147802353, -0.3090704381465912, -0.03078644722700119, -0.14835231006145477, 0.031555384397506714, -0.3893040120601654, 0.3227832317352295, 0.7027416825294495, -0.04083643853664398, 0.2628900408744812, 0.6272714138031006, -0.4622008502483368, -0.6386828422546387, 1.1020138263702393, 0.10290129482746124, 0.6182408332824707, 0.1272628903388977, 0.1325034350156784, -0.07910284399986267, -0.21193571388721466, -0.2120152860879898, 0.5474745035171509, -0.6807251572608948, 0.22823438048362732, -0.7160341143608093, -0.3791486620903015, -0.3177567720413208, -0.24704650044441223, -0.3777467608451843, -0.17878508567810059, 0.005136456340551376, -0.29954591393470764, 0.41274893283843994, 0.8637242317199707, -0.35369443893432617, 0.3624317944049835, -0.3059060573577881, 0.23894988000392914, 0.6549994945526123, 0.24116523563861847, 0.17863772809505463, -0.4138203263282776, 0.014371334575116634, 0.12192101776599884, -0.030055373907089233, -0.9674466252326965, 0.08643677085638046, 0.22044460475444794, 0.950982391834259, 0.41179534792900085, -0.0481901541352272, 0.4694024622440338, -0.2780906558036804, 0.3020501434803009, -0.009520024061203003, -0.904597282409668, 0.6463517546653748, -0.36008545756340027, -0.00989729817956686, 0.6484501957893372, 0.4973709285259247, -0.4424571394920349, -0.6266743540763855, -0.9003317356109619, -0.37080684304237366, 0.608722448348999, 0.1009315624833107, 0.32937148213386536, -0.2705884277820587, 0.35852041840553284, 0.03803935647010803, 0.15391097962856293, -0.8450347185134888, 0.23839551210403442, -0.10134010016918182, -0.21956871449947357, 0.029721949249505997, -0.23378582298755646, 0.21886023879051208, -0.39441967010498047, 0.9714949727058411, -0.20713847875595093, 0.03698447719216347, 0.09002340584993362, -0.3037060499191284, -0.023162564262747765, -0.016466502100229263, 0.2876231372356415, 0.6677573323249817, -0.14814330637454987, -0.0071343122981488705, 0.34258708357810974, -0.4108071029186249, 0.19471001625061035, -0.15087197721004486, -0.04509368911385536, -0.40885084867477417, 0.306109219789505, 0.7090868949890137, 0.3527452051639557, -0.6955596208572388, 0.5993022322654724, -0.20014609396457672, -0.023138385266065598, -0.6010337471961975, 0.7473117709159851, 0.03485069423913956, 0.37511584162712097, 0.20616020262241364, -0.24058374762535095, 0.08657584339380264, -1.0037505626678467, 0.055096615105867386, 0.4967958331108093, -0.41779014468193054, -0.30169081687927246, 0.3167676329612732, 0.5599141120910645, -0.7437585592269897, 0.5150468349456787, -0.5506085157394409, -0.576328456401825, 0.5273599624633789, 0.22624452412128448, 0.6291499137878418, -0.4872121214866638, 0.6468071341514587, 0.16662196815013885, 0.29706788063049316, -0.005776111502200365, 0.4610426127910614, -0.36750805377960205, -0.6799205541610718, -0.11819520592689514, -0.45665639638900757, -0.8485233783721924, -0.11092308908700943, -0.47272229194641113, 0.41977035999298096, -0.6484874486923218, 0.0628526583313942, -0.07974161207675934, 0.16413243114948273, -0.5168240666389465, -0.17726686596870422, -0.1725798398256302, 0.46982085704803467, -0.8463415503501892, 1.2561389207839966, 0.6085565686225891, -0.6207213997840881, -0.7590256333351135, -0.14952532947063446, -0.22340302169322968, -0.9312536716461182, 0.34572163224220276, 0.14525429904460907, -0.37832316756248474, 0.1461651623249054, -0.5708019137382507, -0.8204138875007629, 0.8681414127349854, 0.22777511179447174, -0.26435860991477966, -0.051611702889204025, -0.0387447327375412, 0.8014277219772339, -0.2644259035587311, 0.4444200098514557, 0.40750637650489807, 0.18217185139656067, -0.03938669711351395, -0.5587839484214783, 0.060362983494997025, -0.5321922898292542, 0.20186229050159454, -0.1757700890302658, -1.1055090427398682, 0.38360437750816345, -0.44906172156333923, 0.02539220079779625, 0.11942104995250702, 0.8605054020881653, 0.46311700344085693, 0.15272021293640137, 0.6466283202171326, -0.10871090739965439, 0.9557191729545593, 0.016210665926337242, 0.8817799687385559, -0.09673658013343811, 0.2797289192676544, 1.054443120956421, -0.25590723752975464, 0.8825015425682068, 0.4444653391838074, -0.23962529003620148, 0.5198668837547302, 0.6463916301727295, -0.008020678535103798, 0.49747925996780396, 0.24039950966835022, -0.2324657440185547, -0.3443051278591156, 0.21292243897914886, -0.1571875810623169, 0.3308764100074768, 0.4660123288631439, -0.03859834745526314, 0.29174643754959106, 0.29326575994491577, 0.01431527640670538, 0.3142893612384796, -0.16401594877243042, 0.951819658279419, -0.10535935312509537, -0.6457305550575256, 0.05937425047159195, -0.2899242639541626, 0.5084315538406372, -0.5649482011795044, -0.20304246246814728, -0.3347691595554352, 0.15581014752388, -0.04059438034892082, -0.6612074971199036, 0.08291494101285934, -0.23701965808868408, 0.27823391556739807, -0.06394975632429123, 0.703729510307312, -0.48133742809295654, -0.3670215904712677, 0.5479332804679871, 0.38713353872299194, 0.609383225440979, 0.03294402360916138, -0.48334214091300964, -0.0010241877753287554, -0.003686606651172042, -0.30058324337005615, 0.31414973735809326, 0.6103939414024353, -0.009095102548599243, 0.890750527381897, 0.6520312428474426, 0.14971788227558136, 0.1688433438539505, 0.1717914640903473, 0.7160077095031738, -0.6558074951171875, -0.4095827341079712, -0.698857843875885, 0.268932580947876, -0.6162003874778748, -0.04631376639008522, 0.5568215250968933, 0.10856637358665466, 0.9681383371353149, -0.1710965931415558, 0.6971591114997864, -0.18988516926765442, 0.5330796837806702, -0.5414613485336304, 0.6397097706794739, -0.314704567193985, 0.2592579126358032, -0.35588663816452026, -0.8711944222450256, 0.35720720887184143, 0.7822757959365845, -0.48929381370544434, 0.29254186153411865, 0.576869547367096, 0.7096481323242188, -0.043380074203014374, -0.030676092952489853, 0.65040123462677, 0.06338955461978912, 0.3765503764152527, 0.34805139899253845, 1.0387381315231323, -0.08405083417892456, 0.49760952591896057, -0.5597814917564392, -0.6267251968383789, -0.35235363245010376, -0.4544207751750946, -1.4146324396133423, -0.5418679714202881, -0.11664321273565292, -0.28985241055488586, 0.4679661691188812, 1.2587110996246338, 0.6430103182792664, -0.4775315523147583, -0.2738727927207947, 0.0669848769903183, 0.3776523172855377, -0.25060054659843445, -0.2490301877260208, 0.19204342365264893, -0.6232283115386963, -1.0311498641967773, 0.45554786920547485, 0.29909899830818176, 0.0015167172532528639, -0.5605001449584961, -0.3318965435028076, -0.26572519540786743, 0.17128607630729675, 0.5384388566017151, 0.41281408071517944, -0.619953453540802, -0.4354117810726166, -0.02408192865550518, -0.26192012429237366, -0.08379136025905609, 0.194902703166008, -0.5236952900886536, 0.538840115070343, 0.45464223623275757, 0.5672581791877747, 0.6719306111335754, -0.01264814380556345, 0.6064940690994263, -0.2719583809375763, 0.18939246237277985, -0.21204499900341034, 0.27862000465393066, 0.23233161866664886, -0.55771404504776, 0.7414544820785522, 0.25517916679382324, -0.4065895080566406, -0.47969183325767517, 0.107151098549366, -0.8978573083877563, -0.06853579729795456, 1.3951709270477295, -0.2692759931087494, -0.5494019389152527, -0.11674366891384125, -0.5050807595252991, 0.2823612093925476, -0.604020893573761, 1.1184370517730713, 0.6301400065422058, -0.23068077862262726, -0.1768486648797989, -0.30760064721107483, 0.5361314415931702, 0.19865211844444275, -1.1177847385406494, -0.29145485162734985, 0.07894077897071838, 0.41159746050834656, 0.1763671189546585, 0.9948856234550476, -0.010938307270407677, 0.6573165655136108, 0.006205211393535137, 0.3147448003292084, -0.10557568818330765, -0.5059928894042969, -0.14782309532165527, -0.00659094238653779, 0.252362459897995, -0.08268193155527115 ]
http://arxiv.org/abs/2403.08694v2
http://arxiv.org/pdf/2403.08694v2
TeaMs-RL: Teaching LLMs to Teach Themselves Better Instructions via Reinforcement Learning
2024-03-13T16:57:57
2024-05-03T22:44:24
Shangding Gu, Alois Knoll, Ming Jin
cs.CL
cs.CL
The development of Large Language Models (LLMs) often confronts challenges stemming from the heavy reliance on human annotators in the reinforcement learning with human feedback (RLHF) framework, or the frequent and costly external queries tied to the self-instruct paradigm. In this work, we pivot to Reinforcement Learning (RL) -- but with a twist. Diverging from the typical RLHF, which refines LLMs following instruction data training, we use RL to directly generate the foundational instruction dataset that alone suffices for fine-tuning. Our method, TeaMs-RL, uses a suite of textual operations and rules, prioritizing the diversification of training datasets. It facilitates the generation of high-quality data without excessive reliance on external advanced models, paving the way for a single fine-tuning step and negating the need for subsequent RLHF stages. Our findings highlight key advantages of our approach: reduced need for human involvement and fewer model queries (only $5.73\%$ of WizardLM's total), along with enhanced capabilities of LLMs in crafting and comprehending complex instructions compared to strong baselines, and substantially improved model privacy protection.
[ -0.29047441482543945, -0.5582225322723389, 0.12650597095489502, 0.18110164999961853, -0.03307933732867241, 0.4221952557563782, -0.31808751821517944, -0.15619173645973206, -0.2235797792673111, 0.9206556677818298, -0.8874773979187012, -0.5615185499191284, -0.33871105313301086, 0.012315156869590282, -0.2523892819881439, 1.3490959405899048, -0.00011530815390869975, 0.030901988968253136, -0.058744948357343674, -0.11406230926513672, -0.3642145097255707, -0.4641318917274475, -0.8532567620277405, -0.6289411783218384, 0.8391126990318298, 0.7784922122955322, 0.5902168154716492, 0.7518402338027954, 0.19490307569503784, 0.2641696631908417, 0.26051437854766846, 0.6628603339195251, -0.7573024034500122, 0.4115660786628723, -0.11779741197824478, -0.4061846435070038, -0.20077386498451233, -0.0015876978868618608, 0.35877713561058044, 0.6983824372291565, -0.49470481276512146, 0.2016332596540451, 0.018275711685419083, 1.0482639074325562, -0.39998161792755127, 0.3393096923828125, -0.36859479546546936, 0.28805065155029297, 0.2333422303199768, -0.35442838072776794, -0.8444205522537231, -0.36338135600090027, 0.16777311265468597, -0.6860641837120056, 0.2540956735610962, 0.34291017055511475, 0.6132439970970154, 0.441626638174057, -0.2668437361717224, -0.2224501371383667, -0.7161157131195068, 0.8423945307731628, -0.4859171509742737, 0.2621691823005676, 0.31404542922973633, 0.33683717250823975, -0.3997427821159363, -0.43718191981315613, -0.06263650208711624, -0.42553192377090454, 0.05896131694316864, 0.08101107180118561, 0.37072131037712097, 0.13120137155056, 0.2162228226661682, 0.17323113977909088, -0.3708784580230713, 0.3890630304813385, -0.5192539095878601, -0.04080658406019211, 0.9500125646591187, 0.36045461893081665, 0.23966963589191437, 0.28629645705223083, -0.4218859076499939, -0.341217964887619, -1.0116358995437622, -0.07771095633506775, 0.24094149470329285, 0.5514972805976868, 0.060148824006319046, 0.34062638878822327, -0.26202675700187683, 0.5518900156021118, 0.3261661231517792, -0.1361771672964096, 0.016493486240506172, -0.012759513221681118, -0.1401190459728241, 0.11001250892877579, 0.6971396207809448, 0.25519639253616333, 0.4192018210887909, -0.5021753907203674, -0.5124593377113342, -0.16749224066734314, 0.3146582543849945, -0.7711902856826782, -0.5003853440284729, -0.021149856969714165, -0.24337883293628693, -0.3643081784248352, -0.039181239902973175, -0.44165799021720886, -0.5183169841766357, -0.4908604323863983, 0.3381004333496094, -0.3022734820842743, -0.18423886597156525, 0.11607833951711655, 0.07154975831508636, 0.2518227994441986, 0.5156072974205017, -1.099662184715271, 0.5348383784294128, 0.7236291766166687, 0.401661217212677, -0.41443976759910583, -0.4488532841205597, -0.9240908622741699, 0.20920607447624207, -0.6556605100631714, 0.7767221331596375, -0.2906346917152405, -0.6338157653808594, -0.022174641489982605, -0.22955778241157532, 0.12928174436092377, -0.7152983546257019, -0.004712777677923441, -0.5815606117248535, 0.44961419701576233, -0.18976490199565887, -0.6863710880279541, 0.0146112609654665, 0.18688271939754486, -0.6322823166847229, 1.0382508039474487, 0.03471507132053375, -0.2729019820690155, 0.46442630887031555, -0.7265256643295288, -0.6509645581245422, 0.13207994401454926, -0.30668318271636963, -0.44068703055381775, -0.1444721519947052, 0.26965031027793884, 0.5775120854377747, -0.1322326362133026, 0.23932482302188873, -0.09989385306835175, -0.2356899231672287, 0.15850232541561127, -0.26292628049850464, 0.3768395483493805, 0.018920497968792915, -0.2759193181991577, 0.5295535326004028, -0.5154678821563721, 0.08400708436965942, 0.04383692890405655, -0.6582669615745544, -0.1339184194803238, 0.12222032248973846, -0.14919030666351318, 0.2642962634563446, -0.016358036547899246, -0.09466657042503357, 0.3423243761062622, -0.44676148891448975, 0.24015390872955322, 0.8786036372184753, -0.002594488672912121, 0.6509583592414856, -0.4115201234817505, 0.6224506497383118, -0.22283165156841278, 0.3065516948699951, -0.05905870720744133, -0.2971045672893524, -0.7700775861740112, -0.06413904577493668, 0.0929749384522438, 0.38405051827430725, -0.9374827146530151, 0.09706656634807587, -0.09613553434610367, -0.34771159291267395, -0.5403111577033997, 0.37190842628479004, 0.805725634098053, 0.4414203464984894, 0.4671752452850342, -0.1706165075302124, -0.3818527162075043, -0.7504279017448425, -0.09937843680381775, -0.08415026217699051, 0.14005407691001892, 0.20923632383346558, 0.33114829659461975, 0.04040226712822914, 0.8036321401596069, -0.31327587366104126, -0.06563276797533035, -0.5776769518852234, 0.29803937673568726, -0.07684636861085892, 0.3594973683357239, -0.08261304348707199, -0.6620849370956421, -0.6582042574882507, -0.08167030662298203, -0.5909993648529053, -0.08759599179029465, -0.10595624893903732, -0.13518624007701874, 0.5460628271102905, 0.631945788860321, -0.2647678554058075, 0.20459091663360596, 0.3847839832305908, -0.34232038259506226, 0.4786367416381836, -0.4344736933708191, -0.04709206894040108, -0.6941971182823181, -0.39665812253952026, -0.20488117635250092, -0.4412955641746521, -0.4917444884777069, 0.06994324922561646, -0.01129851397126913, 0.028982114046812057, -0.4284088611602783, 0.5453954339027405, -0.6153461933135986, -0.1992211937904358, -0.33392637968063354, 0.0761188194155693, -0.040187470614910126, 0.7937556505203247, 0.12467467039823532, 0.9598152041435242, 0.06674379855394363, -0.8330053091049194, 0.3743346929550171, 0.08795547485351562, -0.12450999021530151, 0.2736481726169586, -0.45915788412094116, 0.1711723655462265, -0.03882208094000816, 0.3791579604148865, -0.5095801949501038, -0.13472026586532593, 0.4305962026119232, -0.22174182534217834, 0.4877556264400482, -0.2279023677110672, -0.5217059850692749, -0.07767846435308456, -0.17481115460395813, -0.05561576783657074, 0.5680252909660339, -0.7678090333938599, 0.43049782514572144, 0.4384078085422516, 0.2149987816810608, -0.5981631278991699, -0.5226835012435913, -0.016240622848272324, -0.16632908582687378, -0.33099812269210815, 0.21573764085769653, -0.07602954655885696, -0.15921343863010406, 0.12178128212690353, -0.19133363664150238, -0.16503220796585083, 0.2958957254886627, 0.35761353373527527, 0.23248064517974854, -0.10240789502859116, 0.4361235499382019, -0.13922515511512756, -0.30648449063301086, -0.010439787060022354, -0.2784241735935211, 0.4687747061252594, -0.10827869176864624, -0.3426509201526642, -0.318765789270401, 0.2280859798192978, 0.31645286083221436, -0.33291345834732056, 0.7833890914916992, 0.36022770404815674, -0.012800711207091808, -0.860167384147644, -0.3075912594795227, -0.40132007002830505, -0.4687855839729309, 0.4613916575908661, -0.05609689652919769, -0.9495711326599121, 0.16907446086406708, -0.07942578196525574, 0.5249312520027161, 0.1975914090871811, 0.41462478041648865, -0.2189248949289322, 0.9613200426101685, 0.5216262340545654, -0.11334922909736633, 0.5872318148612976, -0.18599174916744232, -0.13587260246276855, -0.6735677719116211, -0.3685441315174103, -0.024870559573173523, -0.13112622499465942, -0.3676950931549072, -0.5478377938270569, 0.23724019527435303, -0.00481308251619339, -0.5653164982795715, 0.16968828439712524, -0.5295931696891785, 0.7166092991828918, 0.6273613572120667, 0.33342066407203674, 0.28742727637290955, -0.054185107350349426, 0.08620952814817429, 0.13051195442676544, -0.9137265682220459, -0.4726208448410034, 1.2698599100112915, 0.3292575180530548, 1.0003505945205688, 0.03421836346387863, 1.1645536422729492, 0.3748028576374054, 0.5392684936523438, -0.6323261260986328, 0.5990582704544067, -0.08663918077945709, -0.3663376271724701, -0.6161842346191406, -0.5789837837219238, -1.0181019306182861, 0.3058204650878906, -0.2778322100639343, -0.22297969460487366, -0.3708328306674957, 0.37294134497642517, -0.610491931438446, 0.16929638385772705, -0.8769860863685608, 0.7945063710212708, -0.4102809429168701, -0.5592355132102966, -0.4669228494167328, -0.46949151158332825, 0.48299917578697205, 0.23743346333503723, 0.21867050230503082, -0.08046657592058182, -0.1410113126039505, 0.6584156155586243, -0.5132657289505005, 0.9944891333580017, -0.1681590974330902, -0.28596386313438416, 0.17114759981632233, 0.05342203751206398, 0.5671581625938416, 0.03135763108730316, 0.08964592963457108, -0.5890879034996033, -0.2671533524990082, -0.3186928927898407, -0.7389565110206604, 0.5092074871063232, -0.7421578764915466, -0.6193679571151733, -0.2529910206794739, -0.6652213335037231, -0.33204385638237, -0.08838965743780136, -0.10629275441169739, 0.5755143761634827, 0.020552385598421097, 0.024069255217909813, 1.135495901107788, -0.42202723026275635, 0.2985377907752991, 0.6275652050971985, -0.5739374756813049, -0.3087519705295563, 1.105124592781067, 0.06436531245708466, 0.5881988406181335, 0.5274481773376465, 0.18845786154270172, -0.1902921497821808, -0.5103469491004944, -0.4416208863258362, 0.1014072448015213, -0.7250552177429199, -0.09220106899738312, -0.3018772304058075, -0.15365895628929138, -0.18143793940544128, 0.022577283903956413, -0.6232250332832336, -0.3445183336734772, -0.28515881299972534, -0.09970996528863907, 0.39293378591537476, 0.9238754510879517, 0.04548925161361694, 0.15986984968185425, -0.7048925161361694, 0.24607792496681213, 0.4741904139518738, 0.3896278440952301, 0.016569528728723526, -0.46279242634773254, -0.509282648563385, -0.13663256168365479, -0.15306662023067474, -0.6670018434524536, 0.44756388664245605, 0.1290806531906128, 0.5831812620162964, -0.002997505711391568, 0.20367498695850372, 0.6351425051689148, -0.6563774347305298, 0.45945215225219727, 0.08116868138313293, -0.6036853194236755, 0.4459262788295746, -0.2747448980808258, 0.12649157643318176, 0.5867531895637512, 0.014493454247713089, -0.6540249586105347, -0.36680731177330017, -0.5784832239151001, -0.9817343950271606, 0.9024001955986023, -0.2880658805370331, -0.08192653954029083, 0.09252005815505981, 0.3485596477985382, 0.12893140316009521, 0.21334010362625122, -0.566423773765564, -0.3294808566570282, -0.016068005934357643, -0.2517194151878357, 0.04783228784799576, 0.007785923779010773, -0.20753121376037598, -0.16400380432605743, 0.8558120727539062, -0.1423025280237198, 0.008426615968346596, 0.04447526857256889, -0.30977433919906616, -0.12639786303043365, 0.11512874811887741, 0.6882297396659851, 0.49325257539749146, 0.04925497993826866, -0.032627008855342865, 0.2572702467441559, -0.024179870262742043, 0.03201158717274666, -0.2555330991744995, 0.029495935887098312, -0.4029442071914673, 0.533831000328064, 0.9636414051055908, 0.5969272255897522, -0.8115671277046204, 0.2557328939437866, -0.09429771453142166, -0.3023400604724884, -0.22512881457805634, 0.5387193560600281, 0.18176381289958954, 0.39162883162498474, 0.23457767069339752, -0.15617866814136505, -0.011488694697618484, -0.38367027044296265, 0.461830198764801, 0.1948716640472412, -0.29623326659202576, -0.09313340485095978, 0.22680538892745972, 0.4089129567146301, -0.48283955454826355, 0.5528877973556519, -0.3659740388393402, -0.5859408974647522, 0.6393378376960754, 0.3474426567554474, 0.7257469296455383, -0.1391724795103073, 0.5338767170906067, 0.2178945243358612, 0.2106810212135315, -0.4867393672466278, 0.02797381393611431, -0.11858440935611725, -0.48769089579582214, -0.6445662975311279, -0.28782564401626587, -0.8627585172653198, 0.025710010901093483, -0.6828818321228027, 0.0768464133143425, -0.8087570071220398, 0.33419471979141235, -0.43979817628860474, 0.12896497547626495, -0.4543790817260742, 0.1295524686574936, 0.3171030879020691, 0.6504690051078796, -0.5921910405158997, 0.9859240651130676, 0.46448439359664917, -0.5799515247344971, -1.138688087463379, -0.10865625739097595, -0.13807325065135956, -0.9186300039291382, 0.9657492637634277, 0.11061681807041168, -0.20536816120147705, 0.052330706268548965, -0.6668670773506165, -0.5686719417572021, 1.0453717708587646, 0.18374305963516235, -0.6790114641189575, -0.15354229509830475, -0.052691519260406494, 0.5388122200965881, -0.4280547499656677, 0.1218891367316246, 0.27704620361328125, 0.22514361143112183, 0.08850415796041489, -0.6823222041130066, -0.03276248648762703, 0.09621662646532059, -0.1664053350687027, 0.23721876740455627, -0.6834540367126465, 0.7738801836967468, -0.30180904269218445, -0.3215339183807373, -0.2990346848964691, 0.8785242438316345, 0.31633543968200684, 0.03200380876660347, 0.4933137893676758, 0.3856750726699829, 0.8975715637207031, 0.14869892597198486, 1.019655704498291, -0.08062963932752609, 0.24155476689338684, 1.5397307872772217, -0.20038451254367828, 0.868292510509491, 0.4123462736606598, -0.15007179975509644, 0.41868123412132263, 0.6257734894752502, 0.060545966029167175, 0.536138653755188, 0.5852541923522949, -0.19468510150909424, -0.5906217694282532, 0.13418827950954437, -0.09022661298513412, 0.05746108666062355, 0.39696428179740906, -0.10071561485528946, -0.3857082426548004, -0.097983717918396, -0.12025737762451172, 0.4307400584220886, -0.4133012890815735, 0.8863503932952881, 0.09756921231746674, -0.8365890383720398, 0.4877101480960846, -0.19459623098373413, 0.7282481789588928, -0.3930075764656067, -0.12468280643224716, -0.3036772310733795, 0.268067866563797, -0.2033189833164215, -0.7292992472648621, 0.13323840498924255, 0.013884090818464756, -0.19949176907539368, -0.5847644805908203, 0.4578130543231964, -0.753240704536438, -0.20448683202266693, 0.33317190408706665, 0.2982833981513977, 0.03744228929281235, 0.2286846786737442, -0.8252308368682861, -0.1391165554523468, -0.02160162478685379, -0.3680786192417145, 0.46579068899154663, 0.3812773525714874, -0.1064017191529274, 1.0707693099975586, 0.5302802920341492, 0.06732167303562164, 0.2708147168159485, 0.19993238151073456, 0.7446710467338562, -0.644926130771637, -0.22439511120319366, -0.751677393913269, 0.4371102452278137, -0.1565500795841217, -0.32904818654060364, 0.6101301312446594, 0.37136077880859375, 0.9213986396789551, 0.009678252041339874, 0.8722577691078186, 0.3278731405735016, 0.6467609405517578, -0.6561876535415649, 0.6444488167762756, -0.29318663477897644, 0.36299169063568115, 0.14101898670196533, -0.3964979946613312, -0.36880236864089966, 0.5736756324768066, -0.44728517532348633, 0.05484217777848244, 0.5115617513656616, 0.737159252166748, 0.17011120915412903, 0.011109150014817715, 0.29546496272087097, -0.09708400070667267, 0.5727861523628235, 0.6438941955566406, 0.9972830414772034, -0.1904529631137848, 0.6682664752006531, -0.2501939833164215, -0.04738021269440651, -0.28073373436927795, -0.7276890277862549, -1.268010139465332, -0.27698490023612976, -0.46076449751853943, -0.22943969070911407, 0.35030508041381836, 1.4550343751907349, 0.7055021524429321, -0.721164345741272, -0.46014100313186646, -0.27729344367980957, 0.43958741426467896, -0.2858175039291382, -0.1444324553012848, 0.2385954111814499, -0.9008572697639465, -0.48451104760169983, 0.6087440252304077, 0.17780844867229462, -0.16254501044750214, -0.5119251608848572, -0.6588823795318604, -0.13642078638076782, -0.15954403579235077, 0.4876442551612854, 0.4928549528121948, -0.7502556443214417, -0.2188008427619934, -0.033127520233392715, -0.42156529426574707, 0.002051811432465911, 0.6032088994979858, -0.7598041892051697, 0.2209426909685135, 0.20653168857097626, 0.9297369718551636, 0.44287562370300293, -0.22359971702098846, 0.8308865427970886, -0.5821856260299683, -0.26544734835624695, 0.190242201089859, -0.033201757818460464, 0.3805931508541107, -0.173396036028862, 0.5146434903144836, -0.007936086505651474, -0.658525824546814, -0.879762589931488, 0.2728297710418701, -0.5130732655525208, -0.27117422223091125, 1.2267873287200928, -0.1248508021235466, -0.34850016236305237, -0.1427895426750183, -0.34820640087127686, 0.32706353068351746, -0.6530328989028931, 0.8730736374855042, 0.5027650594711304, -0.23154237866401672, -0.344607949256897, -0.5124644637107849, 0.6790982484817505, 0.39707091450691223, -0.8872824311256409, 0.3015022277832031, 0.4738888442516327, 0.3392137289047241, -0.23662731051445007, 0.5274726748466492, 0.18242959678173065, 0.22746014595031738, -0.24059247970581055, 0.2256014496088028, -0.3775523602962494, -0.5784677863121033, -0.16693338751792908, 0.12391317635774612, 0.266489714384079, -0.3337874114513397 ]
http://arxiv.org/abs/2403.08693v1
http://arxiv.org/pdf/2403.08693v1
Do Language Models Care About Text Quality? Evaluating Web-Crawled Corpora Across 11 Languages
2024-03-13T16:56:33
2024-03-13T16:56:33
Rik van Noord, Taja Kuzman, Peter Rupnik, Nikola Ljubešić, Miquel Esplà-Gomis, Gema Ramírez-Sánchez, Antonio Toral
cs.CL
cs.CL
Large, curated, web-crawled corpora play a vital role in training language models (LMs). They form the lion's share of the training data in virtually all recent LMs, such as the well-known GPT, LLaMA and XLM-RoBERTa models. However, despite this importance, relatively little attention has been given to the quality of these corpora. In this paper, we compare four of the currently most relevant large, web-crawled corpora (CC100, MaCoCu, mC4 and OSCAR) across eleven lower-resourced European languages. Our approach is two-fold: first, we perform an intrinsic evaluation by performing a human evaluation of the quality of samples taken from different corpora; then, we assess the practical impact of the qualitative differences by training specific LMs on each of the corpora and evaluating their performance on downstream tasks. We find that there are clear differences in quality of the corpora, with MaCoCu and OSCAR obtaining the best results. However, during the extrinsic evaluation, we actually find that the CC100 corpus achieves the highest scores. We conclude that, in our experiments, the quality of the web-crawled corpora does not seem to play a significant role when training LMs.
[ -0.3981366753578186, -0.30384549498558044, 0.5515694618225098, 0.055578384548425674, -0.26541081070899963, 0.22360123693943024, -0.48890212178230286, -0.7616710066795349, 0.05366906896233559, 0.15395760536193848, -0.18172620236873627, -0.6521509289741516, -0.6458762288093567, 0.43949928879737854, -0.7803742289543152, 0.8479660153388977, 0.08011527359485626, 0.27045199275016785, -0.34962359070777893, -0.12431458383798599, 0.14970731735229492, -0.8957681655883789, -0.5108826756477356, -0.11257816851139069, 0.7283498048782349, 0.08369623124599457, 0.7470411062240601, 0.5941348671913147, 0.7245171070098877, 0.27340811491012573, -0.3737109303474426, 0.25757402181625366, -0.6566992998123169, -0.14118117094039917, -0.3749745488166809, -0.44039252400398254, -0.2539350092411041, 0.2540625035762787, 0.4931241571903229, 0.8990824222564697, 0.043683234602212906, 0.22324812412261963, 0.12203171849250793, 0.6062857508659363, -0.6534932255744934, -0.15252265334129333, -0.5974511504173279, 0.031917352229356766, -0.059156350791454315, -0.27754124999046326, -0.5374530553817749, -0.23894533514976501, 0.08437870442867279, -0.46301040053367615, 0.4700286388397217, 0.01409590058028698, 1.0873838663101196, 0.056808292865753174, -0.27106282114982605, -0.6220114231109619, -0.5202902555465698, 0.8906530737876892, -0.7050468921661377, 0.6085436940193176, 0.5611921548843384, -0.15915656089782715, 0.05519125983119011, -0.38438674807548523, -0.30008766055107117, -0.30231839418411255, -0.06970071792602539, 0.1642027199268341, -0.2857665717601776, -0.015260904096066952, -0.14945149421691895, 0.5422631502151489, -0.6083647012710571, 0.5720065236091614, -0.5314235091209412, -0.4407191276550293, 0.3998582363128662, -0.07263394445180893, 0.3289746940135956, 0.16648836433887482, -0.29538387060165405, -0.32198038697242737, -0.8160431385040283, 0.2571517527103424, 0.7754202485084534, 0.31209999322891235, 0.1049465462565422, 0.47940826416015625, -0.060731589794158936, 0.4962462782859802, -0.1268659383058548, -0.26482656598091125, 0.15841428935527802, -0.28447383642196655, -0.05935565382242203, -0.07993462681770325, 0.947507381439209, 0.02559017948806286, 0.5088744163513184, -0.46899789571762085, -0.4581233859062195, 0.4825281500816345, 0.5023400187492371, -0.660808801651001, -0.21913044154644012, 0.21121430397033691, -0.4075436592102051, -0.31025710701942444, 0.13184738159179688, -0.24808351695537567, 0.027150137349963188, -0.36826711893081665, 0.2712456285953522, -0.43521204590797424, -0.14813752472400665, 0.09723781794309616, -0.13046333193778992, 0.02163787931203842, 0.36826634407043457, -0.8990079164505005, 0.4428878724575043, 0.7764974236488342, 0.719797670841217, -0.525395393371582, -0.2186484932899475, -0.5621660351753235, -0.31629857420921326, -0.7641276121139526, 0.955379068851471, -0.7669599056243896, -0.24465110898017883, 0.3381648063659668, 0.04444286599755287, -0.033032920211553574, -0.6660330295562744, 0.7552093863487244, -0.6102352142333984, 0.2926299273967743, -0.3351963460445404, -0.5138689875602722, -0.12119022011756897, 0.3403502404689789, -0.7415221333503723, 1.0908018350601196, 0.20279279351234436, -0.8031968474388123, 0.5126522183418274, -0.1895666867494583, -0.3362644910812378, -0.10995692014694214, 0.06330952793359756, -0.12832343578338623, 0.2975239157676697, 0.05250188335776329, 0.6230910420417786, -0.07490096241235733, 0.09314008057117462, -0.3938685357570648, -0.49663472175598145, 0.4864674210548401, -0.4071674644947052, 0.31247344613075256, 0.20326094329357147, -0.2076829969882965, -0.15956464409828186, -0.8463430404663086, 0.1313435137271881, -0.32156726717948914, -0.6011585593223572, -0.4876478612422943, 0.04538858309388161, 0.22247417271137238, 0.47686243057250977, 0.20606859028339386, -0.6334730982780457, -0.1154104471206665, -0.39137551188468933, 0.5520370006561279, 0.664393424987793, -0.35769692063331604, 0.4590776264667511, -0.1463736593723297, 0.604697048664093, 0.00738538010045886, 0.08607930690050125, 0.15040303766727448, -0.3683767318725586, -0.8608896732330322, -0.24790771305561066, 0.5333808064460754, 0.19237849116325378, -0.3859368860721588, 0.202860027551651, -0.2591005861759186, -0.7487877607345581, -0.8882601857185364, 0.2456216812133789, 0.5101420283317566, 0.004865057300776243, 0.3522421419620514, -0.5142008662223816, -0.1314106434583664, -0.8990813493728638, -0.11079303920269012, -0.26054617762565613, 0.05448915809392929, 0.09322190284729004, 0.39131638407707214, -0.22340553998947144, 0.730940580368042, 0.062388330698013306, -0.11462157219648361, -0.20910191535949707, 0.05054774507880211, -0.12219050526618958, 0.13921935856342316, 0.5335060954093933, -0.6679048538208008, -0.233534574508667, 0.037755999714136124, -0.48099806904792786, -0.13768665492534637, 0.13952909409999847, -0.06782729923725128, 0.4882553219795227, 0.27530401945114136, -0.4562532305717468, 0.06310971081256866, 1.084557056427002, -0.11860834062099457, 0.4611039161682129, -0.3210581839084625, 0.12210985273122787, -0.6435591578483582, 0.2842847406864166, -0.048380833119153976, -0.46781203150749207, -0.5299285054206848, 0.19716189801692963, 0.21249471604824066, 0.06046833470463753, -0.6860397458076477, 0.5795609354972839, -0.3976372182369232, -0.4479208290576935, -0.23621395230293274, 0.6200140118598938, 0.15111617743968964, 0.30486732721328735, 0.2549506723880768, 0.8488215804100037, 0.19848191738128662, -0.8129606246948242, -0.16239137947559357, -0.012863430194556713, -0.49852311611175537, 0.25631919503211975, -0.5422235727310181, 0.22880682349205017, 0.131189227104187, -0.07504800707101822, -0.8590845465660095, 0.1338128000497818, -0.14655360579490662, -0.7224825024604797, 0.24164733290672302, 0.012088601477444172, -0.5689563751220703, -0.1438411921262741, -0.17254319787025452, 0.07059644162654877, 0.24092157185077667, -0.4926660358905792, -0.044032253324985504, 0.4963952302932739, -0.1501462459564209, -0.51004558801651, -0.5940636992454529, 0.07267240434885025, -0.06570736318826675, -0.466683566570282, 0.222394660115242, -0.08458408713340759, -0.3544355034828186, 0.08541850000619888, -0.11218098551034927, -0.11233742535114288, 0.323896586894989, 0.03175417333841324, 0.10577074438333511, -0.08787515014410019, 0.1710391640663147, -0.08291807025671005, -0.024635907262563705, -0.07879628986120224, -0.2740781307220459, 0.763724148273468, -0.18096671998500824, -0.35649213194847107, -0.4395332336425781, 0.1950761079788208, 0.22806085646152496, -0.37132906913757324, 0.8024052381515503, 0.6832484602928162, -0.14189399778842926, -0.058672863990068436, -0.6051586866378784, -0.014340830035507679, -0.42652997374534607, 0.13273662328720093, -0.2936229705810547, -1.1224651336669922, 0.31712856888771057, 0.20947636663913727, 0.11537310481071472, 0.6853055357933044, 0.6397015452384949, -0.4424106180667877, 1.0761070251464844, 0.7906776070594788, -0.17318463325500488, 0.3601777255535126, -0.4306585490703583, 0.05156201869249344, -0.7782552242279053, -0.0645117238163948, -0.8570680022239685, -0.19220036268234253, -0.9204934239387512, -0.2652280032634735, 0.14039556682109833, 0.10219118744134903, -0.005782124120742083, 0.48631298542022705, -0.42587989568710327, 0.1213206946849823, 0.44699856638908386, -0.15128843486309052, 0.4526199400424957, 0.16907905042171478, -0.1042819693684578, 0.07454052567481995, -0.7765793800354004, -1.0955872535705566, 0.8073849678039551, 0.40811237692832947, 0.7092671990394592, 0.00877205841243267, 0.7531179189682007, 0.28631338477134705, 0.3309161961078644, -0.836069643497467, 0.36048486828804016, -0.39243170619010925, -0.6092597842216492, -0.1994364857673645, -0.6610892415046692, -1.3019813299179077, 0.31199055910110474, 0.02614208683371544, -0.5160196423530579, 0.312335342168808, 0.1830855756998062, -0.10501249134540558, 0.2183089703321457, -0.45048898458480835, 0.6448271870613098, -0.2368362694978714, -0.19490736722946167, -0.4572473168373108, -0.2584281861782074, 0.04115721210837364, -0.14589078724384308, 0.615756094455719, -0.294092059135437, -0.26716914772987366, 0.9348903298377991, -0.24533452093601227, 0.6251181364059448, 0.21858730912208557, -0.341276615858078, 0.344357967376709, 0.28442808985710144, 0.19005735218524933, -0.13605618476867676, 0.00903551746159792, 0.37726250290870667, 0.43539825081825256, -0.6060773134231567, -0.1025291234254837, 0.669283926486969, -0.9286675453186035, -0.29568254947662354, -0.5405706167221069, 0.021836204454302788, -0.21230950951576233, 0.009555120021104813, 0.3831581771373749, 0.5480538010597229, -0.3151000738143921, 0.3426772654056549, 0.5714716911315918, -0.45015618205070496, 0.5277855396270752, 0.5708788633346558, 0.0847739726305008, -0.2619885504245758, 0.8881925940513611, 0.039849281311035156, 0.7162103652954102, 0.5349555611610413, 0.08964808285236359, -0.15990392863750458, -0.5042318105697632, -0.4208226799964905, 0.30612221360206604, -0.7089958786964417, -0.16349905729293823, -0.8127576112747192, -0.015856435522437096, -0.3030490279197693, -0.022449791431427002, -0.5915089249610901, -0.3416750133037567, -0.48459479212760925, -0.06046071648597717, 0.1670195311307907, 0.7409183382987976, -0.0997142642736435, 0.1324692815542221, -1.0493285655975342, 0.135504350066185, 0.010839719325304031, 0.2323487102985382, -0.083065465092659, -0.6913912296295166, -0.500034749507904, 0.15616710484027863, -0.1471947282552719, -0.5368146896362305, 0.5994428992271423, 0.25222575664520264, 0.5447893142700195, 0.4875122606754303, -0.19790737330913544, 0.4483506381511688, -0.4974384903907776, 0.8314216136932373, -0.0012168321991339326, -0.7949488759040833, 0.24382631480693817, -0.1645093709230423, 0.10079833120107651, 0.7757658958435059, 0.7425763010978699, -0.7912885546684265, -0.6328694224357605, -0.6326360106468201, -0.706851601600647, 0.5550767183303833, 0.16997769474983215, 0.3843531906604767, -0.3744645118713379, 0.09166979044675827, 0.22084186971187592, 0.2573069930076599, -0.708265483379364, 0.14973890781402588, 0.08908895403146744, -0.06070201098918915, -0.06636126339435577, -0.20805223286151886, 0.14092838764190674, 0.3229033648967743, 0.6682028770446777, -0.12909343838691711, 0.22049038112163544, 0.2134087234735489, -0.4900979697704315, -0.09664691984653473, 0.35231640934944153, 0.3955627381801605, 0.7701064348220825, -0.18242573738098145, 0.15347011387348175, -0.015189049765467644, -0.7032474875450134, 0.14902439713478088, -0.3971215486526489, 0.06289605051279068, 0.22014570236206055, 0.6436474323272705, 0.5496129989624023, 0.47567319869995117, -0.8730100393295288, 0.5134070515632629, -0.19475893676280975, 0.022218646481633186, -0.2582172453403473, 0.1823643296957016, 0.03890345245599747, -0.15301324427127838, 0.13365422189235687, -0.09611640870571136, 0.1934601217508316, -0.9449453353881836, -0.22957634925842285, 0.3192426264286041, -0.5502231121063232, -0.4421441853046417, 0.2734847068786621, 0.11946485936641693, -0.23199059069156647, 0.6779384016990662, -0.34750813245773315, -0.6390069127082825, 0.39076507091522217, 0.17766961455345154, 0.4020422399044037, -0.0800246074795723, 0.24961896240711212, 0.22986967861652374, 0.5129097700119019, -0.2316959649324417, 0.20978575944900513, 0.19416117668151855, -0.6840215921401978, -0.5768317580223083, -1.0267695188522339, -0.6432240009307861, 0.07871551066637039, -0.7709107398986816, 0.21153247356414795, -0.17482012510299683, -0.18984714150428772, -0.13522447645664215, 0.2423652857542038, -1.0251954793930054, 0.47950854897499084, 0.25572508573532104, 1.0258325338363647, -0.761737048625946, 0.7505103349685669, 0.44938820600509644, -0.3929985463619232, -0.5083189010620117, -0.29913029074668884, -0.26544642448425293, -0.6377781629562378, 0.7339653372764587, 0.19271613657474518, -0.14904819428920746, -0.18143565952777863, -0.3667796552181244, -1.0553662776947021, 0.7286725044250488, 0.35874810814857483, -0.8086166381835938, 0.0315098911523819, 0.20592652261257172, 0.9467154145240784, -0.14519894123077393, 0.38673922419548035, 0.3910216987133026, 0.20496055483818054, -0.30454328656196594, -1.017492651939392, -0.5263051986694336, -0.15867190062999725, -0.013740764930844307, 0.07315260171890259, -0.7169244289398193, 0.5507448315620422, -0.03232318162918091, -0.477950781583786, 0.15197713673114777, 0.43727442622184753, 0.1279248297214508, -0.08611234277486801, 0.38310059905052185, 0.5480164289474487, 0.7891114950180054, -0.18444645404815674, 1.4053704738616943, -0.4241597056388855, 0.3048921823501587, 0.8877613544464111, -0.1753596067428589, 1.3482694625854492, 0.156088724732399, -0.3053992986679077, 0.34638798236846924, 1.0626837015151978, 0.23262105882167816, 0.4134078323841095, 0.280844509601593, 0.1334676295518875, -0.3639063835144043, 0.06506478786468506, -0.18976929783821106, 0.5559422373771667, 0.3315121829509735, -0.44910088181495667, 0.003169318661093712, -0.037887752056121826, 0.23759444057941437, 0.21274177730083466, -0.21973630785942078, 0.8472244739532471, 0.19094745814800262, -0.6806484460830688, 0.6519328951835632, 0.25715094804763794, 0.5896005034446716, -0.377431184053421, 0.30725815892219543, -0.5670112371444702, 0.06448622047901154, -0.19703082740306854, -0.6207703948020935, 0.04507027193903923, 0.4073902666568756, -0.14667554199695587, -0.18183308839797974, 0.36696749925613403, -0.3917362689971924, -0.5321521162986755, 0.5954548716545105, 0.5149022936820984, 0.5983073711395264, -0.2505478262901306, -0.37220102548599243, 0.30909574031829834, -0.3547804057598114, -0.29224953055381775, 0.6485391855239868, 0.5172571539878845, 0.06875677406787872, 0.6810054779052734, 0.8579085469245911, 0.2606179714202881, -0.011326884850859642, 0.26930567622184753, 0.7894725799560547, -0.47338512539863586, -0.17961499094963074, -0.687695324420929, 0.17894431948661804, 0.01917339116334915, -0.518596351146698, 0.5768781304359436, 0.7026143074035645, 1.1397812366485596, 0.12514135241508484, 0.4932950735092163, 0.3492427170276642, 0.6381451487541199, -0.6220663785934448, 0.7027716636657715, -0.4732101857662201, 0.10231427103281021, -0.3168359398841858, -1.2362425327301025, -0.10344488173723221, 0.7189510464668274, -0.23050621151924133, -0.0068513983860611916, 0.8184477090835571, 0.533070981502533, -0.12595508992671967, -0.2625441253185272, 0.6018102765083313, 0.08482983708381653, 0.41048842668533325, 0.3019852638244629, 0.9231511950492859, -0.3594168722629547, 0.7032588124275208, -0.17366573214530945, 0.05931929126381874, -0.07537733763456345, -0.7380121350288391, -0.7581474184989929, -0.5790676474571228, -0.1688140332698822, -0.07527655363082886, 0.19763000309467316, 0.8944836258888245, 0.6997607350349426, -0.8374528884887695, -0.16210219264030457, 0.20093147456645966, -0.3409724235534668, -0.07915513962507248, -0.15170063078403473, 0.5194546580314636, -0.7669323086738586, -0.8070991635322571, 0.35262495279312134, 0.31210190057754517, -0.3261234760284424, -0.5072657465934753, -0.02319960668683052, -0.1185062974691391, 0.09754486382007599, 0.8202275037765503, -0.14158622920513153, -0.7545182108879089, -0.30557170510292053, 0.2689201533794403, -0.5131224989891052, 0.22978509962558746, 0.6242921352386475, -0.8437398076057434, 0.23594526946544647, 0.3283274471759796, 0.5828136801719666, 0.358565092086792, -0.16615396738052368, 0.2903936207294464, -0.539550244808197, -0.057014986872673035, 0.26583895087242126, 0.5976231098175049, 0.8213751316070557, -0.1353714019060135, 0.63858562707901, -0.05168087035417557, -0.6030570864677429, -0.7644053101539612, -0.225347638130188, -0.8535510301589966, -0.17218473553657532, 1.5102652311325073, -0.41604143381118774, -0.25120559334754944, 0.07602827996015549, -0.1054743230342865, 0.12244883924722672, -0.30972227454185486, 0.8467615246772766, 1.070517897605896, 0.24960972368717194, -0.09975676983594894, -0.6780450940132141, 0.44912928342819214, 0.2627682089805603, -0.8124697208404541, -0.18295606970787048, 0.36563506722450256, 0.2727823555469513, 0.2998019754886627, 0.29650789499282837, -0.3019082844257355, 0.26964545249938965, -0.2713674306869507, 0.1349935680627823, 0.39105311036109924, -0.41321974992752075, -0.3188205361366272, -0.005259797442704439, 0.3467884659767151, 0.21580110490322113 ]
http://arxiv.org/abs/2403.08688v1
http://arxiv.org/pdf/2403.08688v1
Token Alignment via Character Matching for Subword Completion
2024-03-13T16:44:39
2024-03-13T16:44:39
Ben Athiwaratkun, Shiqi Wang, Mingyue Shang, Yuchen Tian, Zijian Wang, Sujan Kumar Gonugondla, Sanjay Krishna Gouda, Rob Kwiatowski, Ramesh Nallapati, Bing Xiang
cs.CL
cs.CL, cs.AI
Generative models, widely utilized in various applications, can often struggle with prompts corresponding to partial tokens. This struggle stems from tokenization, where partial tokens fall out of distribution during inference, leading to incorrect or nonsensical outputs. This paper examines a technique to alleviate the tokenization artifact on text completion in generative models, maintaining performance even in regular non-subword cases. The method, termed token alignment, involves backtracking to the last complete tokens and ensuring the model's generation aligns with the prompt. This approach showcases marked improvement across many partial token scenarios, including nuanced cases like space-prefix and partial indentation, with only a minor time increase. The technique and analysis detailed in this paper contribute to the continuous advancement of generative models in handling partial inputs, bearing relevance for applications like code completion and text autocompletion.
[ 0.03453498333692551, -0.5867021083831787, 0.5781511664390564, 0.03260297700762749, -0.46723535656929016, 0.37865597009658813, 0.12804710865020752, -0.17030590772628784, 0.2857673764228821, 0.37719449400901794, -0.6529272794723511, -0.5761188864707947, -0.3690696656703949, 0.29784664511680603, -0.43522700667381287, 0.9006252288818359, -0.258304625749588, -0.06126994267106056, -0.6085678935050964, -0.19336555898189545, -0.9920580983161926, -0.7367105484008789, -0.6737241148948669, -0.40448471903800964, 0.4939073622226715, 0.2206256240606308, 0.8141494989395142, 0.9506840109825134, 0.5877176523208618, 0.22560159862041473, -0.3297894597053528, 0.22435466945171356, -0.2653258740901947, 0.1988535374403, -0.08761860430240631, -0.5952926874160767, -0.22677257657051086, -0.10860848426818848, 0.5719928741455078, 0.6968599557876587, -0.1214924082159996, -0.03362850472331047, 0.002193421358242631, 0.3153349757194519, -0.5109549164772034, -0.17474597692489624, -0.5394145250320435, 0.38542184233665466, -0.64455246925354, -0.2529195547103882, -0.48293250799179077, -0.17815278470516205, -0.1547912359237671, -0.7615354061126709, 0.6585148572921753, 0.2932630777359009, 0.9246009588241577, 0.39327436685562134, -0.2503965198993683, -0.10518144071102142, -0.4597732126712799, 0.5531792044639587, -0.7307757139205933, 0.3036719560623169, 0.17171812057495117, 0.0730154886841774, -0.3738589584827423, -0.7238840460777283, -0.8650559186935425, -0.05306997895240784, -0.3566737473011017, 0.2995155155658722, -0.058074429631233215, 0.38044843077659607, 0.5191043019294739, 0.5564923882484436, -0.6352511644363403, 0.2816013991832733, -0.004234496969729662, -0.5056940317153931, -0.0017844225512817502, 0.25711795687675476, 0.6501168608665466, -0.30368369817733765, -0.5018550157546997, -0.052124764770269394, -0.9214965105056763, -0.1507093757390976, 0.46984416246414185, 0.45977625250816345, -0.06590759009122849, 1.143747329711914, 0.11657783389091492, 0.8393407464027405, 0.3226991891860962, 0.3267727494239807, 0.2884870171546936, -0.9451425075531006, -0.3679041862487793, 0.06774790585041046, 0.48576265573501587, 0.20017971098423004, 0.027587883174419403, -0.13933691382408142, -0.17992007732391357, -0.018022993579506874, 0.24043942987918854, -0.4224758446216583, -0.17965202033519745, 0.28378209471702576, -0.6506995558738708, -0.0722309798002243, -0.00875342357903719, -0.6721361875534058, -0.7129777669906616, -0.2911360561847687, 0.19627778232097626, -0.3923492133617401, -0.09687741100788116, -0.261748731136322, -0.4676402509212494, 0.290918231010437, 0.19675464928150177, -1.064631700515747, -0.002623082837089896, 0.9066389203071594, 1.2600494623184204, -0.2974735200405121, -0.014002981595695019, -0.9083811044692993, 0.10964503139257431, -0.5518631935119629, 0.5148719549179077, -0.6931018829345703, -0.4757159650325775, 0.05756903812289238, -0.17788998782634735, -0.13560454547405243, -0.4807398319244385, 0.5851399302482605, -0.5071722269058228, 0.23757998645305634, -0.3257814049720764, -0.8876331448554993, 0.23039127886295319, 0.07857869565486908, -0.6593297123908997, 1.154759168624878, 0.1300010234117508, -1.053666591644287, 0.5050128102302551, -0.520117998123169, -0.533848226070404, 0.2775992751121521, -0.282895028591156, -0.4784683585166931, 0.4926019310951233, 0.32760167121887207, 0.10456862300634384, -0.11663994938135147, -0.04674109071493149, -0.1516212522983551, -0.6477494835853577, 0.09173498302698135, -0.1688869297504425, 0.5535756349563599, 0.03376743942499161, -0.26167023181915283, 0.31970465183258057, -0.4722481667995453, -0.09974317252635956, -0.125194251537323, -0.1033550426363945, -0.4847983419895172, -0.18366563320159912, 0.12432939559221268, 0.05764845758676529, 0.5016559362411499, -0.6405975222587585, 0.4660966992378235, -0.5106698274612427, 0.3689481317996979, 0.8179841637611389, -0.19542568922042847, 0.6256427764892578, -0.08512178063392639, 0.7939258217811584, 0.24092186987400055, 0.17826491594314575, -0.40677157044410706, -0.3516574800014496, -0.865094780921936, -0.649910032749176, 1.1198906898498535, 0.5454531908035278, -1.018072485923767, 0.654678225517273, -0.2710469365119934, -0.17894093692302704, -0.5484054684638977, -0.06501031666994095, 0.5737045407295227, 0.5602365732192993, 0.29667675495147705, -0.5133025050163269, -0.7465989589691162, -0.6614326238632202, -0.19138620793819427, -0.24249078333377838, -0.12440543621778488, 0.08786517381668091, 0.25958138704299927, -0.1289411038160324, 1.150664210319519, -0.31167393922805786, -0.31732165813446045, -0.15420088171958923, 0.30229881405830383, 0.21580055356025696, 0.7687546610832214, 0.4579330086708069, -0.7675076127052307, -0.3967951834201813, 0.12349048256874084, -0.535513699054718, -0.3205350637435913, -0.3597702085971832, -0.47169551253318787, 0.2181812822818756, 0.6340546607971191, -0.8389881253242493, 0.6976935267448425, 0.3809378445148468, -0.49079135060310364, 0.19546669721603394, -0.19961121678352356, -0.005933616776019335, -1.2446709871292114, 0.3768308460712433, -0.29043957591056824, -0.5202741622924805, -0.3775695264339447, 0.08458668738603592, 0.1515720933675766, -0.13636955618858337, 0.028660738840699196, 0.6434974074363708, -0.581416666507721, -0.16658915579319, -0.20992307364940643, 0.05006823688745499, 0.09102436900138855, 0.2311064898967743, -0.028946878388524055, 1.1126925945281982, 0.2683057188987732, -0.18788574635982513, 0.23991860449314117, 0.363768070936203, -0.035805292427539825, 0.5319892168045044, -0.6985673308372498, 0.33496683835983276, -0.24180422723293304, 0.29407790303230286, -1.3329699039459229, -0.009481416083872318, 0.4041798710823059, -0.37391191720962524, 0.42253100872039795, -0.3052120506763458, -0.6766392588615417, -0.21180297434329987, -0.15387532114982605, 0.7283102869987488, 0.5529226660728455, -0.5900284647941589, 0.9195190668106079, -0.07454121857881546, -0.23083339631557465, -0.584567666053772, -0.4667384922504425, 0.27225932478904724, -0.21834559738636017, -0.21624164283275604, 0.7009457349777222, 0.03949844464659691, 0.19176135957241058, -0.013847357593476772, -0.1886412799358368, 0.24951164424419403, -0.029859788715839386, 0.11902520060539246, 0.48233526945114136, -0.13903087377548218, -0.0041530984453856945, 0.35302767157554626, -0.14686381816864014, -0.582268238067627, -0.37219154834747314, 0.8164455890655518, 0.6240243315696716, -0.5530250668525696, -0.5790103673934937, 0.624768853187561, 0.6763244867324829, -0.3023143410682678, 0.7448883056640625, 0.22583778202533722, -0.4652036130428314, 0.24846376478672028, -0.5502771735191345, 0.05097560957074165, -0.4180923104286194, 0.27780842781066895, -0.6159806847572327, -0.5590432286262512, 0.7639296650886536, 0.19043776392936707, 0.15542075037956238, 0.48517224192619324, 0.33927667140960693, -0.12300028651952744, 1.1944937705993652, 0.77468341588974, 0.08493716269731522, 0.9391759634017944, 0.1909932792186737, 0.3233347237110138, -0.9968277215957642, -0.33720505237579346, -0.5961865186691284, -0.2099897414445877, -0.30813834071159363, -0.4592946171760559, -0.03965073823928833, 0.23438233137130737, 0.16708992421627045, 0.5626956224441528, -0.5057825446128845, 0.4507136642932892, 0.5132527947425842, -0.07723242789506912, 0.1619212031364441, 0.08011274039745331, -0.6306187510490417, -0.19577065110206604, -0.651170551776886, -0.23946982622146606, 0.5723710656166077, 0.15190449357032776, 0.44358667731285095, 0.12881794571876526, 0.8285578489303589, 0.44001585245132446, 0.3031098246574402, -0.664831817150116, 0.22019046545028687, -0.2318221777677536, -0.2633471190929413, -0.1626737415790558, -0.5675792694091797, -0.7575652003288269, 0.07072974741458893, -0.0760699138045311, -0.4643879234790802, 0.4131518602371216, 0.3203474283218384, -0.595902144908905, -0.13428084552288055, -0.6391394138336182, 0.9740117788314819, 0.052324406802654266, 0.14407145977020264, 0.14606784284114838, -0.6897314786911011, -0.045235201716423035, -0.16692490875720978, -0.2571117877960205, 0.1907775104045868, -0.11140561103820801, 0.5959634780883789, -0.888497531414032, 0.7719029188156128, -0.28559964895248413, -0.12470432370901108, -0.0225811917334795, -0.05475074425339699, 0.7135888338088989, -0.34856048226356506, 0.007780992425978184, 0.14180506765842438, -0.008276708424091339, -0.6891195774078369, -0.8575810194015503, 0.34083566069602966, -0.4315468668937683, -0.3333112895488739, -0.4761616885662079, -0.2849082052707672, -0.045255549252033234, 0.3061937689781189, 0.6601776480674744, 0.3577582538127899, 0.08637918531894684, -0.14108791947364807, 0.5797128081321716, -0.11789008975028992, 0.4856991469860077, 0.022553494200110435, -0.11585380136966705, -0.6002627015113831, 0.6262975931167603, 0.13330577313899994, 0.0798230990767479, 0.48130500316619873, -0.036686189472675323, -0.8056675791740417, -0.663969874382019, -0.7105867862701416, 0.18404936790466309, -0.8025530576705933, -0.47708457708358765, -0.5541543364524841, -0.15252739191055298, -0.5190643072128296, -0.09179683774709702, 0.014944273978471756, -0.4528621435165405, -0.49116769433021545, -0.2606234550476074, 0.23708634078502655, 0.38780492544174194, 0.3018375337123871, 0.3302432596683502, -0.7696380615234375, 0.17806942760944366, -0.00803215242922306, 0.1898697316646576, 0.04765404015779495, -0.5820546746253967, -0.07262484729290009, -0.08983583748340607, -0.077589251101017, -0.7525232434272766, 0.001671397010795772, 0.16239358484745026, 0.30000168085098267, 0.057743169367313385, -0.06456310302019119, 1.219338297843933, -0.6586872935295105, 0.9016619920730591, 0.5639771819114685, -1.374947190284729, 0.2940313220024109, -0.19964531064033508, 0.34343838691711426, 0.5846320390701294, -0.21716400980949402, -1.0531765222549438, -0.2795817255973816, -0.2977733910083771, -1.0661553144454956, 0.4222492277622223, 0.5296863317489624, 0.32052484154701233, -0.2536070644855499, 0.7633818984031677, 0.27121639251708984, 0.24175824224948883, -0.40453213453292847, -0.1290511041879654, -0.27779778838157654, -0.8740002512931824, 0.10775699466466904, -0.2301693707704544, 0.04265919327735901, -0.06973052024841309, 0.5887334942817688, -0.2506830394268036, 0.3486446142196655, 0.21649792790412903, -0.07641743123531342, -0.012666849419474602, -0.19613555073738098, 0.7766186594963074, 0.5553364753723145, 0.4831950068473816, -0.026300495490431786, -0.1022081971168518, -0.4362657368183136, 0.08246614784002304, 0.15230891108512878, -0.3097173571586609, 0.28330984711647034, 0.4080706238746643, 0.6552858948707581, -0.046920664608478546, -0.5678654909133911, 0.7466188669204712, -0.19439050555229187, 0.3035966753959656, -0.19856193661689758, -0.2641463875770569, -0.3057599365711212, 0.1110089123249054, 0.5373842120170593, 0.23882445693016052, -0.008178284391760826, -0.27970510721206665, 0.1423814296722412, 0.5875419974327087, -0.37509387731552124, -0.15897688269615173, 0.7832257151603699, 0.1915864646434784, -0.39803341031074524, 0.8820651173591614, 0.1213071197271347, -0.5755418539047241, 0.721373975276947, 0.6223359107971191, 1.0557045936584473, 0.2357824295759201, 0.10741735994815826, -0.000412896421039477, 0.052625179290771484, -0.1526864767074585, 0.2353646457195282, -0.24679963290691376, -0.5248289704322815, -0.6382744908332825, -0.6603995561599731, -0.1991657316684723, -0.2972811758518219, -0.4483506381511688, 0.20057730376720428, -0.3812914788722992, -0.3912295699119568, -0.09241802990436554, -0.23720158636569977, -0.5367143154144287, 0.17188961803913116, 0.088749460875988, 0.9464308619499207, -0.9232572317123413, 0.6264532208442688, 0.6167087554931641, -0.5963433384895325, -0.6817030310630798, 0.400124192237854, -0.3548588752746582, -0.7029754519462585, 0.5557793974876404, 0.12428323924541473, 0.07840734720230103, 0.12626208364963531, -0.28244999051094055, -1.0496474504470825, 0.8122020363807678, 0.46859464049339294, -0.6575647592544556, -0.2720519006252289, 0.07073502987623215, 0.6232139468193054, -0.08448803424835205, 0.09038708359003067, 0.3261721432209015, 0.3292180895805359, 0.40918973088264465, -0.9174720644950867, 0.41497722268104553, -0.3235057592391968, 0.551712155342102, 0.4726438820362091, -0.49863067269325256, 0.6049066781997681, 0.28520187735557556, -0.4573873281478882, 0.9653830528259277, 1.021785855293274, 0.17621776461601257, 0.1524275839328766, 0.43969160318374634, 0.7182966470718384, 1.0135972499847412, -0.2541565001010895, 0.9127837419509888, -0.16334040462970734, 0.4445640444755554, 0.9199792146682739, -0.4162513017654419, 0.5715022087097168, 0.737250566482544, -0.01902206428349018, 0.4063078761100769, 0.9831852316856384, 0.017195427790284157, 0.6359986662864685, 0.2288375198841095, -0.1580742448568344, -0.25816962122917175, -0.23257623612880707, -0.19367583096027374, 0.25602465867996216, 0.0026548535097390413, -0.37222233414649963, 0.10524425655603409, 0.06516886502504349, -0.13552764058113098, 0.09985429048538208, -0.14553840458393097, 0.8550220131874084, -0.1664198487997055, -0.9289440512657166, 0.2839904725551605, 0.038949284702539444, 0.654861569404602, -0.2698880136013031, -0.26732197403907776, -0.6525304317474365, -0.10520680993795395, -0.26930510997772217, -0.2709662616252899, 0.2652941048145294, -0.014807578176259995, -0.4087580740451813, -0.11318840086460114, 0.2973417043685913, -0.46037307381629944, -0.5162010788917542, -0.05173720791935921, 0.019660979509353638, -0.07641202956438065, 0.2117961347103119, -0.45312994718551636, 0.11629530042409897, -0.19554704427719116, 0.3041633367538452, 0.014306050725281239, 0.4793654978275299, -0.14800049364566803, 0.0702308639883995, 0.5827733278274536, -0.0267637912184, 0.37726885080337524, 0.2249940037727356, 0.5926156640052795, -0.5901930928230286, -0.44023382663726807, -1.1565742492675781, 0.41257670521736145, -0.4276076555252075, -0.4211638271808624, 0.6588444709777832, 0.7394998669624329, 0.6657170057296753, 0.07638677209615707, 0.7720929384231567, -0.2509888708591461, 0.22003324329853058, -0.8244720697402954, 0.40594249963760376, -0.5599380135536194, 0.07230877131223679, -0.34127023816108704, -0.9709685444831848, -0.5371655225753784, 0.40709948539733887, -0.0715893879532814, 0.03373422101140022, 0.720461368560791, 0.5650936961174011, -0.07253644615411758, -0.24933993816375732, 0.2924870550632477, -0.12202172726392746, 0.30368268489837646, 0.14420077204704285, 0.8629328608512878, -0.42552635073661804, 0.20840992033481598, 0.214336097240448, -0.14036549627780914, -0.11723969876766205, -0.8729114532470703, -0.823032021522522, -0.5266261696815491, -0.4164678454399109, -0.3404943645000458, 0.03323104605078697, 0.8692596554756165, 0.5367900133132935, -0.7921835780143738, 0.4190601408481598, -0.5051255226135254, 0.1748010367155075, -0.3202519714832306, -0.2349867820739746, 0.4422833025455475, -0.453495591878891, -0.8736872673034668, 0.12602145969867706, 0.3674283027648926, 0.364227831363678, 0.024138832464814186, 0.28814730048179626, -0.015229545533657074, 0.30493515729904175, 0.20645062625408173, 0.2686866819858551, -0.8305624127388, -0.44054490327835083, 0.13058164715766907, -0.1283101588487625, 0.24129198491573334, 1.2566558122634888, -0.6887613534927368, 0.4606062173843384, 0.7034897804260254, 0.797935426235199, 0.2761407494544983, 0.4510060250759125, 0.8307252526283264, -1.4456852674484253, 0.08772286027669907, 0.1430479884147644, 0.5082288384437561, 0.6176390051841736, -0.7183499932289124, 0.27024737000465393, 0.39617493748664856, -0.20982888340950012, -0.999251127243042, 0.43105024099349976, -0.7534437775611877, -0.07477722316980362, 0.7839456796646118, -0.22998663783073425, -0.1907927691936493, -0.1607593297958374, -0.5058367848396301, 0.6613680124282837, -0.16975778341293335, 0.7321981191635132, 0.8524158000946045, -0.048094701021909714, -0.028586305677890778, 0.20548294484615326, 0.45360541343688965, 0.8916181921958923, -0.520770788192749, 0.25929343700408936, 0.4080064594745636, 0.09890802949666977, 0.37599796056747437, 0.6479571461677551, -0.16909600794315338, 0.26178640127182007, -0.13582433760166168, 0.004423513077199459, 0.20068475604057312, -0.13556009531021118, -0.5077537298202515, 0.02470136620104313, 0.015482211485505104, -0.5586994886398315 ]
http://arxiv.org/abs/2403.08664v2
http://arxiv.org/pdf/2403.08664v2
Zero-shot and Few-shot Generation Strategies for Artificial Clinical Records
2024-03-13T16:17:09
2024-03-14T15:57:59
Erlend Frayling, Jake Lever, Graham McDonald
cs.CL
cs.CL, cs.LG
The challenge of accessing historical patient data for clinical research, while adhering to privacy regulations, is a significant obstacle in medical science. An innovative approach to circumvent this issue involves utilising synthetic medical records that mirror real patient data without compromising individual privacy. The creation of these synthetic datasets, particularly without using actual patient data to train Large Language Models (LLMs), presents a novel solution as gaining access to sensitive patient information to train models is also a challenge. This study assesses the capability of the Llama 2 LLM to create synthetic medical records that accurately reflect real patient information, employing zero-shot and few-shot prompting strategies for comparison against fine-tuned methodologies that do require sensitive patient data during training. We focus on generating synthetic narratives for the History of Present Illness section, utilising data from the MIMIC-IV dataset for comparison. In this work introduce a novel prompting technique that leverages a chain-of-thought approach, enhancing the model's ability to generate more accurate and contextually relevant medical narratives without prior fine-tuning. Our findings suggest that this chain-of-thought prompted approach allows the zero-shot model to achieve results on par with those of fine-tuned models, based on Rouge metrics evaluation.
[ 0.03313499316573143, -0.7522485852241516, 0.8480414152145386, -0.2202826887369156, -0.2877708971500397, 0.13404758274555206, 0.13227732479572296, -0.5720521211624146, 0.3476771414279938, 0.4832168221473694, -0.7978495955467224, -0.6094204187393188, -0.16243970394134521, 0.33186978101730347, -0.42693617939949036, 1.172453761100769, -0.14312274754047394, 0.22747837007045746, 0.06823709607124329, -0.17220427095890045, -0.5052101612091064, -0.8147577047348022, -0.3096236288547516, -0.502314567565918, 0.8746542930603027, 0.2838308811187744, 0.41069480776786804, 0.8708646893501282, 0.37400972843170166, 0.07296726852655411, 0.26635491847991943, 0.4572485685348511, -0.6539555788040161, 0.38974568247795105, -0.021851908415555954, -0.7441622018814087, -0.6917118430137634, -0.12239252775907516, 0.48275667428970337, 0.2939188480377197, 0.007660964969545603, 0.32210686802864075, -0.4316367506980896, 0.4190620481967926, -0.6198315620422363, -0.3392784595489502, -0.7510986328125, 0.456943541765213, -0.2895798087120056, -0.57512366771698, -0.4880036413669586, -0.2965872585773468, -0.10334967821836472, -0.5898131728172302, 0.44903263449668884, -0.08662024140357971, 0.739871084690094, 0.11889656633138657, -0.22574695944786072, -0.29335489869117737, -0.9197345972061157, 0.40766409039497375, -0.7445232272148132, 0.0032871069852262735, 0.4338904023170471, 0.42159703373908997, -0.11562132835388184, -0.7822272181510925, -0.7098614573478699, -0.28525903820991516, 0.12492062896490097, 0.2616833448410034, -0.16394467651844025, -0.1312713623046875, 0.32564327120780945, 0.20884107053279877, -0.6034876704216003, 0.31487685441970825, -0.3963765799999237, -0.11117354780435562, 0.6766406297683716, 0.6665144562721252, 0.15508216619491577, -0.10666555911302567, -0.3632391691207886, -0.08747465908527374, -1.077836513519287, -0.33199581503868103, 0.19398391246795654, 0.307020366191864, -0.20866729319095612, 0.7544413208961487, -0.3597511351108551, 0.3332451581954956, 0.0675131157040596, -0.4485272467136383, 0.2205268293619156, -0.27053162455558777, -0.11756523698568344, 0.34216296672821045, 0.841374933719635, 0.43018651008605957, 0.24976412951946259, -0.08289960026741028, -0.000596835685428232, 0.4143819212913513, 0.5303919315338135, -0.7402437329292297, -0.014435285702347755, 0.4951864778995514, -0.36042800545692444, -0.6373694539070129, -0.2618674039840698, -0.6990541219711304, -0.4885125160217285, -0.12508833408355713, 0.4557749629020691, -0.4255473017692566, -0.1514570564031601, 0.03949202969670296, 0.03954467549920082, 0.2071053832769394, 0.2868076264858246, -0.7402812242507935, 0.2652646601200104, 0.6639251112937927, 0.9457961916923523, -0.19280162453651428, -0.05791240930557251, -0.5647228360176086, 0.426168829202652, -0.5786914825439453, 0.6876388192176819, -0.14471600949764252, -0.5127525329589844, 0.19282285869121552, -0.1934841126203537, 0.27790164947509766, -0.6314671635627747, 0.142406165599823, -0.07286400347948074, 0.11940112709999084, -0.15829557180404663, -0.44174548983573914, 0.17420217394828796, 0.4084841310977936, -0.3126661777496338, 0.7061827778816223, 0.24698716402053833, -0.5146629810333252, 0.39213958382606506, -0.29806727170944214, -0.4594605267047882, 0.17592979967594147, -0.710827648639679, -0.5483136177062988, 0.08348593860864639, 0.18970222771167755, 0.4242115318775177, -0.23946136236190796, 0.2415095418691635, -0.12793739140033722, -0.22899724543094635, 0.31371116638183594, -0.4436715245246887, 0.36651113629341125, 0.11215785145759583, -0.2445755898952484, -0.12698103487491608, -0.7930092215538025, 0.02148314379155636, 0.44668906927108765, -0.09145068377256393, -0.07763639837503433, -0.34864524006843567, -0.34546148777008057, 0.1282050460577011, -0.06792629510164261, -0.5040802955627441, 0.5362679958343506, -0.5199447274208069, 0.20012393593788147, 0.5034187436103821, 0.449459433555603, 0.06689698994159698, -0.8117102384567261, 0.8508569002151489, 0.10130726546049118, 0.2541584372520447, -0.5850974321365356, -0.45433542132377625, -0.670048177242279, -0.1552632600069046, 0.12499526888132095, 0.6988359093666077, -0.5029676556587219, -0.08792378008365631, -0.18962381780147552, -0.47358793020248413, -0.833445131778717, 0.026573482900857925, 0.5375874638557434, 0.9390915632247925, 0.4336441159248352, -0.33958157896995544, -0.6788446307182312, -0.8624247908592224, 0.05843774974346161, -0.32915377616882324, -0.14697255194187164, 0.5265359878540039, 0.4675266146659851, -0.30158531665802, 0.70023113489151, -0.5064130425453186, -0.31000179052352905, -0.3227125406265259, 0.03769424930214882, 0.23165857791900635, 0.3872690200805664, 0.361772358417511, -0.12054085731506348, -0.27126631140708923, 0.12512506544589996, -1.1204274892807007, 0.06162417307496071, -0.5128954648971558, -0.11320967972278595, 0.1838071495294571, 0.06352836638689041, -0.6986820101737976, 0.6358528137207031, 0.08986206352710724, 0.17371231317520142, 0.40929490327835083, -0.2994467616081238, 0.09372375905513763, -1.0893774032592773, 0.21712709963321686, -0.2904268205165863, -0.29541292786598206, -0.8916736841201782, -0.12347476184368134, -0.004991179797798395, -0.08962776511907578, -0.7111619710922241, 0.589322030544281, -0.27085554599761963, 0.28190675377845764, -0.08608021587133408, -0.03583964332938194, 0.0129998242482543, 0.302634060382843, 0.10898357629776001, 0.43287503719329834, 0.5045924782752991, -0.4461738169193268, 0.2552153766155243, 0.5076021552085876, -0.0031623945105820894, 0.5763744711875916, -0.38533011078834534, 0.5854324102401733, -0.15731056034564972, 0.3164796829223633, -0.6121423244476318, -0.6170739531517029, 0.3837485909461975, -0.427621990442276, 0.41122740507125854, 0.030126692727208138, -0.42154017090797424, -0.5130850076675415, -0.36419224739074707, 0.38411563634872437, 0.8679397106170654, -0.2615896761417389, 0.10007215291261673, 0.09769551455974579, -0.05364274978637695, -0.4169639050960541, -0.8702832460403442, 0.2877712547779083, -0.26523569226264954, -0.2304820567369461, 0.30113139748573303, 0.10221853107213974, -0.20321767032146454, -0.3736933767795563, -0.1183243915438652, -0.07324600219726562, -0.28267374634742737, 0.3502765893936157, 0.5348598957061768, -0.3509405553340912, 0.043113432824611664, 0.3010697066783905, -0.1281738132238388, -0.013304261490702629, -0.015305713750422001, 0.4681429862976074, 0.32588398456573486, -0.3805815279483795, -0.8683848977088928, 0.4180630147457123, 0.37481486797332764, 0.23909913003444672, 0.534159243106842, 0.10568661987781525, -0.4573778212070465, -0.4259931445121765, -0.6710931062698364, -0.43167638778686523, -0.41227078437805176, 0.0261208675801754, -0.08588223904371262, -0.6136701703071594, 0.358822762966156, -0.18311452865600586, -0.05802053213119507, 0.06091158092021942, 0.9762977361679077, -0.16190674901008606, 0.836867094039917, 0.09280028194189072, 0.04947492852807045, -0.10734668374061584, -0.2937287986278534, 0.21365933120250702, -0.6546234488487244, -0.37811923027038574, -0.22449229657649994, -0.18135714530944824, -0.3637387454509735, -0.39475515484809875, 0.8098222613334656, -0.017096122726798058, -0.22577062249183655, 0.08159945905208588, -0.532963216304779, 0.3756290674209595, 0.2791059911251068, 0.515345573425293, 0.4679255187511444, 0.05629875138401985, 0.08969201147556305, 0.04870954900979996, -0.7449288368225098, -0.6382384300231934, 1.3300518989562988, 0.2844960689544678, 0.767157793045044, -0.22670738399028778, 0.9235801100730896, 0.287612646818161, 0.19149260222911835, -0.6904571652412415, 0.3674631714820862, 0.12479168176651001, -0.5398975610733032, -0.013329898938536644, -0.06844659149646759, -0.9598888754844666, -0.15889114141464233, -0.2891457974910736, -0.6585302352905273, 0.03185323625802994, 0.41958507895469666, -0.977288007736206, 0.24022702872753143, -0.3186318874359131, 0.3731844425201416, -0.3312050700187683, -0.4601474702358246, 0.09737617522478104, -0.851032018661499, 0.492351770401001, -0.32071468234062195, -0.10827908664941788, 0.08178811520338058, -0.09522148221731186, 0.2618071436882019, -0.6373693346977234, 1.0613353252410889, 0.09349767118692398, -0.019887054339051247, 0.38813960552215576, 0.4396255314350128, 0.5657621026039124, 0.09588254243135452, -0.06786120682954788, 0.4119710326194763, 0.0048040053807199, -0.08495695143938065, -0.4596262574195862, 0.5816041827201843, -0.5941337943077087, -0.6737915873527527, -0.49326491355895996, -0.5768641829490662, -0.41859808564186096, 0.000641634629573673, 0.41323211789131165, 0.39542266726493835, -0.2163238376379013, -0.14071892201900482, 0.2906855046749115, -0.41579675674438477, 0.23637229204177856, 0.6794502139091492, 0.07300407439470291, -0.24992649257183075, 0.6283648014068604, 0.18477760255336761, 0.41333335638046265, 0.23070847988128662, 0.2747737765312195, -0.12525968253612518, -0.5012807846069336, -0.6468352675437927, 0.5015038847923279, -0.26337718963623047, -0.5040809512138367, -0.57129967212677, -0.4358811676502228, -0.41921788454055786, -0.27313342690467834, -0.30115318298339844, -0.34100818634033203, -0.46889618039131165, -0.2958846986293793, 0.5126124620437622, 0.79912930727005, -0.04728473722934723, 0.2528488337993622, -0.7461157441139221, 0.5389730334281921, -0.0029876981861889362, 0.050145428627729416, -0.007092747371643782, -0.45623400807380676, 0.01786191202700138, 0.07776493579149246, -0.47026941180229187, -0.9807472825050354, 0.6248546242713928, 0.012048917822539806, 0.28756529092788696, 0.43524909019470215, 0.030993374064564705, 0.9071221351623535, -0.8845546245574951, 0.8363332152366638, 0.3658149838447571, -0.5994516015052795, 0.9631627202033997, -0.5489553213119507, 0.03656211122870445, 0.6180904507637024, 0.4149199426174164, -0.3330920934677124, -0.42880335450172424, -0.6596900820732117, -0.5095977187156677, 0.5853545665740967, 0.23584727942943573, 0.2587524354457855, -0.19178253412246704, 0.7995147109031677, 0.37844938039779663, 0.25296279788017273, -0.4855175018310547, -0.14260171353816986, 0.01602991856634617, -0.22605328261852264, 0.2833906412124634, -0.11873740702867508, -0.31377145648002625, -0.11438728123903275, 0.3615630865097046, -0.11412578076124191, 0.09877701103687286, 0.6060048341751099, 0.32179802656173706, -0.40785863995552063, 0.11714378744363785, 0.5249556303024292, 0.5571591854095459, -0.036500509828329086, 0.0887969359755516, 0.41869667172431946, -0.4467042088508606, 0.3285709321498871, -0.6002539396286011, -0.49974796175956726, 0.08373010903596878, 0.47410476207733154, 0.8218495845794678, -0.1790340393781662, -0.8276227116584778, 0.4900510013103485, 0.2964126467704773, -0.23421943187713623, -0.3289211392402649, 0.39429572224617004, -0.12686552107334137, 0.1520560085773468, 0.033645134419202805, -0.1990775465965271, -0.07323074340820312, -0.6741206049919128, 0.2985086441040039, 0.2741546034812927, -0.09475518763065338, -0.44753074645996094, 0.7796332836151123, -0.12459293752908707, -0.5783172845840454, 0.6587595343589783, 0.2175409197807312, 0.08699461817741394, 0.5176305770874023, 1.0043721199035645, 0.5632895231246948, -0.44582033157348633, 0.44298163056373596, 0.5096251368522644, 0.032923899590969086, -0.2582671046257019, 0.28818705677986145, 0.04862236604094505, -0.5317497849464417, -0.20156191289424896, -0.29669255018234253, -0.5646671056747437, 0.4503710865974426, -0.8225212097167969, 0.39996832609176636, -0.6629255414009094, -0.24292749166488647, -0.15424604713916779, -0.38208451867103577, -0.5341718792915344, 0.17523442208766937, 0.30299270153045654, 0.6365931630134583, -0.6161759495735168, 0.9192441701889038, -0.032457273453474045, -0.46703431010246277, -0.8402402997016907, -0.05695418268442154, 0.291346937417984, -1.0991355180740356, 0.3736262023448944, 0.0682668536901474, 0.014266316778957844, -0.22532640397548676, -0.46565982699394226, -0.33826005458831787, 1.1249748468399048, 0.5541500449180603, -0.9121890068054199, -0.1918623298406601, 0.608558714389801, 0.8496291041374207, -0.4197087585926056, -0.029419438913464546, 0.6066840887069702, 0.05524025857448578, 0.22566813230514526, -0.8410331010818481, 0.11854997277259827, -0.07374893873929977, -0.21927547454833984, 0.0446019284427166, -0.5621131658554077, 0.6717191934585571, -0.5053873062133789, -0.2608315348625183, 0.23772357404232025, 0.17906154692173004, 0.5540279746055603, 0.6688138246536255, 0.03481028228998184, 0.40849021077156067, 0.903710663318634, 0.23668597638607025, 1.3829659223556519, -0.15071478486061096, -0.05680727958679199, 1.2132949829101562, -0.8872506618499756, 0.8136122226715088, 0.4168548882007599, -0.15219943225383759, 0.47249025106430054, 0.2885393500328064, -0.15853694081306458, 0.41276246309280396, 0.2818792760372162, -0.5850710868835449, -0.15078017115592957, -0.29083696007728577, -0.3820722997188568, 0.362476646900177, 0.1894412338733673, -0.5043668746948242, -0.02687610127031803, -0.0845102071762085, 0.2886265516281128, -0.05063283070921898, -0.07994498312473297, 0.9968045353889465, 0.2495921403169632, -0.6564626097679138, 0.7899721264839172, -0.35359907150268555, 0.1831352561712265, -0.771435558795929, -0.2527633011341095, -0.2923385798931122, -0.059654805809259415, -0.17666812241077423, -0.44084951281547546, 0.13127312064170837, 0.48076990246772766, -0.0643281638622284, -0.09305965900421143, 0.4960244596004486, -0.22718963027000427, -0.6568237543106079, -0.07315429300069809, 0.6242383718490601, 0.2805788815021515, 0.27330532670021057, -0.4206749200820923, 0.04810739681124687, -0.027466952800750732, -0.00803836528211832, 0.32956624031066895, 0.2764233946800232, -0.2809973657131195, 0.49386653304100037, 0.7848620414733887, 0.7095030546188354, -0.17890465259552002, 0.21887709200382233, 0.6515926122665405, -0.6736977696418762, -0.3556782603263855, -0.9760072827339172, 0.30779415369033813, 0.012244649231433868, -0.5112181901931763, 0.4482786953449249, 0.6469053030014038, 0.5295880436897278, -0.06003555282950401, 0.8511272072792053, 0.4538433253765106, 0.8050776124000549, -0.4311230182647705, 0.6910304427146912, -0.45005470514297485, 0.1529707908630371, -0.04440681263804436, -0.2947780191898346, -0.5251806378364563, 0.4623260498046875, 0.08255185186862946, -0.379332959651947, 0.6186261773109436, 1.045788288116455, 0.09283378720283508, -0.15210196375846863, 0.3680865466594696, 0.5088699460029602, 0.25322839617729187, 0.6838484406471252, 0.7906901836395264, -0.4041754901409149, 0.16619755327701569, -0.15012307465076447, -0.09527154266834259, 0.010556996800005436, -0.7391049265861511, -0.925518810749054, -0.14920221269130707, -0.23882684111595154, -0.4679664075374603, 0.3655753433704376, 0.8759323358535767, 0.6513059735298157, -0.7522658705711365, -0.07568851113319397, -0.06682436168193817, -0.40829846262931824, 0.0026903238613158464, -0.09855412691831589, 0.42742615938186646, 0.048319362103939056, -0.32721269130706787, 0.6799502968788147, 0.5812937021255493, 0.35055819153785706, -0.3167501986026764, -0.13812850415706635, 0.14203687012195587, 0.227447971701622, 0.3468669056892395, 0.46781471371650696, -0.7927790880203247, -0.06363514810800552, -0.042127568274736404, -0.14120887219905853, 0.3677927851676941, 0.9554619193077087, -1.1092313528060913, 0.560669481754303, 0.1414373517036438, 0.4482555091381073, 0.682580292224884, 0.14263659715652466, 0.5435706377029419, -0.6239591240882874, 0.24041074514389038, 0.5603013634681702, 0.01723899319767952, 0.21604153513908386, -0.7729306817054749, 0.6187496185302734, 0.01033895555883646, -0.2934669554233551, -1.1597834825515747, 0.12606126070022583, -1.0040127038955688, -0.06140873208642006, 1.1164214611053467, -0.002455783076584339, -0.18900595605373383, -0.029376976191997528, -0.35516151785850525, 0.3803328573703766, -0.1480780839920044, 0.9551898241043091, 0.11747634410858154, -0.6260233521461487, 0.0906476080417633, -0.7539082169532776, 0.4196603000164032, 0.2435051053762436, -0.9166531562805176, -0.19603747129440308, 0.48689258098602295, 0.18938486278057098, -0.166259303689003, 0.8643036484718323, -0.24968793988227844, 0.24838455021381378, 0.06808307766914368, -0.3242341876029968, -0.2529154121875763, -0.3905746638774872, -0.26477137207984924, 0.13676799833774567, -0.43776828050613403, -0.055556461215019226 ]
http://arxiv.org/abs/2403.15430v1
http://arxiv.org/pdf/2403.15430v1
Distilling Named Entity Recognition Models for Endangered Species from Large Language Models
2024-03-13T15:38:55
2024-03-13T15:38:55
Jesse Atuhurra, Seiveright Cargill Dujohn, Hidetaka Kamigaito, Hiroyuki Shindo, Taro Watanabe
cs.CL
cs.CL
Natural language processing (NLP) practitioners are leveraging large language models (LLM) to create structured datasets from semi-structured and unstructured data sources such as patents, papers, and theses, without having domain-specific knowledge. At the same time, ecological experts are searching for a variety of means to preserve biodiversity. To contribute to these efforts, we focused on endangered species and through in-context learning, we distilled knowledge from GPT-4. In effect, we created datasets for both named entity recognition (NER) and relation extraction (RE) via a two-stage process: 1) we generated synthetic data from GPT-4 of four classes of endangered species, 2) humans verified the factual accuracy of the synthetic data, resulting in gold data. Eventually, our novel dataset contains a total of 3.6K sentences, evenly divided between 1.8K NER and 1.8K RE sentences. The constructed dataset was then used to fine-tune both general BERT and domain-specific BERT variants, completing the knowledge distillation process from GPT-4 to BERT, because GPT-4 is resource intensive. Experiments show that our knowledge transfer approach is effective at creating a NER model suitable for detecting endangered species from texts.
[ -0.4415343105792999, -0.7613261342048645, 0.6044156551361084, 0.07611948996782303, -0.4643179476261139, 0.11236286908388138, -0.36625438928604126, -0.8048152327537537, 0.16088785231113434, 0.7078182697296143, -0.27980661392211914, -0.2658400535583496, -0.6111164689064026, 0.6984480619430542, -0.46460965275764465, 1.187730073928833, 0.12833468616008759, -0.420064777135849, 0.10596070438623428, -0.07076699286699295, -0.2656170427799225, -0.6396991610527039, -0.6775346994400024, -0.27104172110557556, 0.6948434710502625, 0.19937880337238312, 0.3885534107685089, 0.720609188079834, 0.5356265902519226, 0.25483018159866333, -0.5760721564292908, 0.262287437915802, -0.5641415119171143, 0.09057014435529709, -0.4685196578502655, -0.2449333220720291, -0.29704418778419495, 0.005909556522965431, 0.5709162950515747, 0.6287000179290771, -0.09932603687047958, 0.026291193440556526, 0.20362725853919983, 0.6208010911941528, -0.43560877442359924, 0.24370092153549194, -1.0920298099517822, -0.043246153742074966, -0.40622445940971375, -0.34567904472351074, -0.45115160942077637, -0.17442576587200165, 0.7154908776283264, -0.6421385407447815, 0.21928761899471283, -0.001518571050837636, 1.0080350637435913, 0.37621188163757324, -0.416920006275177, -0.3960215747356415, -0.8638368248939514, 0.8653496503829956, -0.8482068777084351, 0.16886365413665771, 0.43225741386413574, -0.15140707790851593, -0.5174392461776733, -0.8326596021652222, -0.6866771578788757, -0.13760854303836823, 0.02308710105717182, -0.18911944329738617, -0.5124868750572205, -0.00971902348101139, 0.4802040755748749, 0.3509569764137268, -0.4237745702266693, 0.1497814953327179, -0.2839359939098358, -0.055156409740448, 0.7538970112800598, -0.31473755836486816, 0.15521012246608734, -0.3237939476966858, -0.46484261751174927, 0.03771460801362991, -0.8453219532966614, -0.2891066372394562, 0.3783692717552185, 0.5813819766044617, 0.38571012020111084, 0.45770737528800964, -0.002136880299076438, 0.7023580074310303, -0.03841491788625717, -0.08979874849319458, 0.1695508360862732, -0.15536350011825562, -0.0780072882771492, 0.23693229258060455, 0.6484763622283936, 0.4096439778804779, 0.3322162330150604, -0.3051295578479767, -0.27630141377449036, -0.29634517431259155, 0.18831968307495117, -0.7181764245033264, -0.42524832487106323, -0.06848164647817612, -0.3756310045719147, -0.11368288099765778, -0.3439527153968811, -0.9307181239128113, -0.2970583140850067, -0.46435976028442383, 0.421953946352005, -0.44480234384536743, -0.33830127120018005, 0.09558603912591934, -0.3276972770690918, 0.1232677772641182, 0.14777955412864685, -1.0611720085144043, 0.23006126284599304, 0.6151447296142578, 0.953732967376709, -0.1569640189409256, -0.11283858120441437, -0.3226661682128906, 0.2923446595668793, -0.13185980916023254, 0.8533461689949036, -0.5752270817756653, -0.39374732971191406, -0.37173473834991455, 0.2007914036512375, 0.07753365486860275, -0.7096982598304749, 0.7766323089599609, -0.7176576852798462, 0.05041452869772911, -0.48694732785224915, -0.6690265536308289, -0.538565993309021, 0.27191272377967834, -0.8927591443061829, 0.91372150182724, -0.06459291279315948, -1.0085214376449585, 0.5545786023139954, -0.6868025064468384, -0.3058112859725952, 0.27484190464019775, 0.1333904266357422, -0.47937309741973877, 0.03363371640443802, 0.29375356435775757, 0.4005690813064575, -0.32527974247932434, 0.19400322437286377, -0.4696952700614929, -0.005611155182123184, 0.10652824491262436, -0.3074107766151428, 0.7628993391990662, 0.07913021743297577, -0.3215506374835968, -0.4212684631347656, -0.731525719165802, -0.15195296704769135, 0.1197168380022049, -0.598822295665741, -0.9617739915847778, 0.27960672974586487, 0.015124539844691753, -0.002573145553469658, 0.07577209174633026, -0.6621741056442261, 0.2519621253013611, -0.31952378153800964, 0.8459333181381226, 0.6617797017097473, 0.35721808671951294, 0.1706053763628006, -0.12687742710113525, 0.20628511905670166, -0.09739796072244644, -0.16731324791908264, 0.1569734364748001, -0.523191511631012, -0.6865033507347107, -0.09549688547849655, 0.4060104489326477, 0.33136820793151855, -0.5708447694778442, 0.5194298624992371, -0.411237895488739, -0.39934319257736206, -0.1511659473180771, -0.1114606112241745, 0.050642699003219604, 0.6367670893669128, 0.5326496958732605, -0.24117539823055267, -0.6840345859527588, -0.9354800581932068, -0.2600357234477997, -0.313834011554718, 0.001333153573796153, 0.27492696046829224, 0.7559497952461243, -0.34381577372550964, 1.2360682487487793, -0.4712770879268646, -0.33885082602500916, -0.11316242814064026, 0.4162921607494354, 0.12606801092624664, 0.42993059754371643, 0.6655921936035156, -0.993950366973877, -0.5258288383483887, 0.036853574216365814, -0.6933795213699341, 0.04741263389587402, -0.01603688672184944, -0.043575286865234375, 0.16201728582382202, 0.2969905734062195, -0.42565983533859253, 0.14299339056015015, 0.35688865184783936, 0.13311469554901123, 0.26961418986320496, -0.056510791182518005, -0.10547230392694473, -1.2524687051773071, 0.22129224240779877, 0.12256595492362976, -0.09694556146860123, -0.6102954149246216, -0.29992544651031494, -0.07054272294044495, 0.1585691124200821, -0.15014547109603882, 0.26885029673576355, -0.8234512805938721, -0.1028343141078949, -0.15090203285217285, 0.05113915726542473, -0.19079697132110596, 0.19023384153842926, 0.4516043961048126, 0.5974701046943665, 0.40714192390441895, -0.5648146867752075, 0.26989346742630005, 0.44427767395973206, -0.210032120347023, 0.359915554523468, -0.5474005937576294, 0.19910651445388794, -0.07837343215942383, 0.23892717063426971, -0.3309076428413391, -0.2301357388496399, 0.10507012158632278, -0.04495330527424812, 0.4813774824142456, -0.5519473552703857, -0.3684740960597992, -0.41191914677619934, -0.011367818340659142, 0.14479219913482666, 0.2219400256872177, -0.565617561340332, 0.5519774556159973, 0.8381836414337158, -0.6767721772193909, -0.6868836879730225, -0.6842275857925415, 0.5618051290512085, -0.5995387434959412, -0.2342344969511032, 0.41507697105407715, 0.03111380711197853, -0.1011737585067749, 0.3497682213783264, -0.11572238802909851, -0.28080102801322937, 0.24895289540290833, 0.012079951353371143, 0.3419992923736572, -0.19341252744197845, 0.3653212785720825, -0.03623171150684357, -0.023806056007742882, 0.028102006763219833, -0.36681243777275085, 0.31109341979026794, -0.05477191135287285, 0.0036462927237153053, -0.17558132112026215, 0.28274181485176086, 0.43949365615844727, -0.2681821584701538, 0.7489029765129089, 0.22251957654953003, -0.6777340769767761, -0.27842575311660767, -0.3774474859237671, -0.09717711061239243, -0.399996817111969, 0.3290553390979767, -0.26589909195899963, -1.0929429531097412, 0.3932301700115204, -0.3291829228401184, 0.245657816529274, 0.6438605785369873, 0.1990921050310135, 0.18407613039016724, 0.6355132460594177, 0.8402839303016663, -0.3161242604255676, 0.5665858387947083, -0.25928184390068054, 0.5043380260467529, -0.8218124508857727, -0.18314407765865326, -0.4908554255962372, -0.27974027395248413, -0.5835090279579163, -0.1299412101507187, 0.13100504875183105, 0.15007418394088745, 0.02422185428440571, 0.6960058212280273, -0.7740894556045532, 0.6810712218284607, 0.45706942677497864, 0.006197224371135235, 0.4890414774417877, 0.1433483511209488, 0.13641414046287537, -0.11239395290613174, -0.27850037813186646, -0.9932510256767273, 1.2330352067947388, 0.22568179666996002, 0.45271122455596924, 0.02532307617366314, 0.9551728367805481, 0.3028031289577484, 0.5338780879974365, -0.7816009521484375, 0.5426322817802429, -0.25336137413978577, -0.7849752902984619, -0.45607152581214905, -0.64287930727005, -0.9962702393531799, 0.029074842110276222, -0.1710948497056961, -0.7562426328659058, 0.44866010546684265, -0.003740383544936776, -0.5220805406570435, 0.3790881633758545, -0.7036080956459045, 0.6938311457633972, -0.3568863570690155, -0.05231126397848129, -0.00850605871528387, -0.6442811489105225, 0.4503760039806366, -0.6434757113456726, -0.03896940499544144, -0.3064393699169159, -0.18066783249378204, 0.8960891962051392, -0.21620096266269684, 0.5643417239189148, -0.022021785378456116, -0.20887702703475952, 0.35787564516067505, -0.13868574798107147, 0.5504598021507263, 0.05235666409134865, -0.33210626244544983, 0.18827013671398163, -0.15012773871421814, 0.06314802914857864, -0.2296810746192932, 0.6400666832923889, -0.6265696287155151, -0.44176048040390015, -0.6417540311813354, -0.3563161790370941, -0.043055932968854904, 0.4518502950668335, 0.236349955201149, 0.12173642218112946, -0.4017864167690277, 0.37848758697509766, 0.6262946724891663, -0.18542172014713287, 0.6140101552009583, 0.76483553647995, 0.3229271471500397, -0.4317508637905121, 0.768802285194397, 0.4181252717971802, 0.05062185972929001, 0.4686194658279419, -0.018667973577976227, -0.48144087195396423, -0.9321340918540955, -0.14031632244586945, 0.20976006984710693, -0.5300661325454712, -0.36565929651260376, -1.0529268980026245, -0.328888863325119, -0.09062670171260834, 0.23138359189033508, -0.22500008344650269, -0.20473213493824005, -0.7033153772354126, -0.1993764042854309, 0.6340823173522949, 0.9107453227043152, -0.31841611862182617, 0.14079223573207855, -1.0889155864715576, 0.27993157505989075, 0.40771570801734924, 0.22190333902835846, -0.23311522603034973, -0.5092068910598755, -0.020828019827604294, 0.1849576085805893, -0.27755141258239746, -0.8953046202659607, 0.7425482273101807, 0.7558141946792603, 0.5963513851165771, 0.3686543405056, 0.3945755064487457, 0.8367857933044434, -0.5535110831260681, 0.6735525727272034, -0.07528337836265564, -0.8033843636512756, 0.4600279927253723, -0.2760269343852997, -0.5212786793708801, 0.47231706976890564, 0.6505152583122253, -0.49464237689971924, -0.255801796913147, -0.6052482724189758, -1.1455188989639282, 0.7934154272079468, 0.3415711522102356, 0.16007164120674133, -0.16198712587356567, 0.4425239861011505, 0.24280022084712982, 0.22360847890377045, -0.9960991740226746, 0.04260251671075821, 0.1749792993068695, -0.024023162201046944, -0.15378232300281525, -0.3596276342868805, -0.0753224715590477, -0.03553875908255577, 0.7989041209220886, 0.04762471839785576, -0.0038998390082269907, 0.3030606508255005, -0.2541176974773407, -0.09650592505931854, 0.41869786381721497, 0.24165591597557068, 0.39515578746795654, -0.3519092798233032, 0.37848222255706787, 0.13944397866725922, -0.5907942652702332, 0.04185604676604271, 0.5606659650802612, -0.17525000870227814, 0.025116782635450363, 0.35527855157852173, 0.5552113652229309, 0.033577125519514084, -0.5559945106506348, 0.15169565379619598, -0.1134769544005394, -0.08159130811691284, -0.3286552429199219, -0.07750652730464935, 0.30206575989723206, 0.3035621643066406, 0.5449997186660767, 0.006397047080099583, 0.36497655510902405, -0.4545767605304718, 0.43305671215057373, 0.2694896459579468, 0.16720926761627197, -0.3396987020969391, 0.589073896408081, 0.2507772445678711, 0.04252123460173607, 0.7504725456237793, -0.24625717103481293, -0.5873304009437561, 0.4933371841907501, 0.4232868254184723, 1.0091776847839355, -0.03749259561300278, 0.18678930401802063, 0.601923942565918, 0.3148612678050995, -0.431257963180542, 0.006439639255404472, -0.03620060160756111, -0.768139123916626, -0.3319758176803589, -0.9827930927276611, -0.4268726408481598, 0.5057215094566345, -0.6903327703475952, 0.13720670342445374, -0.18314851820468903, -0.4171378016471863, 0.6201638579368591, 0.047693539410829544, -0.3118818998336792, -0.14639614522457123, 0.27628976106643677, 0.7309331893920898, -1.0760011672973633, 0.6274913549423218, 0.580783486366272, -0.552517294883728, -0.9028867483139038, 0.1556025594472885, -0.1270836740732193, -0.34868544340133667, 0.7754184603691101, 0.18388281762599945, 0.15011101961135864, 0.2872132956981659, -0.5280154347419739, -1.1605541706085205, 0.8526187539100647, 0.659078061580658, -0.8651083707809448, 0.031162787228822708, -0.04673059657216072, 0.6857284307479858, -0.20634247362613678, -0.1593153476715088, 0.7937688827514648, 0.44797810912132263, 0.13138172030448914, -1.0273065567016602, -0.07050302624702454, -0.27926528453826904, 0.08251623064279556, 0.24833138287067413, -0.2695246636867523, 0.9035145044326782, -0.1913602352142334, -0.5079236030578613, -0.04546911269426346, 0.49136728048324585, 0.12722158432006836, 0.07121171802282333, 0.6320371031761169, 0.7586655616760254, 0.9495642185211182, -0.1251092255115509, 0.5276150703430176, -0.019178587943315506, 0.48016709089279175, 1.3415106534957886, -0.6528173685073853, 1.1479570865631104, 0.5013865828514099, -0.3246409595012665, 0.5109288692474365, 1.0356148481369019, -0.18988706171512604, 0.586514413356781, 0.09359259158372879, -0.4855089783668518, -0.1619551181793213, -0.30083200335502625, -0.33797532320022583, 0.45689287781715393, 0.4338124096393585, -0.5120753049850464, -0.3555128276348114, -0.07232072949409485, -0.01872176304459572, -0.1999133825302124, -0.057845864444971085, 0.9685297608375549, 0.14013439416885376, -0.6628708839416504, 0.6172866225242615, -0.2772883176803589, 0.5558045506477356, -0.41541656851768494, -0.20518547296524048, -0.014070824719965458, 0.23349629342556, -0.24043279886245728, -0.9444701671600342, 0.39146706461906433, 0.3496893048286438, -0.3854917585849762, -0.2148740291595459, 0.6668720841407776, -0.6677044630050659, -0.24685609340667725, 0.3174208700656891, 0.25810378789901733, 0.5698370933532715, -0.21605311334133148, -0.5952340960502625, -0.3493809700012207, 0.1874435842037201, -0.41298386454582214, 0.13773052394390106, 0.6973068118095398, -0.20993728935718536, 0.6618406772613525, 0.9003340601921082, 0.31647422909736633, 0.07003825902938843, -0.08357151597738266, 1.0693495273590088, -0.49320369958877563, -0.26542723178863525, -0.9623802900314331, 0.28024348616600037, -0.3826747536659241, -0.1172240749001503, 0.7120841145515442, 0.7705807685852051, 0.7648264765739441, -0.10128192603588104, 0.8847262263298035, -0.2545207142829895, 0.7262424826622009, -0.27048149704933167, 0.6749370694160461, -0.5298556685447693, 0.26248621940612793, -0.39724016189575195, -1.0059131383895874, -0.3773253560066223, 0.5736691355705261, -0.3239908516407013, -0.19405288994312286, 0.47008246183395386, 0.6641854643821716, -0.001142688444815576, -0.07621068507432938, -0.011799603700637817, 0.22717098891735077, 0.41600269079208374, 0.5073243379592896, 0.9112465381622314, -0.11064127832651138, 0.6380859613418579, -0.12320714443922043, -0.155837744474411, -0.18061436712741852, -1.2862416505813599, -0.5767263770103455, -0.5638797283172607, -0.4066203832626343, 0.10004326701164246, 0.04058537259697914, 0.8667230010032654, 0.5086869597434998, -0.9159384369850159, 0.18258272111415863, -0.3253449499607086, -0.06518347561359406, -0.008407396264374256, -0.17609281837940216, 0.3966122567653656, -0.019368695095181465, -0.7051883339881897, 0.3657255470752716, 0.38682588934898376, 0.4434470534324646, 0.14499175548553467, 0.01473764143884182, -0.31548479199409485, -0.08163700252771378, 0.5495725870132446, 0.5833056569099426, -0.7505452632904053, -0.4277503490447998, -0.19776210188865662, 0.005259249825030565, -0.177935391664505, 0.37827011942863464, -0.5298315286636353, 0.46250519156455994, 0.2735756039619446, 0.5767619609832764, 0.33319470286369324, 0.02829945646226406, 0.5277373790740967, -0.5144773721694946, 0.021843232214450836, 0.5504333972930908, 0.5277076959609985, 0.5128057599067688, -0.3237115144729614, 0.7066248059272766, 0.37906062602996826, -0.7824504971504211, -1.0644994974136353, 0.05631139501929283, -1.0712400674819946, 0.04818432405591011, 1.1235761642456055, -0.4425944685935974, -0.133671835064888, -0.3090868294239044, -0.2508385181427002, 0.3602822721004486, -0.4616001844406128, 0.8936375379562378, 0.6367882490158081, -0.08951955288648605, -0.09371162205934525, -0.44826066493988037, 0.7278793454170227, -0.10271064937114716, -0.9313446879386902, 0.3850767910480499, 0.5493863224983215, 0.5405676960945129, 0.3542613089084625, 0.4976274073123932, -0.016464807093143463, -0.2109414041042328, -0.13355125486850739, 0.2114849090576172, 0.12806247174739838, -0.14896990358829498, -0.16796930134296417, -0.03746723383665085, 0.09038523584604263, -0.11526355147361755 ]
http://arxiv.org/abs/2403.08607v1
http://arxiv.org/pdf/2403.08607v1
MedInsight: A Multi-Source Context Augmentation Framework for Generating Patient-Centric Medical Responses using Large Language Models
2024-03-13T15:20:30
2024-03-13T15:20:30
Subash Neupane, Shaswata Mitra, Sudip Mittal, Noorbakhsh Amiri Golilarz, Shahram Rahimi, Amin Amirlatifi
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown impressive capabilities in generating human-like responses. However, their lack of domain-specific knowledge limits their applicability in healthcare settings, where contextual and comprehensive responses are vital. To address this challenge and enable the generation of patient-centric responses that are contextually relevant and comprehensive, we propose MedInsight:a novel retrieval augmented framework that augments LLM inputs (prompts) with relevant background information from multiple sources. MedInsight extracts pertinent details from the patient's medical record or consultation transcript. It then integrates information from authoritative medical textbooks and curated web resources based on the patient's health history and condition. By constructing an augmented context combining the patient's record with relevant medical knowledge, MedInsight generates enriched, patient-specific responses tailored for healthcare applications such as diagnosis, treatment recommendations, or patient education. Experiments on the MTSamples dataset validate MedInsight's effectiveness in generating contextually appropriate medical responses. Quantitative evaluation using the Ragas metric and TruLens for answer similarity and answer correctness demonstrates the model's efficacy. Furthermore, human evaluation studies involving Subject Matter Expert (SMEs) confirm MedInsight's utility, with moderate inter-rater agreement on the relevance and correctness of the generated responses.
[ -0.18816561996936798, -0.6083716750144958, 0.8960406184196472, -0.03520208224654198, -0.26432380080223083, -0.08879544585943222, -0.18940487504005432, -0.5047510266304016, 0.5280943512916565, 0.5332698225975037, -0.7735540270805359, -0.3442842960357666, -0.31235864758491516, 0.1912071853876114, -0.16833004355430603, 0.8916269540786743, 0.203468918800354, 0.46913328766822815, -0.4690530002117157, -0.28006067872047424, -0.5272612571716309, -0.48182034492492676, -0.4618367850780487, -0.19295410811901093, 0.7387180924415588, 0.6119959354400635, 0.2699774503707886, 0.12089693546295166, 0.7933259010314941, 0.290208637714386, 0.2244480699300766, 0.5774475336074829, -0.16733558475971222, 0.5455901026725769, -0.21686747670173645, -0.20011821389198303, -0.2986421287059784, -0.2306988686323166, 0.325676828622818, 0.6793845295906067, -0.2407521903514862, 0.2182290405035019, 0.0800316259264946, 0.5150772333145142, -0.6074090600013733, -0.29764190316200256, -0.512721061706543, 0.12970255315303802, -0.011545201763510704, -0.746910572052002, -0.3827452063560486, -0.11938402056694031, 0.48998311161994934, -0.5971903204917908, 0.039611391723155975, -0.0021927603520452976, 0.6341122984886169, 0.34562361240386963, -0.4456782341003418, -0.06999024003744125, -0.25243136286735535, 0.6011768579483032, -0.9183862209320068, 0.29314371943473816, 0.2874869406223297, 0.6135431528091431, -0.02549663931131363, -1.003950595855713, -0.2342708706855774, -0.1852007955312729, -0.40545356273651123, 0.4034879207611084, 0.13118118047714233, -0.04438875615596771, 0.07410918176174164, 0.2916848659515381, -0.5071853399276733, -0.11457674950361252, -0.21573318541049957, -0.18294578790664673, 0.4152145981788635, 0.4753204584121704, 0.445798397064209, -0.3951161503791809, -0.4439779818058014, 0.2028178870677948, -0.6218729019165039, -0.1974756270647049, -0.43062824010849, 0.29945167899131775, -0.06872659176588058, 0.864213764667511, -0.13871797919273376, 0.9934926629066467, 0.27244850993156433, -0.5364769697189331, 0.5281305313110352, -0.26550567150115967, -0.27315396070480347, 0.20474514365196228, 0.5596470236778259, 0.6977369785308838, -0.26385390758514404, -0.2358095645904541, -0.06865249574184418, 0.019724341109395027, 0.3267853260040283, -1.0620814561843872, 0.01391848549246788, 0.6354860663414001, -0.6147472262382507, -0.3509936034679413, -0.14307299256324768, -0.7112274169921875, -0.6779058575630188, -0.48799410462379456, 0.3240404725074768, -0.6069053411483765, -0.15357747673988342, 0.07810211926698685, -0.20781391859054565, 0.03757534176111221, 0.4037855863571167, -0.5506223440170288, -0.19137215614318848, 0.4361390173435211, 0.6191050410270691, -0.23441529273986816, -0.18464438617229462, -0.8069872260093689, 0.19703900814056396, -0.12876708805561066, 0.8202092051506042, -0.6322122812271118, -0.2976153790950775, 0.10232996195554733, 0.07564648240804672, 0.11703938245773315, -0.6289235949516296, 0.38768815994262695, -0.5089259147644043, 0.5573415160179138, -0.12227199971675873, -0.658630907535553, 0.15626658499240875, 0.43149542808532715, -0.3830917477607727, 0.4981144666671753, 0.3228985369205475, -0.9942575693130493, 0.5128889083862305, -0.7030086517333984, -0.645466685295105, 0.5242100954055786, -0.707493782043457, -0.2665853202342987, 0.3282649517059326, 0.4212464690208435, 0.5053967833518982, -0.3351607322692871, 0.515489399433136, -0.1520661860704422, -0.16827082633972168, 0.5257776379585266, -0.5568076372146606, 0.4327608048915863, 0.2039722055196762, -0.08871917426586151, 0.30536511540412903, -0.9479081630706787, 0.13604100048542023, 0.02492658421397209, -0.36184656620025635, -0.5011786818504333, 0.061206184327602386, 0.2561573386192322, 0.3819831311702728, 0.19640089571475983, -0.6697351932525635, -0.07082414627075195, -0.6605062484741211, 0.3276605010032654, 0.5546745657920837, 0.3623584508895874, 0.20944051444530487, -0.19574971497058868, 0.3525635600090027, 0.18899711966514587, 0.28118863701820374, -0.5290464758872986, -0.2643226087093353, -0.12067148089408875, -0.4474969208240509, -0.10814467072486877, 0.5023652911186218, -1.051578164100647, 0.1975022703409195, -0.26210349798202515, -0.2171134501695633, -0.735906183719635, -0.24521280825138092, 0.21605367958545685, 1.1851005554199219, 0.5047162175178528, 0.02050176076591015, -0.6365315914154053, -1.045647382736206, -0.40903061628341675, 0.17721019685268402, -0.3963891267776489, 0.8509111404418945, 0.10118720680475235, -0.6523374319076538, 0.9745835065841675, -0.749159038066864, -0.28557050228118896, -0.13730156421661377, -0.12425724416971207, 0.23457713425159454, 0.2951599955558777, 0.5626522898674011, -1.006784439086914, -0.36823132634162903, 0.1964627504348755, -0.8106529712677002, -0.05284006521105766, 0.06943105906248093, -0.11241082847118378, -0.14813987910747528, 0.2908017039299011, -0.28536921739578247, 0.3409148156642914, 0.49135681986808777, -0.6200903058052063, 0.42764580249786377, -0.11821384727954865, 0.564063310623169, -1.805655837059021, 0.525859534740448, -0.1410192996263504, -0.40587353706359863, -0.5854354500770569, 0.08356406539678574, 0.08411569893360138, -0.5122798681259155, -0.4445776045322418, 0.7618032693862915, -0.10302327573299408, 0.11573389172554016, -0.3580034673213959, 0.10196192562580109, 0.2746352255344391, 0.12850870192050934, -0.1617760956287384, 1.0155746936798096, 0.4109356105327606, -0.36832746863365173, 0.3568907678127289, 0.37595778703689575, -0.40531983971595764, 1.1847368478775024, -0.6445680856704712, -0.15255093574523926, -0.2886465787887573, 0.0050894394516944885, -0.7332108020782471, -0.937297523021698, 0.03874831274151802, -0.5628498196601868, 0.20494680106639862, 0.13262216746807098, -0.2911648750305176, -0.46297788619995117, -0.11418815702199936, 0.5173057317733765, 0.19057776033878326, -0.6177381277084351, 0.8495553731918335, 0.3003987967967987, -0.43204227089881897, -0.5803542733192444, -0.9629955887794495, 0.28288567066192627, -0.054077278822660446, -0.5561531782150269, 0.41677746176719666, -0.30320557951927185, -0.13064274191856384, 0.014783830381929874, 0.12901605665683746, -0.17977142333984375, -0.11519402265548706, 0.23565034568309784, 0.5635831356048584, -0.24356909096240997, 0.39783310890197754, 0.26709166169166565, 0.09392831474542618, 0.034319065511226654, -0.12853756546974182, 0.37235745787620544, 0.2415652722120285, -0.6603063344955444, -0.39745521545410156, 0.7661522626876831, 0.8431521654129028, -0.3614959716796875, 0.6128782629966736, 0.4851688742637634, -0.4529724717140198, 0.19383803009986877, -0.7740188241004944, -0.7215585708618164, -0.445166677236557, 0.7134253978729248, -0.30109333992004395, -1.0846500396728516, 0.39751991629600525, -0.14313958585262299, 0.15600013732910156, 0.33146926760673523, 0.6118354201316833, 0.12109366059303284, 1.4076155424118042, 0.3583662807941437, 0.11924643069505692, 0.24825233221054077, 0.22668933868408203, 0.05584368854761124, -0.9873815774917603, -0.5588685870170593, -0.24666757881641388, -0.14061026275157928, -0.3074151873588562, -0.12383028119802475, 0.7621595859527588, -0.5210572481155396, -0.06909845024347305, -0.26342713832855225, -0.6868918538093567, 0.07190489023923874, 0.38766035437583923, 0.7185667157173157, 0.22766120731830597, 0.1902254819869995, -0.16957442462444305, -0.27919936180114746, -0.7036949396133423, -0.00971654150635004, 0.9567683339118958, 0.18433460593223572, 0.7627903819084167, 0.12469317764043808, 0.4190295338630676, 0.14010968804359436, 0.6769523620605469, -0.8862362504005432, 0.2048272043466568, -0.1659686118364334, -0.6332269310951233, 0.08331505954265594, -0.6116922497749329, -0.7628762125968933, 0.19375860691070557, -0.3376103341579437, -0.4247210621833801, 0.28909116983413696, 0.14497517049312592, -0.7544510364532471, -0.06557498127222061, -0.6534566879272461, 0.5674723982810974, -0.33293357491493225, -0.4728792607784271, -0.0690656453371048, -0.7712277770042419, 0.16315048933029175, -0.15392032265663147, 0.024797851219773293, 0.15991529822349548, -0.10410959273576736, 0.5050256848335266, -0.5629060864448547, 0.5831529498100281, -0.19798842072486877, 0.08685643970966339, -0.05719905346632004, -0.22931388020515442, 0.19513431191444397, 0.23729942739009857, -0.023789336904883385, -0.39312300086021423, 0.0813349261879921, -0.31665366888046265, -0.6258717179298401, 0.9746983647346497, -0.3684660792350769, -0.38867104053497314, -0.21338798105716705, -0.6079729795455933, -0.716371476650238, 0.3835048973560333, 0.4055975377559662, 1.0668361186981201, -0.027486011385917664, 0.1582188904285431, 0.5034856796264648, -0.4508403539657593, -0.014111262746155262, 0.8397108316421509, -0.17734035849571228, -0.6839805841445923, 0.5011136531829834, -0.15701746940612793, 0.04785123094916344, 0.29548054933547974, 0.25950029492378235, -0.20144590735435486, -0.13857287168502808, -0.6078459620475769, 0.10318256914615631, -0.7028201222419739, -0.5517850518226624, -0.5123810768127441, -0.1917528659105301, -0.24148714542388916, -0.08032619208097458, 0.020687444135546684, 0.12213580310344696, -0.2357749193906784, -0.02857855148613453, 0.5593218207359314, 0.47088250517845154, 0.14169244468212128, 0.14231029152870178, -0.9938661456108093, 0.27402350306510925, 0.4056490659713745, 0.5016775131225586, -0.07658499479293823, -0.4218216836452484, -0.37516847252845764, -0.00008050735050346702, 0.09265957772731781, -1.1030446290969849, 0.3893747925758362, 0.11145665496587753, 0.4744229316711426, 0.5561860203742981, 0.021017886698246002, 0.7845712304115295, -0.9712204933166504, 0.7561673521995544, 0.47929608821868896, -0.41007933020591736, 0.7758634686470032, -0.03393825516104698, 0.452457070350647, 0.8794721364974976, 0.07822249084711075, -0.4403862953186035, -0.15045364201068878, -0.2962569296360016, -0.9618277549743652, 0.4291668236255646, -0.21646209061145782, 0.12966760993003845, -0.1893928498029709, 0.6064700484275818, 0.011318089440464973, 0.2758839428424835, -0.23235367238521576, -0.2431180477142334, 0.008278182707726955, -0.5400820374488831, 0.03417013958096504, -0.3579210340976715, -0.4918261766433716, -0.0989525243639946, 0.43859198689460754, -0.36638909578323364, 0.2347959578037262, 0.7941532135009766, 0.008082992397248745, -0.1759309023618698, 0.3069274425506592, 0.5241735577583313, 0.8969431519508362, -0.280897319316864, 0.14313067495822906, -0.029166750609874725, -0.5406274199485779, -0.12371709942817688, 0.4217236340045929, 0.03299251198768616, 0.21328787505626678, 0.3311524987220764, 0.5654256939888, 0.23916040360927582, -1.0101838111877441, 0.7631300091743469, -0.25773394107818604, 0.0842701643705368, -0.12683610618114471, -0.3505588173866272, -0.2002163529396057, 0.22717203199863434, 0.7006010413169861, 0.34469074010849, 0.6933061480522156, -0.20913834869861603, 0.4661630094051361, 0.46997183561325073, -0.6648287177085876, -0.03307882696390152, 0.6140879392623901, 0.3319432735443115, -0.09643655270338058, 0.39479976892471313, 0.36480528116226196, -0.3173060417175293, 0.2375868260860443, 0.6293845176696777, 0.6406310200691223, -0.2742474675178528, 0.03623875975608826, 0.3317823112010956, -0.18127013742923737, 0.2845284342765808, 0.39236295223236084, 0.06503941118717194, -0.27235740423202515, -0.922404944896698, -0.3584069311618805, -0.2782992720603943, 0.2636823058128357, -0.7542779445648193, -0.003669196739792824, -0.1431242823600769, -0.4735964238643646, -0.009977856650948524, -0.172259122133255, -0.6738632917404175, 0.372335284948349, -0.048084598034620285, 1.0448867082595825, -0.6391619443893433, 0.4069674015045166, 1.0664303302764893, -0.40255483984947205, -0.7809951305389404, 0.10449730604887009, -0.1345922350883484, -0.765282928943634, 0.4360181391239166, 0.27791449427604675, -0.1242409497499466, -0.2413027435541153, -0.668007493019104, -0.601662278175354, 1.0902382135391235, 0.3718993067741394, -0.5631991028785706, -0.008182421326637268, -0.13095606863498688, 0.49372872710227966, -0.40769216418266296, 0.21029825508594513, 0.22164808213710785, 0.23780684173107147, 0.1080872043967247, -0.7052656412124634, 0.15970277786254883, -0.4390113353729248, -0.1172710508108139, -0.022345811128616333, -0.2076316773891449, 0.5681625008583069, -0.23946461081504822, -0.11822785437107086, 0.19794633984565735, 0.33459457755088806, 0.5117509961128235, 0.5086656212806702, 0.1719978004693985, 0.46602389216423035, 0.6265766024589539, 0.16929487884044647, 1.3301111459732056, -0.6173927187919617, 0.08825904130935669, 1.1122733354568481, -0.2684405446052551, 0.8338583111763, 0.7636595368385315, 0.13227614760398865, 0.5889177322387695, 0.45344460010528564, 0.3917604982852936, 0.7301694750785828, -0.28300634026527405, -0.606637716293335, -0.17925278842449188, -0.44274216890335083, -0.6852880120277405, 0.09917785227298737, 0.44172316789627075, -0.6245463490486145, -0.06039977818727493, 0.45726579427719116, 0.016583584249019623, 0.049234338104724884, -0.23326647281646729, 0.9448032975196838, 0.12820808589458466, -0.7680031657218933, 0.2909924387931824, -0.09575710445642471, 0.6340675354003906, -0.7429566383361816, -0.2012939304113388, -0.31362393498420715, 0.2644312083721161, -0.34389397501945496, -0.7764459252357483, 0.0427992008626461, -0.008003320544958115, -0.5145241022109985, 0.34626975655555725, 0.8648767471313477, -0.4068685472011566, -0.5147106051445007, 0.0766729786992073, 0.5357397198677063, -0.12785184383392334, -0.08621396124362946, -0.71653813123703, -0.16278566420078278, -0.014989274553954601, -0.1054726168513298, 0.25273606181144714, 0.4766075611114502, 0.38622498512268066, 0.5498918890953064, 0.6933946013450623, 0.2741599380970001, -0.42899444699287415, 0.33126300573349, 1.0394551753997803, -0.23467326164245605, -0.3907746374607086, -0.7027339339256287, 0.6155336499214172, -0.49277299642562866, -0.26299214363098145, 0.7274040579795837, 0.5515536069869995, 0.10702655464410782, -0.21300117671489716, 0.7441182136535645, 0.09988104552030563, 0.9666824340820312, -0.29044389724731445, 0.7089502215385437, -0.9991470575332642, 0.10963782668113708, -0.10853516310453415, -0.4342779219150543, -0.4824862480163574, 0.44677114486694336, -0.1997770220041275, -0.013859512284398079, 0.4179905951023102, 0.646411120891571, -0.17539185285568237, -0.40416160225868225, 0.3754861056804657, 0.2353709489107132, 0.21914160251617432, 0.4844239354133606, 0.629763126373291, -0.21248246729373932, 0.1498394012451172, 0.036245197057724, -0.4917365312576294, -0.5153695940971375, -0.576556384563446, -0.7589001059532166, -0.4970296323299408, 0.007818341255187988, -0.46400558948516846, 0.09689339995384216, 1.1440094709396362, 0.9117811322212219, -0.7951141595840454, 0.35380953550338745, 0.15428605675697327, -0.4586428999900818, 0.05955206975340843, -0.3372439742088318, 0.5401065945625305, -0.40530791878700256, -0.2931044399738312, 0.5923761129379272, 0.5643102526664734, -0.13876761496067047, -0.36828479170799255, -0.033423859626054764, 0.04587457329034805, 0.06671174615621567, 0.8916262984275818, -0.000645740597974509, -0.6414045095443726, -0.0579787977039814, 0.3370946943759918, -0.327604204416275, 0.03501424193382263, 0.7554113864898682, -1.003806471824646, 0.7712737917900085, 0.38305890560150146, 0.8845406770706177, -0.06959307938814163, 0.1558428257703781, 0.5041115283966064, -0.862858235836029, 0.1323441118001938, 0.5370773673057556, 0.44304192066192627, 0.5715148448944092, -0.6010156869888306, 0.1030787006020546, -0.006418476812541485, -0.5535095930099487, -0.7065169811248779, 0.348919153213501, -0.7593205571174622, -0.5498083829879761, 0.9503128528594971, -0.01775859296321869, -0.2190106362104416, 0.04007243737578392, -0.6402778625488281, -0.06446091085672379, -0.3805789351463318, 0.5880073308944702, 0.027800824493169785, -0.20582959055900574, -0.0042162989266216755, -0.49318206310272217, 0.4674895107746124, 0.5649505257606506, -0.9940733909606934, -0.2818925678730011, 0.8093914985656738, 0.3296056091785431, 0.15171927213668823, 0.5726789236068726, -0.29762905836105347, 0.41420814394950867, -0.39625248312950134, -0.23824052512645721, -0.03409465402364731, -0.1736937016248703, -0.10011684149503708, 0.2072669118642807, 0.0320822075009346, -0.12411846965551376 ]
http://arxiv.org/abs/2403.08604v2
http://arxiv.org/pdf/2403.08604v2
DevBench: A Comprehensive Benchmark for Software Development
2024-03-13T15:13:44
2024-03-15T13:23:34
Bowen Li, Wenhan Wu, Ziwei Tang, Lin Shi, John Yang, Jinyang Li, Shunyu Yao, Chen Qian, Binyuan Hui, Qicheng Zhang, Zhiyin Yu, He Du, Ping Yang, Dahua Lin, Chao Peng, Kai Chen
cs.CL
cs.CL, cs.SE
Recent advancements in large language models (LLMs) have significantly enhanced their coding capabilities. However, existing benchmarks predominantly focused on simplified or isolated aspects of programming, such as single-file code generation or repository issue debugging, falling short of measuring the full spectrum of challenges raised by real-world programming activities. To this end, we propose DevBench, a comprehensive benchmark that evaluates LLMs across various stages of the software development lifecycle, including software design, environment setup, implementation, acceptance testing, and unit testing. DevBench features a wide range of programming languages and domains, high-quality data collection, and carefully designed and verified metrics for each task. Empirical studies show that current LLMs, including GPT-4-Turbo, fail to solve the challenges presented within DevBench. Analyses reveal that models struggle with understanding the complex structures in the repository, managing the compilation process, and grasping advanced programming concepts. Our findings offer actionable insights for the future development of LLMs toward real-world programming applications. Our benchmark is available at https://github.com/open-compass/DevBench
[ -0.5216963887214661, -0.3780938386917114, 0.40639686584472656, 0.36713066697120667, -0.10231731086969376, 0.5300461053848267, -0.3068607747554779, -0.4561322033405304, -0.16747915744781494, 0.3513154983520508, -0.6026152968406677, -0.7312839031219482, -0.20820389688014984, 0.04887760058045387, -0.5933164954185486, 0.6788645386695862, -0.15581806004047394, -0.06168924644589424, -0.2296905219554901, 0.0019189128652215004, -0.6250668168067932, -0.3122779428958893, -0.29423534870147705, -0.12153171002864838, 0.21178454160690308, 0.4151955246925354, 0.5304972529411316, 0.618478000164032, 0.7256985306739807, 0.23890109360218048, 0.10416487604379654, -0.45327410101890564, -0.48597317934036255, 0.48382696509361267, -0.048995740711688995, -0.3130941689014435, -0.5550975203514099, 0.060152020305395126, 0.444062739610672, 0.7189356088638306, -0.18822292983531952, 0.6434326767921448, -0.02823685295879841, 0.6837599277496338, -0.6495823264122009, 0.13418805599212646, -0.35154518485069275, 0.16328884661197662, -0.46026793122291565, 0.2786654829978943, -0.07250844687223434, -0.7469912767410278, -0.27284756302833557, -0.22109267115592957, 0.29981717467308044, -0.14430764317512512, 0.6127027273178101, 0.30699849128723145, -0.21231140196323395, -0.09106028825044632, -0.6570735573768616, 0.6886803507804871, -0.7388292551040649, 0.6567122936248779, -0.05592234060168266, 0.48296186327934265, -0.32318517565727234, -0.767544150352478, -0.33226877450942993, -0.3346511125564575, 0.41543933749198914, -0.015428490936756134, 0.12103717774152756, -0.09931078553199768, 0.410797655582428, 0.5806944370269775, -0.7623081207275391, 0.020123716443777084, -0.42012566328048706, -0.22105534374713898, 0.433838427066803, 0.26096829771995544, 0.327243834733963, 0.05172464996576309, -0.19608783721923828, -0.0674876943230629, -0.9116696715354919, -0.15196511149406433, 0.38235023617744446, 0.20235739648342133, -0.17893266677856445, 0.40927577018737793, -0.03095201589167118, 0.7943433523178101, -0.500832736492157, 0.12020758539438248, 0.3245847523212433, -0.4345557391643524, 0.05259095877408981, -0.336182564496994, 0.4298368990421295, 0.36605966091156006, 0.28201428055763245, -0.4490765333175659, -0.32420819997787476, 0.4397793710231781, 0.41317838430404663, -0.8540728092193604, -0.30855849385261536, 0.5001770853996277, -0.20738357305526733, -0.47042298316955566, -0.1779036670923233, -0.9370772242546082, -0.7774179577827454, -0.06475122272968292, -0.2727467119693756, 0.040456827729940414, -0.5875266194343567, -0.18126629292964935, -0.14120276272296906, 0.6287469267845154, 0.0797000601887703, -0.4640933871269226, 0.4350810945034027, 1.0984123945236206, 0.934648334980011, -0.3881584703922272, -0.3229921758174896, -0.5338762998580933, -0.036723487079143524, -0.5943074822425842, 0.8778693079948425, -0.3828998804092407, -0.5565733313560486, -0.22945155203342438, -0.21474526822566986, 0.520633339881897, -0.8710602521896362, 0.2787303328514099, -0.36130771040916443, -0.48166292905807495, -0.0824432224035263, -0.5033263564109802, 0.22360511124134064, 0.636883020401001, -0.6969952583312988, 1.121946096420288, 0.501132607460022, -0.40218648314476013, 0.3897559344768524, -0.26893407106399536, -0.22140075266361237, 0.15207593142986298, -0.3799413740634918, -0.36518383026123047, 0.338393896818161, -0.37350308895111084, 0.030742954462766647, -0.7747880816459656, 0.48791149258613586, -0.6890558004379272, -0.5346529483795166, 0.1363675445318222, 0.02650374174118042, 0.5125263929367065, 0.23039616644382477, -0.4412310719490051, 0.14304226636886597, -0.916113555431366, 0.4489598870277405, 0.022647639736533165, -0.48678648471832275, 0.21770673990249634, -0.0009990623220801353, 0.009186293929815292, 0.28972581028938293, 0.1625271588563919, -0.691777765750885, 0.2877071499824524, -0.08293823897838593, 0.5009080171585083, 0.72383713722229, -0.20187120139598846, 0.1966724693775177, -0.0064152078703045845, 0.9386408925056458, -0.2428838461637497, 0.17498531937599182, -0.07377999275922775, -0.27735012769699097, -0.5555804967880249, -0.11160855740308762, 0.5881157517433167, 0.4590213894844055, 0.01609371416270733, 0.2581871449947357, -0.23591342568397522, -0.7054107189178467, -0.49470236897468567, 0.5121955275535583, 0.4714687168598175, 0.33541861176490784, 0.11816512793302536, -0.6690809726715088, -0.5427588224411011, -0.7882675528526306, -0.3651029169559479, -0.23066644370555878, -0.17182159423828125, 0.10740979760885239, 0.3412380516529083, -0.2163264900445938, 0.8339473009109497, -0.4337393343448639, -0.06933709979057312, -0.4299227297306061, 0.05927206203341484, 0.17344361543655396, 0.40046367049217224, 0.4699385464191437, -0.6097909808158875, -0.2715655267238617, -0.1500052958726883, -0.6802068948745728, -0.3753792643547058, 0.15316596627235413, -0.051805756986141205, -0.041880086064338684, 0.6316103339195251, -0.4296191930770874, 0.2916930019855499, 0.7855199575424194, -0.2332872599363327, 0.6720739006996155, 0.01811257191002369, -0.13475988805294037, -0.5073681473731995, 0.3205762505531311, -0.34832748770713806, -0.13678263127803802, -0.2400234043598175, 0.35176557302474976, 0.45294296741485596, -0.515468418598175, -0.253072589635849, 0.4932146966457367, -0.5411103367805481, -0.7612754106521606, -0.05886812508106232, 0.3472815752029419, 0.17308102548122406, 0.0554216206073761, -0.42366868257522583, 1.0479960441589355, 0.42710644006729126, -0.3513910472393036, 0.6093186736106873, -0.10354361683130264, -0.5647658109664917, 0.43063482642173767, -0.8415255546569824, 0.2943881154060364, 0.21799518167972565, 0.192509263753891, -0.8708799481391907, -0.11331187188625336, -0.31933486461639404, -0.2484569251537323, 0.084446981549263, -0.1852971762418747, -0.7378236055374146, -0.7091922760009766, -0.476929247379303, 0.18429383635520935, 0.5785694122314453, -0.294106662273407, 0.4395115077495575, 0.37695902585983276, -0.26372483372688293, -0.38983073830604553, -0.7316615581512451, 0.214889794588089, -0.04322199523448944, -0.5809682607650757, 0.3099154829978943, -0.1686144769191742, -0.36307230591773987, -0.04243909567594528, -0.42270153760910034, -0.15048056840896606, 0.49610793590545654, 0.3555828332901001, 0.17512957751750946, -0.31703999638557434, 0.1552312672138214, -0.4271724820137024, -0.39299431443214417, 0.18691986799240112, 0.007568126544356346, 0.46519219875335693, -0.2769964933395386, -0.49047499895095825, 0.11955880373716354, 0.11426639556884766, 0.6100857853889465, -0.4936525523662567, 0.2930275797843933, 0.258899450302124, -0.09324304014444351, -0.39493459463119507, -0.6027978658676147, -0.0484401099383831, -0.42911630868911743, 0.34104257822036743, -0.6183911561965942, -0.5699229836463928, 0.7671905755996704, -0.5490718483924866, 0.28291189670562744, 0.06419771164655685, 0.34490302205085754, 0.31462228298187256, 0.8502212762832642, 0.785049319267273, -0.1435532122850418, 0.27880483865737915, -0.1273767352104187, 0.30277684330940247, -0.7795736789703369, -0.020335962995886803, -0.685484766960144, -0.32733815908432007, -0.43030408024787903, -0.45945093035697937, 0.17621861398220062, 0.4877924621105194, -0.6060696244239807, 0.3434971868991852, -0.4891514182090759, 0.7431055903434753, 0.19950276613235474, -0.3909660279750824, 0.44759297370910645, -0.49130064249038696, -0.22858700156211853, -0.04439474642276764, -0.3549385964870453, -0.4674942195415497, 1.1548320055007935, 0.30168625712394714, 0.7994483709335327, 0.3195848762989044, 0.7203819751739502, 0.2812248468399048, 0.656223714351654, -0.4134989380836487, 0.5526852011680603, 0.0718352273106575, -0.7621739506721497, 0.034789882600307465, -0.3457844853401184, -0.6836817264556885, 0.3158261775970459, 0.3203270435333252, -0.5221590399742126, -0.07704020291566849, 0.08596014976501465, -0.27720731496810913, 0.1853829026222229, -0.7459730505943298, 1.4041935205459595, -0.522881031036377, -0.5433298945426941, -0.23466989398002625, -0.35501500964164734, 0.3435571491718292, -0.26342877745628357, 0.3849871754646301, -0.5411945581436157, -0.3089689314365387, 0.35581934452056885, -0.39671123027801514, 0.5562297105789185, -0.23128356039524078, -0.18358199298381805, 0.3060881197452545, 0.5355382561683655, 0.41677555441856384, 0.07179133594036102, -0.44301751255989075, 0.05594998225569725, -0.05330586060881615, -0.4042603075504303, -0.3748951256275177, 0.9522746205329895, -0.5570455193519592, -0.4696454703807831, -0.3904982805252075, -0.25985634326934814, -0.4001488983631134, 0.2914368808269501, -0.17925046384334564, 0.3920283913612366, -0.5482062101364136, 0.02885330095887184, 0.2627706825733185, -0.4141921401023865, 0.2878214716911316, 0.7716566324234009, -0.6137619614601135, -0.15422262251377106, 0.7246438264846802, -0.11942468583583832, 0.274183988571167, -0.3585836589336395, -0.12434198707342148, -0.007308855652809143, -0.7928832769393921, -0.5690224170684814, 0.012889090925455093, -0.807593584060669, -0.45365461707115173, -0.3239628076553345, -0.02851785346865654, -0.1835116595029831, -0.2282710075378418, -0.7291586995124817, -0.22496385872364044, 0.19099844992160797, -0.14912432432174683, 0.242409348487854, 1.0044926404953003, 0.17383719980716705, -0.1885266751050949, -0.959067165851593, 0.36554569005966187, -0.04003944620490074, 0.8888880610466003, -0.04305383563041687, -0.18341736495494843, 0.02234593778848648, -0.39290881156921387, -0.5441585779190063, -0.5675044655799866, 0.10325942933559418, -0.0320560522377491, 0.5295247435569763, -0.10559042543172836, 0.028405962511897087, 0.5630089640617371, -0.29855191707611084, 0.8447710275650024, -0.15184418857097626, -0.9646744132041931, 0.6709266304969788, -0.3317248821258545, 0.5918808579444885, 0.8635075688362122, -0.09112407267093658, -0.46153613924980164, -0.4875270128250122, -0.3934362828731537, -0.8716296553611755, 0.3541450500488281, -0.08595400303602219, -0.022893376648426056, 0.08984402567148209, 0.2487994283437729, 0.14117953181266785, 0.3282381296157837, -0.6548431515693665, 0.06503137946128845, 0.09257737547159195, -0.01836509071290493, 0.040838610380887985, -0.03381165862083435, 0.033439189195632935, -0.17683926224708557, 0.20018483698368073, -0.12395519018173218, -0.03449656069278717, -0.32146093249320984, -0.2975600063800812, -0.08261013776063919, 0.4246895909309387, 0.47534605860710144, 1.034711241722107, -0.3184303641319275, 0.15242040157318115, 0.11878874152898788, -0.41606971621513367, 0.21443471312522888, 0.10426469892263412, 0.15936924517154694, -0.28043457865715027, 0.3825514316558838, 0.33164340257644653, 0.31231188774108887, -0.9931658506393433, 0.5384240746498108, -0.0851089209318161, 0.15613454580307007, -0.3959825932979584, 0.16022297739982605, 0.42045480012893677, 0.22623039782047272, 0.09372449666261673, -0.1453147679567337, 0.07940727472305298, -0.6006278991699219, 0.052879448980093, 0.26456066966056824, -0.2723469138145447, -0.3691110610961914, 0.6807982325553894, 0.4946916103363037, -0.13625681400299072, 0.8650362491607666, -0.3562360405921936, -0.3797912001609802, 1.0317435264587402, 0.4577751159667969, 1.0863019227981567, -0.033732328563928604, 0.0810953825712204, 0.33119097352027893, 0.24540415406227112, -0.05914352461695671, 0.6405056118965149, -0.043433163315057755, -0.2975999414920807, -0.40606677532196045, -0.7659668326377869, -0.7304110527038574, -0.09204861521720886, -0.3687640130519867, 0.29026126861572266, -0.5974523425102234, -0.14169195294380188, -0.03148031607270241, 0.02957695908844471, -0.6616098284721375, -0.21815653145313263, 0.2857298254966736, 1.1682790517807007, -0.518560528755188, 0.7947519421577454, 0.6773741841316223, -0.2793823182582855, -0.5483443140983582, -0.18529130518436432, 0.25352147221565247, -0.5314196348190308, 0.7065770626068115, 0.30389779806137085, -0.2105342149734497, 0.008823208510875702, -0.2875416874885559, -0.8769413232803345, 0.9658234715461731, 0.45589980483055115, -0.7359994053840637, 0.15696309506893158, 0.20599031448364258, 0.6250307559967041, -0.3200717568397522, 0.3072640895843506, 0.8368794918060303, 0.6145130395889282, -0.32113760709762573, -0.916703462600708, 0.019504031166434288, -0.34335628151893616, 0.2841334939002991, 0.5324342846870422, -0.5946398973464966, 1.0397257804870605, -0.3699418902397156, -0.2275957465171814, 0.11554217338562012, 0.1435392200946808, 0.3180089592933655, 0.017184335738420486, 0.30960923433303833, 0.48573967814445496, 0.5557081699371338, -0.34993913769721985, 1.2248505353927612, -0.7990075349807739, 0.2504924535751343, 0.9718724489212036, -0.7613930106163025, 0.9182171821594238, 0.20425277948379517, -0.5095314979553223, 0.583814263343811, 0.6560409069061279, -0.20758500695228577, 0.27968522906303406, 0.8737509846687317, -0.07538457959890366, -0.08918203413486481, 0.003103601513430476, -0.6243512630462646, 0.21304666996002197, 0.21210287511348724, 0.03129390627145767, -0.4365019202232361, -0.13849085569381714, -0.09065790474414825, -0.07762335985898972, -0.1280556470155716, 0.5701692700386047, 0.18494442105293274, -0.6687514781951904, 0.6813318729400635, -0.15924200415611267, 0.47341975569725037, -0.6333051323890686, 0.010391335003077984, -0.5613545775413513, 0.7028952240943909, -0.09597219526767731, -0.986399233341217, 0.25766345858573914, 0.29206666350364685, 0.02844705432653427, -0.16246360540390015, 0.5087383389472961, 0.027163352817296982, -0.307691752910614, 0.6280454397201538, 0.6300879120826721, 0.17291025817394257, -0.13710860908031464, -0.7079607248306274, 0.7703757882118225, -0.23394672572612762, -0.43150460720062256, 0.40593791007995605, 0.36035677790641785, 0.03904521465301514, 0.8283239603042603, 0.34087908267974854, 0.18261262774467468, 0.022663692012429237, 0.2873845398426056, 1.0308752059936523, -1.035800576210022, -0.3163835406303406, -0.7567402720451355, 0.250457227230072, -0.12274041026830673, -0.44469720125198364, 0.7205187082290649, 0.7991043329238892, 0.7914037108421326, 0.058201853185892105, 0.7652915716171265, -0.22627493739128113, 0.5734213590621948, 0.013240702450275421, 0.415489137172699, -0.3386620879173279, 0.4818253219127655, -0.27728208899497986, -1.250839352607727, -0.4582499563694, 0.22224588692188263, -0.14712145924568176, 0.20603911578655243, 0.592673122882843, 0.8291863799095154, 0.012922490946948528, 0.0290693249553442, 0.18490959703922272, 0.09473956376314163, 0.4224924147129059, 0.528873085975647, 0.9172787666320801, -0.10104591399431229, 0.7486964464187622, -0.22913174331188202, -0.23145225644111633, -0.08258479833602905, -0.9660866260528564, -0.7173182368278503, -0.08503007888793945, -0.39082613587379456, -0.28054216504096985, 0.11591169983148575, 0.47348272800445557, 0.5340316295623779, -0.845935583114624, -0.4790160655975342, -0.479482501745224, 0.039109718054533005, -0.3266299366950989, -0.1787905991077423, -0.14308135211467743, -0.5155330300331116, -0.21575309336185455, 0.3955082595348358, 0.3771117031574249, -0.055703435093164444, -0.8014469146728516, -0.026886962354183197, 0.20037516951560974, -0.29017481207847595, 0.31037405133247375, 0.4182943105697632, -0.4434623420238495, -0.047875743359327316, 0.07517258077859879, -0.43212389945983887, 0.06376006454229355, 1.0466415882110596, -0.8567984700202942, 0.4024507701396942, 0.507636547088623, 0.6205112338066101, 0.5159086585044861, 0.0035436770413070917, 0.8402301669120789, -0.6098182797431946, 0.07134366035461426, 0.2896519601345062, 0.08404523879289627, 0.47276318073272705, 0.07656823843717575, 1.0113939046859741, -0.1197386234998703, -0.6362488269805908, -1.137609601020813, 0.25421109795570374, -0.5010078549385071, -0.27956750988960266, 0.7465956807136536, -0.21844181418418884, -0.03412576764822006, -0.24598626792430878, 0.1072627604007721, -0.1340118944644928, -0.1707361340522766, 0.540611207485199, 0.8323004841804504, -0.10867349803447723, -0.20892514288425446, -1.0076757669448853, 0.4084365665912628, 0.31881552934646606, -1.0279616117477417, 0.5860365033149719, 0.5662375092506409, 0.4277266561985016, 0.03297591954469681, 0.5987820029258728, -0.2687097191810608, 0.33038562536239624, 0.3383398652076721, 0.5629305839538574, 0.0363745242357254, -0.18173056840896606, -0.27622660994529724, 0.2489471435546875, 0.6032866835594177, 0.16753046214580536 ]
http://arxiv.org/abs/2403.08593v2
http://arxiv.org/pdf/2403.08593v2
Call Me When Necessary: LLMs can Efficiently and Faithfully Reason over Structured Environments
2024-03-13T14:59:07
2024-07-03T15:23:59
Sitao Cheng, Ziyuan Zhuang, Yong Xu, Fangkai Yang, Chaoyun Zhang, Xiaoting Qin, Xiang Huang, Ling Chen, Qingwei Lin, Dongmei Zhang, Saravan Rajmohan, Qi Zhang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown potential in reasoning over structured environments, e.g., knowledge graph and table. Such tasks typically require multi-hop reasoning, i.e., match natural language utterance with instances in the environment. Previous methods leverage LLMs to incrementally build a reasoning path, where the LLMs either invoke tools or pick up schemas by step-by-step interacting with the environment. We propose Reasoning-Path-Editing (Readi), a novel framework where LLMs can efficiently and faithfully reason over structured environments. In Readi, LLMs initially generate a reasoning path given a query, and edit the path only when necessary. We instantiate the path on structured environments and provide feedback to edit the path if anything goes wrong. Experimental results on three KGQA and two TableQA datasets show the effectiveness of Readi, significantly surpassing previous LLM-based methods (by 9.1% Hit@1 on WebQSP, 12.4% on MQA-3H and 9.5% on WTQ), comparable with state-of-the-art fine-tuned methods (67% on CWQ and 74.7% on WebQSP) and substantially boosting the vanilla LLMs (by 14.9% on CWQ). Our code will be available on https://aka.ms/readi.
[ -0.09580124914646149, -0.8370131850242615, 0.9973279237747192, 0.459973007440567, -0.0637388825416565, 0.00009594732546247542, -0.19070562720298767, -0.5432037115097046, -0.1700325757265091, 0.48968324065208435, -0.7778279185295105, -0.6870845556259155, -0.10789115726947784, 0.216888427734375, -0.16653649508953094, 0.3787582218647003, -0.19014279544353485, -0.04753617197275162, -0.4312947392463684, -0.10626243054866791, -0.27383723855018616, -0.2277003675699234, -0.4507266581058502, -0.375620037317276, 0.7378456592559814, 0.4281863272190094, 0.7555930614471436, 0.9049779176712036, 0.3239036798477173, 0.39253976941108704, -0.3289872705936432, 0.7441341876983643, -0.16570115089416504, 0.6986091136932373, -0.435381680727005, -0.38713717460632324, -0.650761604309082, -0.056912582367658615, 0.5862627625465393, 0.7309073209762573, -0.1410350203514099, -0.0748695656657219, 0.03069264255464077, 0.5121119022369385, -0.5832010507583618, 0.03794386610388756, -0.7293493747711182, 0.04140874370932579, -0.1739353984594345, -0.4747016727924347, -0.5571600794792175, -0.45167502760887146, -0.11945248395204544, -0.8022609949111938, -0.24874021112918854, 0.25423192977905273, 0.5666902661323547, 0.36975932121276855, -0.5314601063728333, -0.2593991160392761, -0.7330256700515747, 0.6207998991012573, -0.8073515295982361, 0.6553871631622314, 0.1881328672170639, 0.21165134012699127, -0.5832801461219788, -0.7979638576507568, -0.5659492015838623, -0.1912674903869629, -0.1566687971353531, 0.020400773733854294, -0.08020466566085815, 0.11218743026256561, 0.5061798095703125, 0.011783408932387829, -0.3470250964164734, -0.03157170116901398, -0.09277065843343735, -0.06027887389063835, 0.4692584276199341, 0.3336716592311859, 0.24850988388061523, -0.1697697788476944, -0.13970746099948883, 0.2114039957523346, -0.9285992980003357, 0.05855818837881088, 0.2562037408351898, 0.3002885580062866, 0.3748055398464203, 0.698272705078125, -0.3954574167728424, 1.0349180698394775, -0.26664215326309204, -0.37757760286331177, -0.046694569289684296, -0.49504369497299194, -0.10864488035440445, -0.05587038770318031, 0.6410050988197327, 0.31652945280075073, 0.30502140522003174, -0.34535473585128784, -0.20083890855312347, -0.10136301070451736, 0.28808754682540894, -0.7940956354141235, -0.24892456829547882, 0.5034571886062622, -0.16939899325370789, -0.13779877126216888, -0.24996532499790192, -0.3794512450695038, -0.4950577914714813, -0.5186184048652649, 0.10163313150405884, -0.6553639769554138, 0.07292009145021439, 0.0992707759141922, -0.08496616780757904, 0.3512624204158783, 0.7971328496932983, -0.40639305114746094, 0.08629627525806427, 0.7957412600517273, 1.0464028120040894, 0.08472264558076859, -0.25792065262794495, -0.7349093556404114, 0.4756196141242981, -0.49078452587127686, 1.0993907451629639, -0.598106861114502, -0.34004274010658264, -0.110524982213974, -0.11908478289842606, -0.02807583101093769, -0.41017815470695496, 0.7795323133468628, -0.4929135739803314, -0.025037718936800957, -0.13452103734016418, -0.6181309223175049, 0.1951996386051178, 0.6580196022987366, -0.3244769275188446, 0.8808065056800842, -0.13062624633312225, -0.6819649934768677, 0.3957495391368866, -0.8313228487968445, -0.7407221794128418, -0.09514567255973816, 0.28078988194465637, -0.1549096554517746, -0.3070165514945984, 0.44004473090171814, 0.19012461602687836, 0.25206053256988525, 0.21148870885372162, -0.5508033037185669, -0.4046934247016907, 0.17702355980873108, -0.1979459822177887, 0.8300621509552002, 0.17253926396369934, -0.21923202276229858, 0.33762723207473755, -0.7769702076911926, 0.5203485488891602, -0.0580742321908474, -0.6588587760925293, -0.444825142621994, 0.4198530614376068, -0.2368462085723877, 0.40025702118873596, 0.04776928946375847, -0.7254409193992615, 0.5457913875579834, -0.5238539576530457, 0.7876557111740112, 0.8939817547798157, -0.09830689430236816, 0.38675373792648315, -0.32177549600601196, 0.4662761092185974, -0.14143893122673035, 0.17366112768650055, -0.23239393532276154, -0.2584806978702545, -0.8044672608375549, -0.3281773328781128, 0.06971745938062668, 0.8452879786491394, -0.6686963438987732, 0.32044175267219543, -0.2982572019100189, -0.6875047087669373, -0.443181574344635, 0.1246546134352684, 0.19383467733860016, 0.6311965584754944, 0.5424229502677917, 0.5898243188858032, -0.5722811818122864, -0.558764636516571, -0.6606738567352295, -0.23215733468532562, -0.16333547234535217, 0.6271809935569763, 0.32129383087158203, -0.4128965139389038, 1.062537431716919, -0.3924458622932434, -0.06630117446184158, -0.1395336091518402, -0.3462337553501129, 0.32365572452545166, 0.3492407202720642, -0.05868375673890114, -0.5127375721931458, -0.28072282671928406, -0.08257538080215454, -0.8322111964225769, -0.5816487669944763, -0.20071597397327423, -0.5491044521331787, 0.04105155169963837, 0.7500461935997009, -0.8052197098731995, 0.1878490298986435, 0.1495516151189804, -0.5932255983352661, 0.5330957770347595, -0.2276349663734436, 0.15800580382347107, -0.981498658657074, -0.008315430954098701, -0.05184702202677727, -0.622515857219696, -0.22331269085407257, 0.17640185356140137, -0.11514631658792496, 0.1525479406118393, -0.34319862723350525, 0.5750966668128967, -0.5447836518287659, -0.0481264665722847, 0.003797629615291953, 0.40069833397865295, 0.28873977065086365, 0.28875812888145447, 0.03919189050793648, 0.6418486833572388, 0.4767908453941345, -0.7289746403694153, 0.42737796902656555, 0.556545615196228, -0.4111522138118744, 0.5841302871704102, -0.7566013932228088, 0.400992751121521, 0.14876899123191833, 0.6450155377388, -0.6396171450614929, -0.026746777817606926, 0.3532336950302124, -0.07547267526388168, -0.08472094684839249, -0.31358766555786133, -0.5433464050292969, -0.09681818634271622, -0.16032502055168152, 0.04682852700352669, 0.06165838986635208, -0.8524834513664246, 0.9823545217514038, 0.05555015057325363, -0.043385863304138184, -0.36920562386512756, -0.6532464027404785, 0.39845404028892517, -0.1703348606824875, -1.0083692073822021, 0.5288236737251282, -0.3086918294429779, -0.6429047584533691, -0.018154233694076538, -0.1584143489599228, 0.0844893828034401, 0.19223131239414215, 0.49124017357826233, 0.22783665359020233, -0.13185054063796997, 0.03835615515708923, 0.07349444925785065, -0.11958477646112442, 0.11797486245632172, -0.4908865690231323, 0.19074948132038116, -0.35586443543434143, -0.5032637715339661, -0.16686809062957764, 0.4049817621707916, 0.5564689636230469, -0.3512158989906311, 0.5891497731208801, 0.20983728766441345, -0.37780869007110596, -0.4740908741950989, -0.28289228677749634, -0.042096517980098724, -0.5257794857025146, 0.05034084618091583, -0.5674182772636414, -1.0465638637542725, 0.15226416289806366, -0.4905484616756439, 0.44763651490211487, 0.05889047682285309, 0.3040005564689636, -0.4663695693016052, 1.0076565742492676, 0.17287255823612213, 0.3313194215297699, 0.24593764543533325, -0.04722597822546959, 0.404110848903656, -0.8774305582046509, -0.43472230434417725, -0.5744268298149109, -0.3527258336544037, -0.5041379928588867, -0.49480104446411133, 0.5771309733390808, 0.21343861520290375, -0.29356345534324646, 0.09998462349176407, -0.3605731725692749, 0.5686056613922119, 0.4728821814060211, 0.2000274658203125, 0.6657702326774597, -0.33682891726493835, -0.3276834189891815, 0.02837374247610569, -0.65607750415802, -0.6483567357063293, 0.5862337946891785, 0.13087961077690125, 0.7194097638130188, 0.24308715760707855, 0.6369056105613708, 0.3019370436668396, 0.3530554175376892, -0.8371737599372864, 0.7827341556549072, 0.2968294024467468, -0.22349639236927032, -0.40828683972358704, -0.6214079260826111, -0.78707355260849, 0.5027981400489807, -0.3240228593349457, -0.6141823530197144, 0.04362327978014946, 0.3594904839992523, -0.1931893676519394, 0.43792685866355896, -0.5584689378738403, 0.776058554649353, -0.2844182550907135, -0.48739397525787354, -0.1363661289215088, -0.5479010343551636, 0.29671257734298706, 0.21902596950531006, 0.3894040882587433, -0.013446534052491188, -0.118512824177742, 0.20032058656215668, -0.8807714581489563, 0.5179961323738098, -0.10931670665740967, -0.1387229710817337, 0.3022337257862091, 0.38597166538238525, 0.7692307829856873, 0.24480699002742767, -0.29324936866760254, 0.0683571845293045, 0.23371124267578125, -0.21948060393333435, -0.919714629650116, 0.5793664455413818, -0.2986505329608917, -0.811911940574646, -0.4643971025943756, -0.5384123921394348, -0.5809623599052429, 0.20953649282455444, -0.07972972840070724, 0.5116589665412903, -0.06641920655965805, -0.027008945122361183, 0.522824764251709, 0.017324376851320267, 0.3350903391838074, 0.6546371579170227, -0.40538427233695984, -0.12246982008218765, 0.571085512638092, -0.012792143039405346, 0.09622599184513092, 0.2765423059463501, 0.36729636788368225, -0.324067085981369, -0.6080442070960999, -0.5154944062232971, 0.011894193477928638, -0.7460448741912842, -0.22583653032779694, -0.9051470160484314, -0.14909230172634125, -0.13386136293411255, -0.2796376347541809, -0.1400882750749588, -0.38977232575416565, 0.02556578814983368, -0.14413738250732422, 0.4989401400089264, 0.6273856163024902, -0.13144788146018982, -0.01624523289501667, -0.9736461043357849, 0.08406742662191391, 0.29685866832733154, 0.4166830778121948, -0.3011636734008789, -0.3733360767364502, 0.03692862391471863, 0.0028430938255041838, -0.12549513578414917, -0.8586446642875671, 0.3097541928291321, 0.3900953233242035, 0.4294387400150299, 0.07817254960536957, 0.12983767688274384, 0.923553466796875, -0.6786486506462097, 0.39045387506484985, -0.4222085773944855, -1.0825300216674805, 0.8811381459236145, -0.525048017501831, 0.46102064847946167, 0.486075222492218, -0.012813546694815159, -0.7136446237564087, -0.6337767243385315, -0.28417375683784485, -0.9114626049995422, 0.5323720574378967, 0.15038368105888367, -0.12668068706989288, 0.0186252873390913, 0.5765088200569153, -0.23703543841838837, -0.07947574555873871, -0.6448168158531189, 0.15516407787799835, -0.043542925268411636, 0.07555744051933289, 0.4756729006767273, -0.15174120664596558, -0.05771777778863907, -0.4268295168876648, 0.8441335558891296, -0.3731464147567749, -0.0009170286357402802, 0.5553129315376282, -0.16748133301734924, -0.049822308123111725, 0.6192048192024231, 0.18873444199562073, 1.0235334634780884, -0.16233018040657043, 0.3403836786746979, 0.28499481081962585, -0.13585251569747925, 0.1070980578660965, 0.09483606368303299, -0.27520376443862915, -0.21883422136306763, 0.6205150485038757, 0.5184560418128967, 0.07698218524456024, -0.921984851360321, 0.20978832244873047, -0.08026725053787231, -0.10631128400564194, -0.18012350797653198, 0.33721020817756653, 0.3412516415119171, 0.5602976679801941, -0.23643097281455994, 0.2601577639579773, 0.14822901785373688, -0.4321461319923401, 0.17532828450202942, 0.29349789023399353, -0.2532675564289093, -0.004985312465578318, 0.47779151797294617, 0.2236373871564865, -0.5071713924407959, 1.034438967704773, -0.19984209537506104, -0.5608370900154114, 0.2750462293624878, 0.6688259243965149, 0.49623167514801025, 0.0011632427340373397, 0.14391982555389404, 0.3373410105705261, 0.3415183424949646, 0.08417343348264694, 0.3017529845237732, -0.05661524459719658, -0.9384448528289795, -0.5954740643501282, -0.6532316207885742, -0.6338294744491577, -0.06345150619745255, -0.16703452169895172, 0.031864192336797714, -0.5191531777381897, 0.09678910672664642, -0.051709722727537155, -0.34056520462036133, -0.3173312842845917, 0.1056816354393959, -0.025773877277970314, 1.2348581552505493, -0.4830324649810791, 0.6994578242301941, 0.8589933514595032, 0.03773152828216553, -0.8942908644676208, 0.004914227873086929, 0.07028840482234955, -0.30864259600639343, 0.30450305342674255, 0.1817733496427536, -0.4650793671607971, -0.07742337137460709, -0.7529634237289429, -0.7332274317741394, 1.1450531482696533, 0.486632764339447, -0.6868858337402344, 0.09708289057016373, -0.1369217336177826, 0.46256354451179504, -0.22199293971061707, 0.15305739641189575, 0.5737672448158264, 0.7656302452087402, 0.18955367803573608, -0.4888569116592407, 0.12230490148067474, -0.4095035791397095, -0.22456476092338562, 0.2212451845407486, -0.4658418297767639, 0.4261184334754944, -0.5015883445739746, -0.16247591376304626, -0.0625302791595459, 0.6663588285446167, 0.7058733701705933, 0.15132425725460052, 0.8838790655136108, 0.6316316723823547, 1.0014644861221313, -0.09528020024299622, 1.0363539457321167, -0.18001563847064972, -0.08120866119861603, 1.2075904607772827, -0.45171067118644714, 0.7856831550598145, 0.38627859950065613, -0.19586895406246185, 0.7538361549377441, 0.8326780200004578, 0.298210084438324, 0.22421862185001373, 0.25917336344718933, -0.31485122442245483, -0.8734946250915527, -0.18844835460186005, 0.046858157962560654, 0.40955522656440735, 0.28293731808662415, 0.056674081832170486, -0.1946798413991928, -0.30102279782295227, 0.2584724426269531, 0.22427579760551453, -0.22927644848823547, 0.5141804218292236, 0.1425653100013733, -0.7924662232398987, 0.170950785279274, 0.16170823574066162, 0.34545376896858215, -0.6888530850410461, -0.3729601800441742, -0.17426669597625732, 0.202442929148674, -0.4098450839519501, -0.9415689706802368, 0.610119104385376, 0.13776472210884094, -0.12448390573263168, -0.6169487237930298, 0.8820282816886902, -0.4053081274032593, -0.4281415343284607, 0.40529921650886536, 0.7118537425994873, -0.08452468365430832, -0.16145382821559906, -0.6778566241264343, -0.15794280171394348, -0.11282089352607727, -0.44391822814941406, 0.09171675145626068, 0.6217215061187744, -0.19938990473747253, 1.070017695426941, 1.0246474742889404, 0.041659701615571976, -0.059948451817035675, 0.18554405868053436, 0.877513587474823, -0.6873793005943298, -0.5755121111869812, -1.0268564224243164, 0.4922376573085785, -0.19631807506084442, -0.22672460973262787, 0.6483541131019592, 0.6044384837150574, 0.4537198543548584, 0.2752701938152313, 0.6160931587219238, 0.021603748202323914, 0.4230042099952698, -0.8716027140617371, 0.5126738548278809, -0.48758968710899353, 0.35140061378479004, -0.14585864543914795, -0.965535044670105, -0.3544568717479706, 0.628126323223114, -0.2164442241191864, 0.04715221747756004, 0.696877658367157, 0.9077510833740234, 0.09002450853586197, 0.0221205223351717, 0.048383403569459915, 0.4743797183036804, 0.5016807317733765, 0.4218812584877014, 1.1183135509490967, 0.18658775091171265, 0.6255763173103333, 0.12774358689785004, -0.144317165017128, 0.3200795650482178, -1.2240185737609863, -0.6364772319793701, -0.11383499950170517, -0.4149348735809326, -0.6656852960586548, 0.20889398455619812, 0.8475599884986877, 0.6915888786315918, -0.4888046681880951, 0.0979965478181839, -0.25503864884376526, 0.5956826210021973, -0.3298659920692444, -0.22475232183933258, 0.23625697195529938, -0.3085145652294159, -0.46177229285240173, 1.0394734144210815, 0.6381534337997437, -0.43416836857795715, -0.24809707701206207, -0.10065779089927673, -0.4572896659374237, 0.34173068404197693, 0.6180877089500427, 0.06650622934103012, -0.7453041076660156, -0.4252101182937622, 0.08462820947170258, -0.217793270945549, 0.2493036389350891, 0.889024019241333, -0.84698486328125, 0.4211467504501343, 0.5180168747901917, 0.4773080050945282, 0.3605169355869293, 0.08637125790119171, 0.6022012829780579, -0.6238958835601807, -0.2738141119480133, 0.24695149064064026, 0.6440138816833496, 0.5050801634788513, -0.4753226935863495, 0.7206729054450989, 0.29173895716667175, -0.6693760752677917, -0.5501409769058228, 0.3275485634803772, -1.07920241355896, -0.31838035583496094, 1.4402633905410767, -0.2989133894443512, -0.40363189578056335, -0.25512999296188354, -0.2524140775203705, -0.022191084921360016, -0.183567613363266, 0.4526512920856476, 0.5325987935066223, -0.2938445806503296, -0.16065213084220886, -0.25600871443748474, 0.48796936869621277, 0.06897863000631332, -1.2723177671432495, 0.2109782099723816, 0.8708322048187256, 0.3896538317203522, -0.015491417609155178, 0.7127054333686829, -0.04110288619995117, -0.060305848717689514, -0.14822670817375183, -0.19903738796710968, -0.4992981553077698, -0.3324052691459656, 0.07567950338125229, 0.04912491515278816, 0.0030563909094780684, 0.10529450327157974 ]
http://arxiv.org/abs/2403.08564v1
http://arxiv.org/pdf/2403.08564v1
Non-discrimination Criteria for Generative Language Models
2024-03-13T14:19:08
2024-03-13T14:19:08
Sara Sterlie, Nina Weng, Aasa Feragen
cs.CL
cs.CL, cs.AI, cs.HC
Within recent years, generative AI, such as large language models, has undergone rapid development. As these models become increasingly available to the public, concerns arise about perpetuating and amplifying harmful biases in applications. Gender stereotypes can be harmful and limiting for the individuals they target, whether they consist of misrepresentation or discrimination. Recognizing gender bias as a pervasive societal construct, this paper studies how to uncover and quantify the presence of gender biases in generative language models. In particular, we derive generative AI analogues of three well-known non-discrimination criteria from classification, namely independence, separation and sufficiency. To demonstrate these criteria in action, we design prompts for each of the criteria with a focus on occupational gender stereotype, specifically utilizing the medical test to introduce the ground truth in the generative AI context. Our results address the presence of occupational gender bias within such conversational language models.
[ -0.1863820105791092, -0.7185103893280029, 0.5753690004348755, 0.2826659679412842, 0.19668005406856537, -0.20135068893432617, 0.07791716605424881, -0.39423996210098267, -0.1562674641609192, 0.4727623760700226, -0.3694138824939728, -0.506243884563446, -0.7519584894180298, 0.39378103613853455, -0.6418539881706238, 0.7750564217567444, 0.1434285044670105, 0.14066433906555176, -0.7489176988601685, -0.2758135199546814, -0.571578323841095, -0.6591341495513916, -0.23893442749977112, -0.1780630499124527, 0.06520085781812668, 0.08893245458602905, 0.5716040134429932, 0.35701683163642883, 0.12844932079315186, 0.2792375385761261, -0.16268357634544373, -0.1274784803390503, -0.16588382422924042, 0.3530275821685791, 0.07395109534263611, -0.8244929313659668, -0.10117979347705841, 0.3968149721622467, 0.39331451058387756, 0.8837074041366577, -0.13383188843727112, 0.16226549446582794, -0.04902388155460358, 0.6237843036651611, -0.642996609210968, 0.36109909415245056, -0.48389559984207153, 0.21549415588378906, -0.40017279982566833, 0.19196593761444092, -0.4910751283168793, -0.5778982639312744, 0.07576242834329605, -0.2659980356693268, 0.731484055519104, 0.05089254677295685, 0.7913997173309326, 0.17577512562274933, -0.41495561599731445, -0.20391063392162323, -0.6442819833755493, 0.8209520578384399, -0.47185736894607544, 0.6213098168373108, 0.8443054556846619, 0.2477712482213974, 0.1583755910396576, -0.07395990937948227, -0.4801539182662964, -0.6880295276641846, -0.1412171870470047, -0.0265288595110178, -0.35012686252593994, 0.1745368093252182, 0.3785861134529114, 0.35552677512168884, -0.3713375926017761, 0.2057640701532364, -0.48470503091812134, 0.06493883579969406, 0.39036333560943604, -0.06043054535984993, 0.8195129036903381, -0.12050088495016098, 0.026486167684197426, 0.2107580006122589, -0.8335599303245544, -0.5201279520988464, 0.700404703617096, 0.18568822741508484, -0.4589571952819824, 0.6623373031616211, 0.02884139120578766, 0.5046371221542358, 0.056249286979436874, -0.014183670282363892, 0.39292898774147034, -0.008342772722244263, -0.015728162601590157, -0.03659554570913315, 0.5661633014678955, 0.3499114215373993, 0.20705369114875793, -0.32863542437553406, -0.15191887319087982, 0.4009898602962494, 0.3153083324432373, -0.43459051847457886, 0.07011721283197403, 0.0766512006521225, -0.6911347508430481, -0.3985446095466614, -0.34317803382873535, -0.793616771697998, -0.5992451906204224, -0.003320305375382304, -0.11541920155286789, -0.2541915476322174, -0.4352491796016693, -0.3057946562767029, -0.49257466197013855, 0.15239804983139038, 0.05011351779103279, -1.1877312660217285, -0.045815713703632355, 0.5257675647735596, 0.754869818687439, 0.0632045567035675, 0.0702970027923584, -0.22286735475063324, -0.15159602463245392, -0.5948126912117004, 0.6012415289878845, -0.7169352769851685, -0.6276108026504517, -0.09933347254991531, -0.24226020276546478, -0.0024123499169945717, -0.975697934627533, 0.4899156093597412, -0.11985725909471512, 0.5066751837730408, -0.1473011076450348, -0.30550146102905273, -0.1761808544397354, 0.05111528933048248, -0.4754878878593445, 0.63027423620224, 0.41417551040649414, -0.7660456895828247, 0.5967909693717957, -0.8265926241874695, -0.48094356060028076, 0.17980602383613586, -0.8058332204818726, -0.4682207405567169, 0.257515013217926, -0.11117894947528839, -0.006789540871977806, -0.693633496761322, 0.5139974355697632, -0.3545645475387573, 0.13253499567508698, 0.07546798139810562, -0.6539827585220337, 1.1268202066421509, 0.28448137640953064, -0.4098285734653473, 0.15522994101047516, -0.40944811701774597, -0.39932364225387573, -0.0012343729613348842, -0.24101606011390686, -0.5042491555213928, 0.14256004989147186, -0.1937563270330429, 0.12850356101989746, -0.1463201493024826, -0.5147588849067688, -0.3165673315525055, -0.29231059551239014, 0.22085444629192352, 0.8965867161750793, -0.42094525694847107, 0.25038421154022217, -0.4316840171813965, 0.732042133808136, 0.050140563398599625, 0.25091683864593506, 0.3976368308067322, -0.6665513515472412, -0.7063100934028625, -0.40208062529563904, 0.14682328701019287, 0.4971727430820465, -1.0107851028442383, 0.7611292004585266, 0.12073270231485367, -0.42129719257354736, -0.6360914707183838, 0.23773923516273499, 0.6343986392021179, 0.7049639225006104, 0.078429214656353, -0.2551574110984802, -0.6173229217529297, -1.2835168838500977, -0.27151918411254883, -0.5570294857025146, -0.2529551088809967, 0.34094294905662537, 0.5033355951309204, -0.20336101949214935, 0.9685230851173401, -0.20040030777454376, -0.21772898733615875, -0.27454903721809387, 0.3584735691547394, 0.07035636901855469, 0.31634533405303955, 0.8443228006362915, -0.6964370608329773, -0.04598396643996239, -0.417351096868515, -1.263474941253662, -0.6459895968437195, 0.2221028208732605, -0.14017902314662933, 0.10536551475524902, 0.38812515139579773, -0.5647415518760681, 0.6396145820617676, 0.5884537696838379, -0.5704654455184937, 0.6679450273513794, -0.028854776173830032, -0.07653329521417618, -0.5545462369918823, 0.023165013641119003, 0.408589243888855, -0.1349382996559143, -0.6188801527023315, 0.13419218361377716, -0.27694109082221985, 0.06396666914224625, -0.33011823892593384, 0.2934819757938385, -0.3956283628940582, 0.04970329999923706, -0.1380179077386856, -0.15026521682739258, -0.11790044605731964, -0.17939169704914093, 0.1600462645292282, 0.7876710295677185, 0.7592461705207825, -0.9083078503608704, 0.012510750442743301, 0.5314570665359497, -0.45323407649993896, 0.7585897445678711, -0.6937745213508606, 0.09932844340801239, -0.7428784370422363, 0.2680298388004303, -0.5382376909255981, 0.15131038427352905, 0.3491289019584656, -0.4184911251068115, -0.3094262182712555, -0.18616338074207306, -0.36742377281188965, -0.19811201095581055, -0.0187816321849823, 0.6675819158554077, 0.7793270945549011, -0.48637181520462036, 0.38257500529289246, 0.5122390389442444, 0.0783219262957573, -0.31612810492515564, -0.719260036945343, -0.2591097056865692, -0.38336601853370667, -0.41646191477775574, 0.16757352650165558, 0.0887039378285408, -0.7049882411956787, -0.304174542427063, -0.0022434249985963106, -0.01692945323884487, 0.17163172364234924, 0.3762373626232147, 0.5359440445899963, 0.030686115846037865, 0.04645026847720146, -0.043304283171892166, -0.12350565940141678, 0.08677367120981216, 0.1659291535615921, 0.48867806792259216, 0.24584698677062988, -0.4170636236667633, -0.19432789087295532, 0.4733086824417114, 0.719121515750885, -0.10337206721305847, 0.7963238954544067, 0.43074363470077515, -0.3991713225841522, 0.09436960518360138, -0.5452348589897156, -0.22319911420345306, -0.4406192898750305, 0.414692223072052, 0.018311215564608574, -0.7613845467567444, 0.22720272839069366, 0.2769220173358917, 0.06621409207582474, 0.4337535798549652, 0.6304433941841125, 0.1530904918909073, 1.2076321840286255, 0.4230235517024994, -0.03369433432817459, 0.4804833233356476, 0.3030585050582886, 0.3865082859992981, -0.8513725996017456, -0.20553003251552582, -0.8661932349205017, 0.1806328296661377, -0.8423088192939758, -0.2948992848396301, 0.5617626309394836, -0.1002507135272026, -0.22187797725200653, -0.015913568437099457, -0.40343746542930603, 0.38262850046157837, 0.5203624963760376, -0.16078051924705505, -0.07094947248697281, -0.19732306897640228, -0.14748992025852203, -0.056928567588329315, -0.48806819319725037, -0.551102340221405, 0.9479984045028687, 0.4432617127895355, 0.5284755229949951, 0.43813464045524597, 0.4468183219432831, 0.6580310463905334, 0.7307376861572266, -0.3319908380508423, 0.5011071562767029, -0.583659827709198, -1.1561306715011597, -0.06784437596797943, -0.7298619747161865, -0.8413218855857849, 0.31541264057159424, -0.28870517015457153, -0.8554561138153076, 0.48277848958969116, 0.0532381497323513, 0.07646394520998001, 0.20299549400806427, -0.6392589807510376, 0.6358213424682617, -0.2885386347770691, -0.10711468756198883, 0.08797312527894974, -0.3148101270198822, 0.6204172968864441, 0.13083188235759735, 0.35293519496917725, -0.5647144317626953, 0.44100862741470337, 0.5385575890541077, -0.5002482533454895, 1.1049665212631226, -0.4609558582305908, -0.19706417620182037, 0.16971538960933685, 0.02611229196190834, 0.13508687913417816, -0.2715829014778137, -0.2432405799627304, 0.5382370948791504, -0.2778688967227936, -0.3390435576438904, -0.15323786437511444, 0.12137826532125473, -0.796082079410553, -0.7146351933479309, -0.38117659091949463, -0.2857966423034668, -0.3052521049976349, 0.2043171525001526, 0.417657732963562, 0.11977361887693405, -0.40278175473213196, 0.13476701080799103, 0.5317299962043762, -0.9785255789756775, -0.10654067248106003, 0.5504984855651855, -0.42866984009742737, 0.16783706843852997, 0.7609613537788391, -0.09886288642883301, 0.48583757877349854, 0.1299387812614441, 0.3107345700263977, -0.4586372375488281, -0.33838140964508057, -0.4005436599254608, 0.06530078500509262, -0.6159666180610657, 0.05021144449710846, -0.4950413405895233, -0.26020151376724243, -0.7074821591377258, 0.16816571354866028, -0.11048981547355652, -0.10820003598928452, -0.29928651452064514, -0.29513853788375854, 0.12747713923454285, 0.6236878037452698, 0.032106976956129074, 0.03327285125851631, -0.4473358392715454, 0.8699557781219482, 0.341043084859848, 0.25843319296836853, -0.12084897607564926, -0.3499082326889038, 0.43543359637260437, -0.12643621861934662, -0.35588881373405457, -0.8666601777076721, 0.29554760456085205, -0.0011762274662032723, 0.8680210113525391, 0.5453940629959106, 0.28265246748924255, 0.0284800473600626, -0.23906345665454865, 0.8160009980201721, 0.47528472542762756, -1.052959680557251, 0.5951915979385376, -0.43730980157852173, -0.1791653037071228, 0.42180636525154114, 0.27275076508522034, -0.6953714489936829, -0.7843361496925354, -0.42289531230926514, -0.7785226702690125, 0.617861807346344, 0.5840825438499451, 0.3633795976638794, -0.5940690040588379, 0.17548459768295288, 0.40381279587745667, 0.28787481784820557, -0.7395321726799011, -0.4905112683773041, -0.3011505901813507, -0.279580682516098, 0.2819778621196747, -0.29748213291168213, -0.18183445930480957, -0.16169969737529755, 0.4545353055000305, 0.08209768682718277, 0.5200411677360535, -0.06256987154483795, -0.13484136760234833, 0.17948290705680847, 0.5449079871177673, 0.49654555320739746, 0.4560948312282562, -0.029633337631821632, 0.255081444978714, 0.04565631225705147, -0.25537416338920593, 0.4048672616481781, 0.08340328186750412, -0.6553731560707092, 0.17807117104530334, 0.25316351652145386, 0.8107122778892517, -0.4637626111507416, -0.6422827839851379, 0.523664653301239, -0.05213165283203125, -0.26433849334716797, -0.4205986261367798, 0.23199081420898438, -0.23243524134159088, -0.03174687922000885, 0.06720240414142609, 0.019833210855722427, 0.2784600555896759, -0.6257656812667847, -0.03537265956401825, 0.6011945009231567, -0.46249231696128845, -0.11223725974559784, 0.9823687672615051, 0.39653801918029785, -0.2163984477519989, 0.8672711253166199, -0.3068937063217163, -0.4065505266189575, 0.6909651160240173, 0.6589553356170654, 1.0737333297729492, -0.35705265402793884, 0.552811324596405, 0.24825485050678253, 0.38674196600914, -0.007108902093023062, 0.14224863052368164, 0.1755778193473816, -0.9982876777648926, 0.06652785837650299, -0.4431058168411255, -0.13099630177021027, 0.02939954213798046, -0.6021513342857361, 0.10934332758188248, -0.6366754174232483, -0.3820343315601349, 0.15867574512958527, -0.9710985422134399, -0.4918423891067505, 0.1577301025390625, 0.28618505597114563, 0.4857276380062103, -1.1805769205093384, 0.4267304241657257, 0.36149147152900696, -0.5666870474815369, -0.04012145474553108, 0.12504364550113678, 0.18851514160633087, -0.9739816784858704, 0.8031532168388367, 0.2304248809814453, -0.1377953588962555, -0.609462559223175, -0.3836107552051544, -0.33082857728004456, 0.533454954624176, 0.7467199563980103, -0.3627299964427948, -0.18159642815589905, 0.323233038187027, 0.39170601963996887, -0.19903866946697235, 0.5112161636352539, 0.7222089171409607, 0.5584524273872375, -0.29329612851142883, -0.9310120940208435, 0.09874054789543152, -0.4593484699726105, 0.3142049312591553, -0.03542596846818924, -0.4735264778137207, 0.9913856387138367, 0.039004549384117126, -0.29673486948013306, 0.05596721172332764, 0.3920988440513611, 0.6012940406799316, 0.1604669839143753, 0.8486977219581604, 0.2828767001628876, 0.7336050868034363, -0.18030747771263123, 1.1200491189956665, -0.08524521440267563, 0.07639557868242264, 0.6695769429206848, -0.263847678899765, 0.022964034229516983, 0.23728375136852264, -0.3939981460571289, 0.5725859999656677, 0.22153769433498383, 0.008920944295823574, 0.3159085512161255, 0.48252221941947937, -0.6326792240142822, -0.201356440782547, -0.6734170317649841, -0.561403751373291, 0.632575511932373, 0.4331226944923401, -0.8914551138877869, -0.16133257746696472, 0.04129321873188019, 0.07126052677631378, 0.004900873173028231, 0.04731043428182602, 0.5855462551116943, 0.09459491819143295, -0.6092507243156433, 0.42522257566452026, 0.260284960269928, 0.8031730055809021, -0.43866094946861267, -0.18955689668655396, -0.23390254378318787, -0.0902370885014534, -0.2643990218639374, -0.3103902041912079, 0.40261179208755493, 0.32572034001350403, -0.4921105206012726, -0.22980952262878418, 0.5398725867271423, -0.3214203715324402, -0.6152278780937195, 0.12560798227787018, 0.529466450214386, 0.17664499580860138, 0.09157411754131317, -0.5882644057273865, -0.1909106820821762, 0.12023742496967316, 0.41969001293182373, 0.23054419457912445, 0.03519456833600998, -0.29391220211982727, 0.6848818063735962, 0.44284239411354065, 0.09071500599384308, -0.020440682768821716, 0.525824785232544, 0.21157124638557434, -0.444294273853302, -0.6637595295906067, -0.9118131995201111, 0.0733257532119751, 0.15073809027671814, -0.24441392719745636, 0.7052122950553894, 0.4259698688983917, 0.30037105083465576, -0.025229983031749725, 1.230370283126831, -0.27513694763183594, 0.32625725865364075, -0.4911807179450989, 0.7214459180831909, -0.36910492181777954, 0.256687194108963, -0.33503371477127075, -0.6309933066368103, -0.16455329954624176, 0.8421846628189087, -0.5367516875267029, 0.6775659322738647, 0.3142675459384918, 0.7016016840934753, 0.2581075429916382, 0.31811991333961487, 0.3192530572414398, 0.07241281121969223, 0.3950009346008301, 0.29013165831565857, 1.1736072301864624, 0.11101024597883224, 0.16118451952934265, -0.008856192231178284, -0.36340010166168213, -0.10812155157327652, -0.7937248349189758, -0.8488239049911499, -0.43638890981674194, -0.6472472548484802, -0.48460784554481506, 0.08312952518463135, 0.7030916810035706, 0.9051522016525269, -0.7046499848365784, -0.11487622559070587, -0.38488954305648804, 0.4668847322463989, -0.09603758901357651, -0.28287065029144287, 0.04539402574300766, -0.11723372340202332, -0.6361383199691772, 0.13522687554359436, -0.007912554778158665, 0.1808163821697235, -0.4623362123966217, -0.00801416952162981, 0.16798169910907745, 0.0369485542178154, 0.5488601326942444, 0.24316105246543884, -0.7009122967720032, -0.32574501633644104, -0.521174430847168, 0.12657316029071808, 0.13466492295265198, 0.8005126118659973, -0.3958580493927002, 0.584439218044281, 0.4900892972946167, 0.1565375179052353, -0.05301233008503914, 0.0203354861587286, 0.9317952990531921, -1.0039674043655396, 0.1488729566335678, 0.1889350265264511, 0.36133113503456116, 0.5078991651535034, -0.4422728717327118, 0.42809823155403137, 0.3743896782398224, -0.14882026612758636, -0.8189109563827515, 0.583667516708374, -0.22563178837299347, -0.38256824016571045, 1.1776574850082397, -0.04428358003497124, 0.020657068118453026, -0.49815115332603455, -0.0192538034170866, 0.3193398416042328, -0.30696865916252136, 1.102871298789978, 0.5478426218032837, -0.32609492540359497, -0.17356979846954346, -0.7938343286514282, 0.43036937713623047, 0.4377097189426422, -0.950948178768158, 0.21422134339809418, 0.687160849571228, 0.33382448554039, 0.12054788321256638, 0.7650842070579529, -0.450431227684021, 0.21431803703308105, 0.28506508469581604, 0.2732580304145813, 0.2907438576221466, -0.06638657301664352, -0.05656241998076439, -0.08462084084749222, 0.3675658404827118, -0.38919439911842346 ]
http://arxiv.org/abs/2403.08540v2
http://arxiv.org/pdf/2403.08540v2
Language models scale reliably with over-training and on downstream tasks
2024-03-13T13:54:00
2024-06-14T20:21:05
Samir Yitzhak Gadre, Georgios Smyrnis, Vaishaal Shankar, Suchin Gururangan, Mitchell Wortsman, Rulin Shao, Jean Mercat, Alex Fang, Jeffrey Li, Sedrick Keh, Rui Xin, Marianna Nezhurina, Igor Vasiljevic, Jenia Jitsev, Luca Soldaini, Alexandros G. Dimakis, Gabriel Ilharco, Pang Wei Koh, Shuran Song, Thomas Kollar, Yair Carmon, Achal Dave, Reinhard Heckel, Niklas Muennighoff, Ludwig Schmidt
cs.CL
cs.CL, cs.LG
Scaling laws are useful guides for derisking expensive training runs, as they predict performance of large models using cheaper, small-scale experiments. However, there remain gaps between current scaling studies and how language models are ultimately trained and evaluated. For instance, scaling is usually studied in the compute-optimal training regime (i.e., "Chinchilla optimal" regime). In contrast, models are often over-trained to reduce inference costs. Moreover, scaling laws mostly predict loss on next-token prediction, but models are usually compared on downstream task performance. To address both shortcomings, we create a testbed of 104 models with 0.011B to 6.9B parameters trained with various numbers of tokens on three data distributions. First, we fit scaling laws that extrapolate in both the amount of over-training and the number of model parameters. This enables us to predict the validation loss of a 1.4B parameter, 900B token run (i.e., 32$\times$ over-trained) and a 6.9B parameter, 138B token run (i.e., a compute-optimal run)$\unicode{x2014}$each from experiments that take 300$\times$ less compute. Second, we relate the perplexity of a language model to its downstream task performance by proposing a power law. We use this law to predict top-1 error averaged over downstream tasks for the two aforementioned models, using experiments that take 20$\times$ less compute. Our experiments are available at https://github.com/mlfoundations/scaling.
[ -0.2855994701385498, -0.4569387435913086, 0.5057592988014221, 0.32050621509552, 0.0022129646968096495, -0.3026268482208252, -0.4322151839733124, -0.22956900298595428, -0.14173553884029388, 0.6675022840499878, -0.4563458263874054, 0.2321486622095108, -0.7730011343955994, -0.13675163686275482, -0.4781361520290375, 0.9424710869789124, 0.05623256042599678, 0.2813524603843689, -0.11063771694898605, -0.22030845284461975, -0.2793477773666382, -0.5139224529266357, -0.6538318991661072, -0.5568239092826843, 0.4645894765853882, 0.22806024551391602, 0.8313984274864197, 0.9616777300834656, 0.6080121397972107, 0.225944384932518, -0.15505827963352203, -0.3520864248275757, -0.5516151785850525, -0.031929899007081985, -0.09768600761890411, -0.6210161447525024, -0.28188154101371765, 0.08776914328336716, 0.7279183864593506, 0.865516722202301, -0.30576011538505554, 0.2598017454147339, -0.1625094711780548, 0.6094469428062439, -0.6442580819129944, 0.20524920523166656, -0.6435524225234985, -0.1678943634033203, -0.11499302089214325, 0.05094560608267784, -0.6672754883766174, -0.15478326380252838, -0.15754413604736328, -0.4011111259460449, 0.043799761682748795, 0.2200789451599121, 1.0155757665634155, 0.5099597573280334, -0.39360639452934265, -0.1674835979938507, -0.5865584015846252, 0.9673909544944763, -0.9606533050537109, 0.49085867404937744, 0.42115479707717896, 0.34211465716362, 0.1198037788271904, -0.7725757360458374, -0.43561238050460815, -0.4303950369358063, -0.1253681182861328, -0.23562951385974884, -0.4825606048107147, 0.09947297722101212, 0.6417249441146851, 0.4176453649997711, -0.4400646388530731, 0.3618863821029663, -0.3830215334892273, -0.04796129837632179, 0.5532276034355164, 0.3054657578468323, 0.19712629914283752, 0.053789734840393066, -0.09761524200439453, -0.16408437490463257, -0.7507948279380798, 0.1797567903995514, 0.28648698329925537, 0.7117598056793213, -0.05200159549713135, 0.45846983790397644, -0.10936817526817322, 0.540632963180542, 0.2601900100708008, -0.11065296828746796, 0.31791508197784424, -0.37794196605682373, -0.3367862403392792, -0.11585348099470139, 0.7392472624778748, 0.3272913992404938, 0.6688134670257568, -0.2655423879623413, -0.2847612202167511, -0.3357993960380554, 0.4889587461948395, -1.14240300655365, -0.04608333110809326, -0.0022541447542607784, -0.3606182634830475, -0.2043222337961197, -0.5064684152603149, -0.26856616139411926, -0.4653310775756836, -0.42778822779655457, 0.6657686233520508, -0.19754630327224731, -0.4688778221607208, 0.06636345386505127, -0.0023384580854326487, 0.1444476693868637, 0.13498543202877045, -1.3089618682861328, 0.5948869585990906, 0.7516588568687439, 0.9239595532417297, 0.20627284049987793, -0.4106055200099945, -0.5338714122772217, -0.38776662945747375, -0.42419397830963135, 0.3166491687297821, -0.29264596104621887, -0.03010294958949089, -0.03771253675222397, -0.031098784878849983, -0.3735160827636719, -0.4993722140789032, 0.3004899322986603, -0.4518987536430359, -0.20566082000732422, -0.38487136363983154, -0.7581194043159485, 0.0865330919623375, 0.08577926456928253, -0.7873866558074951, 0.7568092346191406, 0.18218082189559937, -0.8756442666053772, 0.6491261124610901, -0.4855349361896515, -0.552085816860199, -0.16869592666625977, 0.06615696847438812, -0.49011126160621643, 0.29927828907966614, -0.07325997948646545, 0.556733250617981, -0.6250640153884888, 0.12580525875091553, -0.4007675349712372, -0.3404165208339691, -0.01377171277999878, -0.32770442962646484, 0.929936408996582, 0.1217309758067131, -0.5423631072044373, 0.0927579402923584, -0.7426799535751343, 0.15555447340011597, 0.0726916715502739, -0.34238559007644653, -0.23679637908935547, 0.08835265785455704, 0.002196740126237273, 0.06462696939706802, 0.046227648854255676, -0.7480860352516174, 0.0992848202586174, -0.36389896273612976, 0.684516191482544, 0.5517838001251221, -0.4010133445262909, 0.5511553287506104, -0.15651530027389526, 0.5475749373435974, -0.27869299054145813, 0.27282050251960754, -0.08582764863967896, -0.3781709671020508, -0.6391312479972839, -0.1197090819478035, 0.2655772864818573, 0.4119528830051422, -0.18481265008449554, 0.14186155796051025, -0.5133272409439087, -0.7789759039878845, -0.352776437997818, 0.04608183726668358, 0.33767661452293396, 0.3898240327835083, 0.38572442531585693, -0.2668825387954712, -0.4242548644542694, -0.813352644443512, -0.38747406005859375, -0.29671311378479004, -0.17593540251255035, 0.2560366988182068, 0.47593146562576294, 0.06128104031085968, 0.9938603043556213, -0.11139411479234695, -0.05707261711359024, -0.49252861738204956, 0.2619321644306183, 0.20305775105953217, 0.5233872532844543, 0.5679886341094971, -0.7690486907958984, -0.4248928725719452, 0.15660718083381653, -0.31050145626068115, -0.19607609510421753, -0.1210247054696083, 0.40689581632614136, 0.1936219334602356, 0.695218026638031, -0.5573531985282898, 0.1701093465089798, 0.591521143913269, -0.26587000489234924, 0.6664402484893799, -0.34050923585891724, -0.06683345884084702, -0.8643034100532532, 0.07885702699422836, 0.013266460038721561, -0.20227743685245514, -0.7965688705444336, 0.10328436642885208, 0.35645362734794617, 0.245835542678833, -0.17702032625675201, 0.5216718316078186, -0.21758708357810974, -0.08264997601509094, -0.25935763120651245, -0.31248483061790466, -0.13503924012184143, 0.5542543530464172, -0.03264852985739708, 0.7172563672065735, 0.6507757902145386, -0.30430468916893005, 0.09076153486967087, -0.5172273516654968, -0.34817826747894287, 0.23183651268482208, -0.8689566254615784, -0.15974190831184387, 0.10945718735456467, 0.07782284915447235, -1.1259403228759766, -0.10940909385681152, -0.42009785771369934, -0.33667275309562683, 0.5061070919036865, -0.268074631690979, -0.6813450455665588, -0.22536158561706543, -0.0884142816066742, 0.4811398386955261, 0.8116666674613953, -0.3759015202522278, 0.7497722506523132, 0.387281596660614, 0.1891997903585434, -0.5360460877418518, -1.0316919088363647, -0.15719082951545715, -0.3694313168525696, -0.4569249451160431, -0.005564852152019739, 0.05668841674923897, -0.3792613744735718, -0.2370016723871231, -0.08508462458848953, -0.29098668694496155, 0.14916056394577026, 0.4571385085582733, -0.12762537598609924, -0.4596322178840637, 0.05110906437039375, -0.20201726257801056, 0.1284908652305603, 0.4523026645183563, -0.2791976034641266, 0.5540893077850342, -0.26295289397239685, -0.2858552932739258, -0.2103106528520584, -0.08373001217842102, 1.0180504322052002, -0.16554878652095795, 0.9327865839004517, 0.37685835361480713, -0.29695188999176025, 0.034088846296072006, -0.6484876871109009, -0.07417672127485275, -0.4473985731601715, 0.42792484164237976, -0.5355370044708252, -0.6752845644950867, 0.8694717884063721, 0.1330115646123886, 0.32326623797416687, 0.5562980771064758, 0.6781580448150635, 0.282868355512619, 1.1041359901428223, 0.8733764886856079, -0.200748011469841, 0.5079260468482971, -0.22081436216831207, 0.2925647795200348, -0.7187137007713318, 0.13375712931156158, -0.6311757564544678, -0.07371736317873001, -0.8927730321884155, -0.37046873569488525, 0.060342755168676376, 0.11700490117073059, -0.502801775932312, 0.6894651055335999, -0.10294333100318909, 0.5192086100578308, 0.5345354676246643, -0.1421499252319336, 0.1438939869403839, -0.007758088875561953, -0.19944502413272858, 0.014721890911459923, -0.8570974469184875, -0.29051050543785095, 1.380265474319458, 0.6125602126121521, 0.8352066278457642, -0.1020858958363533, 0.6207800507545471, 0.11801525950431824, 0.6571858525276184, -0.8603193759918213, 0.307455837726593, -0.27999553084373474, -0.8676592111587524, -0.741774320602417, -0.7207981944084167, -0.8172361254692078, 0.31716397404670715, 0.27287232875823975, -0.7730501294136047, 0.05604339763522148, 0.2335948497056961, -0.3527846336364746, 0.6119179725646973, -0.7460164427757263, 0.9744021892547607, 0.07382877171039581, -0.3234531581401825, -0.38182201981544495, -0.7908411622047424, 0.11807556450366974, -0.2501908242702484, 0.45499321818351746, 0.018476970493793488, 0.011930880136787891, 0.7209956645965576, -0.7644567489624023, 0.8085693120956421, -0.1793743371963501, -0.21257410943508148, 0.21289591491222382, 0.033633753657341, 0.3554028868675232, -0.41649195551872253, -0.10131518542766571, 0.19156189262866974, 0.014409991912543774, -0.558405876159668, -0.6358201503753662, 0.5204470157623291, -0.70729660987854, -0.3807121515274048, -0.06553170830011368, -0.5810069441795349, -0.1280621588230133, 0.22403854131698608, 0.4199255108833313, 0.614848256111145, 0.25234630703926086, 0.30406129360198975, 0.5423988699913025, 0.219000443816185, 0.40215519070625305, 0.4878741204738617, -0.21839381754398346, -0.1264205127954483, 0.9094076156616211, 0.4420616030693054, 0.8677043914794922, 0.2685663402080536, 0.45763301849365234, -0.3006713092327118, -0.6803256869316101, -0.6445380449295044, 0.1435040831565857, -0.706549882888794, 0.06214214861392975, -0.5194553732872009, -0.19928236305713654, -0.4606645703315735, -0.09140334278345108, -0.701854407787323, -0.46785637736320496, 0.060566481202840805, -0.009859458543360233, 0.24821089208126068, 0.5731930136680603, -0.22015777230262756, 0.2342597097158432, -0.3631027042865753, -0.13176952302455902, 0.2131849229335785, 0.4009998142719269, 0.1629156470298767, -1.0845248699188232, -0.394742488861084, -0.010524646379053593, -0.006794170942157507, -0.5572469234466553, 0.20033816993236542, 0.21268655359745026, 0.46963682770729065, 0.31212881207466125, -0.07722986489534378, 0.6132566332817078, -0.8086852431297302, 0.6614052057266235, 0.3295631408691406, -0.9620540142059326, 0.20875245332717896, -0.2152182012796402, 0.3144018054008484, 0.5018803477287292, 0.44022464752197266, -0.4189870059490204, -0.7129684090614319, -0.7281795740127563, -0.8297871947288513, 0.5787107944488525, 0.24126066267490387, 0.47483816742897034, 0.2277422845363617, 0.4548162519931793, 0.037413422018289566, 0.05337871238589287, -0.7234243750572205, -0.17533771693706512, -0.2234552949666977, -0.05770324543118477, -0.24436207115650177, -0.06255212426185608, 0.22678273916244507, -0.24795636534690857, 0.5033252239227295, -0.1324979066848755, -0.18293899297714233, -0.1354021430015564, 0.004393932409584522, -0.36653435230255127, 0.16941794753074646, 0.6006484627723694, 0.7666196227073669, -0.20083318650722504, 0.09195533394813538, 0.20269697904586792, -0.6699537634849548, 0.20916436612606049, 0.08499274402856827, -0.02643069438636303, -0.06972254067659378, 0.5720665454864502, 0.874066948890686, 0.2314450889825821, -0.8659934997558594, 0.5308177471160889, -0.11487472057342529, -0.21625250577926636, -0.14276883006095886, 0.12288933247327805, 0.14502812922000885, 0.22263774275779724, 0.4064001142978668, -0.005570122506469488, 0.04193082079291344, -0.5336647629737854, 0.2418675422668457, 0.29271599650382996, -0.39848291873931885, -0.29977643489837646, 0.7178564071655273, 0.0025159551296383142, -0.2802174389362335, 0.592719554901123, -0.30095064640045166, -0.4637446701526642, 0.9065065383911133, 0.29740360379219055, 0.6706376671791077, -0.17456071078777313, -0.16110362112522125, 0.522500216960907, 0.6311512589454651, -0.4159628748893738, -0.06013582646846771, 0.003010889980942011, -0.5859971642494202, -0.7299282550811768, -0.7094865441322327, -0.4141795337200165, 0.20782050490379333, -0.82242751121521, 0.05509919300675392, -0.5030344128608704, -0.3815923035144806, 0.28373339772224426, 0.13662129640579224, -0.4713081121444702, 0.3812887370586395, 0.09521903842687607, 0.913631796836853, -0.9149814248085022, 0.7696628570556641, 0.5173075199127197, -0.42318981885910034, -1.046417236328125, -0.0682184249162674, -0.0679122656583786, -0.8324258923530579, 0.8287443518638611, 0.22339273989200592, -0.051414381712675095, 0.020999835804104805, -0.2663114368915558, -1.0733222961425781, 0.8351168036460876, 0.5720394849777222, -0.6337608098983765, 0.01789751462638378, 0.17328912019729614, 0.736667275428772, -0.34724533557891846, 0.4143058657646179, 0.6259728074073792, 0.25671592354774475, 0.15301476418972015, -1.5466464757919312, 0.17875239253044128, -0.023052053526043892, -0.1713249832391739, 0.45877373218536377, -0.5834642648696899, 1.2847956418991089, -0.5036658644676208, -0.11983926594257355, 0.014782874844968319, 0.44246551394462585, -0.08131180703639984, 0.20206552743911743, 0.7366999983787537, 0.6638795733451843, 0.5332868695259094, -0.023605596274137497, 1.2687633037567139, -0.26201871037483215, 0.7478868365287781, 1.1464405059814453, -0.26055219769477844, 0.9762812256813049, 0.5636537671089172, -0.4196031391620636, 0.3797987997531891, 0.6192594170570374, -0.03917240723967552, 0.34831342101097107, 0.6167494058609009, 0.279287725687027, -0.2934309244155884, -0.09071523696184158, -0.03075988218188286, 0.2267751544713974, 0.006706126034259796, -0.4227108657360077, -0.24759040772914886, 0.048594340682029724, 0.2273954451084137, -0.09412245452404022, -0.4938640594482422, 0.4567829966545105, -0.08822426944971085, -0.6448277831077576, 0.8843971490859985, -0.11156991124153137, 0.41386014223098755, -0.500325083732605, 0.3905927836894989, -0.36176061630249023, 0.31231948733329773, 0.008827900514006615, -0.573213517665863, 0.19826936721801758, 0.005602641496807337, -0.20775164663791656, -0.3208346366882324, 0.437198668718338, -0.2484443336725235, -0.4661358594894409, 0.2949901819229126, 0.197520911693573, 0.28549885749816895, -0.26108527183532715, -0.5062984824180603, -0.01127608958631754, -0.13138869404792786, -0.5877455472946167, 0.4488937258720398, 0.36117544770240784, -0.06017804518342018, 0.9382838606834412, 0.24785670638084412, 0.2818719744682312, 0.3864876925945282, 0.3997938930988312, 0.7006173729896545, -0.30657660961151123, -0.3866303563117981, -0.9990053772926331, 0.2979603111743927, -0.08045008033514023, -0.3415943384170532, 0.7239900231361389, 0.49284112453460693, 0.7848247289657593, 0.2337571233510971, 0.5207591652870178, -0.19564753770828247, 0.2637615203857422, -0.4029961824417114, 0.6396663784980774, -0.8503418564796448, -0.02472609281539917, 0.10935208201408386, -0.5557149052619934, -0.1823710799217224, 0.3402400016784668, -0.40995991230010986, 0.304503858089447, 0.5870847702026367, 0.7468339800834656, -0.11266815662384033, -0.10835883766412735, 0.458514004945755, 0.2161421775817871, 0.2883385419845581, 0.534711480140686, 0.35261988639831543, -0.4217935800552368, 0.5309255123138428, -0.29437118768692017, -0.23468030989170074, -0.29464367032051086, -0.6530857682228088, -0.9720597863197327, -0.4820224642753601, -0.38217833638191223, -0.2481136918067932, -0.12182436138391495, 0.6110267639160156, 1.0778942108154297, -0.764677107334137, -0.47055837512016296, -0.4424496591091156, -0.17788194119930267, -0.39739730954170227, -0.20694726705551147, 0.17947649955749512, -0.8114679455757141, -0.5259384512901306, -0.08524282276630402, 0.027619170024991035, -0.02898424118757248, -0.6542613506317139, -0.08445463329553604, 0.014584043063223362, 0.41389238834381104, 0.3275805413722992, 0.24204035103321075, -0.7473549246788025, -0.18755513429641724, -0.06140775978565216, -0.43065640330314636, -0.0724206194281578, 1.0933032035827637, -0.3980104625225067, 0.3744010627269745, 0.4756051003932953, 0.7069471478462219, 0.4772203266620636, -0.3399110734462738, 0.6861579418182373, -0.7057035565376282, -0.07782470434904099, 0.04944050312042236, 0.33409425616264343, 0.3098355531692505, -0.23244594037532806, 0.5330404043197632, 0.02475699968636036, -0.6842755675315857, -1.0933510065078735, 0.09716945141553879, -0.5177338123321533, -0.24849916994571686, 1.1163172721862793, -0.46732616424560547, -0.1789129674434662, 0.21952442824840546, 0.13399198651313782, 0.10656861960887909, -0.08330781757831573, 0.642098069190979, 1.058943271636963, -0.1597943753004074, -0.11884288489818573, -0.8774233460426331, 0.5954592227935791, 0.8163227438926697, -0.5388099551200867, 0.6451745629310608, 0.14931108057498932, 0.39715003967285156, 0.40013816952705383, 0.35707706212997437, 0.19890321791172028, 0.25618332624435425, 0.25565865635871887, -0.20175398886203766, 0.15096622705459595, -0.13818193972110748, -0.4312500059604645, 0.2504040002822876, 0.24095949530601501, -0.0049890996888279915 ]
http://arxiv.org/abs/2403.08495v2
http://arxiv.org/pdf/2403.08495v2
Automatic Interactive Evaluation for Large Language Models with State Aware Patient Simulator
2024-03-13T13:04:58
2024-03-14T08:05:08
Yusheng Liao, Yutong Meng, Yuhao Wang, Hongcheng Liu, Yanfeng Wang, Yu Wang
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable proficiency in human interactions, yet their application within the medical field remains insufficiently explored. Previous works mainly focus on the performance of medical knowledge with examinations, which is far from the realistic scenarios, falling short in assessing the abilities of LLMs on clinical tasks. In the quest to enhance the application of Large Language Models (LLMs) in healthcare, this paper introduces the Automated Interactive Evaluation (AIE) framework and the State-Aware Patient Simulator (SAPS), targeting the gap between traditional LLM evaluations and the nuanced demands of clinical practice. Unlike prior methods that rely on static medical knowledge assessments, AIE and SAPS provide a dynamic, realistic platform for assessing LLMs through multi-turn doctor-patient simulations. This approach offers a closer approximation to real clinical scenarios and allows for a detailed analysis of LLM behaviors in response to complex patient interactions. Our extensive experimental validation demonstrates the effectiveness of the AIE framework, with outcomes that align well with human evaluations, underscoring its potential to revolutionize medical LLM testing for improved healthcare delivery.
[ -0.19934597611427307, -0.7300561666488647, 0.9848757386207581, 0.3595789968967438, -0.10761546343564987, 0.15386518836021423, -0.3773684501647949, -0.5447847843170166, 0.2766561210155487, 0.3451053500175476, -0.45047441124916077, -0.38599085807800293, -0.5974863767623901, 0.1443515568971634, -0.4342076778411865, 0.5216178297996521, -0.33424142003059387, 0.4704741835594177, -0.4394480884075165, 0.057791516184806824, -0.23573273420333862, -0.4931910037994385, -0.6775880455970764, -0.3928380608558655, 0.14469373226165771, -0.04776953160762787, 0.5057872533798218, 0.3608701527118683, 0.64549720287323, 0.407525897026062, 0.15769490599632263, 0.09109777957201004, -0.13709668815135956, 0.2058245986700058, -0.04982054606080055, -0.19111096858978271, -0.5538472533226013, -0.11124479025602341, 0.8335228562355042, 0.5635414719581604, -0.37715446949005127, 0.03923337161540985, -0.3137173652648926, 0.31627175211906433, -0.5215004086494446, 0.3693768382072449, -0.37184539437294006, 0.13303270936012268, 0.17828823626041412, -0.14190080761909485, -0.3760489821434021, -0.3805575370788574, 0.32702580094337463, -0.4235454499721527, -0.30036836862564087, 0.06472977250814438, 0.6131066083908081, 0.3205599784851074, -0.7309675216674805, -0.20019616186618805, -0.8259841799736023, 0.45312583446502686, -0.9261323809623718, 0.6127521991729736, -0.03310328722000122, 0.5539146661758423, -0.3509105443954468, -0.7960253357887268, -0.722465455532074, -0.8456213474273682, -0.0672658160328865, 0.2435668706893921, -0.2317969799041748, 0.4558884799480438, 0.33280202746391296, 0.21799170970916748, -0.2902265787124634, 0.4137614071369171, -0.13230156898498535, -0.198608860373497, 0.689350962638855, 0.5968124270439148, 0.773734986782074, -0.2067735195159912, -0.5010632276535034, 0.07389414310455322, -0.4078300893306732, 0.0630725547671318, -0.3132830262184143, -0.11884640902280807, -0.3083725869655609, 0.5956748127937317, 0.11287321895360947, 0.6474629044532776, -0.16431500017642975, -0.37711629271507263, 0.14978675544261932, -0.07765524089336395, -0.40615493059158325, -0.06742869317531586, 1.0195597410202026, 0.47992846369743347, 0.06689900159835815, -0.008636021986603737, -0.22102150321006775, 0.14133337140083313, 0.42783159017562866, -0.9120373129844666, -0.031890735030174255, 0.558809757232666, -0.3740544319152832, -0.11819276213645935, -0.1089816465973854, -0.7100677490234375, -0.6944093704223633, -0.45416900515556335, 0.3969746530056, -0.5780177712440491, -0.1826634258031845, 0.18652790784835815, 0.2559295892715454, 0.07690229266881943, 0.7184139490127563, -0.6218321323394775, 0.7982280254364014, 0.7096357941627502, 0.49781548976898193, -0.46057701110839844, -0.270773321390152, -0.7060249447822571, 0.16025219857692719, -0.4426397681236267, 0.6176892518997192, -0.47671744227409363, -0.4308846890926361, -0.1424465775489807, -0.08134792745113373, -0.3274132013320923, -0.6258379220962524, 0.38553062081336975, -0.39873579144477844, -0.020047686994075775, -0.043197646737098694, -0.9070167541503906, -0.07586302608251572, 0.38533562421798706, -0.5499086380004883, 0.7578815817832947, 0.17560546100139618, -0.43185335397720337, 0.4774940311908722, -1.0499359369277954, -0.46143510937690735, 0.2471756935119629, -0.5224009156227112, -0.33275097608566284, 0.11114021390676498, 0.2125980705022812, 0.4385736584663391, -0.4255088269710541, 0.3723464608192444, -0.20848211646080017, -0.43668878078460693, 0.36645200848579407, -0.2746568024158478, 0.5225176215171814, -0.03346506506204605, -0.25824153423309326, 0.5785025358200073, -0.4933588206768036, 0.0692080408334732, 0.030083831399679184, -0.3931730389595032, -0.18641570210456848, 0.1775677353143692, 0.04910872504115105, 0.2667701840400696, 0.14965170621871948, -0.595124363899231, 0.26631495356559753, -0.576585054397583, 0.3191036283969879, 0.41533342003822327, 0.29651591181755066, 0.29344257712364197, -0.14973950386047363, 0.9840021133422852, 0.0007217873353511095, 0.5808621048927307, -0.046559616923332214, -0.2778668701648712, -0.5566415190696716, -0.658473014831543, 0.3661189377307892, 0.762913167476654, -0.4892711639404297, 0.4253877103328705, -0.3060867488384247, -0.4467141330242157, -0.8683632016181946, -0.08917661756277084, 0.0804663747549057, 0.49286821484565735, 0.2272292524576187, -0.4099982976913452, -0.3393351137638092, -0.9041640758514404, -0.11991170793771744, -0.3377684950828552, -0.02223947085440159, 0.4968084692955017, 0.565670371055603, -0.4560452997684479, 0.7894376516342163, -0.2146013379096985, -0.2194865494966507, -0.3389813005924225, -0.12239925563335419, -0.17042331397533417, 0.3638642430305481, 0.4522620737552643, -0.475423127412796, -0.3380659222602844, 0.10144668817520142, -0.699982225894928, 0.05072221904993057, -0.1475868821144104, 0.1393103003501892, 0.08620147407054901, 0.509235680103302, -0.4236357510089874, 0.44401466846466064, 0.6437824964523315, -0.3108755052089691, 0.5714992880821228, -0.5987265706062317, 0.522525429725647, -0.8488370776176453, 0.06448820233345032, 0.02087985910475254, -0.3287011384963989, -0.5523785352706909, 0.05930904299020767, 0.1851368099451065, -0.18096038699150085, -0.4500833749771118, 1.009224772453308, -0.5276721119880676, -0.2338799387216568, -0.1526506394147873, 0.19280777871608734, 0.007664918899536133, -0.06771410256624222, 0.12313883006572723, 0.7138078808784485, 0.6282574534416199, -0.4244275391101837, 0.4620598554611206, 0.06654174625873566, -0.8322950601577759, 0.42613685131073, -0.5683158040046692, -0.08952321857213974, 0.11797913908958435, 0.4264926314353943, -0.5615293979644775, -0.3550788164138794, -0.016515564173460007, -0.14580309391021729, 0.1912759244441986, -0.09435989707708359, -0.7084821462631226, -0.5857638716697693, 0.0008417669450864196, 0.3341943919658661, 0.6070059537887573, -0.18641701340675354, 0.9181385040283203, 0.5744683146476746, -0.3137994110584259, -0.21869124472141266, -0.45482370257377625, 0.34831130504608154, -0.10961438715457916, -0.5501068830490112, 0.06633564829826355, -0.022031579166650772, -0.520226776599884, -0.21389339864253998, 0.19919444620609283, -0.2739674150943756, 0.35255154967308044, 0.2908031940460205, 0.5839430689811707, -0.10171185433864594, 0.21181558072566986, 0.31046348810195923, 0.04446837678551674, 0.3251919150352478, 0.07815951108932495, 0.5986241102218628, -0.284596711397171, -0.9560315012931824, -0.8211731910705566, 0.3542943298816681, 0.9514032602310181, -0.45142215490341187, 0.5352450609207153, 0.46387335658073425, -0.7110991477966309, 0.15966174006462097, -0.6869694590568542, -0.4285641312599182, -0.4125421643257141, 0.7616578340530396, -0.15919065475463867, -0.8058170676231384, 0.5254946947097778, -0.4177161157131195, 0.1336999386548996, 0.2739494740962982, 0.7634662985801697, -0.18970757722854614, 1.3212265968322754, 0.2639372646808624, 0.07413046807050705, 0.05334408953785896, 0.14309699833393097, 0.3149131238460541, -0.9501766562461853, -0.48896312713623047, -0.27168378233909607, -0.08394255489110947, -0.4274214208126068, -0.7016572952270508, 0.9571474194526672, -0.05091526731848717, -0.1681995689868927, -0.18110206723213196, -0.07523978501558304, 0.1940840184688568, 0.04672769457101822, 0.24483782052993774, 0.3976096510887146, -0.22246649861335754, -0.264226496219635, -0.2150030881166458, -0.6522880792617798, -0.5932449698448181, 0.7206807732582092, 0.607333779335022, 0.7414095401763916, -0.01873619109392166, 0.6256408095359802, 0.27653270959854126, 0.7339718341827393, -1.0724068880081177, 0.6549855470657349, -0.11681832373142242, -0.38652822375297546, -0.31939154863357544, -0.3998072147369385, -0.865835964679718, 0.17606422305107117, -0.5543063879013062, -0.812662661075592, -0.20919330418109894, 0.26760008931159973, -0.5875734686851501, 0.35227298736572266, -0.6819654107093811, 0.7074044942855835, -0.5768585205078125, 0.02368328347802162, -0.5454144477844238, -0.49032238125801086, 0.20420372486114502, -0.11432839930057526, 0.3647192120552063, -0.19347673654556274, -0.29270824790000916, 0.5333940982818604, -0.48357829451560974, 0.7629188895225525, -0.22892554104328156, -0.1908901184797287, -0.005515384022146463, 0.41280320286750793, 0.3578360378742218, 0.10318249464035034, -0.2447844296693802, -0.15268899500370026, 0.1483445018529892, -0.1886516660451889, -0.8370678424835205, 0.7027347087860107, -0.49687233567237854, -0.5772124528884888, -0.37959837913513184, -0.6024569869041443, -0.6863468289375305, 0.2791030704975128, -0.2583887577056885, 0.49985605478286743, -0.594440221786499, -0.4202410578727722, 0.4558508098125458, -0.5532383322715759, -0.03325358033180237, 0.9406498074531555, -0.57101970911026, -0.2092849612236023, 0.60308837890625, -0.26991522312164307, 0.2147485315799713, 0.06584654748439789, 0.38420742750167847, -0.4367073178291321, -0.5795435309410095, -0.769891083240509, 0.34553083777427673, -0.5442445278167725, 0.1991347372531891, -0.6445435881614685, -0.19106991589069366, -0.241794154047966, -0.21859566867351532, -0.30852651596069336, 0.010943650268018246, -0.0297702606767416, 0.007182968780398369, 0.3392530381679535, 1.0292150974273682, 0.21860770881175995, 0.06953583657741547, -0.8694695234298706, 0.1721189320087433, 0.16126635670661926, 0.5893279910087585, 0.17117169499397278, -0.30408620834350586, -0.09731367230415344, -0.20273074507713318, 0.20900234580039978, -0.8285406231880188, 0.16666963696479797, 0.0018869374180212617, 0.7556312680244446, 0.4420279562473297, -0.09711121767759323, 0.5104945302009583, -0.7723129987716675, 0.6614304780960083, 0.4478362798690796, -1.022647738456726, 0.4036686420440674, -0.23372919857501984, 0.18879593908786774, 0.7184378504753113, 0.24282357096672058, -0.6901181936264038, -0.3856477737426758, -0.5037297606468201, -0.7884327173233032, 0.34299206733703613, -0.21395333111286163, 0.01822722889482975, -0.0954609364271164, 0.3743072748184204, -0.05728320777416229, 0.12192324548959732, -0.4438403248786926, -0.026733724400401115, 0.5261123776435852, -0.4330780506134033, 0.21357017755508423, -0.11618992686271667, -0.22395950555801392, -0.24471160769462585, 0.5675623416900635, -0.009861341677606106, 0.27733510732650757, 0.284283846616745, -0.10602060705423355, -0.16999031603336334, 0.31659790873527527, 0.3786025643348694, 0.6580649018287659, -0.04847116768360138, -0.17115283012390137, 0.4732372760772705, -0.4123200476169586, 0.12768875062465668, 0.22278541326522827, -0.043342746794223785, -0.19095300137996674, 0.41668134927749634, 0.9637537598609924, 0.3085651695728302, -1.1580243110656738, 0.7457020282745361, -0.22178710997104645, 0.056704726070165634, -0.399519681930542, 0.12126830965280533, 0.24698613584041595, 0.19443614780902863, -0.07308386266231537, -0.024760620668530464, 0.30484676361083984, -0.48682859539985657, 0.3180679380893707, 0.39097458124160767, -0.6958151459693909, -0.06573863327503204, 0.5339855551719666, 0.33172762393951416, -0.3321875333786011, 0.6503008604049683, 0.023855265229940414, -0.528723418712616, 0.8150091171264648, 0.4625340402126312, 0.5801940560340881, -0.42489615082740784, 0.000020821224097744562, 0.20413649082183838, 0.36044666171073914, 0.006390540860593319, 0.3627181947231293, 0.426557332277298, -0.42360931634902954, -0.7737909555435181, -0.41097572445869446, -0.7553445100784302, 0.10307421535253525, -0.8152241110801697, 0.38981297612190247, -0.538338840007782, -0.1683606058359146, -0.21650005877017975, -0.04688262939453125, -0.6985215544700623, 0.387667179107666, 0.24818740785121918, 1.1462199687957764, -0.7260505557060242, 0.7769986987113953, 0.9440290927886963, 0.03145071119070053, -0.9071365594863892, 0.13339129090309143, 0.00826775562018156, -0.9872983694076538, 0.3176955580711365, -0.022364528849720955, -0.14633768796920776, -0.19160933792591095, -0.09627965837717056, -0.4417191445827484, 0.9553662538528442, 0.5260125398635864, -0.6737060546875, 0.06252223253250122, 0.10722163319587708, 0.8634928464889526, -0.4610094726085663, 0.6663764715194702, 0.6455156207084656, 0.5473119020462036, -0.3259540796279907, -1.3125643730163574, 0.1282549947500229, -0.20541492104530334, -0.19665488600730896, 0.22814764082431793, -0.6471157073974609, 0.3804064691066742, -0.4908027946949005, 0.05676105245947838, -0.05988812446594238, 0.5236928462982178, 0.3355214297771454, 0.20738106966018677, 0.9397975206375122, 0.2784540057182312, 0.9143139123916626, 0.049295824021101, 1.3819361925125122, -0.41972050070762634, 0.19958069920539856, 1.0335484743118286, -0.8268364667892456, 0.9314457774162292, 0.2880215048789978, -0.26789718866348267, 0.6302838921546936, 0.4459921419620514, 0.005246948916465044, -0.06556635349988937, 0.5536670088768005, -0.6046054363250732, -0.44640839099884033, -0.15456071496009827, -0.15707841515541077, 0.5851487517356873, 0.5072112083435059, -0.21359281241893768, -0.14231720566749573, 0.17491133511066437, 0.07044459879398346, 0.1459174007177353, -0.28048941493034363, 0.8418758511543274, 0.11866403371095657, -0.5487696528434753, 0.20896132290363312, -0.034607525914907455, 0.2572789192199707, -0.8380836844444275, -0.1272522658109665, 0.1143910363316536, -0.038985248655080795, -0.07692106068134308, -0.6889561414718628, 0.014958896674215794, 0.16769738495349884, -0.007181708235293627, 0.10441403836011887, 0.695716142654419, -0.40877822041511536, -0.5974133014678955, 0.5815361738204956, 0.45997223258018494, 0.252458781003952, 0.19979272782802582, -0.8309878706932068, 0.14074894785881042, -0.13109472393989563, -0.30516573786735535, 0.44462817907333374, 0.21210482716560364, -0.2653653025627136, 0.9998842477798462, 0.41612672805786133, 0.40268397331237793, -0.159759059548378, 0.4642082750797272, 0.7321985960006714, -0.4792991578578949, -0.49158674478530884, -0.7410182952880859, 0.34764406085014343, -0.06848350167274475, -0.06616584211587906, 0.31880971789360046, 0.5819502472877502, 0.2138955444097519, 0.01889961212873459, 1.0021981000900269, 0.022430697456002235, 0.661242663860321, -0.4395916759967804, 0.9041621088981628, -0.7086301445960999, 0.3071098029613495, -0.25885581970214844, -0.3351670801639557, -0.2372456192970276, 0.4594532251358032, -0.3723055124282837, 0.06085316836833954, 0.592897891998291, 0.31055817008018494, -0.020750585943460464, -0.05303080752491951, 0.33093246817588806, 0.548823893070221, 0.35765284299850464, 0.4998595118522644, 0.8120428323745728, -0.11905331164598465, 0.051478154957294464, -0.17521560192108154, -0.53143709897995, -0.18439537286758423, -1.0029842853546143, -0.7534382343292236, -0.3184286653995514, -0.30750998854637146, -0.2660568058490753, -0.017703067511320114, 1.413688063621521, 0.6627822518348694, -0.8208764791488647, -0.2903498709201813, 0.4235422611236572, -0.37643152475357056, -0.13605749607086182, -0.1857825517654419, 0.5016778707504272, 0.031217040494084358, -0.8267858028411865, 0.7123941779136658, 0.5652832388877869, 0.19075356423854828, -0.49482059478759766, -0.02890816330909729, 0.09793448448181152, 0.17878396809101105, 0.6081163883209229, 0.11314108967781067, -0.6554529666900635, -0.03391854092478752, -0.07313421368598938, -0.32921552658081055, 0.0262224730104208, 0.9203643798828125, -0.9339181780815125, 0.5274398326873779, 0.13276614248752594, 0.6954374313354492, 0.22522802650928497, 0.05109328776597977, 0.7201834917068481, 0.03392278030514717, 0.06954582780599594, 0.6147012114524841, 0.5150636434555054, 0.19703233242034912, -0.39015230536460876, 0.037447333335876465, -0.1693427860736847, -0.41424834728240967, -0.7499098777770996, 0.12577399611473083, -1.1116442680358887, -0.12185120582580566, 1.066090703010559, -0.3783913850784302, -0.019815849140286446, -0.12447649240493774, -0.15322968363761902, 0.1367855668067932, -0.33455708622932434, 0.8432204723358154, 0.4894074499607086, -0.46937820315361023, 0.16688352823257446, -0.7921582460403442, 0.41084322333335876, 0.6576696038246155, -1.3324514627456665, -0.05899260193109512, 0.4851889908313751, 0.4663914740085602, -0.3040851950645447, 0.8568356037139893, -0.3592325747013092, 0.31461745500564575, -0.462764710187912, 0.3094032108783722, 0.0931018590927124, -0.20590342581272125, -0.3263600170612335, -0.1728697568178177, 0.2389276623725891, 0.22496479749679565 ]
http://arxiv.org/abs/2403.08492v2
http://arxiv.org/pdf/2403.08492v2
Rich Semantic Knowledge Enhanced Large Language Models for Few-shot Chinese Spell Checking
2024-03-13T12:55:43
2024-06-07T08:41:58
Ming Dong, Yujing Chen, Miao Zhang, Hao Sun, Tingting He
cs.CL
cs.CL
Chinese Spell Checking (CSC) is a widely used technology, which plays a vital role in speech to text (STT) and optical character recognition (OCR). Most of the existing CSC approaches relying on BERT architecture achieve excellent performance. However, limited by the scale of the foundation model, BERT-based method does not work well in few-shot scenarios, showing certain limitations in practical applications. In this paper, we explore using an in-context learning method named RS-LLM (Rich Semantic based LLMs) to introduce large language models (LLMs) as the foundation model. Besides, we study the impact of introducing various Chinese rich semantic information in our framework. We found that by introducing a small number of specific Chinese rich semantic structures, LLMs achieve better performance than the BERT-based model on few-shot CSC task. Furthermore, we conduct experiments on multiple datasets, and the experimental results verified the superiority of our proposed framework.
[ 0.04631277918815613, -0.7598717212677002, 0.5482991337776184, 0.018213575705885887, -0.3009035289287567, -0.2730821371078491, -0.4793236553668976, -0.7468376755714417, -0.03439357131719589, 0.6497029662132263, -0.4629081189632416, -0.7612907290458679, -0.5886713862419128, 0.2975284457206726, -0.28889068961143494, 0.5913910269737244, -0.08419249206781387, 0.2750603258609772, 0.28712475299835205, 0.03905953839421272, -0.26363471150398254, -0.2686644196510315, -0.4648491144180298, -0.3089534044265747, 0.4017234742641449, 0.5791712999343872, 0.569237470626831, 0.5570296049118042, 0.44562387466430664, 0.2713751792907715, -0.4859437644481659, 0.5727777481079102, -0.5333161354064941, -0.20606975257396698, 0.02192472107708454, -0.5598410367965698, -0.29100334644317627, -0.31745439767837524, 0.9259495735168457, 0.7191170454025269, 0.12130460143089294, -0.21233591437339783, 0.38395076990127563, 0.4277738034725189, -0.7760618925094604, -0.08134327083826065, -0.9023041725158691, 0.2030453234910965, -0.32465651631355286, -0.1174992173910141, -0.5756905674934387, -0.12169336527585983, 0.2996509075164795, -0.5384909510612488, 0.14959457516670227, -0.1207037940621376, 0.9278799295425415, -0.018184317275881767, -0.5167763233184814, -0.3260290026664734, -0.6391928195953369, 0.8895377516746521, -1.0796884298324585, 0.41148310899734497, 0.5733094811439514, 0.27965420484542847, -0.45713889598846436, -0.5465786457061768, -0.7770546078681946, -0.28095656633377075, -0.06281270831823349, 0.07753799855709076, 0.3647313416004181, 0.2860785126686096, 0.234266459941864, 0.22521059215068817, -0.49528631567955017, 0.3296201527118683, -0.08339768648147583, -0.4125334918498993, 0.232744961977005, 0.23755310475826263, 0.35462772846221924, -0.37807169556617737, -0.4986693561077118, -0.005559473764151335, -1.0049554109573364, 0.03225554898381233, -0.07753954082727432, 0.7204703092575073, -0.16632774472236633, 0.5157530903816223, -0.43606269359588623, 0.888703465461731, -0.12765085697174072, -0.5957948565483093, -0.14741531014442444, -0.35156750679016113, -0.2527884840965271, 0.2584286332130432, 0.37480446696281433, -0.2128077745437622, 0.19563718140125275, -0.02379055693745613, -0.3358176350593567, -0.057842645794153214, -0.30302971601486206, -0.8437691330909729, 0.0013861561892554164, 0.004764729645103216, -0.5046661496162415, 0.024450495839118958, 0.0723780170083046, -0.26669836044311523, -0.532698929309845, -0.25691086053848267, 0.4053112268447876, -0.639737606048584, 0.02318885177373886, 0.0672023594379425, 0.19295533001422882, 0.5885849595069885, 0.6339804530143738, -0.9311696290969849, -0.009069864638149738, 0.7615706324577332, 0.7821866869926453, -0.16176290810108185, -0.46852314472198486, -0.686577320098877, 0.23035547137260437, -0.4105551838874817, 0.9751189351081848, -0.30725231766700745, -0.20729507505893707, 0.2881694436073303, -0.06298457086086273, 0.09666352719068527, -0.4745835065841675, 0.47337689995765686, -0.676729142665863, -0.015168947167694569, -0.3865109086036682, -0.592104434967041, -0.07080340385437012, 0.5670852065086365, -0.5709861516952515, 1.104538083076477, -0.03676316514611244, -0.7300061583518982, 0.5705676674842834, -0.2989754378795624, -0.7947943806648254, 0.44208940863609314, -0.12238050252199173, -0.20659825205802917, -0.09347889572381973, 0.16594843566417694, 0.7480027675628662, -0.051198337227106094, -0.08151043951511383, -0.3804910182952881, -0.6215559840202332, 0.08507251739501953, -0.4180554449558258, 0.7796585559844971, 0.1646045595407486, -0.3358157277107239, 0.0628901943564415, -1.0219682455062866, 0.16433003544807434, -0.08279899507761002, -0.6341612935066223, -0.5270538330078125, 0.058078013360500336, 0.10633953660726547, 0.3458148241043091, 0.2528286576271057, -0.650170624256134, 0.07448035478591919, -0.8212330937385559, 0.3608470559120178, 0.6735225319862366, -0.2664368450641632, 0.373878538608551, 0.08481059223413467, -0.09754757583141327, 0.0665612742304802, -0.0005498337559401989, -0.01963886246085167, -0.3390102982521057, -0.8550930619239807, -0.502329409122467, 0.37599626183509827, 0.6676681637763977, -0.9443364143371582, 0.44222721457481384, -0.22927412390708923, -0.24409987032413483, -0.16019421815872192, 0.5076289176940918, 0.30158472061157227, 0.33832547068595886, 0.2307184487581253, -0.33120185136795044, -0.3222089111804962, -0.504635751247406, -0.1893673539161682, -0.1580112725496292, -0.0800229087471962, 0.3832564055919647, 0.49872833490371704, -0.2916950583457947, 0.9508543014526367, -0.4114660322666168, -0.6679955720901489, -0.5807182788848877, -0.0972243994474411, 0.16354988515377045, 0.18614952266216278, 0.26918718218803406, -0.5006535649299622, -0.6528753638267517, 0.1656283736228943, -0.49771174788475037, 0.0016810190863907337, -0.07791736721992493, -0.17918060719966888, 0.3304719030857086, 0.1459168791770935, -0.23198091983795166, 0.5618876218795776, 0.4606703519821167, -0.35258185863494873, 0.5627672672271729, -0.25178685784339905, 0.21125200390815735, -1.0528690814971924, -0.11623431742191315, 0.011873145587742329, -0.1800294667482376, -0.701431930065155, 0.10525017231702805, 0.45155999064445496, 0.044710878282785416, -0.853864848613739, 0.5265519022941589, -0.37165534496307373, -0.2013072371482849, -0.5429298877716064, 0.5081197023391724, -0.08588971942663193, 0.4044780135154724, 0.36143210530281067, 0.47731202840805054, 0.35079535841941833, -0.8442532420158386, 0.2388734221458435, 0.27798667550086975, -0.6916552186012268, 0.5488858222961426, -0.4536168575286865, -0.1027507334947586, 0.1821642816066742, 0.25201407074928284, -1.0144894123077393, -0.25756555795669556, -0.09340467303991318, -0.323234885931015, 0.2639782428741455, 0.08046198636293411, -0.9621829390525818, -0.1797727793455124, -0.11334355175495148, 0.05754203349351883, 0.20782612264156342, -1.058886170387268, 0.7670266032218933, -0.17878073453903198, 0.19294962286949158, -0.5501924753189087, -1.0580754280090332, 0.09119146317243576, 0.09510175883769989, -1.026150107383728, 0.40661919116973877, 0.13182146847248077, -0.03810981661081314, -0.16531552374362946, 0.1282489001750946, -0.4079684615135193, 0.24749504029750824, -0.012390850111842155, 0.4525831639766693, -0.43909457325935364, 0.12399566173553467, 0.0346248485147953, 0.06355060636997223, -0.5103667378425598, -0.10870634764432907, 0.26588791608810425, 0.022564580664038658, -0.41837480664253235, -0.4917027950286865, 0.2454766035079956, 0.3188299536705017, -0.2890786826610565, 0.9310011863708496, 0.5215099453926086, -0.5655021071434021, -0.7317765951156616, -0.6216662526130676, -0.4081108272075653, -0.4595016837120056, 0.4948461353778839, -0.29695022106170654, -1.1860706806182861, 0.66737300157547, -0.21812871098518372, 0.07993205636739731, 0.37425681948661804, 0.5221831202507019, 0.0015575402649119496, 0.7894216775894165, 0.7981727719306946, -0.2207411676645279, 0.5774418711662292, -0.006994114723056555, 0.23513643443584442, -0.5411444306373596, 0.15442201495170593, -0.44448259472846985, -0.06806611269712448, -0.25070905685424805, -0.3547517657279968, 0.3883380889892578, 0.31789466738700867, -0.02948109246790409, 0.4966478943824768, -0.17164863646030426, 0.3954835832118988, 0.3584055006504059, 0.34262174367904663, 0.4562991261482239, -0.003110787132754922, -0.4644019901752472, -0.026641307398676872, -0.7216521501541138, -0.47174501419067383, 0.7724443078041077, 0.29749178886413574, 0.7607373595237732, 0.15001504123210907, 0.5760723352432251, -0.06004868820309639, 0.09075887501239777, -0.9047131538391113, 0.6696718335151672, -0.5200753808021545, -0.6264302134513855, -0.442028284072876, -0.2914285659790039, -0.5340720415115356, 0.4106267988681793, -0.6088438034057617, -0.5177420377731323, 0.07179354131221771, 0.1384086161851883, -0.5839946866035461, 0.4257350564002991, -0.5849873423576355, 0.5722517371177673, -0.4838092029094696, -0.5635272264480591, -0.35831499099731445, -0.6309391856193542, 0.5400954484939575, -0.07545121759176254, -0.05417269468307495, 0.11199203878641129, 0.17776411771774292, 0.47888994216918945, -0.5638731122016907, 1.2082401514053345, 0.12232482433319092, -0.3783612847328186, 0.4344656467437744, -0.12667202949523926, 0.9259068369865417, -0.33450210094451904, -0.21726152300834656, 0.3374454081058502, -0.017205972224473953, -0.3680957853794098, -0.40571025013923645, 0.7550469636917114, -0.6939431428909302, -0.1671452671289444, -0.30006012320518494, -0.26683133840560913, -0.20622478425502777, 0.34780552983283997, 0.18558984994888306, 0.36429768800735474, -0.27560222148895264, 0.2600301206111908, 0.9301096796989441, -0.4732390344142914, 0.3312920331954956, 0.9578239917755127, 0.2892225384712219, -0.22660386562347412, 0.5960147976875305, 0.23343200981616974, 0.42156970500946045, 0.6024765968322754, 0.3488205373287201, 0.12316468358039856, -0.5730239748954773, -0.4041784703731537, 0.16962476074695587, -0.983573853969574, -0.13461484014987946, -0.3560187816619873, -0.22155942022800446, -0.7178575992584229, -0.1968650072813034, -0.4208407402038574, 0.08808106929063797, -0.42708951234817505, 0.25110238790512085, 0.19072653353214264, 0.5999539494514465, 0.1323285847902298, 0.5726955533027649, -0.8723697066307068, 0.354057252407074, 0.32940685749053955, 0.609562873840332, 0.1499246507883072, -0.627403974533081, -0.5593106746673584, -0.08334165811538696, -0.20184887945652008, -0.6257399320602417, 0.29966455698013306, 0.29339760541915894, 0.5656043291091919, 0.787948727607727, 0.06873363256454468, 0.9098504781723022, -0.6182878017425537, 0.9752296805381775, -0.12308669835329056, -1.067389965057373, 0.3435429036617279, -0.04664624482393265, 0.3565528690814972, 0.4687005579471588, -0.023252278566360474, -0.8053825497627258, -0.08804459869861603, -0.07343415170907974, -0.700442910194397, 0.7751724123954773, -0.06374047696590424, -0.13309481739997864, 0.019950704649090767, 0.40972697734832764, -0.025265585631132126, -0.3648312985897064, -0.7400307655334473, -0.05057506635785103, 0.11148203909397125, -0.10155419260263443, 0.2234053760766983, -0.6075771450996399, 0.30636072158813477, 0.07601164281368256, 0.8758695125579834, -0.2493782937526703, -0.11929088085889816, 0.30803242325782776, -0.4224667549133301, -0.028593044728040695, 0.5034310221672058, 0.7342355251312256, 0.13868272304534912, 0.07351646572351456, 0.13629259169101715, 0.6990441083908081, -0.4234730005264282, -0.41034698486328125, -0.22930966317653656, -0.050839170813560486, -0.15293504297733307, 0.7616017460823059, 0.6877660751342773, 0.5620299577713013, -0.6360338926315308, 0.5325031876564026, 0.24753358960151672, -0.19063961505889893, -0.18002162873744965, -0.09625514596700668, -0.05495435371994972, 0.23843248188495636, 0.2824214696884155, -0.31457772850990295, 0.021379360929131508, -0.3141206204891205, 0.13995325565338135, 0.6532862186431885, -0.30496054887771606, 0.005968471523374319, 0.15491138398647308, 0.28049004077911377, 0.1994558721780777, 0.5857281684875488, -0.017162969335913658, -0.9844534397125244, 0.44761183857917786, 0.5996442437171936, 0.6974151134490967, -0.18721410632133484, -0.1999242752790451, 0.4490569829940796, 0.4255323112010956, -0.48440825939178467, 0.006115845870226622, -0.41973379254341125, -0.9196639657020569, -0.584463357925415, -0.4527703523635864, -0.5149949193000793, -0.01464381068944931, -0.11054549366235733, 0.7227194905281067, -0.5144813656806946, 0.16577140986919403, -0.4312940239906311, 0.34539151191711426, -0.6094493269920349, 0.28399813175201416, 0.5765082836151123, 0.9099646806716919, -0.8820213675498962, 1.215289831161499, 0.3578353524208069, -0.040082842111587524, -1.1208237409591675, 0.019807374104857445, 0.1522078812122345, -0.9008522629737854, 1.0387581586837769, 0.09239280223846436, -0.35591796040534973, -0.19643819332122803, -0.7179206013679504, -0.857151448726654, 1.104651927947998, -0.026949839666485786, -0.580782413482666, 0.14560279250144958, 0.34441059827804565, 0.6925767064094543, -0.21505510807037354, 0.2829747796058655, 0.3968889117240906, 0.44442033767700195, 0.41426873207092285, -0.9314946532249451, -0.22847974300384521, 0.12233004719018936, 0.2323095053434372, -0.24013447761535645, -0.5090324282646179, 0.7196179628372192, -0.21769921481609344, -0.5172176957130432, 0.3110620379447937, 1.0387717485427856, 0.36363157629966736, 0.1368671953678131, 0.5016290545463562, 0.38176751136779785, 0.6146798133850098, 0.12174713611602783, 0.8068366050720215, -0.31765100359916687, 0.28908228874206543, 1.0630638599395752, -0.644014835357666, 1.2587320804595947, 0.29652246832847595, -0.07020680606365204, 0.5359484553337097, 0.5426478385925293, -0.014162015169858932, 0.37910154461860657, 0.2539377510547638, -0.3130684494972229, -0.6074899435043335, -0.03954119235277176, -0.15949709713459015, 0.549260675907135, 0.4532354474067688, -0.34396764636039734, -0.4126824736595154, 0.08555696904659271, -0.2580952048301697, 0.19500839710235596, -0.4237951338291168, 0.8380332589149475, 0.12402962893247604, -0.27316126227378845, 0.4717288613319397, 0.36173832416534424, 1.325830101966858, -0.900422990322113, -0.13711656630039215, -0.11732065677642822, 0.4034567177295685, -0.3937698304653168, -0.47731050848960876, -0.08328341692686081, 0.08569328486919403, -0.14525777101516724, 0.05310158431529999, 1.1336714029312134, -0.6394674181938171, -0.3355216681957245, 0.3249548077583313, 0.1551549732685089, 0.1338900327682495, 0.05598832666873932, -0.5093518495559692, 0.013345127925276756, -0.1353478580713272, -0.10163503885269165, 0.3591950237751007, 0.5524855852127075, -0.09296126663684845, 0.4820506274700165, 0.5825270414352417, 0.24670733511447906, 0.05671364441514015, 0.029560890048742294, 0.5930569767951965, -0.636570394039154, -0.6914181709289551, -0.788837730884552, 0.21002988517284393, 0.18155740201473236, -0.14753791689872742, 0.9426134824752808, 0.30316677689552307, 0.8788561820983887, -0.03916294127702713, 0.6336132884025574, 0.20625147223472595, 0.6394913792610168, -0.5698705911636353, 0.9690456986427307, -0.5596557855606079, 0.36003783345222473, -0.5282182097434998, -0.732366144657135, -0.6693689823150635, 0.6891982555389404, -0.4424927234649658, -0.09827923029661179, 0.711779773235321, 0.9588737487792969, 0.1714259386062622, 0.05470488592982292, 0.7671202421188354, 0.11388102918863297, 0.19460377097129822, 0.9467239379882812, 0.7247400283813477, -0.40058431029319763, 0.47272956371307373, -0.3404494822025299, -0.2943013608455658, -0.43241697549819946, -0.9441447854042053, -1.1788272857666016, -0.37581896781921387, -0.09461484104394913, -0.5959888696670532, -0.13224296271800995, 1.0828191041946411, 0.5646451711654663, -0.9349263310432434, 0.054534912109375, 0.2597500681877136, 0.22251075506210327, -0.23966343700885773, -0.1809884011745453, 0.5783111453056335, -0.21724121272563934, -0.6886687874794006, 0.3999772369861603, 0.24934132397174835, 0.00563026312738657, -0.24095945060253143, -0.09762724488973618, -0.21094849705696106, 0.06996578723192215, 0.9391974806785583, 0.28901976346969604, -0.9477226734161377, -0.4166891574859619, 0.05647754296660423, -0.6492226719856262, -0.19901148974895477, 0.700872004032135, -0.7511786818504333, 0.4432242512702942, 0.7565951347351074, 0.8336856961250305, 0.03836777061223984, -0.3381815552711487, 0.15640577673912048, -0.5478476881980896, 0.07373970001935959, -0.11055062711238861, 0.45245376229286194, 0.4356756806373596, -0.5479374527931213, 0.09979117661714554, 0.19604100286960602, -0.3037578761577606, -0.5408215522766113, 0.09973219037055969, -0.9818229675292969, -0.4089612066745758, 1.4178996086120605, -0.27036625146865845, -0.3848436772823334, -0.09071605652570724, -0.2669130265712738, 0.32223522663116455, -0.13308922946453094, 0.6876186728477478, 0.7668095827102661, 0.2012602537870407, 0.09614810347557068, -0.17555364966392517, 0.3630375266075134, 0.6135869026184082, -0.6290158629417419, 0.10496052354574203, 0.4720821678638458, 0.42116647958755493, -0.07563856989145279, 0.2664029896259308, -0.13576416671276093, 0.33590754866600037, -0.1764199435710907, 0.25078025460243225, 0.0232807919383049, -0.15121443569660187, -0.39811062812805176, 0.19188569486141205, 0.07984767854213715, 0.15690363943576813 ]
http://arxiv.org/abs/2403.08484v1
http://arxiv.org/pdf/2403.08484v1
Data-oriented Dynamic Fine-tuning Parameter Selection Strategy for FISH Mask based Efficient Fine-tuning
2024-03-13T12:50:23
2024-03-13T12:50:23
Ming Dong, Kang Xue, Bolong Zheng, Tingting He
cs.CL
cs.CL
In view of the huge number of parameters of Large language models (LLMs) , tuning all parameters is very costly, and accordingly fine-tuning specific parameters is more sensible. Most of parameter efficient fine-tuning (PEFT) concentrate on parameter selection strategies, such as additive method, selective method and reparametrization-based method. However, there are few methods that consider the impact of data samples on parameter selecting, such as Fish Mask based method. Fish Mask randomly choose a part of data samples and treat them equally during parameter selection, which is unable to dynamically select optimal parameters for inconstant data distributions. In this work, we adopt a data-oriented perspective, then proposing an IRD ($\mathrm{\underline I}$terative sample-parameter $\mathrm{\underline R}$ange $\mathrm{\underline D}$ecreasing) algorithm to search the best setting of sample-parameter pair for FISH Mask. In each iteration, by searching the set of samples and parameters with larger Fish information, IRD can find better sample-parameter pair in most scale. We demonstrate the effectiveness and rationality of proposed strategy by conducting experiments on GLUE benchmark. Experimental results show our strategy optimizes the parameter selection and achieves preferable performance.
[ -0.8289414644241333, -1.2100906372070312, 0.33634206652641296, 0.03246123716235161, -0.7536880970001221, 0.1713128536939621, -0.41363149881362915, -0.4397662580013275, 0.4165040850639343, 0.46405264735221863, -0.6201951503753662, -0.4039023518562317, -0.38336077332496643, 0.08102595061063766, -0.030119389295578003, 0.701081395149231, -0.05802636593580246, -0.22576986253261566, 0.09648334234952927, -0.12494293600320816, -0.4392144978046417, 0.0486176572740078, -0.8808633685112, -0.14050863683223724, 0.7101913690567017, 0.6547544598579407, 0.4368021488189697, 1.381530523300171, 0.641381025314331, 0.25504231452941895, -0.22197778522968292, 0.5185850858688354, -0.5154111981391907, 0.40485963225364685, -0.27160772681236267, -0.5240463018417358, -0.273233026266098, 0.2037694901227951, 0.5390905737876892, 0.5567572116851807, -0.13439370691776276, 0.3570895493030548, -0.0591093972325325, 0.8276264071464539, -0.7231323719024658, 0.03951604664325714, -0.7289313673973083, 0.15996162593364716, -0.7132759094238281, -0.6112978458404541, -0.24828775227069855, -0.08941284567117691, -0.1252615600824356, -0.5147981643676758, -0.03919633850455284, 0.1584353744983673, 0.8591625094413757, 0.28249886631965637, -0.16315585374832153, -0.0008604978793300688, -0.866981565952301, 0.8386674523353577, -0.6878822445869446, 0.4288187623023987, 0.41416963934898376, 0.1975264549255371, -0.24913527071475983, -0.5978156328201294, -0.2877822518348694, 0.036913689225912094, 0.322981059551239, -0.10534816980361938, 0.3972429037094116, 0.06071573495864868, 0.23386293649673462, 0.39537742733955383, -0.43262210488319397, 0.30885106325149536, -0.05875437334179878, -0.05349168926477432, 0.712181568145752, 0.008710631169378757, 0.08906272053718567, 0.39950013160705566, -0.5654546022415161, -0.40471962094306946, -0.6845782399177551, 0.07202577590942383, 0.6391032338142395, 0.5733386278152466, 0.04668913036584854, 0.3796333968639374, -0.5529428124427795, 0.9414858222007751, 0.5198774933815002, -0.396538108587265, 0.1276380568742752, 0.04143616557121277, -0.21076300740242004, -0.008927213959395885, 0.2921370267868042, 0.2583276629447937, 0.22356049716472626, 0.11888676136732101, -0.5087080597877502, -0.06328530609607697, -0.0591026246547699, -0.6771379113197327, -0.23362384736537933, 0.24949787557125092, -0.5213800668716431, -0.5029747486114502, -0.07930854707956314, -0.93657386302948, -0.17438696324825287, -0.6266610026359558, 0.5822897553443909, -0.19980570673942566, -0.2852720022201538, 0.14819662272930145, 0.08209678530693054, 0.23323558270931244, 0.3148098587989807, -0.8748835921287537, 0.18622536957263947, 0.6222416162490845, 0.6728507280349731, -0.4852354824542999, -0.017575522884726524, -1.0293341875076294, 0.30945777893066406, -0.21751423180103302, 1.2904577255249023, -1.013094425201416, -0.00547014269977808, -0.40608686208724976, -0.12514172494411469, -0.2382226288318634, -0.7249883413314819, 0.4116149842739105, -0.6660158634185791, -0.01504380814731121, -0.013069281354546547, -0.7177698612213135, -0.27497223019599915, 0.12130307406187057, -0.7189775109291077, 0.6011144518852234, 0.07286158204078674, -0.6124923229217529, 0.5564326643943787, -0.7095832228660583, -0.30824851989746094, 0.23949095606803894, -0.26811620593070984, -0.7011222839355469, -0.09999193996191025, 0.26364102959632874, 0.5182194709777832, -0.252830445766449, 0.3040158748626709, -0.754466712474823, -0.6692063212394714, 0.18924134969711304, -0.516450822353363, 0.3360801041126251, 0.6440211534500122, -0.5803745985031128, -0.0662192702293396, -0.6960954070091248, 0.3903456926345825, -0.02639106474816799, -0.5781846046447754, -0.23705370724201202, 0.1942671239376068, 0.15953943133354187, -0.23823665082454681, -0.005619420669972897, -0.41618895530700684, 0.20541039109230042, -0.2796129882335663, 0.24590903520584106, 1.0239012241363525, 0.2577202022075653, 0.2778545916080475, -0.44017717242240906, 0.5977981686592102, -0.11828172951936722, 0.3094201385974884, 0.04626022279262543, -0.17676317691802979, -0.3478802442550659, -0.7543083429336548, 0.7455684542655945, 0.4533338248729706, -0.6120103597640991, 0.33484071493148804, 0.26379045844078064, -0.4374614953994751, -0.3080486059188843, 0.3180982172489166, 0.3905247747898102, 0.41919341683387756, -0.0143591882660985, -0.20922885835170746, -0.2686551511287689, -0.9461098313331604, -0.5101643800735474, 0.1469201147556305, 0.15349169075489044, 0.40916576981544495, -0.040960606187582016, -0.055093009024858475, 0.7029449343681335, -0.8717423677444458, -0.4304506182670593, -0.05979127436876297, -0.2369755208492279, 0.5169051885604858, 0.540653645992279, 0.6536430716514587, -1.1422749757766724, -0.823464572429657, -0.0077636209316551685, -0.1695961207151413, -0.1522650569677353, -0.07758639007806778, -0.30589425563812256, 0.18478474020957947, 0.5090163946151733, -0.2260058969259262, 0.18937690556049347, 0.45885899662971497, -0.34536126255989075, 0.1766025871038437, -0.20348118245601654, 0.09104632586240768, -0.6813828349113464, 0.15312570333480835, 0.1854071170091629, -0.17610369622707367, -0.3917207419872284, 0.3024378716945648, 0.05365777760744095, 0.1269662231206894, -0.2978988587856293, 0.4592066705226898, -0.46858227252960205, 0.3913421034812927, -0.34715110063552856, -0.1622970849275589, -0.21041052043437958, 0.5512415170669556, 0.024283921346068382, 0.5314593315124512, 0.658168375492096, -0.5362442135810852, 0.4544212520122528, -0.14988696575164795, -0.37370505928993225, 0.6156896352767944, -0.41738927364349365, 0.19856953620910645, -0.10082069784402847, 0.03203209117054939, -0.8810135126113892, -0.23641809821128845, 0.3569537401199341, -0.08087410777807236, 0.7195509076118469, -0.2386271208524704, -0.47849041223526, 0.04365502670407295, -0.61442631483078, 0.5178682804107666, 0.3056918978691101, -0.5329950451850891, 0.2726723551750183, 0.6225795745849609, -0.387643963098526, -0.24358099699020386, -0.38543784618377686, -0.07706540077924728, -0.7328605055809021, -0.43689295649528503, 0.4015760123729706, -0.48481112718582153, -0.15780675411224365, -0.377201646566391, -0.3789937496185303, -0.04176591709256172, 0.017501894384622574, -0.3203086256980896, 0.20422311127185822, -0.38071906566619873, -0.07744012773036957, 0.24115142226219177, -0.36729779839515686, -0.43175652623176575, -0.1752588003873825, 0.6600369215011597, 0.02991092950105667, -0.4788830876350403, -0.2279791235923767, 0.34116172790527344, 0.539566695690155, -0.5019201636314392, 0.399393767118454, 0.5765772461891174, -0.06647982448339462, -0.43577054142951965, -0.9222081899642944, -0.300309956073761, -0.5692469477653503, 0.21538586914539337, -0.308861643075943, -0.5759710669517517, 0.6485719084739685, -0.3804016411304474, -0.09371666610240936, 0.06366974115371704, 0.25011155009269714, -0.14173883199691772, 0.9544086456298828, 0.33265653252601624, 0.05379565805196762, 0.6559966206550598, -0.2558281719684601, 0.07893545180559158, -0.7907279133796692, -0.07757554203271866, -0.34515437483787537, -0.9007925987243652, -0.7254058122634888, -0.19839222729206085, 0.5752336978912354, 0.07102002948522568, -0.10451038926839828, 0.027110010385513306, -0.666403591632843, 0.635205090045929, 0.7381809949874878, 0.43463656306266785, 0.3000270426273346, 0.3189062774181366, -0.09632112830877304, 0.11230931431055069, -0.5078353881835938, -0.23989257216453552, 1.0782984495162964, 0.29975202679634094, 0.9624478220939636, -0.13560286164283752, 0.6270304322242737, 0.16260749101638794, -0.35259801149368286, -0.4816162586212158, 0.6162333488464355, -0.27654358744621277, -0.4341622292995453, -0.5064679980278015, -0.24674510955810547, -0.915908694267273, 0.2022642195224762, -0.08827601373195648, -0.6432608962059021, 0.6267812848091125, 0.24424254894256592, -0.24291713535785675, 0.4889233410358429, -0.7040525674819946, 0.37513062357902527, -0.1611563116312027, -0.40948235988616943, -0.12335469573736191, -0.5442758798599243, 0.04065767675638199, -0.5444873571395874, 0.18857085704803467, -0.3453715443611145, -0.33017832040786743, 0.6664153337478638, -0.19716283679008484, 0.5477604269981384, -0.5044159293174744, -0.2541990280151367, 0.0806221142411232, 0.06139327213168144, 0.9017224311828613, 0.37863337993621826, -0.33037859201431274, -0.1045132502913475, 0.0860310047864914, -0.2643906772136688, -0.41733357310295105, 0.8174405097961426, -0.44200965762138367, -0.5878767967224121, -0.11174473166465759, -0.5387781858444214, -0.4003876745700836, 0.2774583101272583, 0.23437562584877014, 0.572600781917572, 0.500091552734375, 0.5204449892044067, 0.9842315912246704, -0.17682626843452454, 0.5395464897155762, 0.9057798385620117, 0.08028999716043472, -0.5299663543701172, 0.9432551860809326, 0.35956496000289917, 0.3543582260608673, 0.49435266852378845, 0.23177506029605865, -0.08633140474557877, -0.64149409532547, -0.34900590777397156, 0.32415688037872314, -0.32175344228744507, -0.5062583684921265, -0.12398480623960495, -0.1608707755804062, 0.043014708906412125, -0.05671340599656105, -0.5587945580482483, -0.08556479215621948, -0.18620213866233826, 0.2031897008419037, 0.5881282687187195, 0.03925333544611931, -0.200190007686615, -0.014597692526876926, -0.36542725563049316, 0.6970871686935425, 0.287356436252594, 1.1026055812835693, -0.21764686703681946, -0.29949522018432617, -0.19470569491386414, 0.3451753854751587, -0.25554367899894714, -0.5123887658119202, 0.17803549766540527, 0.4961773455142975, 0.678646981716156, 0.5997523665428162, 0.43961551785469055, 0.8007996678352356, -0.13930028676986694, 0.15462787449359894, -0.35776081681251526, -0.5438634157180786, 0.7459086179733276, -0.6457982659339905, 0.19026285409927368, 0.5942196846008301, -0.13752739131450653, -0.15808740258216858, -0.546097457408905, -0.5720511674880981, -0.9555540680885315, 0.8777517080307007, 0.12562832236289978, -0.06636670976877213, 0.2637229263782501, 0.5566021203994751, 0.29293179512023926, 0.050262950360774994, -0.2752206027507782, -0.4232189357280731, 0.5090072751045227, 0.08305393159389496, -0.07470443844795227, -0.07991094142198563, 0.05159956216812134, -0.6055439710617065, 0.5511335134506226, -0.29984548687934875, 0.3035052418708801, 0.01016556192189455, 0.32835668325424194, -0.6473350524902344, 0.013713222928345203, 0.7438255548477173, 0.6662309765815735, -0.4665108919143677, -0.034235041588544846, 0.018688460811972618, -0.6618397235870361, 0.0627204105257988, 0.04927739128470421, -0.2469143569469452, -0.04781746864318848, 0.048283252865076065, 0.7046380639076233, 0.07314404100179672, -0.6979950070381165, 0.2972409129142761, 0.22271086275577545, -0.27463433146476746, -0.018234742805361748, 0.5703509449958801, 0.007683142088353634, 0.55427086353302, 0.4968726336956024, 0.1462610512971878, 0.027500981464982033, -0.40173524618148804, 0.32200250029563904, 0.624710202217102, -0.06596245616674423, -0.019503846764564514, 0.5330683588981628, -0.10557630658149719, -0.3100638687610626, 0.4846751391887665, 0.16772378981113434, -0.0526939295232296, 0.789714515209198, 0.4223474860191345, 0.6885437965393066, -0.44925856590270996, 0.22943860292434692, 0.018846936523914337, -0.09952378273010254, -0.11258642375469208, 0.525934100151062, -0.08034410327672958, -0.49567076563835144, -0.47650688886642456, -0.6022027134895325, -0.2053695172071457, 0.4716370701789856, -0.7848162651062012, 0.6175581216812134, -0.34249070286750793, 0.07264084368944168, -0.011328605003654957, 0.32695549726486206, -0.3841829299926758, 0.21873459219932556, 0.03642473369836807, 1.0344548225402832, -0.6499449014663696, 0.934222400188446, 0.7114448547363281, 0.011273777112364769, -0.8252210021018982, 0.047187600284814835, -0.11561623960733414, -0.8127843141555786, 0.39607253670692444, -0.320950984954834, 0.12448908388614655, 0.09952528029680252, -0.7184737324714661, -1.2311490774154663, 1.071711778640747, 0.7041134834289551, -0.7034472227096558, 0.30440419912338257, 0.0730222836136818, 0.3564087152481079, -0.3315681517124176, -0.004986973479390144, 0.5023117065429688, 0.7923469543457031, 0.4027816653251648, -1.0338778495788574, -0.027557017281651497, -0.3543873131275177, 0.18030132353305817, 0.4943138360977173, -0.8872624039649963, 0.8068988919258118, 0.11007988452911377, -0.1123569905757904, -0.1250520646572113, 0.22333015501499176, 0.4399842619895935, 0.3973290026187897, 0.7402161359786987, 0.26729825139045715, 0.5941959023475647, 0.2061927765607834, 0.5592896938323975, -0.30932310223579407, 0.4548704922199249, 0.9001024961471558, -0.2081623375415802, 0.9750270247459412, 0.7389611005783081, -0.21225175261497498, 0.12059164047241211, 0.8778772950172424, -0.42304959893226624, 1.034306526184082, 0.2654964327812195, -0.14368870854377747, -0.3080272674560547, 0.07560838013887405, -0.4216175377368927, 0.6281682848930359, 0.2958819270133972, -0.28854426741600037, -0.2892340421676636, 0.28939878940582275, -0.15173879265785217, -0.014751262031495571, -0.2034708708524704, 1.008012294769287, -0.1577366292476654, -0.7446981072425842, 0.8544502258300781, -0.03849649056792259, 0.7365120649337769, -0.47391098737716675, -0.0834740474820137, -0.47336435317993164, 0.4326914846897125, -0.1879642903804779, -0.7396186590194702, 0.09356871992349625, -0.2615807354450226, -0.1609564870595932, -0.2478967010974884, 0.7185272574424744, -0.5437434911727905, -0.3213730454444885, -0.13882210850715637, 0.12636393308639526, -0.11299610882997513, -0.2029007524251938, -0.5691147446632385, 0.4010274410247803, 0.10610959678888321, -0.5623781681060791, 0.6044692397117615, 0.32050254940986633, 0.05374867841601372, 0.8673227429389954, 0.6384705901145935, 0.5836219787597656, -0.35184210538864136, -0.38840919733047485, 0.9254345893859863, -0.48265132308006287, -0.6173812747001648, -0.8284023404121399, 0.3683103322982788, 0.08556121587753296, -0.08371244370937347, 0.35360223054885864, 0.6063113212585449, 0.8129288554191589, -0.16027222573757172, 0.37487488985061646, 0.0367351695895195, 0.842266321182251, -0.6861230134963989, 0.638625979423523, -0.556474506855011, 0.5815650820732117, -0.6520600318908691, -1.376390814781189, -0.43564629554748535, 0.6418232917785645, -0.02233077771961689, 0.0775943249464035, 0.3602936863899231, 1.0057917833328247, -0.3795105516910553, 0.026017431169748306, 0.16198082268238068, 0.08653968572616577, 0.22661490738391876, 0.35497474670410156, 0.4338214099407196, -0.185252383351326, 0.3215426504611969, -0.34453174471855164, -0.22297094762325287, -0.31829023361206055, -0.9923095703125, -0.5977046489715576, -0.7226521968841553, -0.7224701046943665, 0.21948374807834625, -0.007104760035872459, 0.9309355616569519, 0.8812052607536316, -0.7005756497383118, -0.20332880318164825, 0.058324184268713, -0.04115278646349907, -0.35985100269317627, -0.2818189561367035, 0.42444536089897156, -0.33952566981315613, -0.7211331129074097, 0.18586337566375732, 0.4509211480617523, -0.018632881343364716, -0.04103048890829086, 0.08291185647249222, -0.20220240950584412, 0.18837036192417145, 0.39562898874282837, 0.2600973844528198, -0.7459961175918579, -0.37619736790657043, -0.13454274833202362, 0.3282028138637543, 0.018407925963401794, 0.43707355856895447, -0.7541698217391968, 0.5180167555809021, 0.35797736048698425, 0.40565207600593567, 0.569549560546875, -0.16133883595466614, 0.6778969764709473, -0.558140754699707, 0.038474515080451965, 0.06910930573940277, -0.025109821930527687, -0.1738666594028473, -0.5966774821281433, 0.6058417558670044, 0.08140773326158524, -0.48970332741737366, -1.1172109842300415, -0.009951325133442879, -1.0140182971954346, -0.4116995632648468, 1.2346477508544922, 0.05584777891635895, -0.011903236620128155, 0.05002511665225029, -0.38365763425827026, 0.06037133187055588, -0.28723660111427307, 0.8297791481018066, 0.34483203291893005, -0.3213033974170685, -0.34595614671707153, -0.34829992055892944, 0.5600922107696533, 0.22847211360931396, -0.5846026539802551, -0.06697378307580948, 0.12323939800262451, 0.42752838134765625, -0.2630937397480011, 0.17229075729846954, 0.00700516439974308, 0.11871695518493652, -0.38101643323898315, -0.6264181733131409, -0.18945738673210144, -0.09992397576570511, -0.001741955173201859, 0.1505541056394577, 0.18835483491420746, -0.2959822714328766 ]
http://arxiv.org/abs/2403.08462v1
http://arxiv.org/pdf/2403.08462v1
Authorship Verification based on the Likelihood Ratio of Grammar Models
2024-03-13T12:25:47
2024-03-13T12:25:47
Andrea Nini, Oren Halvani, Lukas Graner, Valerio Gherardi, Shunichi Ishihara
cs.CL
cs.CL, cs.LG
Authorship Verification (AV) is the process of analyzing a set of documents to determine whether they were written by a specific author. This problem often arises in forensic scenarios, e.g., in cases where the documents in question constitute evidence for a crime. Existing state-of-the-art AV methods use computational solutions that are not supported by a plausible scientific explanation for their functioning and that are often difficult for analysts to interpret. To address this, we propose a method relying on calculating a quantity we call $\lambda_G$ (LambdaG): the ratio between the likelihood of a document given a model of the Grammar for the candidate author and the likelihood of the same document given a model of the Grammar for a reference population. These Grammar Models are estimated using $n$-gram language models that are trained solely on grammatical features. Despite not needing large amounts of data for training, LambdaG still outperforms other established AV methods with higher computational complexity, including a fine-tuned Siamese Transformer network. Our empirical evaluation based on four baseline methods applied to twelve datasets shows that LambdaG leads to better results in terms of both accuracy and AUC in eleven cases and in all twelve cases if considering only topic-agnostic methods. The algorithm is also highly robust to important variations in the genre of the reference population in many cross-genre comparisons. In addition to these properties, we demonstrate how LambdaG is easier to interpret than the current state-of-the-art. We argue that the advantage of LambdaG over other methods is due to fact that it is compatible with Cognitive Linguistic theories of language processing.
[ -0.29147571325302124, -0.645398736000061, 0.7613937854766846, -0.0950457900762558, -0.03990120068192482, -0.12418895959854126, -0.22040687501430511, -0.32110145688056946, 0.06833082437515259, 0.3786873519420624, -0.392137736082077, -0.41999951004981995, -0.8860098719596863, 0.4768631160259247, -0.543015718460083, 0.707054615020752, 0.42012926936149597, 0.12479163706302643, -0.7298124432563782, -0.16616369783878326, -0.18107613921165466, -0.7147394418716431, -0.6711097955703735, -0.11263781785964966, 0.3751823306083679, -0.12857183814048767, 0.45424091815948486, 0.8217730522155762, 0.7032150030136108, 0.30820032954216003, -0.05905010923743248, 0.16886653006076813, -0.26166045665740967, 0.03380466252565384, -0.043477121740579605, -0.44154712557792664, -0.4807637333869934, 0.09300782531499863, 0.4601985812187195, 0.6831098794937134, 0.2614956796169281, 0.29806190729141235, -0.08466070890426636, 0.5938001871109009, -0.9511035680770874, 0.07059229910373688, -0.428906112909317, -0.18817411363124847, -0.31910571455955505, -0.27478471398353577, -0.6732013821601868, -0.5059185028076172, -0.17791041731834412, -0.4824579954147339, 0.5536989569664001, -0.1449955850839615, 0.5493027567863464, 0.11591705679893494, -0.7356026768684387, -0.44111305475234985, -0.7748922109603882, 0.678542971611023, -0.7320701479911804, 0.16400682926177979, 0.7568077445030212, 0.0778050497174263, -0.2420540153980255, -0.7596666216850281, -0.6593005061149597, -0.4099308252334595, -0.28205594420433044, -0.1270265281200409, -0.13274399936199188, 0.20191454887390137, 0.26897352933883667, 0.7859389781951904, -0.5796132683753967, -0.2082827240228653, -0.4851493835449219, -0.4531310498714447, 0.7674915194511414, -0.2124014049768448, 0.45857730507850647, -0.11334651708602905, -0.062456078827381134, 0.1103232130408287, -0.8340537548065186, 0.32996031641960144, 0.6633129715919495, 0.23441100120544434, 0.23543690145015717, 0.6022404432296753, 0.12205293774604797, 0.7759031653404236, 0.2718437910079956, -0.09579577296972275, 0.114570751786232, -0.4612964987754822, -0.15472836792469025, 0.05579569190740585, 0.8330079913139343, -0.043876077979803085, 0.2061292827129364, -0.0899886041879654, 0.06778404861688614, 0.027586162090301514, 0.4586881995201111, -0.3036107122898102, 0.03024549037218094, 0.14813081920146942, -0.3926340639591217, -0.29476606845855713, 0.5172200202941895, -0.41163235902786255, -0.5327095985412598, -0.3440679907798767, 0.35771259665489197, -0.3937697410583496, -0.12810195982456207, -0.16025321185588837, 0.10609699785709381, 0.1948584020137787, 0.27431896328926086, -0.9804974794387817, 0.18065017461776733, 1.123197317123413, 0.7425068020820618, 0.17815692722797394, -0.17896750569343567, -0.9816662073135376, -0.2590632140636444, -0.49350208044052124, 0.3802136778831482, -0.4372267425060272, -0.045753587037324905, 0.2255357801914215, -0.0032207148615270853, -0.05432693660259247, -0.20564725995063782, 0.864502489566803, -0.4156256914138794, 0.2607274651527405, -0.4448775053024292, -0.9692943096160889, -0.21167775988578796, 0.02930683083832264, -0.8554717898368835, 1.1916142702102661, 0.13580970466136932, -0.6126828789710999, 0.5253073573112488, -0.04574233293533325, -0.28743216395378113, 0.22586742043495178, -0.34378960728645325, -0.4602351784706116, 0.40353357791900635, 0.5131607055664062, 0.5787332653999329, -0.3961705267429352, 0.40821385383605957, -0.2022201269865036, -0.157098650932312, 0.33438318967819214, -0.015412157401442528, 1.2587268352508545, 0.16048257052898407, -0.1187753975391388, -0.08496009558439255, -0.8933005332946777, -0.23633389174938202, -0.21398155391216278, -0.16707615554332733, -0.3906463086605072, 0.11246949434280396, -0.21772213280200958, -0.2125551551580429, 0.05061599239706993, -0.693688154220581, 0.20589683949947357, -0.25546377897262573, 0.07457549124956131, 0.6322193145751953, 0.031729668378829956, 0.4222853183746338, -0.5443094372749329, 0.7429071664810181, -0.5965732932090759, -0.08691519498825073, -0.2212335765361786, -0.6050288081169128, -0.5316981077194214, -0.578400731086731, 0.5226818323135376, 0.32167211174964905, -0.455966591835022, 0.8491341471672058, -0.2289016842842102, -0.42997127771377563, -0.6289129853248596, 0.2696886658668518, 0.4415985643863678, 0.4915771484375, 0.13445688784122467, -0.30729570984840393, -0.684479296207428, -0.7133649587631226, -0.33614808320999146, -0.6290266513824463, -0.3744586408138275, 0.18245196342468262, 0.38263341784477234, 0.12996426224708557, 1.1808868646621704, -0.0477476604282856, -0.3536154329776764, -0.20861545205116272, 0.4294625520706177, 0.3493003845214844, 0.3979831337928772, 0.8639959692955017, -0.48242098093032837, -0.46279236674308777, 0.03423267602920532, -1.1119776964187622, -0.4796481728553772, -0.10165447741746902, 0.1075078547000885, 0.27254852652549744, 0.9461088180541992, -0.2315836101770401, 0.5029834508895874, 0.4940224587917328, -0.41768813133239746, 0.6822764873504639, -0.1186671331524849, 0.2695271670818329, -0.7607957720756531, 0.2492835521697998, 0.15644030272960663, -0.5171484351158142, -0.7413305640220642, 0.3905269205570221, 0.012518210336565971, 0.1842135190963745, -0.35175344347953796, 0.44767531752586365, -0.5800327062606812, 0.28852230310440063, -0.1527189165353775, -0.2299538254737854, -0.23184391856193542, 0.39355477690696716, -0.3771716356277466, 0.7586966753005981, 0.6641722917556763, -0.5636303424835205, 0.5027781128883362, -0.06492388993501663, -0.5057103633880615, 0.7570292353630066, -0.561381995677948, 0.31853795051574707, -0.2902510166168213, 0.24339260160923004, -1.1141258478164673, -0.07275976985692978, 0.015326885506510735, -0.7291250824928284, 0.03655066341161728, -0.332038015127182, -0.45403534173965454, -0.08173613250255585, -0.12283530831336975, 0.7405058741569519, 0.4598104655742645, -0.4245828688144684, 1.0386275053024292, 0.1879754364490509, -0.3551970422267914, -0.6442594528198242, -0.28277620673179626, 0.09108489006757736, -0.15640386939048767, -0.7101748585700989, 0.25441789627075195, 0.29796814918518066, -0.497622013092041, -0.029288770630955696, -0.026133932173252106, -0.11333775520324707, -0.08426278829574585, 0.15770162642002106, 0.3062650263309479, -0.16644643247127533, 0.2020191252231598, -0.2120560258626938, -0.0669121965765953, 0.20939034223556519, -0.3261445462703705, 0.07861649990081787, -0.052605051547288895, -0.2778623402118683, -0.3039092421531677, 0.3273978531360626, 0.661328136920929, -0.32509633898735046, 0.6895614862442017, 0.6610354781150818, -0.38001498579978943, -0.05231153592467308, -0.7028502225875854, -0.23395530879497528, -0.3718808591365814, 0.07236611843109131, -0.23846672475337982, -0.8237497806549072, 0.7475716471672058, 0.26447543501853943, -0.08979775756597519, 0.6796471476554871, 0.5235472917556763, 0.11403675377368927, 0.49852755665779114, 0.7093523144721985, -0.21369625627994537, 0.38419678807258606, -0.011246927082538605, 0.31886059045791626, -0.6713840961456299, -0.05893777310848236, -0.8033884167671204, -0.14770613610744476, -0.5334903001785278, -0.21782447397708893, 0.5518702268600464, -0.05326247960329056, 0.048128075897693634, 0.3531549572944641, -0.25173377990722656, 0.46876630187034607, 0.7729082107543945, -0.02900414541363716, 0.4041227698326111, -0.1424655169248581, -0.15627343952655792, 0.09779025614261627, -0.43352752923965454, -0.6130467653274536, 1.6161713600158691, 0.15184535086154938, 0.45444008708000183, 0.3975249230861664, 0.6320323944091797, 0.7877622246742249, 0.15119041502475739, -0.6494712233543396, 0.5735052824020386, -0.2038470357656479, -0.8641462922096252, -0.5029976963996887, -0.45446324348449707, -0.8887346982955933, 0.3545204997062683, -0.5005276799201965, -0.9387078285217285, 0.38441288471221924, 0.14464108645915985, -0.38839417695999146, 0.04569264128804207, -0.3260290026664734, 0.5373613834381104, -0.03678000718355179, -0.45360058546066284, 0.028979824855923653, -0.615421712398529, 0.38068950176239014, -0.1727161705493927, 0.3989636301994324, 0.05377698317170143, 0.352790892124176, 0.7285268902778625, -0.9051593542098999, 0.5943570733070374, 0.002638987498357892, -0.14783073961734772, 0.45627596974372864, 0.1256304681301117, 0.5334810018539429, 0.2561791241168976, -0.29262834787368774, 0.22922341525554657, -0.06583687663078308, -0.2630259394645691, -0.7827792763710022, 0.3424522280693054, -0.6240602135658264, -0.5006815791130066, -0.7016008496284485, -0.31335344910621643, -0.03741464763879776, 0.16052280366420746, 0.6709299683570862, 0.46419259905815125, -0.4233391582965851, 0.6134094595909119, 0.2183040976524353, -0.0011292786803096533, 0.2744573652744293, 0.06858903169631958, -0.06931081414222717, -0.59454345703125, 0.4803631007671356, -0.1390955001115799, 0.13190673291683197, 0.4759984314441681, 0.16306494176387787, -0.31009238958358765, -0.32083457708358765, -0.23375745117664337, 0.3096828758716583, -0.6299911141395569, 0.00042830323218367994, -0.6206739544868469, -0.15835070610046387, -0.5460880398750305, -0.2941161096096039, -0.1461181640625, -0.49192318320274353, -0.21925121545791626, -0.04540197178721428, 0.05971021577715874, 0.4115465581417084, 0.0018471828661859035, 0.2802664637565613, -0.34552326798439026, 0.3575318157672882, 0.49817386269569397, 0.0471881739795208, -0.137642964720726, -0.685529351234436, -0.22564160823822021, -0.08299900591373444, -0.19673790037631989, -0.8846420049667358, 0.1990070343017578, 0.35415294766426086, 0.5637423396110535, 0.46518924832344055, -0.012262081727385521, 0.39852967858314514, -0.2665209174156189, 0.8380287885665894, -0.11128362268209457, -1.3180407285690308, 0.375342458486557, -0.4532533288002014, -0.10380547493696213, 0.7334396243095398, 0.07240496575832367, -0.4208747148513794, -0.8134258389472961, -0.662093997001648, -0.8621717691421509, 0.5990413427352905, 0.6774688363075256, -0.07818326354026794, 0.17635691165924072, 0.5432179570198059, 0.18563111126422882, -0.01703776605427265, -0.8217352032661438, -0.1350783407688141, 0.036967337131500244, -0.11489350348711014, -0.39297372102737427, -0.33725446462631226, -0.08828302472829819, -0.32559043169021606, 0.8485865592956543, -0.0912536084651947, 0.20698882639408112, 0.2881453335285187, -0.16150052845478058, 0.05331522226333618, 0.17687247693538666, 0.6180647015571594, 0.8335580229759216, -0.3845354914665222, 0.29030218720436096, -0.16487203538417816, -0.4141969680786133, 0.4622928500175476, -0.11570826172828674, -0.19474060833454132, 0.23265843093395233, 1.0479172468185425, 0.510205864906311, -0.30184292793273926, -0.2908484935760498, 0.8248294591903687, -0.045589908957481384, -0.48155486583709717, -0.554267942905426, 0.00345696322619915, -0.3403609097003937, -0.020243650302290916, 0.6535285115242004, -0.05892886221408844, 0.17180286347866058, -0.40168190002441406, 0.17071063816547394, 0.35823729634284973, -0.11970074474811554, -0.19484634697437286, 0.6667400598526001, 0.129163920879364, -0.41113555431365967, 0.6358599662780762, -0.21933630108833313, -0.17254513502120972, 1.03286874294281, 0.300382137298584, 1.2528343200683594, -0.26546403765678406, 0.2701420187950134, 0.5843473076820374, 0.4888649880886078, -0.3004952371120453, -0.13363948464393616, -0.08889857679605484, -0.5545104742050171, -0.5541108250617981, -0.5315449833869934, -0.28707990050315857, 0.21306903660297394, -0.7133870124816895, 0.1807364821434021, -0.3439747095108032, -0.332623153924942, 0.3386526107788086, -0.22066640853881836, -0.3743060529232025, 0.0764196589589119, 0.025666268542408943, 0.4946717321872711, -1.17877197265625, 0.4931066036224365, 0.636428713798523, -0.2396674007177353, -0.6764318943023682, -0.061313826590776443, 0.5216330885887146, -0.5096533298492432, 0.4788370132446289, 0.025556614622473717, -0.0033630814868956804, -0.0835200622677803, -0.48604515194892883, -0.7360202670097351, 0.827293872833252, 0.6782365441322327, -0.3161720335483551, 0.2973802983760834, -0.09428395330905914, 0.7171483039855957, -0.4364590346813202, 0.1344393789768219, 0.15045928955078125, 0.3178628087043762, 0.3002144992351532, -0.9186010956764221, 0.12737537920475006, -0.5380106568336487, 0.06986536085605621, 0.08382473140954971, 0.033813122659921646, 0.985190749168396, 0.044860366731882095, -0.08107349276542664, 0.1044696792960167, 0.8109501600265503, 0.13012133538722992, 0.22578014433383942, 0.4204642176628113, 0.3678451180458069, 1.0154426097869873, -0.09396632760763168, 1.154650330543518, -0.34930455684661865, 0.5746309757232666, 0.8568360209465027, -0.04900223761796951, 0.40022820234298706, 0.43455904722213745, -0.40113332867622375, 0.5112795829772949, 0.22695356607437134, -0.1588984876871109, 0.2185911238193512, 0.09467637538909912, -0.503621518611908, -0.3036906123161316, 0.08599890768527985, -0.3015807867050171, 0.6362605094909668, -0.09215600788593292, -0.8096522688865662, 0.03440902382135391, 0.04345240071415901, 0.01818467304110527, 0.269015371799469, -0.3004792034626007, 0.8507483601570129, -0.08381742238998413, -1.0452592372894287, 0.5332261323928833, 0.13957791030406952, 0.2640334665775299, -0.440054714679718, 0.0678904801607132, -0.14657384157180786, 0.2962029278278351, -0.39581698179244995, -0.34881842136383057, 0.2757759988307953, 0.09480314701795578, -0.12184901535511017, -0.10323969274759293, 0.49027615785598755, -0.37952277064323425, -0.9872856140136719, -0.1945655792951584, 0.4117772579193115, 0.06483394652605057, -0.1484265774488449, 0.19107528030872345, -0.15872734785079956, -0.19005407392978668, 0.21385326981544495, -0.17045307159423828, 0.3997171223163605, -0.09579452127218246, 0.4284113049507141, 0.6152017116546631, 0.22371891140937805, 0.060422834008932114, -0.14327049255371094, 0.32070866227149963, -0.3652423918247223, -0.6529605984687805, -1.2564839124679565, 0.4074348211288452, 0.06999704241752625, -0.23438775539398193, 0.7767873406410217, 0.5949673652648926, 0.7253047823905945, -0.1385897696018219, 1.0122566223144531, -0.31142857670783997, 0.20001251995563507, -0.6604337096214294, 0.510313868522644, -0.4880508780479431, 0.2808712422847748, -0.5566607713699341, -0.7679175138473511, -0.6512003540992737, 0.7173053026199341, -0.23888938128948212, 0.21604549884796143, 0.9098676443099976, 0.8005700707435608, -0.08811600506305695, -0.004543655551970005, 0.17816150188446045, -0.18392230570316315, 0.5457854270935059, 0.5328286290168762, 0.4396411180496216, -0.4179716110229492, 0.1538521945476532, -0.07632526010274887, -0.5445172190666199, -0.403083473443985, -1.1096713542938232, -0.956253170967102, -0.8895092010498047, -0.3748812675476074, -0.471714049577713, 0.0559750497341156, 0.8399502635002136, 0.7288920879364014, -0.6286343932151794, -0.24221378564834595, -0.3685120940208435, 0.11317987740039825, -0.7344034314155579, -0.14786142110824585, 0.4577810764312744, -0.2167772352695465, -0.6421114206314087, 0.05141223967075348, 0.20903024077415466, -0.28345242142677307, -0.19283215701580048, -0.06495838612318039, -0.2900592088699341, 0.3697565197944641, 0.34736132621765137, 0.4348453879356384, -0.9393940567970276, -0.19632260501384735, -0.10971230268478394, -0.2427973598241806, 0.14068828523159027, 1.088571310043335, -0.5436243414878845, 0.7963216304779053, 0.624302864074707, 0.7842612266540527, 0.36112090945243835, 0.4826671779155731, 0.7374338507652283, -0.9379780888557434, -0.14262540638446808, 0.13175152242183685, 0.5388780236244202, 0.09367282688617706, -0.6377036571502686, 0.5680356621742249, 0.3683258593082428, -0.684615969657898, -0.6846226453781128, 0.2815106511116028, -1.182460904121399, -0.010742755606770515, 1.1612722873687744, -0.21887515485286713, -0.20475608110427856, -0.17078402638435364, 0.012904438190162182, 0.13552223145961761, -0.22874268889427185, 1.0672457218170166, 1.1508452892303467, 0.003219630103558302, -0.2743588984012604, -0.18601591885089874, 0.47317737340927124, 0.3188254237174988, -0.6429586410522461, 0.024479016661643982, 0.7077307105064392, 0.005654554348438978, 0.2981022000312805, 1.0259060859680176, -0.24163149297237396, 0.5545522570610046, -0.06170815974473953, 0.1538856476545334, -0.4024142622947693, -0.28017351031303406, -0.48745763301849365, 0.5097066164016724, -0.02690133824944496, -0.17279355227947235 ]
http://arxiv.org/abs/2403.08424v1
http://arxiv.org/pdf/2403.08424v1
Tastle: Distract Large Language Models for Automatic Jailbreak Attack
2024-03-13T11:16:43
2024-03-13T11:16:43
Zeguan Xiao, Yan Yang, Guanhua Chen, Yun Chen
cs.CR
cs.CR, cs.AI, cs.CL
Large language models (LLMs) have achieved significant advances in recent days. Extensive efforts have been made before the public release of LLMs to align their behaviors with human values. The primary goal of alignment is to ensure their helpfulness, honesty and harmlessness. However, even meticulously aligned LLMs remain vulnerable to malicious manipulations such as jailbreaking, leading to unintended behaviors. The jailbreak is to intentionally develop a malicious prompt that escapes from the LLM security restrictions to produce uncensored detrimental contents. Previous works explore different jailbreak methods for red teaming LLMs, yet they encounter challenges regarding to effectiveness and scalability. In this work, we propose Tastle, a novel black-box jailbreak framework for automated red teaming of LLMs. We designed malicious content concealing and memory reframing with an iterative optimization algorithm to jailbreak LLMs, motivated by the research about the distractibility and over-confidence phenomenon of LLMs. Extensive experiments of jailbreaking both open-source and proprietary LLMs demonstrate the superiority of our framework in terms of effectiveness, scalability and transferability. We also evaluate the effectiveness of existing jailbreak defense methods against our attack and highlight the crucial need to develop more effective and practical defense strategies.
[ -0.16427873075008392, -1.1026142835617065, 0.39406561851501465, 0.387432336807251, -0.14920146763324738, 0.516888439655304, -0.39180609583854675, -0.6336246728897095, 0.5214448571205139, 0.7571849226951599, -0.3329252302646637, -0.4683286249637604, -0.7687541842460632, -0.07139772176742554, -0.6043543815612793, 0.9473691582679749, -0.14073172211647034, -0.46431100368499756, 0.2356046587228775, -0.1873062551021576, -0.8823463320732117, -0.41923704743385315, -0.38789209723472595, -0.09493334591388702, 0.3431044816970825, 0.3639160394668579, 0.5022030472755432, 0.5487813949584961, 0.4001429080963135, 0.35972195863723755, -0.027400095015764236, 0.023433418944478035, -0.5606135129928589, 0.4137151837348938, -0.3272416889667511, -0.2970695197582245, -0.1421445608139038, -0.11439792811870575, 0.27566972374916077, 0.08964835107326508, -0.1465756595134735, 0.10401955246925354, -0.28270578384399414, 0.6640800833702087, -0.9000117182731628, -0.31751543283462524, -0.8765740394592285, -0.19005431234836578, -0.3215002119541168, 0.05616955831646919, -0.673443615436554, -0.23592905700206757, -0.20775823295116425, -0.23090246319770813, -0.21794399619102478, 0.08842054754495621, 0.7262837886810303, 0.5579459071159363, -0.07970397174358368, -0.14738886058330536, -0.4801238775253296, 0.8092109560966492, -0.6404080986976624, -0.024336254224181175, 0.40143319964408875, 0.24281254410743713, -0.3301272988319397, -0.37977197766304016, -0.2323145866394043, -0.5261722803115845, 0.18990381062030792, -0.26900798082351685, -0.4376940131187439, 0.051896169781684875, 0.05419471114873886, 0.07845676690340042, -0.22039178013801575, 0.30224883556365967, -0.3514375686645508, -0.1652374565601349, 0.587290346622467, 0.16094911098480225, 0.49876999855041504, 0.19025814533233643, -0.6400370001792908, 0.37331652641296387, -0.5217642784118652, -0.176181361079216, 0.22534869611263275, 0.26667118072509766, -0.3098272383213043, 0.523518979549408, -0.018253972753882408, 0.6589728593826294, 0.21304188668727875, -0.18079201877117157, 0.02183181792497635, -0.2866877019405365, -0.1974969208240509, -0.018752336502075195, 0.9641682505607605, 0.2941303849220276, 0.37722766399383545, -0.5105029940605164, -0.31808334589004517, -0.14595086872577667, 0.6418793797492981, -0.6957839131355286, -0.1607784777879715, 0.6069146990776062, -0.07063838094472885, -0.7763758897781372, -0.086922787129879, -0.6464056968688965, -0.7020407915115356, 0.39071109890937805, 0.4547807574272156, -0.615604817867279, -0.2163642793893814, 0.0683237761259079, -0.09629013389348984, 0.030029399320483208, 0.25304746627807617, -0.8132573366165161, 0.36069217324256897, 0.6382273435592651, 0.9853798151016235, -0.30194100737571716, -0.36551570892333984, -0.7533894777297974, 0.4529555141925812, -0.1291131228208542, 0.500046968460083, -0.26633328199386597, -0.20556224882602692, -0.17978627979755402, -0.19609826803207397, 0.12262161076068878, -0.5790061950683594, 0.08275788277387619, -0.6220847368240356, -0.26490306854248047, 0.17818708717823029, -0.46355488896369934, -0.15277232229709625, 0.4466397762298584, -0.8335286378860474, 0.6391842365264893, 0.11605145782232285, -0.6963276863098145, 0.23286759853363037, -0.5911586284637451, -0.565825343132019, 0.31906333565711975, 0.009590127505362034, -0.6046716570854187, 0.055179063230752945, 0.02956525608897209, 0.18516668677330017, -0.15253546833992004, 0.41752609610557556, -0.3778027296066284, -0.49480101466178894, 0.3408065438270569, 0.042906440794467926, 0.9978077411651611, 0.28053930401802063, -0.6824385523796082, 0.2797490954399109, -0.2983713746070862, 0.01665155030786991, 0.36161577701568604, -0.16533958911895752, -0.524247407913208, -0.05665977671742439, -0.12292727082967758, 0.031142698600888252, 0.3542623817920685, -0.6884738802909851, 0.3049805164337158, -0.32017454504966736, 0.6161876916885376, 0.6588680744171143, 0.07436680048704147, 0.41006141901016235, -0.26724740862846375, 0.7026290893554688, -0.1933966428041458, 0.08828645199537277, -0.18417099118232727, -0.11128277331590652, -0.18281212449073792, -0.6025469899177551, 0.18893267214298248, 0.6183027029037476, -0.5689444541931152, 0.3559795320034027, 0.1928342878818512, -0.4518970251083374, -0.6502788662910461, 0.44271090626716614, 0.5816648006439209, 0.3643534183502197, 0.3772912621498108, -0.18774595856666565, -0.6238999366760254, -0.7752604484558105, -0.5373448729515076, 0.14995157718658447, 0.291972815990448, -0.003913616295903921, 0.5485967397689819, -0.22500000894069672, 0.7732489109039307, -0.26010674238204956, -0.42781731486320496, -0.5977882742881775, -0.18436115980148315, 0.05399259552359581, 0.5344226956367493, 0.6413756012916565, -0.49036523699760437, -0.4330918788909912, -0.31405603885650635, -0.5721494555473328, -0.37353426218032837, -0.22835293412208557, 0.17985308170318604, 0.453380823135376, 0.6582497358322144, -0.44488057494163513, 0.4935995936393738, 0.4987679421901703, -0.6733092665672302, 0.8823186755180359, 0.06355003267526627, -0.03948674350976944, -0.8336242437362671, -0.06246313080191612, 0.22503620386123657, -0.4155466556549072, -0.6312942504882812, 0.4188610315322876, 0.17045821249485016, 0.052776142954826355, -0.6074379682540894, 0.7844792604446411, -0.4145813584327698, 0.0770835280418396, -0.3527408540248871, 0.2029339075088501, -0.08865786343812943, 0.22994618117809296, -0.3269951045513153, 0.9682127237319946, 0.16576384007930756, -0.26527276635169983, 0.37632209062576294, 0.022755978628993034, -0.3712686002254486, 0.27030569314956665, -0.7274786233901978, 0.11673934012651443, 0.26131170988082886, 0.03828434646129608, -0.876800537109375, -0.09019739180803299, 0.16678284108638763, -0.4395623803138733, 0.4664123058319092, -0.40362122654914856, -0.5948805212974548, -0.18878436088562012, -0.3737916946411133, 0.4077613651752472, 0.41411110758781433, -0.38758769631385803, 0.2346283197402954, 0.7369586825370789, -0.007984180003404617, -0.8047020435333252, -0.7166140675544739, 0.4876111149787903, -0.5505675673484802, -0.619625985622406, 0.37341785430908203, 0.159279465675354, -0.7331844568252563, -0.23113545775413513, -0.06643654406070709, -0.24514977633953094, 0.5319437384605408, 0.1994798481464386, 0.39774367213249207, 0.21743172407150269, -0.17102769017219543, -0.3286360204219818, 0.07049064338207245, 0.25949347019195557, -0.37466832995414734, 0.672749400138855, -0.10744504630565643, -0.02561170794069767, -0.521090567111969, 0.2268400937318802, 0.6206122636795044, -0.2136225402355194, 1.0201466083526611, 0.4283048212528229, 0.006692326162010431, -0.48924311995506287, -0.806081235408783, -0.008423404768109322, -0.5359448194503784, 0.5486104488372803, -0.06387253850698471, -1.037692904472351, 0.4631355404853821, -0.007147011812776327, 0.1834738701581955, -0.14309507608413696, 0.7336515784263611, -0.056702859699726105, 0.4230765998363495, 0.8554004430770874, -0.44504329562187195, 0.7396596074104309, 0.027597062289714813, -0.04165202006697655, -0.5051217079162598, -0.20995044708251953, -0.3415784537792206, -0.45872926712036133, -0.2585345506668091, -0.25569450855255127, -0.053485650569200516, 0.021170521154999733, -0.34873393177986145, 0.6089621782302856, -0.6278567910194397, 0.9011802077293396, 0.33604609966278076, 0.0031697500962764025, 0.1862093061208725, -0.23424403369426727, -0.21700941026210785, 0.0144319674000144, -0.33170849084854126, -0.34716179966926575, 1.0442657470703125, 0.5364876389503479, 0.8766194581985474, 0.2148279845714569, 1.1027462482452393, 0.4390939474105835, 0.22294391691684723, -0.7735608816146851, 0.5015112161636353, 0.001952619757503271, -0.6478633284568787, -0.40750646591186523, -0.30756786465644836, -0.796539843082428, 0.09489098936319351, -0.045591894537210464, -1.2224268913269043, -0.4356507956981659, 0.08423689752817154, -0.277961403131485, 0.6179585456848145, -0.9002132415771484, 0.842076301574707, -0.2740030586719513, -0.7520018219947815, -0.13839039206504822, -0.6722804307937622, 0.8353033661842346, -0.3029888868331909, 0.46347805857658386, -0.14164096117019653, -0.1277313232421875, 0.749457836151123, -0.7384036183357239, 1.0165374279022217, -0.29700538516044617, -0.14529582858085632, 0.29044052958488464, 0.6227267384529114, 0.6348300576210022, -0.03719450533390045, 0.011154825799167156, 0.014444074593484402, -0.26206088066101074, -0.5001748204231262, -0.28618407249450684, 0.6652378439903259, -0.566716730594635, -0.8763267993927002, -0.07262058556079865, -0.878572404384613, 0.00833497941493988, 0.43350493907928467, 0.09494847804307938, -0.04043934866786003, 0.06910911202430725, -0.001428381772711873, 0.5975335240364075, -0.27589288353919983, 0.6971448063850403, 0.44213899970054626, -0.2916681468486786, -0.5128174424171448, 0.7333237528800964, -0.1805868297815323, 0.5209084153175354, 0.07194991409778595, 0.01969991624355316, -0.04222751036286354, -0.8623515963554382, -0.15353387594223022, 0.3908112049102783, -0.2344948947429657, -0.31524622440338135, -0.3900444209575653, -0.11655066162347794, -0.23272445797920227, -0.4847062826156616, -0.5225642919540405, -0.42338797450065613, 0.12158135324716568, 0.08040045946836472, 0.5736219882965088, 0.7484121322631836, 0.18264256417751312, 0.33105823397636414, -0.7961118221282959, 0.27353399991989136, -0.12557783722877502, 0.3995216190814972, -0.11053713411092758, -0.6683076024055481, -0.3844963312149048, -0.3169877827167511, -0.39051705598831177, -0.9763644337654114, 0.6604483127593994, -0.3939627707004547, 0.48895859718322754, 0.10300049930810928, 0.38477829098701477, 0.5697587132453918, -0.3984486758708954, 0.39345699548721313, 0.330820769071579, -0.9924297332763672, 0.680130660533905, -0.3949930965900421, 0.16537566483020782, 0.8379451632499695, -0.03540835157036781, -0.23164500296115875, -0.8968245387077332, -0.6284977197647095, -0.9219354391098022, 0.6117407083511353, 0.13238948583602905, -0.1271977573633194, -0.011667036451399326, 0.2972812354564667, -0.06529550999403, 0.2674944996833801, -1.0510728359222412, -0.3025164008140564, 0.03154035657644272, -0.10678413510322571, 0.18633253872394562, -0.14955946803092957, -0.3000660240650177, 0.023832431063055992, 0.2935485541820526, 0.4319554269313812, -0.04991621524095535, -0.0788927748799324, -0.3637332320213318, -0.06205329671502113, 0.30601149797439575, 0.699517011642456, 0.33626121282577515, -0.20149151980876923, -0.01577121391892433, 0.14357095956802368, -0.707050621509552, 0.3946229815483093, -0.32567742466926575, -0.24532298743724823, -0.1699993908405304, 0.3338058292865753, 0.3523983657360077, 0.1001354232430458, -0.928776741027832, 0.6785750389099121, 0.16128160059452057, -0.1403542011976242, -0.5089024901390076, 0.34045496582984924, 0.061713915318250656, 0.41837278008461, 0.11227122694253922, -0.07404938340187073, -0.33024856448173523, -0.4968358278274536, 0.35301727056503296, 0.6467645168304443, -0.3977438807487488, -0.14219625294208527, 0.737988293170929, 0.28899335861206055, -0.6280445456504822, 0.5545189380645752, -0.25463178753852844, -0.5752051472663879, 0.7951905131340027, 0.7849634289741516, 1.0410809516906738, -0.18147873878479004, -0.06503690779209137, 0.1048303171992302, 0.5716463327407837, -0.022431040182709694, 0.026374133303761482, -0.0020906405989080667, -0.6518800854682922, -0.6786708831787109, -0.25224146246910095, -0.39371049404144287, 0.2967939078807831, -0.48445695638656616, 0.37765997648239136, -0.8256475329399109, -0.14330188930034637, -0.24263019859790802, 0.10252740979194641, -0.00966372899711132, -0.2732914388179779, 0.18194694817066193, 1.106256365776062, -0.4087817668914795, 1.1780391931533813, 0.45762336254119873, -0.2871672809123993, -0.6982823610305786, -0.022688662633299828, 0.42846015095710754, -0.8446570634841919, 0.768872082233429, 0.26257795095443726, -0.14995808899402618, -0.1546468436717987, -0.8165861964225769, -0.6148765683174133, 0.8991729617118835, 0.26870065927505493, -0.5626800060272217, -0.11820248514413834, -0.27065742015838623, 0.10066790133714676, -0.35170990228652954, -0.11804350465536118, 0.8806699514389038, 0.4738759696483612, 0.11539297550916672, -0.8818569183349609, 0.34277665615081787, -0.1168113723397255, -0.431262344121933, 0.726605236530304, -0.737909734249115, 0.6353662610054016, -0.8533830642700195, -0.01908225566148758, 0.042156022042036057, 0.2520269751548767, 0.7551485300064087, 0.07627775520086288, 0.27690431475639343, 0.6593379378318787, 0.48311060667037964, 0.1184624657034874, 0.8687052130699158, -0.252431184053421, 0.07357560843229294, 1.3913719654083252, -0.2722238302230835, 0.6627897620201111, 0.6870166659355164, -0.013484545983374119, 0.4143545925617218, -0.02219744771718979, -0.3374290466308594, 0.5001270174980164, 0.4527648985385895, -0.20828789472579956, -0.05841677635908127, 0.15274430811405182, -0.0149119533598423, 0.43460148572921753, 0.3732817471027374, -0.20355841517448425, -0.2282842993736267, -0.13115935027599335, 0.5491744875907898, 0.32043886184692383, -0.35636845231056213, 0.7143760919570923, -0.003881140612065792, -0.5042455792427063, 0.7730631828308105, 0.2227284461259842, 0.9230406284332275, -0.46242809295654297, 0.3312588036060333, -0.14604374766349792, 0.09519687294960022, -0.3625941872596741, -0.7905390858650208, 0.4599078297615051, 0.3780597746372223, 0.061628591269254684, -0.05456900596618652, 0.7007532119750977, -0.19257403910160065, 0.1302667111158371, 0.5131810903549194, 0.17389878630638123, -0.03129936009645462, -0.08627669513225555, -0.7517362833023071, 0.3603520691394806, 0.20361851155757904, -0.1639823168516159, 0.6566963195800781, 0.2625921368598938, -0.0633481964468956, 1.0584330558776855, 0.48856860399246216, 0.4039744734764099, -0.00994902290403843, -0.11114025115966797, 0.9002704620361328, -1.0739465951919556, -0.5369718074798584, -1.3457229137420654, 0.4278636872768402, -0.11240677535533905, 0.08591456711292267, 0.7829614877700806, 0.3910730183124542, 0.5613014698028564, 0.24499920010566711, 0.6614553332328796, -0.002078007673844695, 0.342291921377182, -0.3615988492965698, 0.9591412544250488, -0.2687363028526306, 0.6788520216941833, -0.5707429647445679, -0.5610718131065369, -0.33780020475387573, 0.25443413853645325, -0.40483182668685913, -0.15206106007099152, 0.5939224362373352, 0.4742834270000458, 0.3677107095718384, -0.3429657220840454, 0.40989452600479126, 0.30878934264183044, 0.4487217962741852, 0.7649215459823608, 0.7610399127006531, -0.15585465729236603, 0.8245225548744202, -0.24997557699680328, -0.29053646326065063, -0.2845936119556427, -0.8624955415725708, -1.124804139137268, -0.1473488062620163, -0.34734752774238586, -0.51826411485672, 0.1713009923696518, 0.9416168928146362, 0.5103168487548828, -0.6103588938713074, -0.4183075726032257, -0.05748813599348068, 0.30307862162590027, 0.03475652262568474, -0.2745519280433655, -0.1372109353542328, -0.5908414721488953, -0.414224773645401, 0.5988988280296326, 0.4932548701763153, 0.1307757943868637, -0.10596685111522675, 0.130968376994133, -0.2177358865737915, -0.0825318917632103, 0.304730623960495, 0.6083234548568726, -0.7904767394065857, -0.21577611565589905, -0.2574084401130676, -0.30344367027282715, 0.013242598623037338, 0.7004663348197937, -0.9212456941604614, 0.28021788597106934, 0.05318141728639603, 0.7389019131660461, 0.2462659329175949, 0.2242540866136551, 0.6590586304664612, -0.8432072401046753, 0.5429695248603821, 0.41376516222953796, 0.351299524307251, -0.09414403140544891, -0.3573494255542755, 0.3704112470149994, 0.009255281649529934, -0.5323880910873413, -1.0012270212173462, 0.2360069453716278, -0.8440701365470886, -0.686606764793396, 1.1583549976348877, -0.14967724680900574, -0.4369664788246155, -0.5176733136177063, -0.06176868453621864, -0.08498450368642807, -0.6641098260879517, 0.9640470147132874, 0.5858469009399414, 0.1199912428855896, -0.22978892922401428, -0.583981454372406, 0.4030782878398895, 0.3155801594257355, -0.6590802669525146, 0.40754449367523193, 0.3272537887096405, 0.549892783164978, 0.03745391592383385, 0.48196616768836975, -0.31549912691116333, 0.37665238976478577, -0.10615698248147964, 0.2586294710636139, -0.7108314037322998, -0.359734445810318, -0.40850508213043213, 0.4282734990119934, 0.11955747753381729, -0.14717504382133484 ]
http://arxiv.org/abs/2403.08391v2
http://arxiv.org/pdf/2403.08391v2
Misinformation is not about Bad Facts: An Analysis of the Production and Consumption of Fringe Content
2024-03-13T10:10:07
2024-05-26T06:15:33
JooYoung Lee, Emily Booth, Hany Farid, Marian-Andrei Rizoiu
cs.CL
cs.CL
What if misinformation is not an information problem at all? To understand the role of news publishers in potentially unintentionally propagating misinformation, we examine how far-right and fringe online groups share and leverage established legacy news media articles to advance their narratives. Our findings suggest that online fringe ideologies spread through the use of content that is consensus-based and "factually correct". We found that Australian news publishers with both moderate and far-right political leanings contain comparable levels of information completeness and quality; and furthermore, that far-right Twitter users often share from moderate sources. However, a stark difference emerges when we consider two additional factors: 1) the narrow topic selection of articles by far-right users, suggesting that they cherry pick only news articles that engage with their preexisting worldviews and specific topics of concern, and 2) the difference between moderate and far-right publishers when we examine the writing style of their articles. Furthermore, we can identify users prone to sharing misinformation based on their communication style. These findings have important implications for countering online misinformation, as they highlight the powerful role that personal biases towards specific topics and publishers' writing styles have in amplifying fringe ideologies online.
[ -0.5260584950447083, -0.7061673402786255, 0.5898624062538147, 0.3158707320690155, -0.18700237572193146, -0.05629163980484009, -0.08604485541582108, -0.6128214001655579, 0.6256579756736755, 0.5561277866363525, -0.496436208486557, -0.11483214050531387, -0.867945671081543, 0.20308707654476166, -0.4278353750705719, 1.1727889776229858, 0.4072892367839813, -0.35405710339546204, 0.11395324766635895, -0.27331727743148804, -0.13543926179409027, -0.3417075574398041, 0.05952434241771698, -0.0284297913312912, 0.5844791531562805, 0.5240918397903442, 1.3303762674331665, 0.5034955143928528, 0.1620998978614807, 0.09992030262947083, -0.10378104448318481, 0.0760585144162178, -0.7669927477836609, -0.27115318179130554, -0.6607905626296997, -0.5002204775810242, 0.38194501399993896, 0.3287985622882843, 0.4938907325267792, 0.6082280874252319, -0.12485165148973465, 0.3439130485057831, 0.15308192372322083, 0.7597604393959045, -0.7380422353744507, -0.5325327515602112, -0.3934716582298279, 0.09673018008470535, -0.5057252645492554, -0.3983336091041565, -0.41469472646713257, -0.573713481426239, -0.06857771426439285, -0.8640678524971008, 0.3491453528404236, 0.26558730006217957, 0.9493236541748047, 0.08243099600076675, -0.6048383116722107, -0.5849109888076782, -0.9015792012214661, 0.5713312029838562, -0.4987235367298126, 0.43067818880081177, 0.43012434244155884, -0.031008340418338776, -0.11036534607410431, -0.342087984085083, -0.6308810710906982, 0.5525006651878357, -0.12481989711523056, 0.07930566370487213, -0.6617249250411987, -0.1899426281452179, 0.2528589963912964, 0.2226714938879013, -0.30513039231300354, -0.13073164224624634, -0.7352811694145203, -0.303375780582428, 0.5834764242172241, -0.18564243614673615, 0.3229847252368927, -0.40207940340042114, -0.5117371678352356, 0.2427375316619873, -0.9099547863006592, -0.14807134866714478, 0.7951040863990784, 0.20353448390960693, -0.11147093772888184, 0.687915563583374, 0.04472528398036957, 0.5444665551185608, 0.5631269216537476, -0.19431620836257935, 0.17050033807754517, -0.43820443749427795, -0.03607186675071716, 0.33375993371009827, 0.5396981239318848, 0.8658235669136047, -0.1274348646402359, 0.12078634649515152, 0.11421409994363785, -0.34347641468048096, 0.3218194842338562, -0.3829430043697357, 0.002407836727797985, -0.0570182129740715, -0.633398711681366, -0.09680388867855072, 0.28491824865341187, -0.9493227005004883, -1.0049937963485718, -0.0024020338896661997, 0.495998740196228, -0.13851016759872437, -0.26059016585350037, -0.08757104724645615, -0.8515398502349854, -0.2838810086250305, 0.3655179440975189, -0.5868602991104126, 0.0854172334074974, 0.508915901184082, 0.6445953249931335, 0.1923387199640274, -0.07513970881700516, -0.25662219524383545, 0.4191134572029114, -0.702807605266571, 0.6021921634674072, -0.27274003624916077, 0.07628268748521805, 0.2761153280735016, -0.05276144668459892, 0.2401321977376938, -0.3769981563091278, 0.49496886134147644, -0.4000060260295868, 0.365078330039978, -0.7132153511047363, -0.4990135729312897, -0.358318954706192, 0.03777328506112099, -0.7301719188690186, 0.7026157975196838, 0.14219199120998383, -1.1794655323028564, 0.8030520081520081, -0.21372708678245544, -0.33433011174201965, -0.12340801954269409, -0.1811564862728119, -0.16802187263965607, 0.2799745202064514, 0.07693861424922943, 0.3203544318675995, 0.041478049010038376, 0.21003270149230957, -0.22973011434078217, -0.47163599729537964, 0.46169590950012207, -0.46586310863494873, 0.27995821833610535, 0.2168886661529541, -0.44143980741500854, -0.3881967067718506, -0.4398976266384125, -0.5420259833335876, -0.19558873772621155, -0.14934659004211426, -0.6634217500686646, 0.21564210951328278, -0.10913597792387009, 0.43828633427619934, -0.15429085493087769, -0.5056645274162292, -0.07348067313432693, 0.32627472281455994, 0.06068933755159378, 0.5489466190338135, 0.43325474858283997, 0.4549272358417511, -0.9555461406707764, -0.11728359758853912, 0.2652806341648102, 0.5447291135787964, 0.01289168931543827, -0.5356382131576538, -0.597206711769104, 0.1050674170255661, 0.05354982614517212, 0.4030783474445343, -0.518415093421936, 0.26008498668670654, 0.12024558335542679, -0.460647314786911, -0.4120917022228241, 0.01905602030456066, -0.12048806995153427, 0.3021157681941986, 0.3795397877693176, 0.16357475519180298, -0.35989415645599365, -1.0050737857818604, -0.944733738899231, 0.017820168286561966, 0.2533527612686157, 0.04665795713663101, -0.09432841837406158, -0.12291937321424484, 0.8996701836585999, -0.27038633823394775, -0.300214558839798, -0.2637941241264343, 0.5589129328727722, 0.32847753167152405, 0.02324521541595459, 0.5808751583099365, -1.1271806955337524, -0.28444167971611023, -0.31550177931785583, -0.4275933504104614, -0.2085985392332077, -0.4457589387893677, 0.19230955839157104, 0.24369414150714874, 0.23937129974365234, -0.361258327960968, 0.5796140432357788, 0.5055611729621887, -0.5774502754211426, 0.33849194645881653, 0.10443133115768433, 0.5365813970565796, -0.7860079407691956, -0.13932247459888458, 0.10876688361167908, -0.27787911891937256, -0.6473253965377808, -0.24785806238651276, -0.10394768416881561, 0.0812075287103653, -0.6278943419456482, 0.017006726935505867, -0.34067171812057495, 0.1355929672718048, -0.24683551490306854, 0.2554936110973358, 0.23047059774398804, -0.13143546879291534, -0.09128440171480179, 0.499985009431839, 0.2069769948720932, -0.7241373658180237, -0.14157648384571075, 0.10576790571212769, -0.36359113454818726, 0.41616156697273254, 0.05168408155441284, -0.4096742272377014, -0.46861422061920166, 0.37499579787254333, -0.7079079747200012, -0.30409783124923706, 0.7094922661781311, -0.4946231544017792, -0.17193572223186493, -0.06458967179059982, -0.5212588310241699, -0.1350989043712616, -0.29687070846557617, 0.030940836295485497, 0.16805730760097504, -0.34665417671203613, 0.31705835461616516, 0.43603256344795227, -0.0630638599395752, -0.7725910544395447, -1.236160159111023, 0.021393101662397385, -0.3655107319355011, -0.5803037881851196, 0.11983287334442139, 0.25525790452957153, -0.5738538503646851, 0.4524773955345154, -0.35093751549720764, -0.12525279819965363, -0.272234171628952, 0.17335601150989532, -0.34669408202171326, -0.18508055806159973, 0.6977174282073975, 0.11244441568851471, 0.1939947009086609, -0.2007545381784439, -0.15667647123336792, 0.22011849284172058, 0.33541446924209595, -0.2917936444282532, -0.6115208268165588, 0.7276053428649902, 0.10306645929813385, 0.15066339075565338, 0.8583418130874634, 0.39175739884376526, -0.33380821347236633, -0.48457571864128113, -0.9773525595664978, -0.08716319501399994, -0.36401495337486267, -0.005644620396196842, 0.3645663857460022, -0.497246652841568, 0.15331318974494934, 0.04573492705821991, 0.12850959599018097, 0.7993040084838867, 0.03198513388633728, -0.17284491658210754, 0.25443166494369507, 0.8800843954086304, 0.1578286737203598, 0.4095447361469269, -0.028215544298291206, 0.31733083724975586, 0.07216975837945938, -0.16375115513801575, -0.5004594922065735, -0.18102170526981354, -0.43178147077560425, -0.6740913391113281, 0.04141734167933464, 0.3225134611129761, -0.1598094403743744, 0.03861672058701515, -0.3810977637767792, 0.5781578421592712, 0.3259259760379791, -0.12573908269405365, 0.5860345959663391, 0.025200096890330315, 0.6025230884552002, -0.054606564342975616, -0.8114723563194275, -0.5467771887779236, 0.7328181862831116, 0.5695335268974304, 1.1738609075546265, 0.19020256400108337, 0.6146660447120667, 1.0011204481124878, 0.22762343287467957, -0.5221295952796936, -0.13858158886432648, -0.09666804224252701, -0.8445696830749512, -0.02316351979970932, -0.26237761974334717, -0.30989617109298706, 0.12108781188726425, -0.36636441946029663, -0.594520628452301, 0.7236555218696594, 0.0349561832845211, -0.33658915758132935, 0.7085636258125305, -0.4853357672691345, 0.3685484528541565, -0.06301113218069077, -0.25774675607681274, -0.5262689590454102, -0.6680809259414673, 0.16886411607265472, -0.11316651850938797, 0.78260737657547, -0.1101435199379921, -0.16360296308994293, 0.9224112033843994, 0.10346224904060364, 0.8411971926689148, -0.039220359176397324, 0.20172905921936035, 0.7397618889808655, 0.19491051137447357, 0.10314957052469254, 0.1404663473367691, 0.07143290340900421, 0.342445433139801, 0.10309435427188873, -0.33184725046157837, -0.23311418294906616, 0.12446287274360657, -1.0028966665267944, -0.8073804974555969, -0.6891367435455322, -0.2486148327589035, -0.04420590028166771, 0.2816489040851593, 0.6851664781570435, 0.4668756127357483, -0.21876083314418793, 0.3036327362060547, 0.7091778516769409, 0.09174586087465286, 0.4904826879501343, 0.3659062683582306, -0.2788316309452057, -0.36638614535331726, 0.7202782034873962, 0.5971925258636475, 0.5590760111808777, 0.41722485423088074, 0.3618299067020416, -0.1564655900001526, -0.25916898250579834, -0.5631011128425598, 0.2712472081184387, -1.0420565605163574, -0.17578968405723572, -0.400704026222229, -0.1595747172832489, 0.021071817725896835, -0.17909061908721924, -0.3810769021511078, -0.39757898449897766, -0.49903640151023865, -0.13371260464191437, 0.23715706169605255, 1.1932058334350586, -0.563156008720398, 0.6621763706207275, -1.058251976966858, 0.20529918372631073, 0.08037582039833069, 0.12154045701026917, -0.3974609375, -0.19215065240859985, -0.285948246717453, 0.367147296667099, -0.724329948425293, -1.2914085388183594, -0.12287244200706482, -0.14924053847789764, 0.5165504217147827, 0.7022229433059692, 0.2726607024669647, 0.35374927520751953, -0.12328888475894928, 1.0658177137374878, 0.3371885418891907, -0.9887893795967102, 0.15735825896263123, -0.5367611050605774, -0.2876873016357422, 0.6837446689605713, 0.9504460692405701, -0.9445777535438538, -0.5872452855110168, -0.9341712594032288, -0.4324607849121094, 0.6483355164527893, -0.13555088639259338, 0.15206381678581238, -0.13171125948429108, -0.12593162059783936, 0.6981695294380188, 0.336568683385849, -0.8569201827049255, -0.34207087755203247, -0.5575948357582092, 0.17229393124580383, 0.02007194422185421, -0.4134158790111542, -0.6150526404380798, 0.2869589328765869, 0.5406126976013184, -0.06526581197977066, 0.2171519249677658, 0.6932470202445984, -0.09600920975208282, -0.5866987705230713, 0.344735324382782, 0.35706719756126404, 1.1164547204971313, -0.06905197352170944, 0.1975584179162979, -0.49896854162216187, -0.2612598240375519, -0.12099048495292664, -0.13060180842876434, -0.3464202880859375, 0.43282002210617065, 0.29636049270629883, 0.6560990810394287, -0.08499807119369507, -0.14874309301376343, 1.065413236618042, 0.12307409942150116, -0.2189616560935974, -0.36422842741012573, -0.20293378829956055, 0.0845368355512619, 0.3084244430065155, 0.9102106690406799, 0.4718819856643677, 0.13550511002540588, -0.8495891094207764, 0.2621389925479889, 0.057243525981903076, -0.3336416482925415, -0.2138005495071411, 0.3066596984863281, 0.30425623059272766, -0.03850423917174339, 0.25309810042381287, 0.01159031130373478, -0.27475637197494507, 0.3653997778892517, 0.678291380405426, 0.21722820401191711, 0.06661362946033478, 0.5964131355285645, -0.058745019137859344, 0.4740954339504242, -0.051134251058101654, -0.0004642080457415432, 0.14450427889823914, -0.6575387120246887, -0.2399500608444214, -0.19125309586524963, -0.3156687021255493, 0.021801339462399483, -0.24603530764579773, 0.3794490694999695, -0.41135987639427185, -0.30350562930107117, -0.09064216166734695, -0.06844141334295273, -0.33311235904693604, 0.2844862639904022, 0.27815088629722595, 1.105570673942566, -1.0919016599655151, 0.13820700347423553, 0.23367808759212494, -0.5356507301330566, -0.5939062237739563, 0.9621068835258484, 0.25920751690864563, -0.08527529239654541, 0.15099048614501953, 0.19839423894882202, 0.04499099403619766, -0.5752148628234863, -0.4104297161102295, -0.9342825412750244, 0.7073661684989929, 0.14555659890174866, -0.5470775961875916, 0.03694126009941101, 0.4435569941997528, -0.0038837918546050787, -0.24472936987876892, 0.0848814845085144, -0.03478430584073067, 0.5166119933128357, 0.12724286317825317, -0.8120057582855225, 0.033664360642433167, 0.4503851532936096, -0.5215390920639038, 0.42823320627212524, -0.9882611036300659, 0.8813138604164124, -0.07029283791780472, -0.44718337059020996, -0.39222192764282227, 0.44993287324905396, -0.3900405764579773, 0.5436834692955017, 0.3186682164669037, 0.21493148803710938, 0.7302860617637634, -0.03069116733968258, 0.7620973587036133, -0.1446438431739807, 0.25661584734916687, 0.4772934317588806, 0.3525906205177307, 0.5647270679473877, 0.6414263248443604, 0.0001022515571094118, 0.5351109504699707, 0.6698935031890869, 0.1421901285648346, 0.6673865914344788, -0.07049831002950668, -0.004405631683766842, -0.19007593393325806, -0.30073246359825134, -0.6487076878547668, 0.2120404988527298, 0.5802382826805115, -0.4485383927822113, -0.438541978597641, -0.0834140032529831, 0.21453844010829926, 0.3951226770877838, -0.5008384585380554, 0.6161267757415771, 0.15544027090072632, -0.3842841386795044, 0.3764648735523224, 0.01585977151989937, 0.6944167017936707, -0.5168545842170715, 0.13112546503543854, 0.10569252073764801, 0.16511760652065277, -0.7767444849014282, -1.056442379951477, 0.8940541744232178, -0.4145925045013428, -0.39846181869506836, -0.05728966370224953, 0.88750159740448, -0.230699360370636, -0.12276621162891388, 0.3114203214645386, 0.6807934641838074, -0.09171351045370102, -0.24426594376564026, -0.3199092149734497, 0.3063936233520508, 0.1369287669658661, 0.13085491955280304, 0.18255075812339783, 0.3872436285018921, -0.09557212144136429, 0.37469482421875, 0.43481358885765076, 0.18220658600330353, 0.10627661645412445, -0.32774442434310913, 0.8524354696273804, -0.7797866463661194, -0.628655731678009, -0.5828991532325745, 0.42181283235549927, -0.23444852232933044, -0.6165555119514465, 0.8493550419807434, 0.5008834004402161, 0.7989869117736816, 0.021488673985004425, 1.0213408470153809, -0.24273276329040527, 0.7984153628349304, -0.2165045291185379, 0.8809748291969299, -0.4801512062549591, -0.1470290869474411, -0.24094296991825104, -0.8131471872329712, -0.1343318372964859, 0.0825570747256279, -0.24095478653907776, -0.2818828523159027, 0.6336454153060913, 0.5866374969482422, -0.20552974939346313, 0.6817898750305176, 0.0598347932100296, 0.0620705671608448, 0.022171758115291595, 0.029285738244652748, 1.2346150875091553, -0.06346890330314636, 0.4366767406463623, -0.6376259326934814, -0.3803524076938629, -0.35655730962753296, -0.8393465280532837, -0.6443355679512024, -0.5128828883171082, -0.12091739475727081, -0.3971812427043915, 0.30800357460975647, 0.875480592250824, 0.4266350567340851, -0.25684696435928345, 0.03964047506451607, 0.19174687564373016, 0.43560662865638733, -0.17044560611248016, -0.24206137657165527, 0.05206004157662392, 0.01255654077976942, -0.3657781481742859, -0.044261299073696136, 0.11623473465442657, -0.30118417739868164, -0.07233908027410507, 0.3175758719444275, -0.41313034296035767, 0.5503131151199341, 0.28948357701301575, 0.28940874338150024, -0.6660277843475342, -0.3727020025253296, -0.3242514133453369, -0.18482069671154022, 0.3041022717952728, 0.7171701192855835, -0.5456728339195251, 0.24461770057678223, 0.4453786015510559, 0.4250389337539673, 0.03678235784173012, 0.5694875121116638, 0.2734755277633667, -0.5367797613143921, 0.1245415061712265, 0.25648775696754456, -0.13654161989688873, 0.6502060890197754, -0.7336016893386841, -0.1149943545460701, 0.60658198595047, -0.484512597322464, -0.36136215925216675, -0.00625073816627264, -0.47160041332244873, -0.4627489149570465, 1.3040176630020142, 0.2713433504104614, -0.22442755103111267, -0.35401830077171326, -0.19335657358169556, 0.18241293728351593, -0.6479671597480774, 0.5276929140090942, 0.7633745670318604, -0.3829759359359741, 0.17825685441493988, -0.5646240711212158, 0.6786530017852783, -0.05566553398966789, -0.3995839059352875, 0.12531569600105286, 0.6674832701683044, 0.641005277633667, 0.4984677731990814, 0.5812219381332397, 0.028933264315128326, 0.2423182874917984, 0.32802698016166687, -0.3767903745174408, 0.0392611026763916, -0.4892188012599945, -0.06719186902046204, 0.1319483518600464, -0.23355287313461304, -0.1808929592370987 ]
http://arxiv.org/abs/2403.09734v2
http://arxiv.org/pdf/2403.09734v2
Do Large Language Models Solve ARC Visual Analogies Like People Do?
2024-03-13T09:48:13
2024-05-13T11:20:23
Gustaw Opiełka, Hannes Rosenbusch, Veerle Vijverberg, Claire E. Stevenson
cs.CL
cs.CL, cs.AI
The Abstraction Reasoning Corpus (ARC) is a visual analogical reasoning test designed for humans and machines (Chollet, 2019). We compared human and large language model (LLM) performance on a new child-friendly set of ARC items. Results show that both children and adults outperform most LLMs on these tasks. Error analysis revealed a similar "fallback" solution strategy in LLMs and young children, where part of the analogy is simply copied. In addition, we found two other error types, one based on seemingly grasping key concepts (e.g., Inside-Outside) and the other based on simple combinations of analogy input matrices. On the whole, "concept" errors were more common in humans, and "matrix" errors were more common in LLMs. This study sheds new light on LLM reasoning ability and the extent to which we can use error analyses and comparisons with human development to understand how LLMs solve visual analogies.
[ -0.39044898748397827, -0.6900755167007446, 0.6192708015441895, 0.05701032280921936, -0.066006138920784, 0.4059723913669586, -0.24848490953445435, -0.6516200304031372, -0.09830629825592041, 0.40298107266426086, -0.47560492157936096, -0.4414520263671875, -0.5203211307525635, 0.2849486768245697, -0.6692790985107422, 0.19940297305583954, -0.42033901810646057, 0.07224154472351074, -0.49942371249198914, 0.021576102823019028, -0.22608597576618195, -0.5113254189491272, -0.8104828000068665, -0.553084135055542, 0.5425622463226318, 0.5596997141838074, 0.7365060448646545, 0.736793041229248, 0.7662328481674194, 0.26755571365356445, -0.14182274043560028, 0.04875106364488602, -0.36063632369041443, -0.11660967022180557, -0.3729414939880371, -0.49038928747177124, -0.3490656316280365, -0.14420221745967865, 0.49167880415916443, 1.097641110420227, -0.11028075963258743, 0.04021750018000603, 0.02084069326519966, 0.8922428488731384, -0.5604901909828186, 0.31617969274520874, -0.5374706387519836, -0.06607065349817276, -0.09565073996782303, 0.0366051085293293, -0.5941164493560791, -0.3234655261039734, 0.13343840837478638, -0.6255963444709778, 0.12092213332653046, 0.4606119692325592, 0.8367056250572205, 0.31099528074264526, -0.2478586584329605, -0.3534286320209503, -0.8241331577301025, 0.8021645545959473, -0.6716870665550232, 0.11034193634986877, 0.16756358742713928, 0.21230177581310272, -0.45385390520095825, -0.6562725305557251, -1.0424726009368896, -0.302957683801651, -0.03147108480334282, -0.19428285956382751, -0.539816677570343, 0.13010485470294952, 0.3595536947250366, 0.043787918984889984, -0.5956966876983643, 0.3864166736602783, -0.56793612241745, -0.04383939504623413, 0.6119132041931152, 0.41384923458099365, 0.6698150038719177, -0.0642613098025322, -0.33929604291915894, -0.3603556156158447, -0.9610732793807983, 0.12272469699382782, 0.14609530568122864, -0.10293222218751907, -0.1001436859369278, 0.7814096808433533, -0.18578514456748962, 0.7530978322029114, 0.020236670970916748, -0.10695553570985794, 0.1068682074546814, -0.051860567182302475, -0.021874263882637024, -0.01952521502971649, 0.5436457395553589, 0.7088744044303894, 0.8385810852050781, -0.028434397652745247, -0.26174429059028625, 0.3921584486961365, 0.09951791167259216, -0.45109933614730835, -0.23677679896354675, -0.10048680007457733, -0.5057548880577087, 0.067026287317276, -0.08362478017807007, -0.6688505411148071, -0.5268044471740723, -0.5614879131317139, 0.3778550624847412, -0.4718893766403198, -0.10056113451719284, 0.3358498215675354, 0.01520355325192213, 0.43961647152900696, 0.4384825527667999, -0.7456809878349304, 0.5640221834182739, 0.7995761632919312, 0.5737682580947876, -0.5541059374809265, -0.7062612175941467, -0.22685378789901733, -0.16236749291419983, -0.6464633345603943, 1.0814567804336548, -0.48433154821395874, -0.1925249844789505, -0.2953382134437561, -0.3232972025871277, -0.2748768627643585, -0.9670851826667786, 0.21664607524871826, -0.4013911783695221, -0.21194221079349518, -0.16875790059566498, -0.3797668516635895, -0.30493125319480896, 0.16215120255947113, -0.7144610285758972, 0.7664909362792969, 0.2192550003528595, -0.6776511669158936, 0.3079991042613983, -0.5425475239753723, -0.20441694557666779, -0.2655292749404907, -0.2743476927280426, -0.2543124556541443, 0.18193988502025604, 0.1589852124452591, 0.3271026015281677, -0.5626992583274841, -0.04018501192331314, -0.3724607229232788, -0.6634458899497986, 0.47451409697532654, -0.24406230449676514, 0.6475995779037476, 0.09447313100099564, -0.34010976552963257, 0.16464248299598694, -0.5358885526657104, 0.006930289790034294, 0.30889102816581726, -0.22682099044322968, -0.24266788363456726, 0.14575567841529846, -0.26967161893844604, 0.45539793372154236, 0.0044912006705999374, -0.4281260073184967, 0.21423161029815674, -0.3123941719532013, 0.6653368473052979, 0.5776731967926025, -0.10946053266525269, 0.27833291888237, -0.38856375217437744, 0.5282596349716187, 0.13210034370422363, -0.08622509241104126, -0.14212484657764435, -0.6456348299980164, -1.0951792001724243, -0.1187688559293747, 0.09447337687015533, 0.41387566924095154, -0.7489737272262573, 0.28271010518074036, -0.3799961507320404, -0.401256263256073, -0.21940699219703674, 0.15107084810733795, 0.4002881646156311, 0.5733930468559265, 0.10572376102209091, -0.4827442467212677, -0.6267911791801453, -1.0704360008239746, 0.02010256238281727, -0.5621927976608276, -0.025573281571269035, 0.23522767424583435, 0.8117302060127258, -0.2670706808567047, 1.0814824104309082, -0.26232224702835083, -0.028828086331486702, -0.36032915115356445, 0.2025751918554306, 0.040674008429050446, 0.09103262424468994, 0.4914553463459015, -0.5127126574516296, -0.14244845509529114, 0.015485292300581932, -0.9459478259086609, -0.12072434276342392, -0.012859816662967205, 0.1418066918849945, 0.19167564809322357, 0.6398626565933228, -0.5802558064460754, 0.634292721748352, 0.5474052429199219, -0.4932801127433777, 0.8257619142532349, -0.2206716239452362, -0.040374308824539185, -0.5342593193054199, -0.06494417041540146, 0.0344364307820797, -0.05508507415652275, -0.21962803602218628, 0.27635669708251953, -0.03449278324842453, 0.006629087496548891, -0.7303680181503296, 0.6091020107269287, -0.44186845421791077, -0.4455684423446655, -0.19583475589752197, 0.10464931279420853, 0.020024539902806282, 0.44157683849334717, 0.18080197274684906, 1.0043060779571533, 0.7042139768600464, -0.46417203545570374, 0.6230118274688721, -0.2049844115972519, -0.514215886592865, 0.8495720624923706, -0.8594769239425659, 0.1526261270046234, -0.30210447311401367, 0.35117289423942566, -1.063360333442688, -0.35875701904296875, 0.06348571926355362, -0.24429649114608765, 0.038492362946271896, 0.39561596512794495, -0.5681447386741638, -0.7416031360626221, -0.2524412274360657, 0.5440062880516052, 0.5680246949195862, -0.6086412072181702, 0.8599098324775696, 0.1181764081120491, -0.17197474837303162, -0.63506680727005, -0.7361822724342346, 0.35859018564224243, -0.3273608684539795, -0.8540401458740234, -0.17205233871936798, -0.056674402207136154, -0.8257313966751099, 0.14218255877494812, 0.08383011817932129, -0.24169602990150452, 0.0964275673031807, 0.17178992927074432, 0.32595381140708923, -0.493478924036026, 0.01748064160346985, -0.2569325864315033, -0.1271921843290329, 0.20088502764701843, 0.15404252707958221, 0.6381089687347412, -0.5224228501319885, -0.7558140158653259, -0.5029084086418152, 0.32291674613952637, 0.7576131224632263, 0.11136038601398468, 0.636478841304779, -0.1523803323507309, -0.3509465157985687, -0.15899188816547394, -0.3844850957393646, -0.2408982813358307, -0.4118485450744629, 0.5108705163002014, -0.414555162191391, -0.445069283246994, 0.6354473829269409, -0.033388901501894, -0.03968178108334541, 0.42337632179260254, 0.6374495625495911, -0.5547779202461243, 0.7537751197814941, 0.29295796155929565, 0.171208456158638, -0.0654778927564621, -0.49114659428596497, 0.10674653947353363, -0.8709203600883484, -0.1937321424484253, -0.3868556320667267, -0.6983510255813599, -0.026444312185049057, -0.4929644465446472, 0.0910947322845459, 0.31247958540916443, -0.5646495819091797, 0.3595382571220398, -0.3905647397041321, 0.6307812333106995, 0.5127726793289185, -0.015171762555837631, 0.6882558465003967, -0.02551386132836342, -0.07660383731126785, -0.22570928931236267, -0.6850854158401489, -0.722567081451416, 1.1322122812271118, 0.3290746808052063, 1.1958264112472534, 0.0630287453532219, 0.5471801161766052, 0.10268660634756088, 0.6338707804679871, -0.8435778617858887, 0.7878571152687073, -0.1447162926197052, -0.5218327641487122, -0.23398782312870026, -0.20407310128211975, -1.061602234840393, 0.24269427359104156, -0.22575640678405762, -0.9500641822814941, 0.3028787672519684, 0.14740005135536194, -0.010765713639557362, 0.5474767684936523, -1.0219796895980835, 0.7152034640312195, -0.15753266215324402, 0.14542272686958313, -0.3025214374065399, -0.6574616432189941, 0.5446080565452576, -0.2100321352481842, 0.20915837585926056, -0.1403018683195114, -0.1166151687502861, 0.6285120248794556, -0.13442084193229675, 0.9765986204147339, 0.379885196685791, 0.07144873589277267, 0.6448082327842712, 0.2999962270259857, 0.2946694493293762, -0.47059357166290283, 0.008705547079443932, 0.26101794838905334, -0.3523487150669098, -0.3818633556365967, -0.8874420523643494, 0.5803403258323669, -0.9032791256904602, -0.6843271255493164, -0.46619364619255066, -0.5201799273490906, 0.04670426622033119, -0.043145667761564255, 0.0871577113866806, 0.2768137753009796, -0.07882154732942581, 0.2797152101993561, 0.6782715916633606, -0.13273048400878906, 0.48629695177078247, 0.3718422055244446, -0.3162713348865509, 0.09162731468677521, 0.6808007955551147, -0.1492830365896225, 0.7003412842750549, 0.1978016048669815, 0.2502441704273224, -0.15690520405769348, -0.5986603498458862, -0.7270022034645081, 0.3922230899333954, -0.9258027672767639, 0.05933478847146034, -0.352568119764328, -0.3114964962005615, 0.19401268661022186, -0.24280671775341034, -0.39409828186035156, -0.42680445313453674, -0.10445021092891693, 0.010266730561852455, 0.14891795814037323, 0.7253937721252441, 0.14117585122585297, 0.13611970841884613, -0.36815980076789856, 0.427392840385437, 0.6829147934913635, 0.19693990051746368, 0.48289763927459717, -0.2980952560901642, 0.09936702251434326, 0.022344302386045456, -0.4711128771305084, -0.5718587636947632, -0.004071875475347042, 0.13388946652412415, 0.46457087993621826, 0.33072924613952637, -0.12876221537590027, 0.5101202726364136, -0.56992107629776, 0.8090313673019409, 0.40958836674690247, -0.8398433923721313, 0.03129224479198456, -0.23298339545726776, 0.22292055189609528, 0.2546556293964386, 0.12115544825792313, -0.6439820528030396, -0.3209077715873718, -0.5063062310218811, -0.722292959690094, 0.518502414226532, 0.2618272304534912, 0.05312058702111244, 0.09085192531347275, 0.21044562757015228, 0.014126976951956749, -0.08351345360279083, -0.652894914150238, -0.41062667965888977, 0.18062260746955872, -0.2491353303194046, -0.018932340666651726, -0.0031787476036697626, -0.016704194247722626, -0.31441038846969604, 0.1287216991186142, -0.08040553331375122, 0.28898972272872925, -0.03964480757713318, -0.10767697542905807, -0.4913780093193054, 0.20984210073947906, 0.6248376965522766, 1.2164931297302246, 0.08911044150590897, 0.393642783164978, 0.3109624981880188, -0.34724023938179016, 0.3459582030773163, -0.3144530951976776, -0.09843407571315765, -0.20448808372020721, 0.7965763807296753, 0.631098747253418, 0.3242332935333252, -1.2721381187438965, 0.5028613805770874, -0.08826565742492676, -0.22792477905750275, -0.49737808108329773, 0.21139580011367798, 0.5398125648498535, 0.13124296069145203, 0.5275117754936218, 0.2831827998161316, -0.19633527100086212, -0.8578653335571289, 0.17053334414958954, 0.22619546949863434, -0.04239679127931595, -0.20943023264408112, 0.7171556353569031, 0.15361566841602325, -0.7482001185417175, 0.7441710233688354, 0.12602519989013672, -0.36570799350738525, 0.9533984065055847, 0.45353972911834717, 0.7030560970306396, 0.08539775758981705, 0.08657804131507874, 0.08520451188087463, 0.2961486876010895, -0.27873918414115906, 0.04711465165019035, 0.3581194579601288, -0.949428915977478, -0.8044936656951904, -0.3352123200893402, -0.6708887815475464, -0.1376473754644394, -0.4914019703865051, 0.29674816131591797, -0.34186312556266785, 0.26919862627983093, 0.16052740812301636, -0.46759507060050964, -0.775780439376831, 0.2211398184299469, 0.28782811760902405, 0.8812840580940247, -0.8829670548439026, 0.6953693628311157, 0.7007960081100464, -0.40217721462249756, -0.979917049407959, -0.10832704603672028, -0.05604758858680725, -1.0429413318634033, 1.0910180807113647, -0.02390957809984684, -0.39522573351860046, -0.2856990098953247, -0.5868692994117737, -0.888687789440155, 0.8893111348152161, 0.5725191235542297, -0.676519513130188, -0.3506992757320404, 0.1863981932401657, 0.8075785636901855, -0.6780655980110168, 0.2960996925830841, 0.8874362707138062, 0.4576016962528229, 0.32345324754714966, -1.1482187509536743, -0.14763350784778595, 0.008559882640838623, 0.021567808464169502, 0.036150503903627396, -0.3722675144672394, 1.03867769241333, -0.5647830963134766, -0.15173526108264923, 0.25806277990341187, 0.5955048203468323, 0.5024648308753967, 0.5663106441497803, 0.5550980567932129, 0.7627145648002625, 0.38231444358825684, -0.06059693917632103, 1.387369155883789, 0.0845487043261528, 0.277715265750885, 1.0073298215866089, -0.29820695519447327, 1.037703275680542, 0.5274701118469238, -0.35506126284599304, 0.7358621954917908, 0.6206762194633484, 0.42095983028411865, 0.1332816630601883, 0.46141472458839417, 0.06688939034938812, -0.2971436083316803, 0.2920856773853302, -0.17635773122310638, 0.43012112379074097, 0.49688154458999634, -0.38780874013900757, -0.2871662378311157, -0.1420959234237671, -0.08708414435386658, 0.40246912837028503, -0.4372178912162781, 0.6761402487754822, 0.3924599289894104, -0.6171274781227112, 0.8750869035720825, -0.08824148029088974, 0.5193288922309875, -0.13882367312908173, -0.12083516269922256, -0.08596237003803253, 0.24403485655784607, -0.09584565460681915, -1.1180752515792847, 0.31352123618125916, -0.06144491210579872, -0.06635847687721252, 0.18075351417064667, 0.4481225907802582, -0.18586212396621704, -0.5772685408592224, 0.21966774761676788, 0.5317143201828003, 0.38721802830696106, 0.1263662576675415, -0.6760653257369995, -0.004607024136930704, -0.11840490996837616, -0.03370518237352371, 0.11523458361625671, 0.3265331983566284, -0.5199152827262878, 1.2648457288742065, 0.2900314927101135, 0.270795077085495, 0.2563299536705017, -0.0628068670630455, 0.8133618831634521, -0.7708688974380493, -0.19535446166992188, -0.8737706542015076, 0.3810613751411438, -0.08393549919128418, -0.4000062048435211, 0.4066617786884308, 0.39370158314704895, 0.8406808376312256, -0.20844291150569916, 0.47624436020851135, 0.2813788652420044, 0.5938245058059692, -0.435482919216156, 0.3646834194660187, -0.4031817317008972, 0.2171226143836975, -0.48422208428382874, -1.393627643585205, -0.44805237650871277, 0.7690525054931641, -0.49882635474205017, -0.052857376635074615, 1.0954419374465942, 0.657810389995575, -0.11632019281387329, -0.06555531919002533, 0.27713942527770996, 0.26552000641822815, 0.2470722645521164, 0.9707533717155457, 1.2206695079803467, -0.06285260617733002, 0.5641205310821533, -0.06068791076540947, -0.1180691048502922, -0.28923818469047546, -0.7584956884384155, -0.9479212164878845, -0.3542706072330475, -0.2436145544052124, -0.27888768911361694, 0.1278240978717804, 0.8865371942520142, 0.5986062288284302, -0.6370110511779785, -0.33379051089286804, -0.08778680115938187, 0.26309385895729065, -0.3453337252140045, -0.1748744249343872, 0.5251320004463196, 0.2775416374206543, -0.7457401156425476, 0.0026297203730791807, 0.2359417825937271, -0.0035748279187828302, -0.6358294486999512, -0.22252704203128815, 0.11735639721155167, 0.1845853179693222, 0.43373745679855347, 0.32044246792793274, -1.170049786567688, -0.5824387073516846, -0.03402763977646828, -0.29040026664733887, 0.36849814653396606, 0.961414098739624, -0.861802339553833, 0.5168602466583252, 0.4132467806339264, 0.5092428922653198, 0.44897204637527466, 0.08656884729862213, 0.46026167273521423, -0.2782328724861145, 0.26579055190086365, 0.28989148139953613, 0.5405951142311096, 0.46307334303855896, -0.04872001335024834, 0.4239075481891632, 0.26595810055732727, -0.3846312463283539, -0.5573664307594299, 0.4692554473876953, -1.0560798645019531, -0.2997363805770874, 1.1715489625930786, -0.13052533566951752, -0.4286019802093506, -0.2710442841053009, -0.42442676424980164, -0.30897098779678345, -0.40149205923080444, 1.009254813194275, 0.8771976232528687, -0.38131681084632874, -0.3731901943683624, -0.19268111884593964, -0.01101356279104948, 0.1589532494544983, -0.8158485889434814, -0.08509042859077454, 0.3215060830116272, 0.34436407685279846, 0.24939237534999847, 0.3077367842197418, 0.02414504438638687, 0.6555663347244263, 0.06649374961853027, 0.20190472900867462, 0.013334282673895359, -0.15167821943759918, -0.13142584264278412, -0.03272789344191551, 0.4409410357475281, -0.01620323769748211 ]
http://arxiv.org/abs/2403.08377v1
http://arxiv.org/pdf/2403.08377v1
Learning to Describe for Predicting Zero-shot Drug-Drug Interactions
2024-03-13T09:42:46
2024-03-13T09:42:46
Fangqi Zhu, Yongqi Zhang, Lei Chen, Bing Qin, Ruifeng Xu
cs.CL
cs.CL
Adverse drug-drug interactions~(DDIs) can compromise the effectiveness of concurrent drug administration, posing a significant challenge in healthcare. As the development of new drugs continues, the potential for unknown adverse effects resulting from DDIs becomes a growing concern. Traditional computational methods for DDI prediction may fail to capture interactions for new drugs due to the lack of knowledge. In this paper, we introduce a new problem setup as zero-shot DDI prediction that deals with the case of new drugs. Leveraging textual information from online databases like DrugBank and PubChem, we propose an innovative approach TextDDI with a language model-based DDI predictor and a reinforcement learning~(RL)-based information selector, enabling the selection of concise and pertinent text for accurate DDI prediction on new drugs. Empirical results show the benefits of the proposed approach on several settings including zero-shot and few-shot DDI prediction, and the selected texts are semantically relevant. Our code and data are available at \url{https://github.com/zhufq00/DDIs-Prediction}.
[ -0.010176796466112137, -0.7987199425697327, 0.9634804129600525, -0.03616437688469887, 0.05956589803099632, 0.09226467460393906, 0.1838085800409317, -0.6209947466850281, 0.41016867756843567, 0.4717724025249481, -0.67109215259552, -0.5668485164642334, -0.7339820861816406, 0.1648203432559967, -0.12671127915382385, 1.3758623600006104, -0.22335588932037354, 0.13935695588588715, -0.15624424815177917, 0.06520780175924301, -0.7616778016090393, -0.2464226633310318, -0.6104730367660522, -0.5844880938529968, 0.7675124406814575, 0.2763604521751404, 0.12123356759548187, 0.23240986466407776, 0.4978890120983124, 0.3264046907424927, 0.026792673394083977, -0.24785205721855164, -0.4514845609664917, 0.37794989347457886, -0.16817519068717957, -0.3386510908603668, -0.3773305416107178, -0.03187791630625725, 0.1972908079624176, 0.5226122140884399, -0.1621386706829071, -0.1899840235710144, -0.517136812210083, 0.42105457186698914, -0.9050004482269287, 0.19142191112041473, -0.4969313442707062, 0.38861027359962463, 0.04507603868842125, -0.2739052474498749, -0.35292425751686096, 0.07709157466888428, 0.3719584345817566, -0.8691827058792114, -0.2411908507347107, -0.14899711310863495, 0.8961502313613892, 0.12325828522443771, -0.5441769957542419, -0.3992184102535248, -0.679656982421875, 0.7079382538795471, -0.6877288818359375, -0.017861656844615936, 0.2553134262561798, 0.6505528092384338, -0.3465386927127838, -0.4570218622684479, -0.8258761763572693, 0.13993589580059052, -0.1793891191482544, 0.15324503183364868, -0.0157807357609272, 0.23182110488414764, -0.11865711212158203, 0.13913726806640625, -0.3617672324180603, 0.2695300579071045, -0.49095210433006287, -0.012934528291225433, 0.5671360492706299, 0.5067636966705322, 0.40609294176101685, -0.48319804668426514, -0.567836344242096, 0.3849049508571625, -0.41640010476112366, -0.07446493208408356, -0.0738651230931282, 0.3839499056339264, -0.2758693993091583, 0.5968001484870911, -0.20681454241275787, 0.5863426923751831, 0.41959890723228455, -0.059825263917446136, 0.42688092589378357, -0.390188992023468, -0.445616215467453, 0.18118424713611603, 1.017090916633606, 0.630569338798523, 0.14119549095630646, -0.2458273321390152, -0.030120374634861946, -0.09261158108711243, 0.13119661808013916, -1.0174304246902466, -0.18333593010902405, 0.8195228576660156, -0.34086117148399353, -0.8178022503852844, -0.11226736754179001, -1.1705292463302612, -0.7695766091346741, -0.10253261774778366, 0.7451503276824951, -0.6655294895172119, -0.19573014974594116, -0.003866290207952261, -0.29390406608581543, 0.201090008020401, 0.2013096958398819, -0.8170191049575806, 0.3213808834552765, 0.422873318195343, 0.6985443234443665, -0.3466286063194275, -0.5163236260414124, -0.7228728532791138, 0.550499439239502, -0.2607589364051819, 1.0887902975082397, -0.3247039318084717, -0.3723343312740326, 0.21272340416908264, -0.08536086976528168, -0.14042136073112488, -0.3473023772239685, 0.5885069370269775, -0.24747145175933838, 0.212144136428833, 0.05856495723128319, -0.7047135233879089, 0.011436082422733307, 0.18376895785331726, -0.7058503031730652, 0.0715794786810875, -0.009600848890841007, -1.0978434085845947, 0.6035104990005493, -0.570441722869873, -0.41914573311805725, 0.08185399323701859, -0.17604385316371918, -0.7032495737075806, 0.08470523357391357, 0.01440846361219883, 0.5073555111885071, 0.26195278763771057, 0.48708784580230713, -0.5966835618019104, -0.5348323583602905, 0.644680917263031, -0.04620884731411934, 0.5459023118019104, 0.2482958883047104, 0.05221683531999588, 0.3080354630947113, -0.8828292489051819, 0.0057168882340192795, 0.03285800665616989, -0.18570488691329956, -0.2206222116947174, -0.3364764153957367, 0.06089666485786438, 0.331695556640625, 0.019981369376182556, -0.8213457465171814, 0.03368329629302025, -0.4495142102241516, 0.12260618805885315, 0.687896728515625, 0.6138062477111816, 0.4994148910045624, -0.329397052526474, 0.32300764322280884, 0.16006208956241608, 0.3049315810203552, -0.2013750821352005, -0.4329926669597626, -0.27590444684028625, -0.05759255960583687, 0.543775737285614, 0.688928484916687, -1.0202025175094604, 0.05964922904968262, -0.26196911931037903, -0.20784637331962585, -0.1427951157093048, -0.11313099414110184, 0.5084660053253174, 0.30403801798820496, 0.25498780608177185, -0.011208703741431236, -0.6876600384712219, -0.3255871832370758, -0.11358526349067688, -0.08513913303613663, -0.2668624222278595, 0.4453028738498688, 0.36400288343429565, -0.47166404128074646, 0.8190333843231201, -0.8131812214851379, -0.6559803485870361, -0.37919315695762634, 0.44941118359565735, 0.07880128920078278, 0.030517207458615303, 0.41184523701667786, -0.39654475450515747, -0.4976325035095215, 0.03549669310450554, -0.8113517761230469, -0.056676045060157776, -0.2545500099658966, -0.07907022535800934, 0.1526653915643692, 0.412476122379303, -0.43236953020095825, 0.4251731038093567, 0.40766867995262146, -0.3379449248313904, 0.10413657873868942, -0.44268491864204407, 0.2724055349826813, -1.1189934015274048, -0.08856061846017838, 0.4483112096786499, 0.448954701423645, -0.9982199668884277, -0.501085102558136, 0.03838026151061058, -0.17282766103744507, -0.6289066076278687, 0.8692631721496582, -0.21010690927505493, 0.3725273609161377, -0.2656783163547516, 0.0553746223449707, -0.09767797589302063, 0.5063883066177368, 0.17015203833580017, 0.3920612037181854, 0.580244779586792, -0.6471417546272278, 0.058663830161094666, 0.3351043462753296, -0.07658941298723221, 0.5084211826324463, -0.4897351562976837, -0.5485146045684814, -0.26551130414009094, 0.2661804258823395, -0.5895509123802185, -0.38453108072280884, 0.3965935707092285, -0.6796627640724182, 0.6470963954925537, -0.23417852818965912, 0.0870376005768776, -0.2080874741077423, -0.6157723069190979, 0.3453274071216583, 0.09368482232093811, -0.2860630750656128, 0.545293390750885, 0.7915458679199219, -0.1516551822423935, -0.7209628224372864, -0.5621430277824402, 0.14523549377918243, 0.01774001307785511, 0.11376959830522537, 0.4279678463935852, -0.13244035840034485, -0.023702338337898254, 0.12784233689308167, 0.16121891140937805, -0.7030977010726929, -0.1445397436618805, 0.5461020469665527, 0.6829436421394348, 0.3209448456764221, 0.30056852102279663, 0.11738857626914978, -0.35810983180999756, 0.02602108009159565, 0.1438141167163849, 0.033560026437044144, 0.33147957921028137, 0.23235557973384857, -0.5451573133468628, 0.3174482583999634, 0.4550579786300659, 0.05402194336056709, 0.6284639835357666, 0.3547211289405823, -0.279509574174881, -0.14950412511825562, -0.12550821900367737, 0.07436130940914154, -0.4217582941055298, 0.367227703332901, -0.35957783460617065, -0.32506513595581055, 0.041458938270807266, -0.19076085090637207, -0.35463953018188477, 0.09620314836502075, 0.4261392056941986, 0.04518096148967743, 0.6731452941894531, 0.776713490486145, 0.0021287845447659492, 0.44846609234809875, -0.24429473280906677, 0.38619092106819153, -0.7513299584388733, -0.5635541677474976, 0.0012597095919772983, -0.09335633367300034, -0.6801836490631104, -0.4850885570049286, 0.2858993709087372, -0.07578481733798981, -0.2326546460390091, 0.3320712149143219, -0.22278887033462524, 0.5057365298271179, 0.03878257796168327, -0.031749628484249115, 0.11220186948776245, -0.022364763543009758, -0.174076646566391, 0.05380808189511299, -0.40018323063850403, 0.04303821548819542, 1.481226921081543, 0.20896930992603302, 0.764360785484314, 0.06800120323896408, 0.8000141978263855, 0.11246988922357559, 0.2725940942764282, -0.6610397696495056, 0.3905412554740906, -0.16159670054912567, -0.31191587448120117, -0.20909030735492706, -0.6305840015411377, -1.1587148904800415, -0.2568896412849426, -0.8115702271461487, -0.6960107088088989, 0.23783205449581146, -0.4838293790817261, -0.8498259782791138, 0.2116423398256302, -0.8827435970306396, 0.6828552484512329, -0.24507588148117065, -0.2680571675300598, -0.06676801294088364, -0.6499211192131042, 0.3429531455039978, -0.049567293375730515, 0.39991405606269836, -0.22856177389621735, -0.025660960003733635, 0.33565157651901245, -0.2788268029689789, 0.7797634601593018, -0.13755887746810913, -0.12453393638134003, 0.12465324252843857, -0.02641097642481327, -0.037959519773721695, 0.13521748781204224, -0.04900587350130081, 0.3538849651813507, 0.1763422191143036, -0.3543471097946167, -0.8603637218475342, 1.0294122695922852, -0.6565859317779541, 0.08423059433698654, -0.5645171403884888, -0.21293427050113678, -0.12925191223621368, 0.15669652819633484, 0.2013324648141861, 0.20288266241550446, -0.47099465131759644, -0.7819797396659851, 0.589942991733551, -0.6087172627449036, 0.47880232334136963, 1.0185277462005615, -0.28021562099456787, -0.7182213664054871, 1.098702073097229, 0.20141419768333435, -0.09128111600875854, 0.7512320876121521, 0.00464017316699028, -0.18929387629032135, -0.5791727900505066, -0.5113895535469055, 0.23833781480789185, -0.30092117190361023, -0.39635783433914185, -0.6462880969047546, -0.4320168197154999, -0.5158257484436035, 0.07416316121816635, 0.07086460292339325, -0.3782626688480377, -0.15632417798042297, -0.32595589756965637, 0.454796701669693, 1.0550227165222168, 0.019686182960867882, 0.0011029228335246444, -0.793725848197937, 0.29138290882110596, 0.27740800380706787, 1.0378227233886719, -0.20985837280750275, -0.15622134506702423, -0.24328698217868805, -0.20031799376010895, -0.35232439637184143, -1.0729303359985352, 0.4667183756828308, 0.16969768702983856, 0.5926511883735657, 0.5397570729255676, 0.35088402032852173, 0.2570256292819977, -0.723905086517334, 0.26299259066581726, 0.40075409412384033, -0.626878023147583, 0.8717643022537231, -0.2543564438819885, -0.06396567076444626, 0.45391809940338135, 0.5785924792289734, -0.5897767543792725, -0.24340975284576416, -0.3451818823814392, -0.765981137752533, 0.7031686902046204, 0.2368522733449936, -0.10209706425666809, -0.32624197006225586, 0.5165166854858398, 0.15702596306800842, 0.25130802392959595, -0.5912857055664062, -0.40839219093322754, 0.03836701437830925, -0.3847588300704956, 0.11466647684574127, -0.43040379881858826, 0.19427935779094696, -0.15958382189273834, 0.742274284362793, 0.0815061628818512, 0.292733758687973, 0.04295264557003975, 0.10733742266893387, -0.521721601486206, 0.5026476979255676, 0.2727951109409332, 0.3378799259662628, -0.6150383353233337, -0.18947571516036987, 0.06230777129530907, -0.44852736592292786, 0.21085062623023987, 0.31303003430366516, -0.15815557539463043, -0.08449714630842209, 0.12097309529781342, 0.9079519510269165, 0.2613154947757721, -1.0848753452301025, 0.8016741871833801, -0.22881612181663513, -0.22798670828342438, -0.44344237446784973, -0.0477893091738224, -0.5038427114486694, 0.25431373715400696, 0.014203537255525589, -0.022628195583820343, 0.3388471305370331, -0.6074923872947693, 0.6731595396995544, 0.27661728858947754, -0.7870301008224487, -0.2198621779680252, 0.4442031979560852, 0.3227958679199219, -0.28110069036483765, 0.12282508611679077, -0.37053292989730835, -0.17005589604377747, 0.3078921139240265, 0.20084531605243683, 0.7371658682823181, -0.20177976787090302, 0.7878613471984863, 0.6286104917526245, -0.534108579158783, 0.4611321985721588, -0.015777800232172012, 0.33538615703582764, -0.7283933758735657, -0.40512824058532715, -0.42855605483055115, -0.4525716304779053, 0.15375743806362152, -0.28840941190719604, 0.674373984336853, -0.6079197525978088, -0.09166719764471054, 0.40880468487739563, 0.4414774477481842, -0.05515381321310997, 0.14829611778259277, 0.24819526076316833, 0.270469605922699, -1.0674341917037964, 0.8969256281852722, 0.4928452670574188, -0.880908727645874, -0.37844234704971313, 0.2108563482761383, 0.050072457641363144, -0.38367486000061035, 0.4665776491165161, 0.19449657201766968, 0.24974098801612854, -0.43416815996170044, -0.07370680570602417, -0.697260320186615, 1.2311773300170898, -0.028280826285481453, -0.23050591349601746, 0.004702352918684483, 0.12030379474163055, 0.5390305519104004, -0.28101983666419983, 0.5132096409797668, 0.4215835928916931, 0.1486475169658661, 0.5170960426330566, -0.6071602702140808, 0.05591276288032532, -0.4290176033973694, -0.1482866108417511, 0.35797566175460815, -0.03990890458226204, 0.9220849871635437, -0.7225881218910217, -0.33926835656166077, 0.19492556154727936, 0.22215832769870758, 0.10724476724863052, 0.6911078095436096, 0.07615983486175537, 0.6078527569770813, 0.5083500742912292, 0.2819836437702179, 1.1130319833755493, -0.20196793973445892, 0.3585607409477234, 1.1887776851654053, -0.6379122138023376, 1.0447521209716797, 0.3391178846359253, -0.18320418894290924, 0.8320029377937317, 0.46861106157302856, -0.22275161743164062, 0.7608301043510437, 0.2508953809738159, -0.544387698173523, 0.2423533946275711, -0.1625223308801651, 0.09150475263595581, 0.1793670654296875, 0.2934076189994812, 0.12734772264957428, -0.43220242857933044, 0.33725327253341675, -0.24957212805747986, 0.15475377440452576, -0.039523765444755554, 1.2197487354278564, -0.38931745290756226, -0.3952833116054535, 0.45130008459091187, 0.03519813343882561, 0.8130466341972351, -0.3484102487564087, -0.2884203791618347, -0.05659807473421097, 0.34229379892349243, -0.1263372302055359, -0.8369099497795105, 0.2184751331806183, -0.3678049147129059, -0.4856637418270111, 0.29183366894721985, 0.7683051824569702, -0.6457127332687378, -0.452085942029953, 0.5496246814727783, 0.40267351269721985, -0.048834178596735, 0.05255403742194176, -0.6897649765014648, -0.07048191875219345, -0.07423914968967438, 0.33203238248825073, 0.8686367869377136, 0.8114557266235352, 0.1256381869316101, 0.6825459599494934, 0.3780573308467865, 0.37748417258262634, -0.3267956078052521, -0.11106210947036743, 0.5838180780410767, -0.698052704334259, -0.19933225214481354, -0.47705793380737305, 0.3997613489627838, -0.30656230449676514, -0.12201663106679916, 0.2595351040363312, 0.49963322281837463, 0.33312147855758667, 0.05286349356174469, 0.7814470529556274, 0.20481842756271362, 0.8996240496635437, -0.32448193430900574, 0.8837642073631287, -0.21550698578357697, 0.4172944724559784, -0.29833221435546875, -0.21791325509548187, -0.280496209859848, 0.20690935850143433, -0.36901575326919556, -0.15054184198379517, 0.8374212980270386, 0.5080031156539917, 0.31563451886177063, -0.1961774230003357, 0.37792614102363586, 0.4268152117729187, 0.10686177015304565, 0.8359866738319397, 0.3588697612285614, -0.7485935091972351, 0.6876731514930725, -0.4642173647880554, -0.402694433927536, 0.04398764669895172, -0.7687581777572632, -0.8860812783241272, -0.45293325185775757, -0.4187420904636383, -0.19903169572353363, 0.2008402794599533, 0.6878632307052612, 0.452770859003067, -1.092775583267212, -0.0021286215633153915, -0.3422434628009796, 0.4069201350212097, -0.00008763714868109673, -0.25519195199012756, 0.21271765232086182, -0.3885282278060913, -0.6147075891494751, 0.19910790026187897, 0.4902803599834442, 0.39006224274635315, 0.05706718564033508, -0.18718774616718292, -0.4124298095703125, 0.35167163610458374, 0.5568149089813232, 0.31937041878700256, -0.5110774636268616, 0.2577070891857147, -0.17866873741149902, -0.05674196034669876, -0.17566001415252686, 0.9709863066673279, -1.1487447023391724, 0.45481687784194946, 0.12844328582286835, 0.6057459712028503, 0.3466914892196655, -0.35498490929603577, 0.7678154706954956, -0.432181179523468, -0.042365074157714844, 0.1484164148569107, 0.08239603787660599, 0.02701343595981598, -0.5418424606323242, 0.16066576540470123, 0.0680437758564949, -0.34805411100387573, -0.4086163640022278, 0.1583181470632553, -0.7750227451324463, -0.9047805070877075, 0.8936986327171326, -0.15254557132720947, -0.4836737811565399, -0.30484700202941895, -0.20753668248653412, 0.07150490581989288, -0.5175976753234863, 1.0294055938720703, 0.19986048340797424, -0.10664864629507065, -0.3106118440628052, -0.742323100566864, 0.6830315589904785, -0.02941312827169895, -0.7801194787025452, 0.11726266145706177, 0.5778330564498901, 0.3198504149913788, -0.030869556590914726, 0.8635454773902893, -0.04162052646279335, 0.01907714083790779, -0.021276285871863365, 0.033588655292987823, -0.009487860836088657, -0.22866494953632355, -0.28650304675102234, -0.02856077440083027, -0.29512646794319153, -0.2961965799331665 ]
http://arxiv.org/abs/2403.08375v1
http://arxiv.org/pdf/2403.08375v1
Translating between SQL Dialects for Cloud Migration
2024-03-13T09:38:39
2024-03-13T09:38:39
Ran Zmigrod, Salwa Alamir, Xiaomo Liu
cs.DB
cs.DB, cs.AI, cs.CL, cs.SE
Migrations of systems from on-site premises to the cloud has been a fundamental endeavor by many industrial institutions. A crucial component of such cloud migrations is the transition of databases to be hosted online. In this work, we consider the difficulties of this migration for SQL databases. While SQL is one of the prominent methods for storing database procedures, there are a plethora of different SQL dialects (e.g., MySQL, Postgres, etc.) which can complicate migrations when the on-premise SQL dialect differs to the dialect hosted on the cloud. Tools exist by common cloud provides such as AWS and Azure to aid in translating between dialects in order to mitigate the majority of the difficulties. However, these tools do not successfully translate $100\%$ of the code. Consequently, software engineers must manually convert the remainder of the untranslated database. For large organizations, this task quickly becomes intractable and so more innovative solutions are required. We consider this challenge a novel yet vital industrial research problem for any large corporation that is considering cloud migrations. Furthermore, we introduce potential avenues of research to tackle this challenge that have yielded promising preliminary results.
[ -0.7084816694259644, -0.6605381965637207, 0.7164124846458435, 0.4440094530582428, -0.2841298580169678, 0.0806097611784935, -0.19260627031326294, -0.46394431591033936, 0.17412453889846802, 0.896070659160614, -0.7481891512870789, -0.1428837776184082, -0.11045809090137482, 0.2488684505224228, -0.6338681578636169, 0.773291826248169, 0.010467401705682278, 0.12887462973594666, -0.3058122992515564, -0.10255714505910873, -0.32829007506370544, -0.9976239800453186, -0.26559221744537354, 0.19736720621585846, -0.19926410913467407, 0.2848651111125946, 0.7717838287353516, 0.5067241787910461, 0.6764721274375916, 0.30874761939048767, -0.012574260123074055, 0.032731011509895325, -0.21506784856319427, -0.06988959014415741, -0.1815492808818817, -0.4419839084148407, -0.054782699793577194, -0.8081415891647339, 0.23445548117160797, 0.9618119597434998, -0.5441649556159973, 0.16046014428138733, -0.036951515823602676, 1.0194604396820068, -0.506625235080719, 0.038716282695531845, -0.8706750273704529, 0.09237045049667358, -0.2922964096069336, 0.16802333295345306, -0.07391529530286789, -0.2948943078517914, -0.23694553971290588, -0.42567163705825806, 0.27166739106178284, 0.003666820703074336, 0.6353833079338074, 0.024301547557115555, -0.4794234335422516, -0.08638393878936768, -1.178955078125, 0.7420371174812317, -0.6817712783813477, 0.48912501335144043, 0.0723445937037468, 0.5425639748573303, -0.21714653074741364, -0.7251958250999451, -0.37273234128952026, 0.04338008910417557, 0.11832854151725769, -0.1645214706659317, -0.11385191977024078, -0.23247450590133667, 0.13662011921405792, 0.44727060198783875, -0.13474561274051666, 0.07502110302448273, -0.4942818284034729, -0.09709874540567398, 0.8135785460472107, 0.22602039575576782, 0.03261401504278183, 0.09723697602748871, -0.20894339680671692, 0.10253018885850906, -0.7376821637153625, -0.02610834501683712, 0.07347029447555542, 0.5155666470527649, 0.15480443835258484, 0.24273034930229187, -0.32165929675102234, 0.5177662372589111, -0.07460858672857285, 0.36328938603401184, 0.14495867490768433, -0.7121942043304443, -0.14740140736103058, 0.1704736202955246, 0.28751683235168457, 0.1974942684173584, -0.11731820553541183, -0.41270843148231506, -0.3638550639152527, -0.17218010127544403, 0.5066215991973877, -0.5961045026779175, -0.10056333243846893, 0.49784329533576965, -0.5173748135566711, 0.10702487081289291, 0.002653895178809762, -0.8929847478866577, -0.6882011890411377, -0.28908446431159973, 0.2976033687591553, -0.1759485900402069, -0.4495801329612732, 0.19555890560150146, 0.14675754308700562, 0.5697155594825745, 0.6521990299224854, -0.6516612768173218, 0.5022339224815369, 0.9454343914985657, 0.9697544574737549, -0.1433171033859253, 0.15346132218837738, -0.15546993911266327, 0.07274721562862396, -0.5512681603431702, 0.527120053768158, 0.08872047811746597, -0.5636767745018005, 0.37424248456954956, 0.21993625164031982, -0.038305751979351044, -0.6779135465621948, 0.4302070438861847, -0.4567922055721283, 0.06823541224002838, -0.5418562889099121, -0.2487797737121582, 0.0114150270819664, 0.08225686103105545, -0.552313506603241, 0.6454662084579468, 0.38576680421829224, -0.042842742055654526, 0.03266432136297226, -0.5372559428215027, -0.5016506910324097, 0.2959015667438507, -0.09715326130390167, -0.2891818881034851, 0.320657879114151, 0.33597588539123535, 0.10751455277204514, -0.839199960231781, 0.08267032355070114, -0.3997126519680023, -0.030587758868932724, 0.2638719379901886, 0.34975942969322205, 1.1084351539611816, 0.6061281561851501, -0.3740237355232239, -0.2893972396850586, -0.5684922337532043, 0.22418630123138428, -0.10210077464580536, 0.18248280882835388, -0.32708439230918884, 0.2976773679256439, 0.1615733951330185, 0.22789983451366425, 0.22653290629386902, -0.4734659790992737, 0.26326704025268555, -0.25173234939575195, 0.7386865615844727, 0.2748943865299225, 0.11614098399877548, 0.5086923241615295, -0.037844374775886536, 0.5500794649124146, 0.012903353199362755, 0.5135104060173035, 0.18721598386764526, -0.20143036544322968, -0.9512551426887512, -0.10524670034646988, 0.13263177871704102, 0.7611121535301208, -0.7966558337211609, 0.45330357551574707, -0.584219753742218, -0.5435655117034912, -0.7637006640434265, 0.28558143973350525, -0.046801261603832245, 0.04134005680680275, 0.6561641693115234, -0.4026585817337036, -0.4787334203720093, -1.1093755960464478, -0.2468196302652359, -0.06668663024902344, -0.09621211886405945, 0.15966306626796722, 0.31813931465148926, -0.24137969315052032, 0.9547339081764221, -0.5542330741882324, -0.815829336643219, -0.08682241290807724, -0.11941982060670853, 0.25108832120895386, 0.405961275100708, 0.6782999038696289, -0.8284537196159363, -0.38914892077445984, 0.5031195878982544, -0.606391966342926, -0.18870937824249268, -0.4627165198326111, -0.06402260065078735, 0.36693355441093445, 0.7860060930252075, -0.6383252143859863, 0.13696251809597015, 0.3280268609523773, -0.008251143619418144, 0.561198353767395, 0.02618977054953575, 0.39121872186660767, -1.1176401376724243, 0.14461028575897217, -0.3942374885082245, -0.03623754903674126, -0.6730368137359619, 0.3777329623699188, 0.06269977986812592, -0.42079851031303406, -0.6101481914520264, -0.123920738697052, -0.9372743368148804, -0.23345886170864105, 0.20947058498859406, -0.19558386504650116, -0.15071995556354523, 0.03636481985449791, -0.1443505734205246, 0.7896546125411987, 0.4806719124317169, -0.8798944354057312, 0.5527999401092529, 0.599860429763794, -0.39688998460769653, 0.7649169564247131, -0.0937068983912468, 0.29258787631988525, 0.20896859467029572, 0.07974141091108322, -0.5852072238922119, 0.09117221087217331, -0.2120906412601471, -0.20848101377487183, -0.10685614496469498, -0.5983684062957764, -0.339994877576828, -0.3116167485713959, 0.022614343091845512, -0.33031928539276123, 0.713588535785675, -0.25726068019866943, 0.4847375452518463, 0.22548271715641022, -0.29639625549316406, -0.22199054062366486, -1.2595603466033936, 0.6398210525512695, -0.4209147095680237, -0.7699396014213562, 0.48228147625923157, 0.3087843358516693, -0.5874060988426208, 0.1724306046962738, -0.21115444600582123, -0.5792790055274963, 0.13651326298713684, -0.02053087390959263, 0.04246790334582329, -0.5185420513153076, -0.22611454129219055, 0.06438211351633072, 0.2961539328098297, 0.3820904493331909, -0.505338728427887, 0.18998095393180847, -0.09853686392307281, -0.27517426013946533, -0.10985971242189407, 0.777350664138794, 0.9053986668586731, -0.335997998714447, 1.3016011714935303, 0.33298438787460327, -0.2600041925907135, -0.46552425622940063, -0.6240909099578857, -0.10835505276918411, -0.48988717794418335, 0.5115360617637634, -0.41757145524024963, -0.2967129647731781, 0.6481908559799194, -0.526604413986206, 0.015336738899350166, 0.3498421609401703, 0.011936238966882229, -0.2568329870700836, 0.7317286133766174, 0.7481431365013123, 0.29201382398605347, 0.6237638592720032, -0.17635035514831543, 0.38926035165786743, -0.44679754972457886, -0.15403889119625092, -0.9219914674758911, 0.03200162947177887, -0.3301495313644409, -0.33289387822151184, 0.6317967176437378, 0.18503880500793457, -0.01196654699742794, 0.7161296010017395, -0.2220000922679901, 0.23066391050815582, -0.06799483299255371, -0.061149995774030685, 0.2406196892261505, 0.4201948940753937, 0.3000108003616333, -0.11459298431873322, -0.5916817784309387, -0.22828173637390137, 0.648359477519989, -0.027346614748239517, 0.3555212616920471, 0.7223357558250427, 0.7917078137397766, 0.5132429599761963, 0.14765335619449615, -0.37741249799728394, 0.672951877117157, -0.4279495179653168, -0.7320088148117065, -0.27407142519950867, -0.5534915924072266, -0.9736663103103638, 0.22694097459316254, -0.5388402342796326, -0.4925019145011902, 0.4939054250717163, 0.06378936022520065, -0.037363264709711075, 0.4168853759765625, -0.7365913987159729, 0.9067373871803284, -0.6744246482849121, -0.42942821979522705, -0.39843034744262695, -0.7362064123153687, -0.07368900626897812, -0.49572521448135376, 0.7520864605903625, 0.2452099323272705, -0.11294496804475784, 0.2892584502696991, -0.866808295249939, 0.36625856161117554, -0.23755262792110443, 0.06188281625509262, 0.19731874763965607, 0.3795774281024933, 0.341341108083725, -0.4814442992210388, -0.4415763318538666, 0.5613200068473816, 0.28614386916160583, -0.4437391459941864, -0.635593831539154, 0.5968416929244995, -0.5632844567298889, -0.5546920299530029, -0.4334259629249573, 0.14807718992233276, -0.49518924951553345, 0.18689222633838654, 0.2931903600692749, 0.032582659274339676, -0.5194522142410278, 0.4380459189414978, 0.5227558612823486, 0.11532972753047943, 0.3199312686920166, 0.5778040289878845, -0.1389094442129135, -0.3916715681552887, 0.5966207981109619, 0.30578505992889404, 0.477974534034729, 0.34692758321762085, -0.14653202891349792, -0.6568366885185242, -0.9125201106071472, -0.7564464211463928, 0.14054462313652039, -0.7070185542106628, -0.03013807162642479, -0.2550543546676636, 0.014539510011672974, -0.5112048983573914, -0.458800345659256, -0.5406463146209717, -0.7023857831954956, -0.4300205409526825, 0.2028626650571823, 0.308122843503952, 0.5668569207191467, 0.321323424577713, 0.10693776607513428, -1.1425175666809082, -0.12352010607719421, -0.018671896308660507, 0.25678735971450806, -0.3152301609516144, -0.5777034163475037, -0.45539551973342896, 0.10462380200624466, -0.028805429115891457, -1.2339056730270386, 0.5438931584358215, 0.35358157753944397, 0.5276951789855957, 0.07737017422914505, 0.3897523581981659, 1.0185960531234741, -0.38775214552879333, 0.7576801776885986, -0.03669445589184761, -1.1898152828216553, 0.42421233654022217, -0.3273639678955078, -0.3497481048107147, 1.0289568901062012, 0.5463696718215942, -0.8303821086883545, 0.08491935580968857, -0.5560210943222046, -1.2978366613388062, 0.5618114471435547, 0.37795260548591614, 0.044005636125802994, 0.5199461579322815, 0.4514590799808502, 0.05712288245558739, 0.607296347618103, -0.24298174679279327, -0.19416791200637817, -0.12670432031154633, 0.16570594906806946, -0.35717469453811646, 0.4364660382270813, -0.14705497026443481, -0.14983904361724854, 0.49782612919807434, 0.15086296200752258, 0.008843879215419292, 0.15052859485149384, -0.38600093126296997, 0.22269193828105927, 0.545495867729187, 0.07847600430250168, 0.5850805044174194, -0.03218038007616997, -0.016551541164517403, 0.2989984154701233, -0.11748895049095154, 0.14662858843803406, -0.03689347580075264, -0.4742943048477173, 0.07716052979230881, -0.039904240518808365, 0.6970378756523132, -0.25288665294647217, -0.4707798957824707, 0.4586787521839142, 0.27105513215065, -0.054011035710573196, -0.6489260792732239, -0.19531705975532532, 0.26764172315597534, -0.09029493480920792, 0.4747191369533539, 0.0026640307623893023, 0.23209983110427856, -0.7192511558532715, 0.07041601836681366, 0.3684997856616974, -0.22612737119197845, -0.1146647036075592, 0.5242036581039429, 0.5734151601791382, -0.5508962273597717, 0.8169252872467041, -0.16000373661518097, -0.48166418075561523, 0.6875207424163818, 0.6049157381057739, 1.1713584661483765, -0.15382732450962067, 0.019787956029176712, 0.20443673431873322, 0.5267261862754822, -0.4618363082408905, 0.1495271921157837, 0.05821119248867035, -0.3044314384460449, 0.06077151000499725, -0.40001562237739563, -0.5517601370811462, -0.181914284825325, -0.7978508472442627, 0.3029668629169464, -0.44550758600234985, -0.2059212028980255, -0.3542219400405884, -0.44282737374305725, -0.43966424465179443, -0.07686787098646164, 0.3182685375213623, 0.7653998732566833, -1.2801637649536133, 0.496380478143692, 0.9950759410858154, -0.355629026889801, -0.1462257206439972, -0.16616494953632355, -0.09824628382921219, -0.3604527711868286, 0.014542029239237309, -0.2827015817165375, -0.22988557815551758, 0.16655756533145905, -0.4139227569103241, -0.7012197971343994, 0.7515329718589783, 0.6278073191642761, -0.5146459937095642, 0.2730289697647095, 0.5221306085586548, 0.8774100542068481, -0.1425987184047699, -0.04871251434087753, 0.5377170443534851, 0.3503849506378174, -0.3521455228328705, -0.9813546538352966, -0.044291991740465164, -0.09610246121883392, 0.18106290698051453, 0.45219939947128296, -0.5469570159912109, 0.9006668925285339, 0.05507659539580345, -0.3173947334289551, -0.29600685834884644, 0.6002906560897827, -0.418170303106308, 0.16896162927150726, 0.5661236643791199, 0.020349951460957527, 0.5062022805213928, -0.03289671987295151, 0.8845856189727783, -0.26259931921958923, 0.4394538402557373, 0.6176995038986206, -0.5850248336791992, 1.041007161140442, 0.7451470494270325, -0.7074202299118042, 0.7031184434890747, 0.4468599259853363, 0.07533733546733856, 0.1780017763376236, 0.0920625850558281, -0.3895995020866394, -0.5719998478889465, 0.032705336809158325, -0.6098410487174988, 0.1738695353269577, 0.45251941680908203, 0.05972447246313095, 0.026129262521862984, -0.36201778054237366, -0.027783451601862907, 0.32353726029396057, -0.3835391104221344, 0.9018452763557434, 0.12480642646551132, -0.6609647274017334, 0.7444044351577759, 0.15746530890464783, 0.2945941388607025, -1.0660927295684814, 0.1771208643913269, -0.4366438388824463, 0.27285751700401306, -0.5887706875801086, -0.5947368741035461, 0.7612130045890808, -0.2803417146205902, 0.3081735372543335, -0.5223084688186646, 0.22598852217197418, -0.3621561527252197, -0.26579466462135315, 0.3662247061729431, 0.6102145910263062, 0.2790660262107849, -0.4764590859413147, -0.6738847494125366, -0.08471005409955978, 0.23447777330875397, 0.30167996883392334, 0.5367019176483154, 0.4615311026573181, -0.4618569612503052, 0.6875084638595581, 0.7229300737380981, 0.26749247312545776, 0.30502572655677795, -0.33038434386253357, 0.5441767573356628, -0.6224706172943115, -0.8397270441055298, -0.5681256651878357, 0.24496270716190338, -0.16354522109031677, -0.05253756418824196, 0.7308984398841858, 0.6980565786361694, 0.5330852270126343, -0.7256572246551514, 0.7478294372558594, -0.40518784523010254, 0.1687580794095993, -0.6469074487686157, 0.8092560768127441, -0.6934813857078552, 0.27673715353012085, -0.19788888096809387, -1.0344102382659912, -0.1047745943069458, 0.44362393021583557, 0.1070408895611763, -0.4095999598503113, 1.0185081958770752, 0.8501845598220825, 0.11516765505075455, -0.02098722569644451, 0.15218126773834229, 0.24026282131671906, 0.28712213039398193, 0.5238644480705261, 0.48775774240493774, -0.3021683692932129, 0.8090344071388245, -0.3675588071346283, 0.010694959200918674, -0.28786420822143555, -1.1820917129516602, -0.03484827280044556, -0.6504731774330139, -0.5749524235725403, -0.6131529808044434, 0.10954397916793823, 0.8764570951461792, 0.5476085543632507, -1.278332233428955, -0.7948358058929443, -0.15231576561927795, -0.21739165484905243, -0.8354366421699524, -0.07619023323059082, 0.08707387745380402, -0.09697948396205902, -0.2407919019460678, 0.3751924932003021, -0.05106824263930321, -0.038309164345264435, -0.2727651000022888, 0.33044978976249695, 0.12288334220647812, -0.0003063849580939859, 0.2835298180580139, 0.6676220893859863, -0.38158881664276123, 0.01453245710581541, -0.06491421163082123, -0.2284328192472458, 0.22453083097934723, 0.9122377634048462, -0.45074838399887085, 0.2495025098323822, 0.5508950352668762, 1.0451070070266724, 0.8724320530891418, 0.2752375602722168, 0.5117383599281311, -0.7386104464530945, 0.11755207926034927, 0.2984461188316345, 0.19445675611495972, 0.4493306279182434, -0.45909973978996277, 0.6321778893470764, 0.5390323996543884, -0.4110366404056549, -0.955237865447998, 0.3152385950088501, -1.0906113386154175, -0.2946520149707794, 1.177832841873169, 0.2359364628791809, -0.10806777328252792, -0.6958390474319458, -0.1998169720172882, -0.0354594886302948, 0.0605296790599823, 0.6420363783836365, 0.6334472894668579, -0.3130088150501251, 0.019347570836544037, -0.5258871912956238, 0.43964698910713196, 0.5008994340896606, -1.0319969654083252, 0.3077486455440521, 0.6113229393959045, 0.20340320467948914, 0.2659763991832733, 0.5974725484848022, -0.12402377277612686, 0.1227581799030304, 0.20347125828266144, 0.5479698181152344, -0.006993964314460754, -0.09489893168210983, -0.7615299224853516, 0.24375507235527039, 0.1862003654241562, -0.19705826044082642 ]
http://arxiv.org/abs/2403.08370v1
http://arxiv.org/pdf/2403.08370v1
SMART: Submodular Data Mixture Strategy for Instruction Tuning
2024-03-13T09:31:50
2024-03-13T09:31:50
H S V N S Kowndinya Renduchintala, Sumit Bhatia, Ganesh Ramakrishnan
cs.CL
cs.CL, cs.AI, cs.LG
Instruction Tuning involves finetuning a language model on a collection of instruction-formatted datasets in order to enhance the generalizability of the model to unseen tasks. Studies have shown the importance of balancing different task proportions during finetuning, but finding the right balance remains challenging. Unfortunately, there's currently no systematic method beyond manual tuning or relying on practitioners' intuition. In this paper, we introduce SMART (Submodular data Mixture strAtegy for instRuction Tuning) - a novel data mixture strategy which makes use of a submodular function to assign importance scores to tasks which are then used to determine the mixture weights. Given a fine-tuning budget, SMART redistributes the budget among tasks and selects non-redundant samples from each task. Experimental results demonstrate that SMART significantly outperforms traditional methods such as examples proportional mixing and equal mixing. Furthermore, SMART facilitates the creation of data mixtures based on a few representative subsets of tasks alone and through task pruning analysis, we reveal that in a limited budget setting, allocating budget among a subset of representative tasks yields superior performance compared to distributing the budget among all tasks. The code for reproducing our results is open-sourced at https://github.com/kowndinya-renduchintala/SMART.
[ -0.4597442150115967, -0.8373636603355408, -0.021273693069815636, 0.06446867436170578, -0.46900591254234314, 0.0976405218243599, -0.2143002599477768, 0.11665709316730499, 0.08703234791755676, 0.3359849452972412, -0.8029032945632935, -0.2915300726890564, -0.4589766561985016, -0.4263967275619507, -0.37152227759361267, 1.0744708776474, 0.19875389337539673, 0.3057810962200165, -0.5418417453765869, 0.07611584663391113, -1.0066726207733154, -0.09443605691194534, -0.16370674967765808, -0.4819009304046631, 0.37840166687965393, 0.8832300305366516, 0.4873148500919342, 1.0988332033157349, 0.48139309883117676, 0.34555724263191223, 0.326641321182251, 0.4225936233997345, -0.47778046131134033, 0.06436740607023239, -0.42350465059280396, -0.699370801448822, -0.5054132342338562, -0.06904060393571854, 0.2314961552619934, 0.4706647992134094, -0.283791720867157, 0.18890677392482758, -0.020446067675948143, 0.7642288208007812, -0.8155240416526794, 0.11350630223751068, -0.5004958510398865, 0.0630197525024414, -0.5415562391281128, -0.6386309266090393, -0.09001270681619644, -0.2811358869075775, -0.02681051380932331, -0.469233900308609, 0.31674787402153015, 0.05531392619013786, 0.469950795173645, 0.5327516794204712, -0.07745269685983658, -0.13164092600345612, -0.6363010406494141, 1.2367273569107056, -0.6587421894073486, 0.3362349271774292, 0.3656463921070099, 0.19010138511657715, -0.07788043469190598, -0.3922474682331085, -0.43651914596557617, 0.22150902450084686, 0.17086458206176758, 0.3261469602584839, 0.2864943742752075, 0.09927880018949509, 0.05446581542491913, 0.35798710584640503, -0.2344697117805481, 0.09713320434093475, -0.5403182506561279, -0.10059373080730438, 0.5538823008537292, 0.17947398126125336, 0.22903896868228912, 0.14808595180511475, -0.23066842555999756, -0.04449506476521492, -0.2916221022605896, 0.03427746519446373, 0.814800500869751, 0.26399707794189453, 0.006047606933861971, 0.6404334902763367, -0.33409926295280457, 0.9174689054489136, 0.43733617663383484, -0.5411772131919861, 0.15069906413555145, -0.6082537174224854, -0.17613035440444946, 0.28900185227394104, 0.2776404917240143, 0.46975263953208923, 0.6405889391899109, 0.005415860563516617, -0.4043762981891632, -0.0115866893902421, 0.44711238145828247, -0.7250826358795166, -0.7354440689086914, 0.19980227947235107, -0.22097896039485931, -0.1882961541414261, 0.0751461386680603, -0.6295713186264038, -0.2673790454864502, -0.7198442220687866, 0.46295616030693054, -0.5708404779434204, 0.009771927259862423, 0.008674770593643188, -0.054601650685071945, 0.05279636010527611, 0.10369547456502914, -1.4092859029769897, 0.3931046724319458, 1.0307828187942505, 0.5177313685417175, -0.1603746861219406, -0.12293168157339096, -0.6249357461929321, 0.003278630319982767, -0.3331413269042969, 0.9169380068778992, -0.5914615392684937, -0.40830153226852417, -0.43965083360671997, -0.11461465060710907, -0.4935947358608246, -0.9427282214164734, 0.2802136540412903, -0.25133079290390015, 0.10832436382770538, -0.10430119186639786, -0.6573782563209534, -0.05749615281820297, -0.036361247301101685, -0.5838257670402527, 0.9220373034477234, 0.3645865321159363, -0.6266170144081116, 0.4206579029560089, -0.37543559074401855, -0.7955008149147034, 0.21885399520397186, -0.258364200592041, -0.5796319842338562, 0.24358664453029633, 0.16454260051250458, 0.37740451097488403, -0.24115046858787537, 0.23166683316230774, -0.028428368270397186, -0.6550516486167908, 0.08395382016897202, -0.29430362582206726, 0.5093494057655334, 0.1811991184949875, -0.42358800768852234, 0.30337798595428467, -0.4594980478286743, 0.4454423487186432, -0.2130155861377716, -0.265198677778244, -0.5240706205368042, 0.19117707014083862, -0.06312835216522217, -0.14699889719486237, 0.5010830163955688, -0.3613525331020355, 0.17103202641010284, -0.28391507267951965, 0.3765450417995453, 0.8093140721321106, -0.15277664363384247, 0.6371694207191467, -0.689125120639801, 0.49514245986938477, 0.22775308787822723, 0.38649341464042664, 0.012244964018464088, -0.3096054494380951, -0.768153965473175, -0.5421961545944214, 0.8429386615753174, 1.0640208721160889, -0.6371681690216064, 0.7086859345436096, -0.09322769194841385, -0.3894384205341339, -0.834806501865387, 0.4694140553474426, 0.48841702938079834, 0.600913405418396, 0.48051971197128296, -0.3833140432834625, -0.4803520441055298, -1.0421682596206665, -0.04859817400574684, 0.43422946333885193, 0.2548386752605438, 0.241732656955719, 0.17003518342971802, -0.1876540333032608, 1.0168027877807617, -0.35634979605674744, -0.3152545988559723, -0.45964011549949646, 0.03382786735892296, 0.031564731150865555, 0.990557849407196, 0.22626447677612305, -0.8746774792671204, -0.342427521944046, 0.01576882228255272, -0.09979279339313507, -0.1872459053993225, -0.10708144307136536, -0.15870781242847443, 0.13013017177581787, 0.2682684063911438, -0.3112013041973114, 0.16196198761463165, 0.5055160522460938, 0.11034843325614929, 0.3152194321155548, -0.2286200076341629, 0.10718045383691788, -0.9853370189666748, -0.21034377813339233, -0.23374125361442566, -0.10020114481449127, -0.26680120825767517, -0.0030986936762928963, 0.22889243066310883, 0.16989973187446594, -0.40306100249290466, 0.10788198560476303, -0.15589968860149384, 0.19618389010429382, -0.30427250266075134, -0.23101107776165009, -0.0978187695145607, 0.4815976917743683, -0.32001277804374695, 0.748516321182251, 0.5489234328269958, -0.48451536893844604, 0.6170470118522644, -0.30830463767051697, -0.5643783211708069, 0.644500195980072, -0.6837378740310669, 0.024684812873601913, -0.010580357164144516, -0.09644325822591782, -0.7644054889678955, -0.2301553338766098, 0.1777193248271942, -0.00748996390029788, 0.5154368877410889, -0.2051759660243988, -0.37549588084220886, 0.016039565205574036, -0.22010275721549988, 0.510770857334137, 0.5401132106781006, -0.07525668293237686, 0.5718996524810791, 0.5274021029472351, -0.302650511264801, -0.2665848433971405, -0.7842975854873657, -0.5842958688735962, -0.3035474121570587, -0.49737077951431274, 0.5524837374687195, -0.14184722304344177, -0.22533676028251648, 0.1992388367652893, -0.6339441537857056, -0.0908311977982521, 0.2124525010585785, 0.04300136864185333, 0.2284555584192276, -0.11444663256406784, -0.11485374718904495, 0.4326585829257965, -0.42345350980758667, -0.36786988377571106, -0.433836966753006, 0.5459559559822083, 0.21777349710464478, -0.40575698018074036, -0.3887009024620056, 0.5517812967300415, 0.5218513011932373, -0.3313681185245514, 0.6272690892219543, 0.6194467544555664, -0.24600155651569366, -0.5660340189933777, -0.45093393325805664, -0.30374062061309814, -0.5155730843544006, 0.5290547609329224, -0.12074103206396103, -0.39545565843582153, 0.278145968914032, -0.2409793734550476, 0.398286372423172, -0.026768643409013748, 0.504406750202179, -0.1924527883529663, 1.172441840171814, 0.5701720714569092, -0.1058376207947731, 0.8238622546195984, -0.3606458008289337, 0.4350663423538208, -0.5291131138801575, -0.4114709496498108, -0.2848665118217468, -0.8747961521148682, -0.5814089775085449, -0.5209311246871948, 0.28928279876708984, 0.19054268300533295, 0.09753584861755371, 0.11660405248403549, -0.5027797818183899, 0.7287085652351379, 1.0687713623046875, 0.15378712117671967, 0.04272536188364029, -0.08089924603700638, 0.06692475825548172, -0.10698556154966354, -0.9412239789962769, -0.16701237857341766, 0.8305309414863586, -0.11257470399141312, 0.9780563712120056, -0.26342034339904785, 0.8716294169425964, 0.2847431004047394, -0.11761432141065598, -0.9665896892547607, 0.6370730996131897, -0.6498140692710876, -0.2577340304851532, -0.18874819576740265, -0.5783469080924988, -0.7153244614601135, 0.05202704668045044, -0.13493257761001587, -0.2191937267780304, 0.091738760471344, 0.425228476524353, -0.6206591129302979, -0.07748040556907654, -1.2232834100723267, 0.9141964316368103, -0.47456371784210205, -0.15721780061721802, -0.3047927916049957, -0.3550895154476166, 0.11857724189758301, -0.12356528639793396, 0.17083168029785156, -0.032176658511161804, -0.02697143889963627, 0.8561188578605652, -0.42781904339790344, 0.5461537837982178, -0.15601423382759094, 0.009566811844706535, 0.25187185406684875, -0.07143353670835495, 0.41025808453559875, -0.03518855944275856, 0.0957883968949318, -0.24349205195903778, 0.09532041102647781, -0.6769174933433533, -0.7721631526947021, 0.9979936480522156, -0.6257633566856384, -0.4631000757217407, -0.05600903928279877, -1.1698282957077026, -0.345412015914917, 0.2720208764076233, 0.29507961869239807, 0.7418327331542969, 0.47564971446990967, 0.533485472202301, 1.114833116531372, 0.13924258947372437, 0.21887575089931488, 0.29776012897491455, 0.5341764688491821, -0.24064823985099792, 1.545876145362854, 0.5277810096740723, 0.24799427390098572, 0.5466411113739014, 0.398599773645401, 0.00885641761124134, -0.5783056020736694, -0.3909232020378113, -0.2799646556377411, -0.35346341133117676, -0.16377514600753784, -0.25857216119766235, -0.1116073727607727, -0.4006511867046356, -0.17143729329109192, -0.6339893937110901, -0.42091381549835205, -0.22692161798477173, -0.032316904515028, 0.24849896132946014, 0.11521844565868378, 0.16613158583641052, 0.22343964874744415, -0.5414873361587524, 0.33089637756347656, 0.6449390649795532, 0.14812937378883362, -0.331275075674057, -0.12027984112501144, -0.5522222518920898, 0.2756258547306061, -0.31388527154922485, -0.565800666809082, 0.21213972568511963, 0.14803214371204376, 0.7248787879943848, 0.23374007642269135, 0.23192906379699707, 1.0107295513153076, -0.3308573365211487, 0.3543902337551117, -0.19112528860569, -0.8640428185462952, 0.40759530663490295, -0.30517223477363586, 0.5458983182907104, 0.7755423784255981, 0.0494619719684124, 0.0927174836397171, -0.2979733943939209, -0.5232601761817932, -1.1897646188735962, 0.7465178966522217, -0.18001511693000793, -0.038475580513477325, 0.24989677965641022, -0.12244300544261932, 0.04780569300055504, 0.44749248027801514, -0.03792594000697136, -0.21325348317623138, -0.26981788873672485, -0.846346914768219, 0.11096785217523575, 0.1938791126012802, -0.36418044567108154, -0.511023223400116, 0.6419569849967957, -0.12745097279548645, 0.21570926904678345, -0.21723830699920654, 0.07770567387342453, -0.08653329312801361, 0.172261044383049, 0.7597509026527405, 0.6914520263671875, -0.10809478908777237, 0.10633523762226105, -0.011742464266717434, -0.7131844162940979, -0.2506576478481293, 0.2531758248806, -0.3831678628921509, -0.2879140377044678, 0.23912078142166138, 0.6264092326164246, 0.40588444471359253, -0.9523935317993164, 0.1789141446352005, 0.20903126895427704, -0.2453821748495102, 0.2766555845737457, 0.742277204990387, 0.059222184121608734, 0.30554309487342834, 0.3901039958000183, 0.3469364643096924, -0.05848471075296402, -0.5215317606925964, 0.18227458000183105, 0.2925950884819031, -0.24391543865203857, -0.04869319126009941, 0.16522404551506042, 0.19262050092220306, -0.34426602721214294, 0.5711945295333862, -0.1810344010591507, -0.3398110270500183, 0.9480588436126709, 0.47418105602264404, 0.6810120940208435, -0.09513568878173828, 0.17320358753204346, -0.18386954069137573, 0.2848197817802429, -0.022420497611165047, 0.6271136403083801, -0.20198380947113037, -0.3810950517654419, -0.29787251353263855, -0.3431837558746338, -0.41489797830581665, 0.03049863502383232, -0.6037620306015015, 0.05412083491683006, -0.474147230386734, 0.09268566220998764, -0.2401318997144699, 0.3097788095474243, -0.427810937166214, 0.3940187394618988, -0.1993444859981537, 0.6245652437210083, -0.752236545085907, 0.9847142100334167, 0.6767801642417908, 0.2283855825662613, -0.8626464605331421, 0.0009581281337887049, -0.13480333983898163, -0.5112191438674927, 0.2040175050497055, -0.04402090981602669, 0.03213120996952057, 0.06971239298582077, -0.19318316876888275, -0.6632067561149597, 1.0074050426483154, 0.42463958263397217, -0.769395112991333, 0.21880289912223816, -0.1170935109257698, 0.25773879885673523, -0.19237485527992249, -0.14310741424560547, 0.5504752397537231, 0.49804699420928955, 0.008018036372959614, -0.6204114556312561, -0.1858554184436798, -0.3002163767814636, -0.23711320757865906, 0.5464416742324829, -0.6393685340881348, 1.0789856910705566, -0.08910557627677917, -0.11595473438501358, 0.04331904649734497, 0.702194094657898, 0.2259765863418579, 0.5022710561752319, 0.5819542407989502, 0.5918002128601074, 0.7376896142959595, -0.22838455438613892, 0.7797815799713135, -0.47051337361335754, 0.10908173024654388, 1.0993595123291016, 0.018475394695997238, 0.3512568771839142, 0.5558633208274841, 0.15630899369716644, 0.37793153524398804, 0.5695343613624573, -0.016981814056634903, 1.0726290941238403, 0.21181589365005493, -0.14301697909832, -0.31228724122047424, -0.21929198503494263, -0.2868012487888336, 0.260257363319397, 0.35216042399406433, -0.07447317987680435, -0.12104379385709763, 0.029042992740869522, -0.21766681969165802, 0.03856363892555237, -0.47274062037467957, 0.5650379657745361, -0.20966985821723938, -1.0160099267959595, 0.3863310217857361, 0.15979327261447906, 0.6836169958114624, -0.7749989628791809, -0.0012060516746714711, -0.2864989638328552, 0.7086973786354065, -0.39627695083618164, -0.5060824155807495, 0.19006481766700745, -0.28971192240715027, -0.38132360577583313, -0.4099712669849396, 0.4709716737270355, -0.7370678186416626, -0.4475802779197693, -0.4555104970932007, 0.25126010179519653, -0.3007759153842926, 0.38005658984184265, -0.7314071655273438, -0.06627996265888214, -0.0041375961154699326, -0.07340248674154282, 0.6743094325065613, 0.5082741975784302, -0.3450588881969452, 0.4906761944293976, 0.5618755221366882, 0.05221369490027428, 0.22036463022232056, 0.05632541701197624, 0.8036021590232849, -0.26896029710769653, -0.6132911443710327, -0.6819007992744446, 0.40076500177383423, 0.1874082237482071, -0.5467987656593323, 0.8757938742637634, 0.5852674245834351, 1.0770833492279053, -0.15963034331798553, 0.5562812685966492, -0.14768274128437042, 0.2823152244091034, -0.6395825743675232, 0.3006238043308258, -0.41492003202438354, 0.05302983149886131, -0.14841164648532867, -0.7263510227203369, 0.13922889530658722, 0.6518325805664062, -0.3182620704174042, 0.224813312292099, 0.3760930597782135, 0.9609760642051697, -0.4035404920578003, 0.046312037855386734, 0.05256187543272972, -0.27074557542800903, -0.16045647859573364, 0.5143335461616516, 0.36318469047546387, -0.11640666425228119, 0.21249724924564362, -0.7378445863723755, -0.311636745929718, -0.2762755751609802, -0.7065684795379639, -0.6920452117919922, -0.34437090158462524, -0.5706831812858582, 0.15192657709121704, 0.1525295525789261, 0.9440810084342957, 1.177444338798523, -0.9492882490158081, -0.06777536123991013, -0.3371472656726837, 0.31459346413612366, -0.9238221049308777, -0.31239083409309387, 0.10291970521211624, -0.2543235421180725, -0.9985907077789307, 0.5203206539154053, 0.10219872742891312, -0.12832003831863403, -0.23219291865825653, 0.09904104471206665, -0.14628729224205017, 0.3670737147331238, 0.10697370022535324, 0.18219555914402008, -0.21316219866275787, 0.079953134059906, 0.041525598615407944, -0.09733222424983978, -0.5677217245101929, 1.030556321144104, -0.683017909526825, 0.500515878200531, 0.8926860094070435, 0.8023375868797302, 0.0813741683959961, 0.36492013931274414, 0.45670637488365173, -0.9777958393096924, 0.1603652983903885, 0.3334527015686035, 0.1332259476184845, 0.19239208102226257, -0.46295541524887085, 0.17261941730976105, 0.46044039726257324, -0.5276081562042236, -0.6763585805892944, 0.0698772594332695, -1.1452597379684448, -0.2866075932979584, 0.8151739835739136, 0.12246043235063553, -0.23732106387615204, -0.10817492008209229, -0.36348867416381836, 0.1527438759803772, -0.395600825548172, 0.9411916732788086, 0.4215925633907318, -0.20165641605854034, 0.028905289247632027, -0.6347613334655762, 0.19910703599452972, 0.8967458605766296, -0.6738384962081909, -0.3180476129055023, 0.2852739989757538, 0.1884864866733551, 0.052799973636865616, 0.28231340646743774, 0.1861368864774704, 0.44943585991859436, -0.14853258430957794, -0.4669785797595978, -0.5774754285812378, -0.6263038516044617, 0.2871047258377075, 0.2241661697626114, -0.564142644405365, -0.7685133218765259 ]
http://arxiv.org/abs/2403.08358v1
http://arxiv.org/pdf/2403.08358v1
Log Summarisation for Defect Evolution Analysis
2024-03-13T09:18:46
2024-03-13T09:18:46
Rares Dolga, Ran Zmigrod, Rui Silva, Salwa Alamir, Sameena Shah
cs.SE
cs.SE, cs.CL
Log analysis and monitoring are essential aspects in software maintenance and identifying defects. In particular, the temporal nature and vast size of log data leads to an interesting and important research question: How can logs be summarised and monitored over time? While this has been a fundamental topic of research in the software engineering community, work has typically focused on heuristic-, syntax-, or static-based methods. In this work, we suggest an online semantic-based clustering approach to error logs that dynamically updates the log clusters to enable monitoring code error life-cycles. We also introduce a novel metric to evaluate the performance of temporal log clusters. We test our system and evaluation metric with an industrial dataset and find that our solution outperforms similar systems. We hope that our work encourages further temporal exploration in defect datasets.
[ -0.03638620674610138, -0.46337375044822693, 0.5270354151725769, 0.42415758967399597, -0.3607683479785919, 0.47843289375305176, 0.26355060935020447, -0.6120198369026184, 0.382073312997818, 0.024522220715880394, -0.8513305187225342, -0.7369533181190491, -0.10820446908473969, -0.015347716398537159, -0.5319846272468567, 1.236663579940796, -0.08928482979536057, -0.28037959337234497, -0.3093257546424866, -0.3567034900188446, -0.5969658493995667, -0.36275342106819153, -0.6086606383323669, 0.13890516757965088, 0.4239514470100403, 0.1094268187880516, 0.248183473944664, 0.5010216236114502, 0.5082126259803772, 0.26526495814323425, -0.42210015654563904, 0.18348117172718048, -0.3135972321033478, 0.20683057606220245, 0.32706311345100403, -0.8132742643356323, -0.7247418165206909, -0.5633753538131714, 0.5024440884590149, 0.732166051864624, -0.24280846118927002, 0.2608257532119751, -0.050222739577293396, 0.6077704429626465, -0.3976778984069824, 0.537833034992218, -0.5784757137298584, 0.5295010209083557, -0.046318259090185165, -0.37132397294044495, -0.15318883955478668, -0.49569636583328247, -0.10061641037464142, -0.5667971968650818, 0.4773976504802704, -0.017770512029528618, 0.5832474231719971, 0.5155898332595825, -0.05440133810043335, -0.20857428014278412, -0.6939365863800049, 0.8726320862770081, -1.1511532068252563, 0.09611063450574875, -0.07290507107973099, 0.47375360131263733, -0.24458719789981842, -0.6997376680374146, -0.04582838714122772, -0.023163096979260445, -0.41087886691093445, 0.2273954153060913, 0.17629671096801758, -0.3100896179676056, -0.04476436227560043, 0.5949922800064087, -0.7281240224838257, 0.29645249247550964, -0.29869410395622253, -0.13854560256004333, 0.7339813709259033, 0.7455742359161377, 0.35907602310180664, 0.035854436457157135, -0.05511768162250519, 0.10323328524827957, -0.28116318583488464, -0.16976851224899292, 0.20886148512363434, -0.06958566606044769, -0.050844572484493256, 0.15245263278484344, -0.3767821490764618, 0.8169179558753967, -0.3408386707305908, -0.3137589991092682, 0.2666527330875397, -0.38683417439460754, -0.026041757315397263, 0.22928908467292786, 0.3149069547653198, 0.6393124461174011, -0.3003355860710144, -0.38076716661453247, -0.15532855689525604, 0.3672209680080414, 0.27397966384887695, -0.5145062208175659, -0.4666282534599304, 0.571186900138855, -0.5647890567779541, -0.6545233726501465, 0.11054547876119614, -1.0484473705291748, -0.5399456024169922, 0.24476490914821625, 0.07321470230817795, -0.09356153756380081, -0.49050384759902954, 0.12450892478227615, -0.5519315600395203, -0.03312503919005394, 0.3014106750488281, -0.48418259620666504, 0.17456366121768951, 0.8670718669891357, 0.8929431438446045, -0.3180679678916931, -0.18312005698680878, -0.6444665193557739, 0.3277178108692169, -0.5324372053146362, 0.8300608992576599, -0.39477431774139404, -0.6022080183029175, -0.1186811551451683, 0.08959248661994934, 0.044153980910778046, -0.8274903893470764, 0.17532305419445038, -0.46057209372520447, 0.2625942826271057, 0.4289756119251251, -0.3975546360015869, -0.22145217657089233, 0.20613670349121094, -0.5238268375396729, 1.3026628494262695, 0.47245222330093384, -0.8362212181091309, 0.5888060927391052, -0.8196834325790405, -0.23352499306201935, -0.07482220977544785, -0.0875149592757225, -0.8858392834663391, 0.34356218576431274, 0.023282648995518684, 0.34341323375701904, 0.1547170877456665, 0.0924186035990715, -0.35082417726516724, -0.28469592332839966, 0.2763473093509674, 0.10554470866918564, 0.649247944355011, 0.21868564188480377, -0.6086835861206055, 0.26203179359436035, -1.1434389352798462, 0.04510262981057167, 0.024512657895684242, -0.15529337525367737, -0.4247165322303772, 0.5994813442230225, -0.35589107871055603, 0.02913457714021206, 0.34484514594078064, -0.626092791557312, 0.18804121017456055, -0.3589043915271759, 0.29645809531211853, 0.48861172795295715, 0.5785849690437317, -0.09556975215673447, -0.3027384579181671, 0.36309337615966797, 0.3629951477050781, 0.7130542993545532, -0.43504539132118225, -0.505278468132019, -0.7840726375579834, -0.0001274673850275576, 0.03581266477704048, 0.6937640905380249, -0.07390778511762619, 0.5202529430389404, -0.37150838971138, -0.6115033626556396, -0.08125422894954681, 0.14306892454624176, 0.1873229444026947, 0.1495223492383957, 0.3636316955089569, -0.5792348384857178, -0.37696367502212524, -0.5715214014053345, -0.23577238619327545, -0.5027759075164795, -0.26945680379867554, 0.14839708805084229, -0.04082249104976654, -0.49260959029197693, 1.1635736227035522, -1.059194564819336, -0.31274881958961487, 0.006186703685671091, 0.44276919960975647, 0.31289321184158325, 0.30041640996932983, 0.6311998963356018, -0.6581839919090271, -0.34507983922958374, 0.3403344452381134, -0.8418183326721191, -0.22560329735279083, -0.3904661536216736, 0.20207355916500092, 0.5114279985427856, 0.8012185096740723, -0.26293057203292847, 0.4877997040748596, 0.4114665389060974, -0.7285704016685486, 0.5417414903640747, -0.1455245018005371, 0.19116681814193726, -0.7536845803260803, 0.03240858390927315, -0.37213635444641113, -0.3509063422679901, -0.37634381651878357, -0.019819481298327446, -0.19085805118083954, -0.05589855834841728, -0.3861472010612488, 0.010379117913544178, -0.3574017584323883, -0.5341494083404541, -0.015714649111032486, 0.13748414814472198, -0.1631377637386322, 0.4261295795440674, -0.4592384696006775, 0.27041009068489075, 0.3659741282463074, -0.7758220434188843, 0.6676093935966492, 0.0036929945927113295, -0.2911436855792999, 0.4623216688632965, -0.5320022702217102, -0.15980929136276245, -0.12433101236820221, 0.15748433768749237, -0.9654203057289124, -0.23526988923549652, 0.021290205419063568, -0.6735324263572693, 0.21403561532497406, -0.1407664269208908, -0.3830888271331787, -0.2796226739883423, -0.5080583691596985, 0.14736531674861908, 0.510997474193573, -0.38780251145362854, 0.7094041705131531, 0.19102327525615692, -0.3039132058620453, -0.16434797644615173, -0.5326747894287109, -0.03153286501765251, -0.7157106399536133, -0.7186980247497559, 0.20356641709804535, -0.01633634977042675, -0.5187353491783142, 0.5057918429374695, -0.625187873840332, -0.2877228856086731, 0.4750179350376129, 0.2043263018131256, 0.21616524457931519, -0.3329769968986511, 0.12493260949850082, -0.04675448313355446, -0.4341985285282135, 0.06030463054776192, -0.3286420404911041, 0.3623978793621063, -0.1092008650302887, -0.344088077545166, -0.29921790957450867, 0.2715149521827698, 0.8241859078407288, -0.08638294786214828, 0.6641989946365356, 0.4733135402202606, -0.3720051646232605, -0.23065027594566345, -0.5023896098136902, 0.0308547206223011, -0.4210936725139618, 0.39425021409988403, 0.24832883477210999, -0.7033959627151489, 0.8656094074249268, -0.3232596814632416, 0.575546145439148, 0.8658068180084229, 0.032401178032159805, -0.31161442399024963, 1.0242468118667603, 0.7893506288528442, -0.10834155976772308, 0.3071317672729492, -0.10022266209125519, 0.210338294506073, -0.4737117290496826, -0.30453726649284363, -0.5399174690246582, -0.12397260218858719, -0.4781717360019684, -0.21515265107154846, 0.7762156128883362, 0.3045329451560974, 0.14562314748764038, 0.11944545805454254, -0.35510730743408203, 0.3345242440700531, -0.17094187438488007, -0.10397977381944656, 0.5134676098823547, -0.07646642625331879, 0.222738116979599, -0.003537645097821951, -0.6840033531188965, -0.19357319176197052, 0.4049515128135681, 0.3061375916004181, 0.5901894569396973, 0.2256898283958435, 0.6337667107582092, 0.5566763281822205, 0.10634827613830566, -0.39490410685539246, 0.2937029004096985, 0.053730450570583344, -0.30825096368789673, -0.6533284783363342, -0.464835524559021, -0.9218128323554993, -0.04688042029738426, 0.20416127145290375, -0.7827942967414856, 0.04596014320850372, 0.5294151306152344, -0.32676392793655396, 0.4036712944507599, -0.7531026601791382, 1.0737844705581665, -0.20458368957042694, 0.21621952950954437, -0.7208272814750671, -0.6248236894607544, 0.12017226219177246, -0.29282715916633606, 0.4326893091201782, 0.0422934889793396, -0.14737188816070557, 0.7510022521018982, -0.7970868945121765, 1.1500709056854248, -0.3196035921573639, -0.042699914425611496, 0.3627362549304962, 0.12820133566856384, 0.6729798913002014, 0.008846275508403778, 0.21441996097564697, -0.006756434217095375, 0.35433030128479004, -0.5514227747917175, -0.8643667101860046, 0.6240130662918091, -0.3359430432319641, -0.2971554398536682, -0.5764490365982056, -0.07851553708314896, -0.22521057724952698, -0.044505342841148376, -0.08271000534296036, 0.6997858285903931, -0.0406743548810482, 0.06460943818092346, 0.5393742918968201, -0.5193317532539368, 0.8930965065956116, 0.6261547207832336, -0.4015306532382965, 0.015133236534893513, 1.1853370666503906, 0.20466481149196625, 0.19191236793994904, 0.27589771151542664, 0.19985659420490265, 0.05072934553027153, -0.45904579758644104, -0.38106223940849304, 0.12741689383983612, -0.7411815524101257, -0.21492193639278412, -0.7190974354743958, -0.02009551227092743, 0.16552244126796722, -0.32235187292099, -0.30426082015037537, -0.7483381032943726, -0.11046470701694489, -0.1766732931137085, 0.7387140393257141, 1.040351390838623, 0.11496184021234512, 0.30684521794319153, -1.2540372610092163, -0.1003592237830162, 0.3230538070201874, 0.7057044506072998, 0.15198037028312683, 0.000154650115291588, -0.43808773159980774, -0.3381987512111664, -0.1571781188249588, -0.7926169633865356, 0.32782790064811707, 0.16074611246585846, 0.7113571763038635, 0.09868118911981583, 0.12518972158432007, 0.673303484916687, -0.32807713747024536, 1.2921528816223145, 0.08593453466892242, -0.7605664730072021, 0.7648717761039734, -0.3667922616004944, 0.36819106340408325, 0.13729016482830048, 0.11693135648965836, -0.8805336952209473, -0.7555000185966492, -0.9148496389389038, -1.1802153587341309, 0.5179848670959473, -0.039313118904829025, -0.3319088816642761, 0.30502787232398987, 0.21745294332504272, 0.11064248532056808, -0.00836394913494587, -0.259852796792984, -0.1958114057779312, -0.08166936039924622, -0.09373845160007477, -0.015118786133825779, -0.21810117363929749, -0.0034130162093788385, -0.02888401225209236, 0.6693035960197449, -0.1799793243408203, 0.2897687554359436, 0.06721799075603485, -0.3659992814064026, -0.035866715013980865, 0.1633748710155487, 0.7165888547897339, 1.2312235832214355, -0.2915774881839752, -0.07456860691308975, 0.7745197415351868, -0.42888298630714417, -0.12081683427095413, -0.3875269591808319, 0.14588965475559235, 0.4854303300380707, 0.5162099599838257, 0.535323977470398, 0.26898738741874695, -0.7415744662284851, 0.2487829178571701, 0.0820343866944313, 0.2784314453601837, -0.6497939229011536, 0.1518937647342682, 0.061444640159606934, 0.2265859842300415, 0.5753868818283081, -0.21707212924957275, 0.27890151739120483, -0.34343281388282776, 0.14170217514038086, -0.13568273186683655, -0.4798290729522705, -0.25654467940330505, 0.36668071150779724, 0.1565409153699875, -0.2503908574581146, 0.47512608766555786, -0.19802655279636383, -0.41135722398757935, 1.0024034976959229, 0.28205808997154236, 0.9059104323387146, -0.22461675107479095, 0.16185098886489868, 0.1931801736354828, 0.18691027164459229, 0.2485705316066742, 0.07717166095972061, 0.16400152444839478, 0.060284942388534546, -0.6470256447792053, -0.587515652179718, -0.2989402711391449, -0.16322171688079834, -0.5193727612495422, 0.3215057849884033, -0.20842866599559784, 0.18167246878147125, -0.17397423088550568, -0.3440459966659546, -0.07117639482021332, 0.309505432844162, -0.4588746130466461, 0.7461329102516174, -0.9601372480392456, 0.13704797625541687, 0.4698225259780884, -0.09101104736328125, -0.22903290390968323, -0.005186004564166069, 0.17565764486789703, -0.37380287051200867, 0.44015073776245117, 0.003992214798927307, 0.0712265819311142, -0.06518799066543579, -0.13078856468200684, -0.6956566572189331, 1.1832479238510132, -0.2833017110824585, -0.359234482049942, -0.03158963844180107, -0.15204022824764252, 0.7445389032363892, -0.13776901364326477, 0.014095251448452473, 0.4080686569213867, 0.3194733262062073, -0.34358659386634827, -0.8992415070533752, -0.30263781547546387, -0.24876996874809265, 0.1360417753458023, 0.7395351529121399, -0.7087098360061646, 0.30379024147987366, 0.0562618188560009, -0.42295634746551514, -0.37573719024658203, 0.5736322402954102, -0.2487417310476303, 0.519393265247345, 0.7239962816238403, 0.6412084102630615, 0.7247373461723328, -0.20339414477348328, 1.0135256052017212, -0.37774020433425903, 0.43629345297813416, 0.8270789384841919, 0.11353526264429092, 0.6434046030044556, 0.08635609596967697, -0.46295878291130066, 0.8575339317321777, 0.8179283738136292, -0.00921081192791462, 0.37568342685699463, 0.2406606525182724, -0.42825886607170105, 0.019213590770959854, 0.006805832497775555, -0.5341997146606445, -0.09717241674661636, 0.4766499400138855, 0.0701368972659111, -0.38343361020088196, -0.3173537850379944, -0.013343382626771927, -0.2684789001941681, -0.37234947085380554, 1.0939915180206299, -0.05794646590948105, -0.46946999430656433, 0.25846096873283386, -0.07301498204469681, 0.4241120517253876, -0.6233745813369751, -0.032925985753536224, -0.4910636246204376, 0.30030661821365356, -0.7017690539360046, -0.4350960850715637, 1.0649361610412598, 0.01697547174990177, -0.058615487068891525, 0.16890554130077362, 0.4130975008010864, 0.07099649310112, -0.3995501399040222, 0.22143055498600006, 0.171677827835083, 0.22575753927230835, 0.3987668454647064, -0.11481713503599167, 0.1646769940853119, -0.013622180558741093, 0.05439344793558121, 0.2364174723625183, 0.37726134061813354, -0.46221065521240234, 0.6824930310249329, 0.2881438136100769, -0.14380516111850739, 0.4612146019935608, -0.15678048133850098, 0.9323875308036804, -0.8319770097732544, -0.7764857411384583, -0.8724343776702881, 1.084026575088501, -0.40626460313796997, -0.2475391924381256, 0.6771615743637085, 0.8041682839393616, 0.7641451358795166, -0.19905954599380493, 0.7952929735183716, -0.03827366232872009, 0.686294436454773, -0.5652743577957153, 0.4567280411720276, -0.489894837141037, 0.35002270340919495, -0.33152949810028076, -1.045117735862732, -0.45181775093078613, 0.33934473991394043, 0.27172398567199707, -0.38789257407188416, 0.919628381729126, 0.7773734927177429, 0.07947683334350586, 0.1073564887046814, 0.04722532629966736, 0.4707994759082794, 0.42222192883491516, 0.3305802643299103, 0.8990399837493896, -0.18686118721961975, 0.6277391314506531, -0.03243254870176315, -0.4372618496417999, -0.4239150881767273, -1.2047241926193237, -0.5699869394302368, -0.5557540655136108, -0.7001085877418518, -0.3925912380218506, 0.08768302947282791, 0.536500096321106, 0.3017180562019348, -1.0097529888153076, -0.24484021961688995, -0.16955336928367615, -0.037907809019088745, -0.5846940279006958, -0.22622334957122803, 0.3000040650367737, -0.7939285039901733, -0.20153594017028809, 0.36142683029174805, 0.5944213271141052, -0.04177207872271538, -0.43406012654304504, 0.04071073979139328, 0.2955572009086609, -0.35932406783103943, 0.7123386859893799, 0.4038292169570923, -0.37259501218795776, -0.33159831166267395, 0.05007876828312874, 0.27371907234191895, -0.03540579974651337, 0.9034079909324646, -0.46713346242904663, 0.3999667167663574, 0.6484222412109375, 0.6498052477836609, 0.8688884377479553, -0.29843249917030334, 0.5117123126983643, -0.760108232498169, 0.025278765708208084, 0.06373433023691177, 0.19060304760932922, 0.1839941442012787, -0.534098744392395, 0.8237343430519104, 0.6137726902961731, -0.4847370982170105, -0.9710842370986938, 0.11360688507556915, -0.8716024160385132, -0.38193246722221375, 0.8394108414649963, -0.21072494983673096, -0.0987994372844696, -0.46037256717681885, -0.04969223588705063, 0.1747903972864151, 0.026372143998742104, 1.1173434257507324, 0.5742313265800476, -0.5497536063194275, 0.19419147074222565, -0.3618828058242798, 0.4704282879829407, 0.24738341569900513, -1.3230458498001099, 0.007398799527436495, 0.6652265191078186, 0.3933132588863373, 0.5221685767173767, 0.3060288727283478, -0.4267895817756653, 0.3417053520679474, 0.14179183542728424, -0.3071594834327698, 0.2151450663805008, -0.2981950342655182, -0.5446407794952393, 0.06798325479030609, 0.2472836971282959, -0.18151453137397766 ]
http://arxiv.org/abs/2403.08345v1
http://arxiv.org/pdf/2403.08345v1
From human experts to machines: An LLM supported approach to ontology and knowledge graph construction
2024-03-13T08:50:15
2024-03-13T08:50:15
Vamsi Krishna Kommineni, Birgitta König-Ries, Sheeba Samuel
cs.CL
cs.CL
The conventional process of building Ontologies and Knowledge Graphs (KGs) heavily relies on human domain experts to define entities and relationship types, establish hierarchies, maintain relevance to the domain, fill the ABox (or populate with instances), and ensure data quality (including amongst others accuracy and completeness). On the other hand, Large Language Models (LLMs) have recently gained popularity for their ability to understand and generate human-like natural language, offering promising ways to automate aspects of this process. This work explores the (semi-)automatic construction of KGs facilitated by open-source LLMs. Our pipeline involves formulating competency questions (CQs), developing an ontology (TBox) based on these CQs, constructing KGs using the developed ontology, and evaluating the resultant KG with minimal to no involvement of human experts. We showcase the feasibility of our semi-automated pipeline by creating a KG on deep learning methodologies by exploiting scholarly publications. To evaluate the answers generated via Retrieval-Augmented-Generation (RAG) as well as the KG concepts automatically extracted using LLMs, we design a judge LLM, which rates the generated content based on ground truth. Our findings suggest that employing LLMs could potentially reduce the human effort involved in the construction of KGs, although a human-in-the-loop approach is recommended to evaluate automatically generated KGs.
[ -0.5632548928260803, -0.49090859293937683, 0.7750365138053894, -0.5580683350563049, 0.21773551404476166, 0.33557140827178955, -0.08150374889373779, -0.42171111702919006, 0.018197812139987946, 0.9815283417701721, -0.34708717465400696, -0.7091093063354492, -0.44607818126678467, 0.24213644862174988, -0.12937819957733154, 0.6497301459312439, -0.12176605314016342, -0.15958072245121002, -0.41203543543815613, 0.08310985565185547, -0.12805674970149994, -0.3524608314037323, -0.3668276369571686, -0.5783674716949463, 0.41775771975517273, 0.5375878214836121, 0.8929526805877686, 0.8020735383033752, 0.16638757288455963, 0.36478617787361145, 0.10621526092290878, 0.587071418762207, -0.4383201599121094, 0.050359103828668594, -0.39065659046173096, -0.4144887924194336, -0.6415053606033325, 0.18511396646499634, 0.40124791860580444, 0.8845916390419006, 0.0190721545368433, 0.23235249519348145, 0.07838309556245804, 0.8057788014411926, -0.33493056893348694, 0.34895795583724976, -0.752415657043457, 0.2936343848705292, -0.15976127982139587, -0.20610611140727997, -0.21574944257736206, -0.17207393050193787, 0.06157336384057999, -0.8246015310287476, 0.03995111957192421, 0.3723495900630951, 0.6329978108406067, 0.3351762890815735, -0.45088231563568115, -0.6319946050643921, -0.41818028688430786, 0.718180775642395, -0.7312719225883484, 0.5120776891708374, 0.3894539177417755, 0.4228232800960541, -0.41353580355644226, -0.8626763820648193, -0.6355827450752258, -0.2952820360660553, -0.20960772037506104, 0.13503043353557587, 0.12598714232444763, 0.10427642613649368, 0.0585174560546875, 0.0697413980960846, -0.44949600100517273, 0.34586456418037415, -0.21461273729801178, -0.35801178216934204, 0.7526256442070007, 0.43705087900161743, 0.21837139129638672, -0.5056408643722534, -0.12219509482383728, 0.28855815529823303, -0.8492133617401123, -0.4321552515029907, 0.44480323791503906, 0.40985023975372314, 0.3955947756767273, 0.9337949752807617, -0.3605329394340515, 0.7687495946884155, -0.17366032302379608, -0.3945428431034088, -0.10947366058826447, -0.17987191677093506, -0.17494039237499237, -0.005638140253722668, 0.9222841262817383, 0.12310840934515, 0.5279278755187988, -0.6833568811416626, -0.1917267143726349, -0.04309304431080818, 0.4859274625778198, -0.3385261297225952, -0.3984009325504303, 0.20121799409389496, -0.23316453397274017, -0.46803855895996094, -0.12995940446853638, -0.3446097671985626, -0.5081782341003418, -0.5948432683944702, 0.32335084676742554, -0.36767834424972534, -0.008335394784808159, -0.12941904366016388, 0.07595063000917435, -0.09785874933004379, 0.41034919023513794, -0.4496535360813141, 0.1454322785139084, 0.4102679193019867, 0.377186119556427, 0.06514737755060196, -0.13462130725383759, -0.19071926176548004, 0.6540489792823792, -0.4532485604286194, 0.7492513060569763, -0.2115418165922165, -0.3582523763179779, -0.06763453036546707, -0.23671801388263702, 0.3963906466960907, -0.521568238735199, 0.4827229380607605, -1.079891562461853, 0.22010266780853271, -0.16564905643463135, -0.9173469543457031, -0.060320887714624405, 0.6704752445220947, -0.4160110056400299, 0.922890841960907, 0.3300442397594452, -0.8423211574554443, 0.3723108470439911, -0.778052806854248, -0.32228201627731323, 0.3252558708190918, -0.35878705978393555, -0.11687947809696198, -0.4444390833377838, 0.1023082286119461, 0.7159212827682495, -0.5754491090774536, 0.08760719746351242, -0.3020956516265869, 0.2658146321773529, 0.1926015317440033, 0.2013425976037979, 0.7405509948730469, 0.3534775972366333, -0.08265592902898788, -0.17638269066810608, -0.7187721133232117, 0.36321261525154114, -0.0493803545832634, -0.502918541431427, -0.0676683560013771, 0.16378043591976166, -0.5424435138702393, 0.23840779066085815, 0.18670986592769623, -0.37208107113838196, 0.3744514286518097, -0.37925058603286743, 0.4349632263183594, 0.7659008502960205, -0.19062498211860657, 0.38803061842918396, -0.12115132063627243, 0.4044381082057953, -0.28603410720825195, -0.08770565688610077, 0.16011330485343933, -0.6087964773178101, -0.6866119503974915, -0.11644169688224792, 0.4787828326225281, 0.6341171264648438, -1.0136055946350098, 0.6618280410766602, -0.33809569478034973, -0.6185399293899536, -0.5287346243858337, 0.6837901473045349, 0.4332299828529358, 0.9531662464141846, 0.26207974553108215, -0.363772451877594, -0.5350887775421143, -0.5745165944099426, 0.020688679069280624, -0.4865599274635315, -0.26482072472572327, 0.5417014360427856, 0.3302042782306671, -0.3369210362434387, 1.5225485563278198, -0.7981377243995667, -0.5824339389801025, -0.04596720635890961, 0.013754760846495628, -0.06269235163927078, 0.10870061814785004, 0.1678657978773117, -0.694123387336731, -0.5351734161376953, 0.3211502134799957, -1.156112551689148, -0.26844513416290283, 0.4839271903038025, -0.19911979138851166, 0.33957067131996155, 0.5127518773078918, -0.588984489440918, 0.2242162674665451, 0.09835870563983917, -0.26288658380508423, 0.5909805297851562, -0.16306988894939423, -0.027309319004416466, -1.1599743366241455, 0.26991936564445496, -0.1908130794763565, -0.43225595355033875, -0.4538732171058655, 0.0746782049536705, -0.18985626101493835, 0.014835892245173454, -0.3311448097229004, 0.6620746850967407, -0.32470017671585083, -0.27122974395751953, -0.16235433518886566, 0.606787383556366, -0.02166132628917694, 0.384257048368454, -0.07021120935678482, 0.37066978216171265, 0.21955488622188568, -0.7081226706504822, 0.5355724096298218, 0.5648587942123413, -0.3256757855415344, 0.424183189868927, -0.5375818610191345, 0.2704866826534271, 0.14462201297283173, 0.06022285670042038, -0.8168495297431946, -0.4635581970214844, 0.45273295044898987, -0.6988298892974854, 0.23553143441677094, -0.410992294549942, -0.9854683876037598, -0.5768676400184631, 0.11923984438180923, -0.17214344441890717, 0.7229630351066589, -0.30415111780166626, 0.5720126032829285, 0.8507100939750671, -0.09962061047554016, -0.4362303912639618, -0.6723513007164001, 0.40370112657546997, 0.219285249710083, -1.1342439651489258, 0.31762948632240295, 0.1402936428785324, -0.4103539288043976, 0.3457299768924713, 0.16131646931171417, -0.07438603788614273, 0.1337861567735672, 0.11210664361715317, 0.10682231932878494, -0.025472542271018028, 0.3413221538066864, -0.0773598849773407, -0.20207294821739197, 0.1346358209848404, -0.7876043915748596, 0.24155578017234802, 0.2243165224790573, -0.406444251537323, -0.22952944040298462, -0.09930646419525146, 0.39074835181236267, -0.09574788808822632, 0.5151038765907288, 0.3572523891925812, -0.17314468324184418, -0.3727918863296509, -0.5594974756240845, -0.14017073810100555, -0.4755379259586334, 0.1360214352607727, -0.22765062749385834, -1.0423091650009155, 0.3803553879261017, -0.2658144533634186, 0.13784748315811157, 0.5229663252830505, 0.7322143316268921, -0.2623121738433838, 0.9580315947532654, 0.4619240164756775, 0.15202440321445465, -0.19679148495197296, -0.3051542341709137, 0.10820678621530533, -0.5841846466064453, -0.34692642092704773, -0.4886978566646576, -0.07532345503568649, -0.5091472268104553, -0.5692721009254456, 0.6032329201698303, 0.047101181000471115, -0.2572917938232422, 0.11900560557842255, -0.4850943982601166, 0.1709998995065689, 0.4400826096534729, 0.0355134978890419, 0.561853289604187, -0.036247652024030685, -0.332394540309906, 0.18838100135326385, -0.9998815059661865, -0.9224103093147278, 1.2634340524673462, 0.1829841285943985, 0.6619331240653992, -0.05452803522348404, 0.5911059379577637, 0.6395948529243469, 0.5325090289115906, -0.7930798530578613, 0.8227634429931641, -0.10235656052827835, -0.708771288394928, -0.5256507992744446, -0.5951801538467407, -0.8559163808822632, -0.12347466498613358, -0.43345874547958374, -0.3301958739757538, -0.42373815178871155, 0.261212557554245, -0.18256525695323944, 0.4971214532852173, -0.4242137670516968, 0.5974128246307373, -0.11401275545358658, -0.39714911580085754, -0.03087705373764038, -0.9355325698852539, 0.25192949175834656, -0.30882272124290466, 0.32472148537635803, 0.003175565740093589, -0.2149631828069687, 0.769798219203949, -0.7728851437568665, 1.0859639644622803, -0.22963808476924896, -0.3199577033519745, 0.7646487355232239, 0.007861217483878136, 0.6096764206886292, 0.01661839708685875, -0.3712676465511322, 0.0002809502766467631, -0.4672016501426697, -0.3853026330471039, -0.6107462048530579, 0.39666664600372314, -1.0674937963485718, -0.5874195694923401, 0.17564134299755096, -0.5967985987663269, -0.38139858841896057, 0.4824831187725067, -0.10708426684141159, 0.19029085338115692, -0.11075333505868912, -0.2365991324186325, 0.6859143376350403, -0.08711040019989014, -0.09513511508703232, 0.6768342852592468, -0.27394068241119385, -0.5304099917411804, 0.7804738283157349, 0.5514513850212097, 0.17611443996429443, 0.3601812422275543, 0.26467975974082947, -0.28343433141708374, -0.589074432849884, -0.6502806544303894, 0.03844912722706795, -0.8026813268661499, -0.3023134768009186, -0.8180492520332336, -0.2860291302204132, -0.7090688347816467, -0.19107428193092346, -0.21191637217998505, -0.4425949454307556, -0.21070516109466553, 0.018846776336431503, 0.45574668049812317, 1.1440098285675049, 0.03801451623439789, 0.0327146090567112, -1.1809608936309814, 0.1987277865409851, 0.6626627445220947, 0.2503349184989929, 0.11345266550779343, -0.42209598422050476, -0.4913673996925354, 0.012677661143243313, -0.36782127618789673, -0.5189240574836731, 0.3039223849773407, -0.14514672756195068, 0.7227034568786621, 0.35972508788108826, 0.32981324195861816, 0.2856062948703766, -0.5657184720039368, 0.6553806662559509, 0.04892180114984512, -0.7796130776405334, 0.3757030665874481, -0.47805288434028625, -0.20304977893829346, 0.41141533851623535, 0.4972357749938965, -0.16177797317504883, -0.46209755539894104, -0.5237691402435303, -0.6830373406410217, 0.6471393704414368, 0.2732729911804199, -0.11280155181884766, 0.1034390851855278, 0.6078237891197205, 0.22924518585205078, 0.21393544971942902, -0.3731997311115265, -0.026658546179533005, -0.03762451559305191, -0.22482779622077942, 0.2008829265832901, -0.04017762839794159, -0.33346807956695557, 0.10019077360630035, 0.681610107421875, -0.37537363171577454, -0.16718542575836182, 0.16205564141273499, -0.2457749992609024, -0.07749806344509125, 0.18715085089206696, -0.16186900436878204, 0.6256452202796936, -0.05842151120305061, 0.20161192119121552, 0.272482693195343, -0.05079466477036476, 0.1398126780986786, -0.02951706200838089, -0.28555166721343994, -0.4837818443775177, 0.3821273446083069, 0.44179069995880127, -0.14837586879730225, -0.7737715244293213, 0.17482289671897888, 0.414550244808197, -0.4159533381462097, -0.35565656423568726, 0.17254342138767242, 0.37579047679901123, 0.3269284665584564, 0.2797701060771942, -0.22260744869709015, -0.23953154683113098, -0.40332016348838806, 0.23016919195652008, 0.3757479190826416, -0.3923698365688324, -0.21689888834953308, 0.6237549781799316, 0.4011734426021576, -0.2696654498577118, 0.7841935157775879, -0.5091017484664917, -0.6727150082588196, 0.35536113381385803, 0.10364725440740585, 0.4441353976726532, 0.004517429508268833, 0.11925357580184937, 0.051858652383089066, 0.2083691656589508, 0.06343653798103333, 0.15274018049240112, -0.039516475051641464, -0.9873496294021606, -0.6968034505844116, -0.6135240197181702, -0.6056540608406067, -0.4603268504142761, -0.20655295252799988, 0.35573679208755493, -0.21699240803718567, -0.14504893124103546, -0.019369186833500862, 0.31978315114974976, -0.5368045568466187, 0.4650830626487732, 0.18675898015499115, 0.9004517793655396, -0.6941742897033691, 0.8114439845085144, 1.087085247039795, -0.42106130719184875, -0.8835761547088623, -0.21522949635982513, -0.1532474011182785, -0.9226940274238586, 0.9839360117912292, -0.1834314614534378, -0.12323033064603806, 0.26020556688308716, -0.5397588610649109, -0.6338441967964172, 1.4435096979141235, 0.3258991539478302, -0.1576339602470398, -0.23337826132774353, 0.46632906794548035, 0.6506802439689636, -0.240396648645401, 0.028008535504341125, 0.20442834496498108, 0.7042869329452515, 0.2616266906261444, -0.7747050523757935, 0.12864179909229279, 0.04154356196522713, -0.33682602643966675, 0.2438715100288391, -0.5725332498550415, 0.6575361490249634, -0.29163187742233276, -0.0974147841334343, 0.014899896457791328, 0.6851232647895813, 0.29521358013153076, 0.2337951362133026, 0.5592990517616272, 0.917220413684845, 0.9149155020713806, 0.3464391827583313, 0.9684445261955261, -0.6291696429252625, 0.16918164491653442, 0.7295963168144226, -0.4656983017921448, 0.44051387906074524, 0.2801525592803955, -0.5315736532211304, 0.44818562269210815, 0.4636669456958771, -0.07406925410032272, 0.19414810836315155, 0.3823661804199219, -0.05761951580643654, -0.5521796941757202, -0.2614024877548218, -0.15517288446426392, 0.46106070280075073, 0.4096062481403351, -0.36939501762390137, -0.23150958120822906, -0.23709630966186523, 0.07374922931194305, 0.1372203677892685, -0.4352762997150421, 0.8216792345046997, 0.17667199671268463, -0.701140284538269, 0.24361401796340942, 0.01220747735351324, 0.2987689673900604, -0.5941525101661682, 0.14404313266277313, 0.14419537782669067, -0.06343898177146912, -0.41842761635780334, -1.1755383014678955, 0.3373035490512848, 0.12055543065071106, -0.28786027431488037, -0.30323463678359985, 1.0046143531799316, -0.2300274670124054, -0.4909376800060272, 0.32730305194854736, 0.8911951780319214, 0.22013330459594727, 0.1518692523241043, -0.47522157430648804, -0.532517671585083, -0.14798302948474884, -0.42689117789268494, 0.4067577123641968, 0.7113020420074463, -0.07602845132350922, 0.8241303563117981, 0.6405451893806458, -0.07904628664255142, -0.11125238984823227, -0.10661149770021439, 1.14143967628479, -0.43076878786087036, -0.26677802205085754, -0.6530666351318359, 0.49836084246635437, -0.04776967689394951, 0.060176003724336624, 0.8167767524719238, 0.466193288564682, 0.7990737557411194, 0.19224311411380768, 1.209842562675476, -0.390766978263855, 0.6864092350006104, -0.6267105937004089, 1.1082050800323486, -0.7033495306968689, 0.31416434049606323, -0.27737221121788025, -0.5035814642906189, -0.36569851636886597, 0.07552926242351532, -0.23704871535301208, -0.04288313165307045, 0.17648066580295563, 0.9041407108306885, 0.08256960660219193, -0.25130900740623474, 0.33977848291397095, 0.18413083255290985, 0.3020915687084198, 0.26438620686531067, 0.7443424463272095, 0.021614333614706993, 0.9439584016799927, 0.026091663166880608, -0.22348324954509735, -0.05796400085091591, -0.9961341023445129, -0.9751806855201721, -0.28831595182418823, -0.19495537877082825, -0.47086644172668457, -0.07733502238988876, 0.890687108039856, 0.6301229000091553, -0.5519816875457764, -0.25580254197120667, -0.13832375407218933, 0.3170570135116577, 0.37495091557502747, -0.17642159759998322, 0.48895958065986633, -0.5099807381629944, -0.45935484766960144, 0.2982882559299469, 0.2193586677312851, -0.23441627621650696, -0.6485230326652527, -0.4274405241012573, -0.01347940694540739, -0.07953744381666183, 0.7201860547065735, 0.15284651517868042, -0.5621013641357422, -0.21391475200653076, 0.15880908071994781, -0.19642703235149384, 0.006280773319303989, 0.6223942041397095, -1.0707842111587524, 0.5680071711540222, 0.6260386109352112, 0.7415204048156738, 0.2015826404094696, -0.18967314064502716, 0.6172142624855042, -0.6582711338996887, -0.34253570437431335, 0.26421239972114563, 0.16062016785144806, 0.4172935485839844, -0.148932546377182, 0.8782395124435425, 0.49582624435424805, -0.7159898281097412, -0.7392692565917969, 0.30352669954299927, -0.6202210783958435, -0.2530645430088043, 1.048689842224121, -0.20951232314109802, -0.16717006266117096, -0.5648464560508728, -0.14640918374061584, 0.49478426575660706, -0.019646864384412766, 0.9278818964958191, 0.49498066306114197, -0.33791786432266235, 0.36846306920051575, -0.47808727622032166, 0.22318632900714874, 0.04723318666219711, -0.8655478954315186, -0.05741089582443237, 0.31839659810066223, 0.3374044597148895, 0.40130555629730225, 0.7067655324935913, -0.08301390707492828, -0.18736588954925537, -0.11335622519254684, 0.4586646854877472, -0.4324398934841156, -0.01870439201593399, 0.5940586924552917, 0.46616852283477783, 0.27714651823043823, 0.39061275124549866 ]
http://arxiv.org/abs/2403.08332v1
http://arxiv.org/pdf/2403.08332v1
Autoregressive Score Generation for Multi-trait Essay Scoring
2024-03-13T08:34:53
2024-03-13T08:34:53
Heejin Do, Yunsu Kim, Gary Geunbae Lee
cs.CL
cs.CL, cs.AI
Recently, encoder-only pre-trained models such as BERT have been successfully applied in automated essay scoring (AES) to predict a single overall score. However, studies have yet to explore these models in multi-trait AES, possibly due to the inefficiency of replicating BERT-based models for each trait. Breaking away from the existing sole use of encoder, we propose an autoregressive prediction of multi-trait scores (ArTS), incorporating a decoding process by leveraging the pre-trained T5. Unlike prior regression or classification methods, we redefine AES as a score-generation task, allowing a single model to predict multiple scores. During decoding, the subsequent trait prediction can benefit by conditioning on the preceding trait scores. Experimental results proved the efficacy of ArTS, showing over 5% average improvements in both prompts and traits.
[ -0.39854001998901367, -0.6238120794296265, 0.48326575756073, 0.38732895255088806, 0.04507190361618996, 0.10854949802160263, 0.014652479439973831, -0.659827470779419, 0.5785341858863831, 0.37432488799095154, -0.6557364463806152, -0.5052924156188965, -0.7557393908500671, 0.26878198981285095, -0.36280399560928345, 1.0244975090026855, -0.0701775848865509, 0.05150723457336426, -0.2558550536632538, -0.117591992020607, -0.26593294739723206, -0.5616195201873779, -0.7840659022331238, -0.10709976404905319, 0.6984186172485352, 0.43611910939216614, 0.1405695080757141, 0.36064034700393677, 0.629035472869873, 0.290218710899353, 0.6569506525993347, 0.2091751992702484, -0.2259373515844345, 0.5439651012420654, 0.456913024187088, -0.34432151913642883, -0.5599055290222168, 0.35194140672683716, 0.5732771754264832, 0.3735707104206085, 0.14190703630447388, 0.2944056987762451, 0.22719506919384003, 0.48395201563835144, -0.6802650094032288, 0.2063155323266983, -0.3392605185508728, 0.2523057758808136, 0.0804021954536438, -0.1333141028881073, -0.6749217510223389, -0.9124869704246521, -0.10563655197620392, -0.43699848651885986, 0.34495413303375244, -0.026171347126364708, 0.5658129453659058, 0.2143174111843109, -0.4683611989021301, 0.05388176441192627, -0.5621755123138428, 1.060347557067871, -0.4332725703716278, -0.015746964141726494, 0.5216636061668396, 0.2641356885433197, 0.16261225938796997, -0.5225598812103271, -0.34896963834762573, -0.06264420598745346, -0.11062874644994736, 0.33814895153045654, 0.16944393515586853, 0.30461353063583374, 0.15762224793434143, 0.47773095965385437, -0.4120156466960907, -0.10198438912630081, -0.37336575984954834, -0.2984393835067749, 0.9336074590682983, 0.2656240165233612, 0.00176214927341789, -0.06412287801504135, -0.12859821319580078, -0.27571606636047363, -0.3424530029296875, 0.5006082057952881, 0.4194525182247162, 0.09727616608142853, 0.2529298663139343, 0.28305327892303467, 0.22260241210460663, 0.503482460975647, 0.4579760432243347, -0.03725225478410721, 0.3280569911003113, 0.032968323677778244, 0.05542467162013054, -0.15050365030765533, 0.9697934985160828, 0.33988332748413086, 0.11587011069059372, 0.019349202513694763, -0.26750409603118896, 0.27382925152778625, 0.3463270664215088, -0.7272276282310486, -0.5105705261230469, 0.04536108300089836, -0.7876788377761841, -0.5590198636054993, -0.06106583774089813, -1.0324122905731201, -0.1053876131772995, -0.16135647892951965, 0.589431881904602, -0.6766898036003113, -0.031007077544927597, -0.10641364008188248, -0.2319767326116562, 0.40470781922340393, 0.2989726960659027, -0.7933168411254883, 0.14412911236286163, -0.03327413648366928, 0.6114874482154846, -0.18105362355709076, -0.6633215546607971, -0.5634135603904724, -0.13371294736862183, -0.5001108646392822, 0.985339879989624, -0.8448766469955444, -0.5276901721954346, -0.030650783330202103, -0.07715977728366852, -0.33957386016845703, 0.14989489316940308, 0.7930980920791626, -0.20746664702892303, 0.2514345645904541, -0.47490447759628296, -0.7750402688980103, -0.2832971513271332, 0.2228570133447647, -1.0330181121826172, 1.0074424743652344, 0.030306288972496986, -0.42068180441856384, 0.5875452160835266, -0.8512728810310364, -0.6206170320510864, -0.3129688501358032, -0.07313846796751022, -0.7786160111427307, 0.37804412841796875, 0.5802129507064819, 0.5528226494789124, 0.08690938353538513, -0.05559587851166725, -0.748944103717804, -0.3246892988681793, 0.16551727056503296, -0.5258926153182983, 0.2839677035808563, 0.0746210366487503, -0.27207091450691223, -0.18798038363456726, -0.7145302295684814, 0.47570088505744934, -0.20438578724861145, -0.4880295693874359, 0.06016062572598457, -0.021133236587047577, -0.042537104338407516, 0.31173017621040344, 0.16928397119045258, -0.8260868191719055, 0.21637281775474548, 0.032873570919036865, 0.04423639923334122, 0.9038534164428711, 0.022183043882250786, 0.2284451574087143, -0.8307738900184631, 0.7200644016265869, -0.23244613409042358, 0.24389530718326569, -0.4638393521308899, -0.5036782026290894, -0.7887852787971497, -0.4936719834804535, 0.0301683209836483, 0.26116910576820374, -0.45938640832901, 0.6029572486877441, 0.1694914698600769, -0.5778120756149292, -1.1113250255584717, -0.16972368955612183, 0.44743049144744873, 0.1812766045331955, 0.7607700824737549, -0.20904625952243805, -0.4670335352420807, -0.6836816072463989, -0.5680374503135681, -0.13725022971630096, 0.29761993885040283, 0.04244910925626755, 0.4040968418121338, 0.14165671169757843, 0.737409234046936, -0.7436557412147522, -0.5031378269195557, -0.3217148184776306, 0.8964452743530273, -0.14474095404148102, 0.7319240570068359, 0.9024745225906372, -0.4129622280597687, -0.732576310634613, -0.6414299011230469, -0.544588565826416, -0.13174127042293549, -0.006732277572154999, -0.07964041084051132, 0.32326412200927734, 0.3516753613948822, -0.29537224769592285, 0.7021112442016602, 0.672220766544342, -0.38610538840293884, 0.8257297277450562, -0.08861199021339417, 0.8438817262649536, -0.9892815351486206, -0.10648135840892792, 0.05496259406208992, -0.09377285838127136, -0.36813971400260925, -0.14570140838623047, -0.16646510362625122, -0.06462537497282028, 0.2898761034011841, 0.3147483170032501, -0.3481641411781311, 0.11290282756090164, -0.23499983549118042, -0.9027072787284851, 0.6172780990600586, 0.6064904928207397, 0.1812281608581543, 0.5821078419685364, 0.6029753088951111, -0.39482465386390686, 0.23731277883052826, 0.16162683069705963, -0.32470184564590454, 0.45501887798309326, -0.6036398410797119, 0.3264204263687134, -0.4447263479232788, 0.24003440141677856, -1.2176390886306763, -0.11819160729646683, -0.4092065393924713, -0.6873869895935059, 0.5317938327789307, 0.1213303878903389, -0.009455213323235512, -0.5130612254142761, -0.5990270972251892, 0.3462180495262146, 0.5231653451919556, -0.4849519729614258, 1.1098978519439697, 0.10508402436971664, -0.27874425053596497, -0.47183898091316223, -0.8108645081520081, -0.26307550072669983, -0.22015096247196198, -0.48713818192481995, 0.266222208738327, -0.49501657485961914, 0.2168315201997757, 0.123603455722332, 0.26275545358657837, -0.12127574533224106, -0.012632996775209904, 0.13583894073963165, 0.20703953504562378, -0.19511258602142334, 0.34431537985801697, 0.20777878165245056, 0.09800976514816284, 0.2370695322751999, -0.33012959361076355, 0.043329283595085144, 0.0023829296696931124, -0.5734038949012756, -0.30612972378730774, 1.213417649269104, 0.9575667977333069, -0.5331190228462219, 0.8345893025398254, 0.6907534003257751, -0.20250225067138672, -0.41088372468948364, -0.9187799692153931, -0.3287639021873474, -0.4326882064342499, 0.18247783184051514, -0.6003131866455078, -0.5494786500930786, 0.5023263692855835, 0.11245058476924896, 0.32250726222991943, 0.528692901134491, 0.12795346975326538, -0.5452410578727722, 1.387809157371521, 0.7967246770858765, -0.2062404900789261, 0.5382919907569885, -0.3294483423233032, 0.1367405205965042, -0.5118085145950317, -0.17745527625083923, -0.6214932203292847, -0.5264396071434021, -0.43925052881240845, -0.04747362807393074, 0.7379528284072876, -0.2438044548034668, -0.20794375240802765, -0.16430994868278503, -0.5335933566093445, 0.5098861455917358, 0.7458601593971252, 0.2270859330892563, -0.02503301575779915, -0.06244763359427452, -0.35203930735588074, -0.19256003201007843, -0.4089510440826416, -0.1784970462322235, 1.5861573219299316, 0.09466593712568283, 0.8610501289367676, 0.05047974735498428, 1.0500847101211548, 0.6077221035957336, 0.532571017742157, -0.601701557636261, 0.1704358011484146, -0.6381531357765198, -0.4401969611644745, -0.47325706481933594, -0.09385061264038086, -0.5561179518699646, 0.007303175982087851, -0.45908448100090027, -0.49879342317581177, 0.29432886838912964, 0.38461747765541077, -0.6712918281555176, 0.15432310104370117, -0.6965673565864563, 0.9012067914009094, -0.37609976530075073, -0.4613976776599884, -0.1725238412618637, -0.3979541063308716, 0.35227683186531067, -0.2271534949541092, 0.007765947375446558, 0.06370246410369873, 0.6013030409812927, 0.8233781456947327, -0.19467850029468536, 0.9572358131408691, -0.2840753495693207, 0.22812104225158691, 0.32678505778312683, -0.040965549647808075, 0.5631418824195862, -0.27179139852523804, -0.6363377571105957, -0.23827147483825684, -0.07569797337055206, -0.3269803524017334, -0.5797715187072754, 0.6604089140892029, -1.03510320186615, -0.3419916033744812, -0.42321690917015076, -0.10512953251600266, -0.29299628734588623, -0.1681669056415558, 0.5957857966423035, 0.5926756262779236, -0.44614192843437195, -0.05834149196743965, 0.793582558631897, -0.053762175142765045, 0.8047690391540527, 0.5371296405792236, 0.19250184297561646, -0.6100655794143677, 0.7787677645683289, 0.005409544333815575, 0.08357846736907959, 0.3896132707595825, 0.18728651106357574, -0.47555190324783325, -0.1908571422100067, -0.11637280136346817, -0.13152764737606049, -0.8184251189231873, -0.3561023771762848, -0.7423670291900635, -0.17084573209285736, -0.7293586730957031, -0.5405037999153137, -0.2987959682941437, -0.23653940856456757, -0.36912423372268677, -0.35792839527130127, 0.4150729179382324, 0.9788310527801514, -0.35241949558258057, 0.009675121866166592, -0.9337887763977051, 0.2672460377216339, 0.40377187728881836, 0.5160419940948486, -0.04983050748705864, -0.573380708694458, -0.24223603308200836, -0.2188168615102768, -0.5265017151832581, -0.8832691311836243, 0.5369595289230347, 0.7190210819244385, 0.6335136890411377, 0.6225932836532593, 0.22144965827465057, 0.6745028495788574, -0.4099230170249939, 0.6937316060066223, 0.30166611075401306, -0.9078695774078369, 0.6123937964439392, 0.042585499584674835, 0.4247945547103882, 0.8199785351753235, 0.5372194647789001, -0.17785586416721344, -0.7391647696495056, -0.4126476049423218, -0.5133672952651978, 0.6401892304420471, -0.2753556966781616, 0.10731867700815201, -0.027134953066706657, 0.14326639473438263, 0.6441653370857239, 0.08602119237184525, -0.96428382396698, -0.04079053923487663, -0.8167476058006287, -0.6677417755126953, -0.3900553584098816, -0.4007917642593384, 0.23314546048641205, -0.620007336139679, 0.796593964099884, -0.2215743213891983, 0.6115589141845703, 0.17757415771484375, 0.03289461508393288, -0.33761119842529297, 0.18905383348464966, 0.24558232724666595, -0.13716766238212585, -0.25747424364089966, -0.2511208951473236, -0.13752596080303192, -0.5294933915138245, 0.2897365689277649, 0.2922046184539795, -0.012322907336056232, -0.019341887906193733, 0.6020695567131042, 0.9041906595230103, -0.14897894859313965, -0.049789365381002426, 0.6665698885917664, -0.1902431696653366, -0.4729045033454895, -0.7791813611984253, -0.04267999529838562, -0.4077564775943756, 0.1153620034456253, 0.4353334307670593, 0.3275759220123291, 0.22900265455245972, -0.4821120798587799, 0.3390085697174072, 0.25249984860420227, -0.29524773359298706, -0.2891285717487335, 0.6772379875183105, 0.4962405562400818, 0.17588478326797485, 0.6544354557991028, -0.2886625826358795, -0.6246135234832764, 0.7686852812767029, 0.37617504596710205, 1.2953956127166748, -0.7426357865333557, 0.2708365321159363, 0.6465969681739807, 0.28459587693214417, -0.12051953375339508, 0.733895480632782, -0.013928335160017014, -0.7355290651321411, -0.589621901512146, -1.1592600345611572, -0.1253582090139389, 0.1701284497976303, -0.7363793253898621, 0.14367419481277466, -0.09474030137062073, -0.32543879747390747, -0.10537198185920715, -0.015258166939020157, -0.8009390830993652, 0.5236180424690247, 0.14778827130794525, 0.6284489035606384, -1.2764769792556763, 0.8301629424095154, 0.8418777585029602, -0.5825720429420471, -1.0310301780700684, 0.23063968122005463, -0.1886255294084549, -0.45017117261886597, 0.6600280404090881, 0.3863401710987091, -0.3604639768600464, 0.06284043937921524, -0.2534230351448059, -1.003872036933899, 0.8817957639694214, 0.217470183968544, -0.16406618058681488, -0.08979324996471405, 0.041901860386133194, 0.5577134490013123, -0.6262344717979431, 0.728427529335022, 0.4728584885597229, 0.6586230397224426, -0.013361704535782337, -0.5881473422050476, -0.3028937876224518, -0.5133755803108215, -0.3401508629322052, 0.17806263267993927, -0.5886987447738647, 1.200055718421936, -0.3463742733001709, 0.012308593839406967, -0.007405590265989304, 0.6873660087585449, -0.3596043884754181, 0.1210702583193779, 0.3280636668205261, 0.6997554898262024, 0.6317328214645386, -0.07816132158041, 0.8790348768234253, -0.5331118702888489, 0.08026120066642761, 0.7677459716796875, -0.08700140565633774, 0.6476642489433289, 0.032591644674539566, -0.031040383502840996, 0.9143572449684143, 0.4997999370098114, -0.07649704813957214, 0.6905314922332764, -0.00884864293038845, -0.4610227644443512, -0.6033926606178284, 0.20375819504261017, -0.17528074979782104, 1.058570384979248, 0.4164520502090454, -0.7000853419303894, 0.08522994071245193, 0.2682987451553345, -0.36025509238243103, 0.2672135531902313, -0.43846696615219116, 0.8811058402061462, -0.11585996299982071, -1.2983624935150146, 0.26367321610450745, -0.055031973868608475, 0.645878255367279, -0.7195755243301392, -0.39838314056396484, -0.32133010029792786, 0.20413830876350403, -0.040323592722415924, -0.6661006808280945, 0.2631990611553192, -0.1641518622636795, -0.5373506546020508, -0.5087453126907349, 0.7617028951644897, -0.7031010389328003, -0.9003008008003235, 0.3667535185813904, 0.46023744344711304, -0.03609059005975723, 0.14586685597896576, -0.38291797041893005, -0.22606246173381805, -0.1999291479587555, -0.3072579801082611, 0.17581482231616974, 0.3562085032463074, 0.17110660672187805, 0.47981196641921997, 0.35662969946861267, -0.07414959371089935, 0.1246381476521492, 0.040473055094480515, 0.617942750453949, -0.7414631843566895, -0.7617022395133972, -0.6197344064712524, 0.40251651406288147, -0.05112127587199211, -0.28994327783584595, 0.42267516255378723, 0.35969337821006775, 0.479415625333786, -0.25993597507476807, 1.332298755645752, 0.0217457115650177, 0.775384247303009, -0.5300045609474182, 0.7612109780311584, -0.5775606036186218, -0.1601150780916214, -0.3620706796646118, -0.5084468722343445, 0.11044768244028091, 0.5955448150634766, -0.24560177326202393, 0.22992369532585144, 1.0746039152145386, 0.4546676576137543, 0.2698272168636322, 0.23573948442935944, 0.2587827146053314, -0.14717508852481842, 0.10999488830566406, 0.9454953074455261, 0.7340458631515503, -0.32783859968185425, 0.42949429154396057, -0.299615740776062, -0.31765133142471313, -0.16112713515758514, -0.8828656077384949, -0.9188687801361084, -0.7117281556129456, -0.16178801655769348, -0.15926378965377808, 0.15779240429401398, 0.7255722284317017, 0.3877342641353607, -0.8522785305976868, -0.03153125196695328, 0.24844489991664886, -0.22038868069648743, -0.682951807975769, -0.2683085501194, 0.3876965641975403, -0.7052553296089172, -0.6869797110557556, 0.34204259514808655, 0.0004003973735962063, -0.003032539738342166, -0.3653486967086792, 0.05514448881149292, -0.13560296595096588, 0.34272879362106323, 0.4971526563167572, 0.17833878099918365, -0.33131781220436096, -0.5084972381591797, -0.01863129623234272, -0.16327115893363953, -0.020229358226060867, 0.8503510355949402, -0.8814395666122437, 0.3050732910633087, 0.35987958312034607, 0.4147420823574066, 0.29211845993995667, 0.1332872062921524, 0.9333345293998718, -0.6757165789604187, -0.3666352331638336, 0.5466474890708923, 0.614945650100708, 0.25417348742485046, -0.5408211946487427, 0.026457680389285088, 0.1379966288805008, -0.6266414523124695, -0.20273920893669128, 0.3211039900779724, -0.4658410847187042, -0.3120987117290497, 0.7207602262496948, -0.5190162658691406, -0.03083239682018757, -0.20552243292331696, 0.18753710389137268, 0.1834845244884491, -0.5634667277336121, 1.2553647756576538, 0.8043493032455444, -0.44006580114364624, -0.2904800772666931, -0.023463280871510506, 0.8287197351455688, 0.5254590511322021, -0.8033710718154907, -0.18802616000175476, 0.7317333817481995, 0.13393722474575043, -0.03433329239487648, 0.7311109304428101, 0.03472239896655083, 0.48159515857696533, 0.20737066864967346, 0.45783668756484985, -0.1087198406457901, -0.47826582193374634, -0.16902761161327362, 0.4977003037929535, 0.20352166891098022, -0.40405070781707764 ]
http://arxiv.org/abs/2403.08319v2
http://arxiv.org/pdf/2403.08319v2
Knowledge Conflicts for LLMs: A Survey
2024-03-13T08:02:23
2024-06-22T08:31:40
Rongwu Xu, Zehan Qi, Zhijiang Guo, Cunxiang Wang, Hongru Wang, Yue Zhang, Wei Xu
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
This survey provides an in-depth analysis of knowledge conflicts for large language models (LLMs), highlighting the complex challenges they encounter when blending contextual and parametric knowledge. Our focus is on three categories of knowledge conflicts: context-memory, inter-context, and intra-memory conflict. These conflicts can significantly impact the trustworthiness and performance of LLMs, especially in real-world applications where noise and misinformation are common. By categorizing these conflicts, exploring the causes, examining the behaviors of LLMs under such conflicts, and reviewing available solutions, this survey aims to shed light on strategies for improving the robustness of LLMs, thereby serving as a valuable resource for advancing research in this evolving area.
[ -0.5132271647453308, -0.7296680212020874, 0.8325102925300598, 0.23113860189914703, -0.015003502368927002, 0.29930633306503296, -0.26079097390174866, -0.7661440968513489, -0.23447823524475098, 0.6822196245193481, -0.2498941719532013, -0.36684563755989075, -0.8115570545196533, -0.22758054733276367, -0.4694225490093231, 0.5997825264930725, -0.425963819026947, 0.17408621311187744, -0.669366180896759, -0.4133129119873047, -0.5321812033653259, -0.8558449149131775, -0.6523706912994385, -0.30867141485214233, 0.49424681067466736, 0.3335355222225189, 0.46750426292419434, 0.09420692175626755, 0.6547932624816895, 0.3393486440181732, -0.2727607488632202, 0.2832171320915222, -0.41131260991096497, 0.66608726978302, -0.22690829634666443, -0.3940928280353546, -0.2457997351884842, -0.04478760063648224, 0.5886874794960022, 0.48597127199172974, -0.1369694173336029, 0.23104271292686462, 0.10906805098056793, 0.5856834053993225, -0.7395684123039246, 0.11713492125272751, -0.6400127410888672, -0.06421788036823273, -0.4576519727706909, -0.17444245517253876, 0.07000286877155304, -0.5924357771873474, 0.3868846893310547, -0.3340565860271454, -0.11905506998300552, 0.1943049430847168, 0.8430222868919373, 0.3706420660018921, -0.6698133945465088, -0.5182571411132812, -0.7900537848472595, 0.7761797308921814, -0.7456874251365662, 0.4467787444591522, 0.5229296684265137, 0.2101728618144989, -0.15927065908908844, -0.5322505235671997, -0.48984426259994507, 0.062411610037088394, 0.08855969458818436, -0.07705405354499817, -0.23572036623954773, -0.24688515067100525, 0.28710392117500305, 0.16058459877967834, -0.40619024634361267, 0.3535478115081787, -0.40085211396217346, -0.21224123239517212, 0.5078608989715576, 0.3782031536102295, 0.3837992250919342, 0.0858304351568222, -0.18043825030326843, 0.030485935509204865, -1.1039179563522339, 0.038389019668102264, 0.43565165996551514, -0.21248747408390045, 0.04311515763401985, 0.46398311853408813, -0.05233898386359215, 0.9761632084846497, -0.23552581667900085, -0.3585895597934723, -0.1732109934091568, -0.2752537131309509, 0.058743882924318314, 0.07076968997716904, 0.9103477001190186, 0.5669336318969727, 0.09165319055318832, -0.023439187556505203, -0.29602909088134766, -0.21106503903865814, 0.009143538773059845, -0.413495272397995, 0.23822753131389618, 0.28320521116256714, -0.3167808949947357, -0.14661318063735962, -0.1438184231519699, -0.7550956010818481, -0.6445470452308655, -0.2916099429130554, 0.3975764811038971, -0.4073737859725952, -0.38426530361175537, -0.019572308287024498, -0.11328034847974777, 0.1370101273059845, 0.34713634848594666, -0.5851811170578003, 0.04635373875498772, 0.6124182343482971, 0.5684220194816589, -0.13966131210327148, -0.3373331129550934, -0.11011770367622375, 0.5091004371643066, -0.24779008328914642, 0.7713074088096619, -0.5091019868850708, -0.42224350571632385, 0.29469531774520874, -0.35275164246559143, -0.25970518589019775, -0.9104325175285339, 0.2731828987598419, -0.6782112717628479, 0.4164297580718994, -0.6626275777816772, -0.778018593788147, -0.103180892765522, 0.5877712965011597, -0.6428889036178589, 1.2096953392028809, 0.19472451508045197, -0.8124650716781616, 0.36850470304489136, -0.3857843279838562, -0.1560392677783966, -0.06553827971220016, -0.49168577790260315, -0.12242848426103592, 0.00975851435214281, -0.17707425355911255, 0.5852407813072205, -0.7834944725036621, 0.5342292785644531, -0.22593893110752106, -0.20239900052547455, 0.3746947646141052, -0.15321987867355347, 0.46640723943710327, 0.404354453086853, -0.19548453390598297, 0.17944613099098206, -0.7529816627502441, -0.33292365074157715, 0.10906699299812317, -0.46455225348472595, -0.616605818271637, 0.1712036430835724, -0.4299808144569397, 0.4104694426059723, 0.6797187924385071, -0.37759697437286377, 0.11194952577352524, 0.18287242949008942, 0.38349685072898865, 0.6449129581451416, 0.20288114249706268, 0.30132076144218445, -0.5671359896659851, 0.5250356793403625, 0.5618429183959961, 0.2982959747314453, 0.18942278623580933, -0.5527904033660889, -0.785394549369812, 0.4114943742752075, -0.01141095720231533, 0.4741487205028534, -0.7577369809150696, 0.11971302330493927, -0.09145325422286987, -0.3570868670940399, -0.16440747678279877, 0.24714770913124084, 0.3182474970817566, 0.6462780237197876, 0.25430867075920105, 0.11099182069301605, -0.41295066475868225, -0.8664124011993408, -0.38430482149124146, -0.3153921663761139, 0.27148181200027466, 0.41860780119895935, 0.2162650227546692, -0.31086084246635437, 1.0455772876739502, -0.36216020584106445, -0.28612178564071655, -0.07936365157365799, 0.19696390628814697, -0.27954038977622986, 0.33923032879829407, 0.6379996538162231, -0.6372646689414978, -0.4871070384979248, 0.055019572377204895, -0.7694175839424133, -0.04966377094388008, 0.2930704951286316, 0.21560056507587433, 0.40203821659088135, 1.0372743606567383, -0.6065931916236877, 0.10831025242805481, 0.7113135457038879, -0.24121835827827454, 0.46319469809532166, 0.05120598152279854, 0.1691388338804245, -1.1786409616470337, -0.22752073407173157, 0.11408670246601105, 0.16953378915786743, -0.4220457375049591, 0.007807693909853697, 0.1307995468378067, 0.27025699615478516, -0.6513894200325012, 0.6523202657699585, -0.5442543029785156, 0.12196711450815201, 0.14693902432918549, 0.25477343797683716, -0.1817196011543274, 0.05477872118353844, 0.0023947765585035086, 0.8473089337348938, 0.628673791885376, -0.738595724105835, 0.4072967767715454, 0.04541248828172684, -0.6225801706314087, 0.4829998314380646, -0.27214497327804565, -0.05113697052001953, -0.14104799926280975, 0.03722165524959564, -0.8580238819122314, -0.3216700255870819, 0.25676479935646057, -0.11757989972829819, 0.2673727571964264, -0.0515667162835598, -0.7169981002807617, -0.07008174806833267, -0.13960371911525726, 0.7016304731369019, 0.41814130544662476, -0.28752249479293823, 0.49836787581443787, 0.482709139585495, -0.191349595785141, -0.7196742296218872, -0.586797833442688, 0.03890232369303703, -0.5502188205718994, -0.5169548392295837, 0.10862099379301071, -0.06560016423463821, -0.6429679989814758, 0.20577427744865417, -0.16235999763011932, -0.35993504524230957, -0.20190292596817017, 0.09247630089521408, 0.07498505711555481, -0.32025817036628723, 0.15970584750175476, -0.09819052368402481, 0.29622483253479004, 0.23160420358181, 0.057176943868398666, 0.6015797257423401, -0.20508228242397308, -0.6000078320503235, -0.02195758931338787, 0.21068380773067474, 0.7691448926925659, 0.011211131699383259, 0.8622465133666992, 0.5369468331336975, -0.3146350681781769, -0.04721943289041519, -1.2151048183441162, 0.07719293236732483, -0.47910892963409424, 0.3273908495903015, -0.2806376814842224, -1.4720531702041626, 0.8346814513206482, -0.35394856333732605, -0.10572469234466553, 0.27312609553337097, 0.5110232830047607, -0.10458718240261078, 0.813374936580658, 0.497005820274353, -0.39570489525794983, 0.4132254719734192, 0.15955626964569092, 0.2817499041557312, -0.8274045586585999, -0.651161789894104, -0.5206440091133118, -0.26211249828338623, -0.27796849608421326, -0.4772526025772095, 0.3516375422477722, 0.1997259259223938, -0.30194607377052307, 0.4376857578754425, -0.15789806842803955, 0.4225216209888458, 0.22659070789813995, -0.40362659096717834, 0.39875730872154236, -0.3131673336029053, -0.2717193067073822, -0.13760906457901, -0.8712351322174072, -0.5747376680374146, 0.9707819819450378, 0.4487391412258148, 0.7981441617012024, 0.5673642158508301, 0.6481069922447205, -0.17988765239715576, 0.20056626200675964, -0.5847557783126831, 0.6394730806350708, 0.1565220057964325, -0.6852558851242065, -0.26820752024650574, -0.574830949306488, -0.9441531896591187, 0.07600487768650055, -0.057053547352552414, -1.002414345741272, 0.196328267455101, -0.09425949305295944, -0.2505360245704651, 0.5486700534820557, -0.4749438166618347, 0.6770485043525696, -0.4080207943916321, -0.23631566762924194, -0.11066216230392456, -0.5344600677490234, 0.8311110138893127, -0.28470325469970703, 0.2891722023487091, -0.17231953144073486, 0.0006119500030763447, 0.8879688382148743, -0.1470160037279129, 0.6966646909713745, 0.07381533831357956, -0.5524531006813049, 0.4104645550251007, 0.21062582731246948, 0.40698423981666565, 0.03587896749377251, 0.11960455775260925, 0.1949727088212967, 0.38460519909858704, -0.0751303881406784, -0.3789948523044586, 0.8066815137863159, -0.8512584567070007, -0.7684444785118103, -0.48715707659721375, -0.796113133430481, -0.8399884700775146, 0.09601783752441406, 0.3523620069026947, 0.20652806758880615, -0.23197020590305328, 0.3029780387878418, 1.263318419456482, -0.3196069598197937, 0.5450056195259094, 0.738730788230896, -0.3914198875427246, 0.023941226303577423, 0.8832707405090332, 0.2816186547279358, 0.2918708324432373, 0.24595029652118683, 0.035809505730867386, -0.23963913321495056, -0.7337470650672913, 0.07411298900842667, 0.15481029450893402, -0.7569663524627686, -0.32278916239738464, -0.5262390375137329, -0.3505606949329376, -0.4436379671096802, 0.1190737932920456, -0.3804340362548828, -0.15302957594394684, -0.4075492024421692, 0.27529022097587585, 0.33314600586891174, 1.1304731369018555, 0.1956712305545807, 0.4389400780200958, -1.042461633682251, 0.09384382516145706, 0.35665902495384216, 0.409132182598114, -0.07165218889713287, -0.4525408446788788, -0.3606351912021637, -0.39412379264831543, -0.3506391644477844, -1.0827640295028687, 0.12593549489974976, -0.29598867893218994, 0.8116641044616699, 0.6328680515289307, 0.07326333969831467, 0.7692033052444458, -0.10476484149694443, 1.0470106601715088, 0.2624243497848511, -0.7804564237594604, 0.19127076864242554, -0.4812155067920685, 0.10216163843870163, 0.4855765998363495, 0.6482416987419128, -0.6232536435127258, -0.5817650556564331, -0.5524165034294128, -0.8923061490058899, 0.5582207441329956, -0.23359864950180054, -0.2795080542564392, 0.0058581032790243626, 0.33031314611434937, -0.3416249752044678, 0.24080614745616913, -0.5494949817657471, -0.19391053915023804, 0.3650294840335846, -0.12354744225740433, 0.05937515199184418, -0.5276756286621094, -0.6084288358688354, -0.37516626715660095, 0.5196369886398315, 0.15922695398330688, -0.0330687053501606, -0.0677485466003418, -0.2149428129196167, -0.29549267888069153, 0.29922381043434143, 0.9103410840034485, 1.02875816822052, -0.008186999708414078, 0.3516443371772766, 0.418338418006897, -0.27019867300987244, 0.22143495082855225, -0.22554491460323334, 0.04570040851831436, -0.307736337184906, 0.3662930428981781, 0.69026118516922, 0.4201568365097046, -0.8604527115821838, 0.6105446815490723, -0.2462143748998642, -0.44130808115005493, -0.2946297228336334, 0.04720050469040871, 0.509838342666626, 0.3450009822845459, 0.1558070331811905, 0.12545901536941528, -0.14177094399929047, -0.5066917538642883, -0.038292188197374344, 0.5478205680847168, -0.3707002103328705, 0.07568545639514923, 0.3227909803390503, -0.04451104626059532, -0.019398652017116547, 0.3575601577758789, -0.031294260174036026, -0.5233936905860901, 0.4076007008552551, 0.4348621368408203, 0.5017737150192261, -0.22075612843036652, 0.0034561739303171635, -0.04633698612451553, 0.28570663928985596, -0.2490207552909851, 0.1156848594546318, 0.017465630546212196, -0.962597131729126, -0.2465232014656067, -0.5631694793701172, -0.6709761023521423, 0.602761447429657, -0.6387622952461243, 0.04198814928531647, -0.4209068715572357, -0.29611971974372864, -0.5072407126426697, -0.0025875354185700417, -0.578118085861206, -0.07830753922462463, 0.05631279945373535, 0.8162639141082764, -0.6042435169219971, 0.9197971224784851, 0.8551486134529114, -0.25436991453170776, -0.7901076078414917, 0.09746911376714706, 0.10323711484670639, -0.6678434610366821, 0.843497633934021, -0.4420720338821411, -0.20879347622394562, -0.41341257095336914, -0.45272648334503174, -1.0504639148712158, 1.1814194917678833, 0.36069777607917786, -0.49645721912384033, 0.027493836358189583, 0.3554457426071167, 0.3884809613227844, -0.26969113945961, -0.0954119935631752, 0.7290387749671936, 0.713168740272522, -0.025358224287629128, -1.0087553262710571, -0.07151739299297333, 0.08246322721242905, 0.10969541221857071, 0.13645072281360626, -1.091972827911377, 1.0078474283218384, 0.391872763633728, -0.16108503937721252, -0.08425217121839523, 0.5525603890419006, 0.5206153392791748, 0.412640780210495, 0.3435676693916321, 0.7018736600875854, 0.6259600520133972, -0.20360931754112244, 0.5686511397361755, -0.6138258576393127, 0.12720651924610138, 1.2110024690628052, -0.48720479011535645, 0.6998974084854126, 0.7323300242424011, -0.31573736667633057, 0.45410147309303284, 0.7265475988388062, 0.2892308235168457, 0.029169701039791107, 0.0996057316660881, -0.5165522694587708, -0.09288344532251358, 0.005001547746360302, -0.6937214136123657, 0.4158838987350464, 0.5944886803627014, -0.12857668101787567, -0.3643469512462616, -0.26996347308158875, 0.19363297522068024, -0.02249963767826557, 0.0034712394699454308, 0.8040634989738464, -0.03731483966112137, -0.7423381209373474, 0.2585684359073639, 0.051625125110149384, 0.8493542671203613, -0.7388830780982971, 0.19033680856227875, -0.02444165199995041, 0.04770594462752342, -0.2617381513118744, -1.0036031007766724, 0.3441358804702759, -0.26586800813674927, -0.16340585052967072, -0.26780518889427185, 0.8493095636367798, -0.7102789282798767, -0.03508567437529564, 0.5174787044525146, 0.9430853128433228, 0.022106753662228584, -0.06929101794958115, -0.5558241605758667, 0.5557958483695984, -0.27000507712364197, -0.29703444242477417, 0.818931519985199, 0.5769849419593811, -0.18948404490947723, 0.8002291321754456, 0.40369996428489685, 0.1572342813014984, 0.41762858629226685, 0.045197829604148865, 0.9169811606407166, -0.5967857241630554, -0.0036557249259203672, -0.8397594690322876, 0.13358165323734283, -0.07685600966215134, -0.35322105884552, 1.0775741338729858, 0.6172725558280945, 0.7490364909172058, -0.06121392548084259, 0.7666587829589844, 0.06656546145677567, 0.5197250843048096, -0.5080843567848206, 0.9105401039123535, -0.5285289287567139, 0.40196850895881653, -0.2781696319580078, -0.8608527183532715, -0.16096794605255127, 0.3314772844314575, -0.33705174922943115, 0.002596362493932247, 0.7752453088760376, 0.6852843165397644, 0.09387824684381485, 0.03602363169193268, 0.5239328145980835, 0.12567707896232605, 0.15417996048927307, 0.707149863243103, 1.4395263195037842, -0.27146705985069275, 0.47041425108909607, -0.21691645681858063, 0.13745439052581787, -0.12124600261449814, -0.9969226121902466, -0.7903889417648315, -0.929908812046051, -0.38810035586357117, -0.18624497950077057, -0.08239126205444336, 0.6827725768089294, 0.5077947974205017, -0.7103124856948853, -0.6206626892089844, 0.15115207433700562, 0.4642869532108307, 0.2789032757282257, -0.24460043013095856, -0.053824495524168015, -0.5307400822639465, -0.6625360250473022, 0.38619276881217957, 0.11985082924365997, 0.18536213040351868, -0.39725613594055176, -0.20120714604854584, -0.168671116232872, 0.08468735218048096, 0.7734964489936829, 0.4677868187427521, -0.8481151461601257, -0.3045096695423126, -0.28367483615875244, -0.13680586218833923, -0.33415499329566956, 1.2227180004119873, -0.5154565572738647, 0.10011371970176697, 0.5024707913398743, 0.6039389967918396, 0.30027341842651367, -0.20950022339820862, 0.44620388746261597, -0.7607228755950928, 0.04302261769771576, 0.14061616361141205, 0.5056112408638, 0.14076168835163116, -0.5403957962989807, 0.20223282277584076, 0.1546885222196579, -0.7843162417411804, -0.8903084993362427, 0.25171464681625366, -0.9330999851226807, -0.4561377465724945, 1.424142837524414, 0.059468574821949005, 0.21915169060230255, -0.3730369806289673, -0.0036004309076815844, 0.2009126991033554, -0.16858915984630585, 0.5962386727333069, 1.2566503286361694, -0.41322168707847595, -0.1645745486021042, -0.7234483361244202, 0.9123227000236511, 0.2900729179382324, -0.6697921752929688, -0.029338447377085686, 0.6862645149230957, 0.5142760276794434, 0.1083536222577095, 0.5268667936325073, -0.3635829985141754, -0.16311460733413696, -0.4004158675670624, -0.17534320056438446, 0.0037266367580741644, -0.39884722232818604, -0.30199122428894043, 0.46523967385292053, 0.350385457277298, 0.39073023200035095 ]
http://arxiv.org/abs/2403.09733v1
http://arxiv.org/pdf/2403.09733v1
OverleafCopilot: Empowering Academic Writing in Overleaf with Large Language Models
2024-03-13T07:52:31
2024-03-13T07:52:31
Haomin Wen, Zhenjie Wei, Yan Lin, Jiyuan Wang, Yuxuan Liang, Huaiyu Wan
cs.CL
cs.CL, cs.AI
The rapid development of Large Language Models (LLMs) has facilitated a variety of applications from different domains. In this technical report, we explore the integration of LLMs and the popular academic writing tool, Overleaf, to enhance the efficiency and quality of academic writing. To achieve the above goal, there are three challenges: i) including seamless interaction between Overleaf and LLMs, ii) establishing reliable communication with the LLM provider, and iii) ensuring user privacy. To address these challenges, we present OverleafCopilot, the first-ever tool (i.e., a browser extension) that seamlessly integrates LLMs and Overleaf, enabling researchers to leverage the power of LLMs while writing papers. Specifically, we first propose an effective framework to bridge LLMs and Overleaf. Then, we developed PromptGenius, a website for researchers to easily find and share high-quality up-to-date prompts. Thirdly, we propose an agent command system to help researchers quickly build their customizable agents. OverleafCopilot (https://chromewebstore.google.com/detail/overleaf-copilot/eoadabdpninlhkkbhngoddfjianhlghb ) has been on the Chrome Extension Store, which now serves thousands of researchers. Additionally, the code of PromptGenius is released at https://github.com/wenhaomin/ChatGPT-PromptGenius. We believe our work has the potential to revolutionize academic writing practices, empowering researchers to produce higher-quality papers in less time.
[ -0.3826114237308502, -0.6191869974136353, 0.8856218457221985, 0.15429429709911346, 0.2580290734767914, 0.7449838519096375, -0.29835352301597595, -0.6831699013710022, 0.3165002763271332, 0.5697121024131775, -0.5656630396842957, -0.7653606534004211, -0.2327958047389984, -0.02115979604423046, -0.3974241614341736, 0.8746778964996338, -0.30870428681373596, -0.11234623938798904, -0.7332584857940674, -0.03636221960186958, 0.00022033389541320503, -0.5457755923271179, -0.5286082029342651, -0.12128276377916336, 1.043393611907959, 0.43335938453674316, 0.503573477268219, 0.27487289905548096, 0.6148185133934021, 0.3342205584049225, 0.1267223358154297, 0.1858266294002533, -0.5667571425437927, 0.3454159200191498, -0.284589558839798, -0.48363953828811646, -0.6434410214424133, -0.03459949418902397, 0.5718880295753479, 0.46843111515045166, -0.022984826937317848, 0.06411661207675934, 0.1916872262954712, 0.4525319039821625, -0.5800535082817078, 0.040431007742881775, -0.05078420415520668, -0.20887506008148193, -0.41902169585227966, -0.4263698160648346, -0.2734842300415039, -0.8660159111022949, -0.003852189052850008, -0.9007478356361389, 0.0007973311585374177, 0.4034994840621948, 0.4763191044330597, 0.07514192909002304, -0.3374096155166626, -0.5757659673690796, -0.47601401805877686, 0.7029321193695068, -0.5042186975479126, 0.11868873983621597, 0.06143662706017494, 0.48421144485473633, -0.4180503487586975, -1.0548207759857178, -0.6183608174324036, -0.40455761551856995, 0.005064419936388731, 0.34301429986953735, -0.27746719121932983, 0.13330060243606567, 0.21850676834583282, 0.2097001075744629, -0.7977015972137451, 0.44227176904678345, -0.22585994005203247, 0.09045945107936859, 0.5678620934486389, 0.3879747986793518, 0.2702695429325104, 0.20537379384040833, 0.03472915664315224, -0.007888964377343655, -0.563297688961029, 0.0559920072555542, 0.6315641403198242, 0.2800239026546478, 0.11555713415145874, 0.5458233952522278, 0.14075101912021637, 0.43074294924736023, -0.33078908920288086, 0.08265762776136398, 0.050251640379428864, 0.04807865992188454, 0.008693711832165718, 0.061613451689481735, 0.7639714479446411, 0.36687716841697693, 0.07919829338788986, -0.13553495705127716, 0.06753720343112946, 0.03588223084807396, 0.23051564395427704, -0.7249781489372253, 0.076324462890625, 0.6309130787849426, -0.20521488785743713, -0.2330412119626999, -0.10920393466949463, -0.8445396423339844, -0.9485771059989929, -0.37343576550483704, 0.11097501963376999, -0.4083065688610077, -0.15780001878738403, -0.01706118881702423, -0.2432691603899002, 0.0728849321603775, 0.5702895522117615, -0.7760504484176636, 0.5987751483917236, 1.1023746728897095, 1.0797786712646484, -0.3750820457935333, -0.5227344632148743, -0.3926908075809479, 0.0370328426361084, -0.1892080157995224, 0.6189950108528137, -0.34145185351371765, -0.5877334475517273, 0.4589484930038452, -0.10566231608390808, 0.004168197046965361, 0.036282334476709366, 0.5274512767791748, -0.4927680194377899, 0.3261457681655884, -0.2820315659046173, -0.8730027079582214, -0.05949821695685387, 0.29639339447021484, -0.6878049373626709, 0.7959156632423401, 0.21880461275577545, -0.5715547204017639, 0.0045097460970282555, -0.877147912979126, -0.2743108570575714, 0.2992876470088959, -0.12459053844213486, -0.23905616998672485, -0.02830319292843342, -0.25842830538749695, 0.3455325663089752, -0.4928421676158905, 0.2767305374145508, -0.3965741991996765, -0.0564422607421875, 0.4690426290035248, -0.07891461253166199, 0.8524511456489563, 0.19688567519187927, 0.04345862194895744, 0.4098278284072876, -0.7735403180122375, 0.06945561617612839, -0.08069690316915512, -0.06919992715120316, 0.003016779897734523, -0.22316433489322662, 0.49139219522476196, -0.296151340007782, 0.5122118592262268, -0.8651497960090637, 0.6422618627548218, 0.09421483427286148, 0.5552302598953247, 0.3644573390483856, -0.2409716099500656, 0.2827909290790558, -0.5371929407119751, 0.8997352123260498, -0.970504105091095, 0.17615766823291779, -0.17911799252033234, -0.27844980359077454, -0.5144591331481934, -0.4420132339000702, 0.4500068128108978, 0.5574526786804199, -0.4522069990634918, 0.44515642523765564, -0.28950434923171997, -0.7301227450370789, -0.494049072265625, 0.09432124346494675, 0.09792077541351318, 0.14981438219547272, 0.17184628546237946, -0.03739576414227486, -0.3952507972717285, -0.3805001676082611, -0.08857382088899612, 0.07420965284109116, -0.22927159070968628, -0.07326814532279968, 0.5759198665618896, -0.1927194595336914, 1.1882401704788208, -0.6551109552383423, -0.6002238988876343, -0.6752980947494507, 0.5131980776786804, 0.05818292871117592, 0.431816041469574, 0.7181230187416077, -0.5684665441513062, -0.8031055927276611, 0.12009114027023315, -0.4967498779296875, -0.4838644862174988, -0.2788149416446686, -0.07207081466913223, 0.36090123653411865, 0.8141090273857117, -0.5679631233215332, 0.14333447813987732, 0.6475271582603455, -0.22926482558250427, 0.501848578453064, -0.3138432502746582, 0.0395788848400116, -0.9494189620018005, 0.5130457878112793, 0.16021324694156647, -0.35383090376853943, -0.5035298466682434, 0.16876858472824097, 0.07791128754615784, -0.2574528455734253, -0.19657227396965027, 0.7176139950752258, -0.48742231726646423, 0.18703408539295197, -0.40390363335609436, 0.3266052305698395, 0.2211225926876068, 0.3794921338558197, -0.012695771642029285, 0.6258757710456848, 0.5380738973617554, 0.07287024706602097, 0.4294697642326355, 0.1834724396467209, -0.17404451966285706, 0.543378472328186, -0.7486412525177002, 0.02408425137400627, -0.15237239003181458, 0.3884115219116211, -0.8882282972335815, -0.4550212025642395, 0.08700303733348846, -0.5198161005973816, 0.39971527457237244, 0.14628076553344727, -0.6258490681648254, -0.18759550154209137, -0.6228746771812439, -0.08933480829000473, 0.49410051107406616, -0.381170392036438, 0.8606974482536316, 0.28438153862953186, -0.4461006820201874, -0.08201273530721664, -0.5342754125595093, 0.24209091067314148, -0.12246041744947433, -0.48480668663978577, 0.4415249526500702, -0.0604374036192894, -0.19906890392303467, 0.054418567568063736, 0.28203877806663513, 0.05145193263888359, -0.10735023021697998, 0.4796154797077179, 0.15782685577869415, 0.14338544011116028, 0.12921608984470367, 0.08327537029981613, -0.02614065632224083, 0.15439556539058685, -0.21069759130477905, 0.38712355494499207, 0.06678824126720428, -0.3850790560245514, -0.3795289695262909, 0.6156411170959473, 0.7109403610229492, -0.2806871235370636, 0.5740711092948914, 0.4209553301334381, 0.009533882141113281, -0.3685484230518341, -0.47626519203186035, -0.0180498119443655, -0.5182226896286011, 0.09107956290245056, -0.14966954290866852, -0.8455185294151306, 0.539718508720398, -0.1839071363210678, 0.42256999015808105, 0.14615939557552338, 0.16884389519691467, -0.1637047827243805, 0.629069983959198, 0.8426390290260315, 0.05647820234298706, 0.5978694558143616, -0.4213513731956482, 0.04019065573811531, -0.9076770544052124, -0.26950761675834656, -0.8084168434143066, -0.3197484612464905, -0.5993430018424988, -0.2665684223175049, 0.2950185239315033, -0.2725914418697357, 0.03898196294903755, 0.11276412755250931, -0.28527945280075073, 0.47899267077445984, 0.956539511680603, -0.23343314230442047, 0.14044365286827087, -0.1891399323940277, 0.12263581901788712, -0.15498395264148712, -0.7173128724098206, -0.6797409057617188, 0.9620531797409058, 0.4549896717071533, 0.9426400661468506, 0.09305930137634277, 0.585533618927002, 0.3662310838699341, 0.38736748695373535, -0.6207329630851746, 0.5574783682823181, -0.12283699959516525, -0.532863974571228, -0.4280763864517212, -0.14447608590126038, -1.015194296836853, 0.06982727348804474, -0.2474702149629593, -0.938541054725647, 0.22056180238723755, 0.17039084434509277, -0.5266587734222412, 0.09062767773866653, -0.38875439763069153, 0.9394853115081787, -0.48105359077453613, -0.7776020765304565, -0.12403759360313416, -0.6188511252403259, -0.041841961443424225, -0.08001194894313812, 0.06101885065436363, 0.10475383698940277, 0.014444759115576744, 0.6992809772491455, -0.4182073473930359, 1.008818507194519, 0.20657406747341156, -0.05279988422989845, 0.4007924199104309, 0.07763306796550751, 0.44564810395240784, -0.10206746309995651, -0.09985018521547318, 0.1438017636537552, 0.10335516184568405, -0.16425511240959167, -0.7234066724777222, 1.0551942586898804, -0.6529279947280884, -0.37796539068222046, -0.9398521780967712, -0.5194196701049805, -0.05491173639893532, 0.27924489974975586, 0.09003356844186783, 0.7401986718177795, -0.41365692019462585, 0.38218605518341064, 0.35407716035842896, -0.26812630891799927, 0.39180901646614075, 0.7188551425933838, -0.624133288860321, -0.4790414273738861, 0.9893913865089417, 0.27570316195487976, 0.24262641370296478, 0.4302898943424225, 0.0747547447681427, -0.5147979855537415, -0.6252657771110535, -0.12479177862405777, 0.20878346264362335, -0.794509768486023, 0.10299447178840637, -0.7609602212905884, -0.18390482664108276, -0.5781998634338379, -0.733966588973999, -0.008358055725693703, -0.5660550594329834, -0.4769243896007538, -0.06267455965280533, 0.5694619417190552, 0.5901505947113037, -0.12332756072282791, 0.8047826886177063, -0.6350326538085938, -0.020513838157057762, 0.01693219505250454, 0.15839363634586334, -0.04795897379517555, -0.19841189682483673, -0.13593660295009613, -0.4338234066963196, -0.5954342484474182, -0.5528746843338013, 0.5385836958885193, -0.08661365509033203, 0.41105931997299194, 0.24199436604976654, 0.10499665886163712, 0.26049721240997314, -0.41393306851387024, 0.727810263633728, 0.1739867478609085, -0.9814239740371704, 0.12278565764427185, -0.5570826530456543, 0.36405763030052185, 0.7428507804870605, 0.705322265625, -0.7473215460777283, -0.7363430857658386, -0.3689396381378174, -0.9191567897796631, 0.3766644597053528, 0.09586808830499649, -0.2450050413608551, 0.35887765884399414, -0.007004921790212393, 0.38853225111961365, 0.4522659182548523, -0.409195214509964, 0.03939836844801903, -0.14682799577713013, -0.39813801646232605, -0.4125345051288605, -0.13945728540420532, -0.1648288071155548, -0.04791978374123573, 0.515998125076294, -0.09539689123630524, -0.2971988618373871, 0.18379975855350494, 0.07046027481555939, -0.07454634457826614, 0.2924700081348419, 0.5557272434234619, 0.970314621925354, -0.47027528285980225, 0.03072427399456501, -0.11773782223463058, -0.44035428762435913, -0.26859334111213684, 0.34547168016433716, -0.2520277798175812, 0.03759891912341118, 0.7544914484024048, 0.6656590700149536, -0.05634497106075287, -0.6768080592155457, 0.2836705148220062, -0.07809033244848251, -0.17335164546966553, -0.5579964518547058, 0.15909796953201294, 0.06305607408285141, 0.2954306900501251, 0.4184296131134033, -0.31996163725852966, 0.2784253656864166, -0.6736477613449097, -0.26237085461616516, 0.5033918023109436, -0.20761501789093018, -0.22329573333263397, 0.7290456891059875, 0.5854741334915161, -0.4532056450843811, 0.17119820415973663, -0.10067683458328247, -0.5883469581604004, 0.5074366331100464, 0.36973321437835693, 0.9221623539924622, 0.04390789568424225, 0.4055097997188568, -0.042670682072639465, 0.205070361495018, 0.02427035942673683, 0.42255693674087524, 0.07316382974386215, 0.020524466410279274, -0.3905719220638275, -0.45179587602615356, -0.9758814573287964, -0.029132993891835213, -0.4105962812900543, 0.2972245514392853, -0.5122033357620239, -0.2881665527820587, 0.20296500623226166, 0.2812061309814453, -0.29631465673446655, -0.15144185721874237, -0.13757386803627014, 1.101845145225525, -0.6497960686683655, 0.6582604050636292, 0.7148723602294922, -0.27560749650001526, -0.2790916860103607, -0.2752131521701813, 0.2356862872838974, -0.3259909749031067, 0.25902310013771057, 0.22094213962554932, -0.309571772813797, 0.20362648367881775, -0.6304334402084351, -0.5189026594161987, 1.096521258354187, 0.04775899276137352, -0.9343217015266418, 0.2018180638551712, 0.2655065059661865, 0.8360417485237122, -0.20749300718307495, 0.45548418164253235, 0.3513459265232086, 0.6020480394363403, 0.30044153332710266, -0.7296239137649536, 0.08000333607196808, -0.07153566181659698, -0.22353266179561615, 0.36571305990219116, -0.6733620762825012, 0.7021024227142334, 0.1264767348766327, -0.19236929714679718, 0.30169984698295593, 0.5864453315734863, -0.009333478286862373, 0.5949224829673767, -0.026896344497799873, 0.25803905725479126, 0.9268627762794495, -0.05212501809000969, 1.0609917640686035, -0.3161308467388153, 0.1702953428030014, 1.1668493747711182, -0.661354124546051, 0.6984027624130249, 0.5551364421844482, -0.0462576225399971, 0.4552046060562134, 0.25089845061302185, -0.06762989610433578, 0.27857762575149536, 0.41507139801979065, -0.3176945745944977, 0.14386923611164093, -0.389146625995636, -0.37122800946235657, -0.1625482439994812, 0.27859553694725037, -0.07365380227565765, -0.24927152693271637, 0.1664866805076599, 0.22186043858528137, 0.44469478726387024, -0.20000223815441132, 0.5430800914764404, 0.16436415910720825, -0.6861666440963745, 0.1301003396511078, -0.0902324840426445, 0.37818649411201477, -0.9646075367927551, 0.14613470435142517, -0.21843363344669342, 0.07052385061979294, -0.258342981338501, -1.0984810590744019, 0.11204106360673904, 0.1395624428987503, 0.07229023426771164, -0.4686408042907715, 0.3930514454841614, -0.45467716455459595, -0.5189337730407715, 0.23806725442409515, 0.3152373731136322, -0.012626521289348602, 0.06456299871206284, -0.22056904435157776, 0.6108262538909912, -0.33397242426872253, -0.2709648013114929, 0.17672781646251678, 0.4715903699398041, -0.004255648702383041, 0.8837825059890747, 0.6217673420906067, 0.40612608194351196, -0.09399553388357162, 0.11403073370456696, 0.8295190334320068, -0.5531489849090576, -0.6260508894920349, -0.6793314218521118, 0.507887601852417, -0.4798504412174225, -0.38359782099723816, 1.0951564311981201, 0.6216539740562439, 0.2893120050430298, 0.05744774639606476, 1.1373765468597412, -0.23111601173877716, 0.6903284788131714, -0.35734617710113525, 0.7845351696014404, -0.6024110317230225, -0.08000442385673523, -0.11078814417123795, -0.9450585842132568, -0.5402755737304688, 0.10499352216720581, -0.5027180314064026, -0.3557923138141632, 0.9967829585075378, 0.6097240447998047, 0.011987186037003994, -0.14054545760154724, 0.2327253371477127, -0.023564789444208145, 0.6895439624786377, 0.35270625352859497, 0.7114039063453674, 0.237436443567276, 0.46045613288879395, -0.015584048815071583, -0.48282819986343384, -0.37655821442604065, -1.04643976688385, -1.2790262699127197, -0.49115774035453796, -0.36053383350372314, -0.14486631751060486, 0.16721190512180328, 0.8653593063354492, 0.29746729135513306, -0.6928753852844238, -0.41187599301338196, -0.319991797208786, -0.06105256453156471, 0.13994628190994263, -0.18873050808906555, 0.4118445813655853, -0.169135183095932, -0.8891672492027283, 0.20395934581756592, 0.24575403332710266, 0.14806096255779266, -0.7302709221839905, 0.0040536243468523026, 0.06424682587385178, 0.11967062950134277, 0.325519859790802, 0.7114087343215942, -0.32691648602485657, 0.11920257657766342, 0.09004844725131989, -0.18961627781391144, -0.17593692243099213, 1.0004582405090332, -0.34168726205825806, 0.3392120599746704, 0.6706598997116089, 0.5516014099121094, 0.40572723746299744, 0.1789582073688507, 0.7509090304374695, -0.3489536941051483, -0.0141220698133111, 0.30144500732421875, 0.24996457993984222, 0.36389583349227905, -0.292990118265152, 0.40106961131095886, -0.3584090769290924, -0.9156326651573181, -0.954513669013977, 0.15876461565494537, -1.0447239875793457, -0.49352458119392395, 1.046746850013733, -0.17354492843151093, -0.27751249074935913, 0.0005697758169844747, -0.7262874245643616, 0.054337602108716965, -0.6591368317604065, 0.8399898409843445, 0.6748865246772766, -0.0839110016822815, -0.03824760019779205, -0.5949996709823608, 0.607890784740448, 0.16822785139083862, -1.0736101865768433, 0.10540497303009033, 0.6249034404754639, -0.10655254870653152, 0.5207916498184204, 0.5025160908699036, 0.49631065130233765, 0.18684041500091553, -0.03737121820449829, 0.3188339173793793, -0.4762203097343445, -0.5332867503166199, -0.33713796734809875, 0.36620384454727173, 0.10669496655464172, -0.033684711903333664 ]
http://arxiv.org/abs/2403.08314v1
http://arxiv.org/pdf/2403.08314v1
Is Context Helpful for Chat Translation Evaluation?
2024-03-13T07:49:50
2024-03-13T07:49:50
Sweta Agrawal, Amin Farajian, Patrick Fernandes, Ricardo Rei, André F. T. Martins
cs.CL
cs.CL
Despite the recent success of automatic metrics for assessing translation quality, their application in evaluating the quality of machine-translated chats has been limited. Unlike more structured texts like news, chat conversations are often unstructured, short, and heavily reliant on contextual information. This poses questions about the reliability of existing sentence-level metrics in this domain as well as the role of context in assessing the translation quality. Motivated by this, we conduct a meta-evaluation of existing sentence-level automatic metrics, primarily designed for structured domains such as news, to assess the quality of machine-translated chats. We find that reference-free metrics lag behind reference-based ones, especially when evaluating translation quality in out-of-English settings. We then investigate how incorporating conversational contextual information in these metrics affects their performance. Our findings show that augmenting neural learned metrics with contextual information helps improve correlation with human judgments in the reference-free scenario and when evaluating translations in out-of-English settings. Finally, we propose a new evaluation metric, Context-MQM, that utilizes bilingual context with a large language model (LLM) and further validate that adding context helps even for LLM-based evaluation metrics.
[ -0.25025075674057007, -0.6469220519065857, 0.4254472851753235, 0.4540862441062927, -0.5804663300514221, -0.0651736930012703, -0.5132750272750854, -0.5049406886100769, 0.16620853543281555, 0.09380578994750977, -0.27041390538215637, -0.3589816093444824, -0.49138814210891724, 0.11177584528923035, -0.43459999561309814, 1.0515209436416626, 0.20396019518375397, 0.30989232659339905, -0.6225511431694031, -0.4035530388355255, -0.9546087384223938, -0.6920517683029175, -0.5580340027809143, -0.23294492065906525, 0.3272188603878021, 0.39891988039016724, 0.883732795715332, 0.3273283839225769, 0.5751140117645264, 0.30282554030418396, -0.08257924020290375, 0.4214461147785187, -0.4412361681461334, 0.1630035638809204, -0.13839377462863922, -0.4767667055130005, -0.5541772246360779, 0.11250291019678116, 0.6427783370018005, 0.8112180829048157, 0.048348989337682724, 0.16334742307662964, 0.395001083612442, 0.6894923448562622, -0.5287304520606995, 0.2280060201883316, -0.5002842545509338, 0.027283692732453346, 0.09374067932367325, -0.6934638023376465, -0.41648468375205994, -0.04554753005504608, 0.3740846812725067, -0.3142271637916565, -0.09150218218564987, 0.05209191143512726, 0.7211490273475647, 0.33087337017059326, -0.8222860097885132, -0.286559522151947, -0.7402094006538391, 0.7247999906539917, -0.6727837324142456, 0.542057991027832, 0.35726338624954224, 0.43401214480400085, -0.25431135296821594, -0.3497672379016876, -0.3012043833732605, -0.213096022605896, -0.42527371644973755, 0.2846134305000305, -0.12904053926467896, -0.17811833322048187, -0.2686658799648285, 0.3244994580745697, -0.2294049859046936, -0.07285270094871521, -0.3852652907371521, -0.20827427506446838, 0.5783348083496094, 0.3151420056819916, 0.5567410588264465, -0.41581788659095764, -0.3487114906311035, -0.06425222009420395, -0.4584376811981201, 0.1827654093503952, 0.06889833509922028, 0.2506842315196991, -0.2406388521194458, 0.3062092661857605, -0.19189533591270447, 0.7456753253936768, -0.24678076803684235, -0.390774130821228, 0.40873607993125916, -0.8166887164115906, -0.06911632418632507, -0.3440965414047241, 0.8601577877998352, 0.9569430947303772, 0.06547145545482635, -0.29499131441116333, 0.04044492915272713, -0.2840854227542877, 0.22027917206287384, -0.6953195333480835, 0.1724196970462799, 0.02126387692987919, -0.5248575210571289, -0.06423617154359818, 0.05125904083251953, -0.4678110182285309, 0.038015685975551605, -0.2885318994522095, 0.16219636797904968, -0.3945024609565735, 0.040032315999269485, -0.18526270985603333, -0.249195858836174, 0.17190685868263245, 0.5419620871543884, -0.6605545878410339, 0.000561076623853296, 0.4552794396877289, 0.8350952863693237, -0.3893541395664215, -0.234657883644104, -0.6095376014709473, -0.17315208911895752, -0.5615507364273071, 0.585058867931366, -0.4659186899662018, -0.43929407000541687, -0.1517195701599121, -0.06472437083721161, -0.1634795367717743, -0.3853089213371277, 0.7596628069877625, -0.4465402662754059, 0.5596080422401428, -0.03253861889243126, -0.41673752665519714, -0.09397760778665543, 0.28461751341819763, -0.3112999498844147, 0.8579103350639343, 0.10948460549116135, -0.6502225995063782, 0.5129640102386475, -0.5335176587104797, -0.6441981792449951, 0.09278389066457748, -0.08158715814352036, 0.007525165565311909, 0.27637457847595215, 0.19213922321796417, 0.3096883296966553, -0.27107274532318115, 0.28422439098358154, -0.037165138870477676, -0.5994522571563721, 0.5753117799758911, -0.6202359199523926, 0.33404430747032166, 0.3347690999507904, -0.03632505238056183, 0.080906942486763, -0.36090216040611267, 0.2724899351596832, -0.47646448016166687, -0.46575120091438293, -0.46776220202445984, 0.07457692176103592, -0.07261694222688675, 0.413442462682724, 0.03911924362182617, -0.3000028133392334, -0.2983098030090332, -0.5261496901512146, 0.5552942752838135, 0.10463196784257889, 0.031431879848241806, 0.7144120335578918, -0.1735513061285019, 0.21502754092216492, 0.09887292981147766, 0.12018362432718277, -0.3936578333377838, -0.5581569075584412, -0.8627226948738098, -0.05751051753759384, 0.3276270031929016, 0.5932477116584778, -0.6450881361961365, 0.7812442779541016, -0.5001316666603088, -0.3723776638507843, -0.32817542552948, 0.20243439078330994, 0.507660984992981, 0.6111544966697693, 0.36680611968040466, -0.6072094440460205, -0.4007813632488251, -0.8085129261016846, -0.3081745207309723, -0.05549309402704239, -0.2411661297082901, 0.615830659866333, 0.3631442189216614, -0.30501818656921387, 1.0338832139968872, -0.09798026829957962, -0.37992408871650696, -0.10914276540279388, 0.04654065519571304, 0.10979409515857697, 0.4746723771095276, 0.5491116046905518, -0.5998399257659912, -0.5385156273841858, -0.1475236564874649, -0.636260449886322, -0.11499270796775818, -0.17003276944160461, -0.3600691854953766, 0.08583170175552368, 0.4365851879119873, -0.5262326002120972, 0.38924291729927063, 0.7318477034568787, -0.44416213035583496, 0.2796904742717743, -0.3090696334838867, 0.6036878824234009, -1.2267072200775146, 0.17199411988258362, -0.22413964569568634, -0.4836292564868927, -0.6619978547096252, -0.13561856746673584, 0.15481352806091309, -0.00520208477973938, -0.7059364318847656, 0.6964041590690613, -0.2528887391090393, -0.2584846317768097, -0.3732030689716339, 0.6687705516815186, 0.24438925087451935, 0.37905436754226685, -0.07469546794891357, 1.1070979833602905, 0.09477676451206207, -0.6210881471633911, 0.1681809425354004, 0.4192033112049103, -0.6325967907905579, 0.8432193994522095, -0.3819338381290436, 0.1394236832857132, -0.017329365015029907, 0.49547523260116577, -1.058731198310852, -0.05714960768818855, 0.13567106425762177, -0.79416823387146, 0.21309563517570496, 0.0881267860531807, -0.4037252366542816, -0.0073042334988713264, 0.061251480132341385, 0.358675092458725, 0.30241572856903076, -0.331323504447937, 0.054486144334077835, 0.3770482540130615, 0.17001676559448242, -0.5385298728942871, -0.8345668911933899, 0.4425774812698364, -0.18784822523593903, -0.7127390503883362, 0.3890421688556671, -0.10077372193336487, -0.13874544203281403, -0.11368127167224884, -0.21388067305088043, -0.16942228376865387, 0.39057162404060364, 0.02954717166721821, 0.032821353524923325, -0.12615984678268433, 0.29239702224731445, 0.0004514171159826219, -0.1476559340953827, 0.039492856711149216, -0.20338749885559082, 0.31979647278785706, -0.39652693271636963, -0.25108638405799866, -0.4875001907348633, 0.2444610297679901, 0.5465491414070129, 0.0534709133207798, 0.8842809200286865, 0.5166898369789124, -0.10451406985521317, 0.1270943135023117, -0.4666496217250824, -0.1605221927165985, -0.3691115379333496, 0.4440666735172272, -0.25886163115501404, -0.9427269101142883, 0.4459003508090973, 0.1759035438299179, -0.14260707795619965, 0.42051827907562256, 0.4224558174610138, -0.3376055657863617, 1.037411093711853, 0.39463159441947937, -0.06749485433101654, 0.6549914479255676, 0.08667562156915665, 0.272706538438797, -1.0527052879333496, -0.006628294941037893, -0.32119306921958923, -0.4372844696044922, -0.4196712076663971, -0.585055947303772, 0.5442221164703369, 0.2502588629722595, 0.22344249486923218, 0.39805829524993896, -0.03152047097682953, 0.5267763137817383, 0.3045352101325989, 0.07025088369846344, 0.5302895307540894, -0.20681507885456085, -0.10510484129190445, -0.19969940185546875, -0.690668523311615, -0.6927627921104431, 0.811752438545227, 0.33591970801353455, 0.29182231426239014, -0.04464409500360489, 0.29809337854385376, 0.23111334443092346, 0.6764695048332214, -0.8522089123725891, 0.23009032011032104, -0.04975045844912529, -0.5835800766944885, -0.23510807752609253, -0.6985146999359131, -0.8553459644317627, 0.6098610162734985, -0.15263721346855164, -0.692298948764801, -0.05292700231075287, -0.04492797330021858, -0.25572195649147034, -0.13430273532867432, -0.7918317317962646, 0.8630461096763611, -0.41500645875930786, -0.13805928826332092, -0.3043075501918793, -0.5590258836746216, 0.336734801530838, -0.062145162373781204, 0.4247831404209137, -0.2880346477031708, -0.1765352189540863, 0.714005172252655, -0.340268611907959, 0.6119735836982727, 0.17349298298358917, 0.005193052813410759, 0.3243945837020874, 0.07421933114528656, -0.048346128314733505, 0.35422638058662415, 0.013858001679182053, 0.41325637698173523, 0.28513064980506897, -0.3319871723651886, -0.9390451908111572, 0.6503963470458984, -0.7742848992347717, -0.5873841047286987, 0.02696954272687435, -0.6161330342292786, -0.3931931257247925, 0.06954159587621689, 0.12421734631061554, 0.34530776739120483, -0.3836926221847534, 0.8246583938598633, 0.1161780059337616, -0.2967151999473572, 0.3512466549873352, 0.6074058413505554, 0.06559227406978607, -0.48891034722328186, 0.5162475109100342, -0.15393146872520447, 0.3897884786128998, 0.48808351159095764, 0.19047686457633972, -0.1686139851808548, -0.14856117963790894, -0.6569504737854004, -0.16613012552261353, -0.8745702505111694, -0.3811732828617096, -0.4324926435947418, -0.11721827834844589, -0.04921678081154823, 0.004651828669011593, -0.4483468532562256, -0.3867332637310028, -0.07743601500988007, 0.01419149525463581, -0.08194330334663391, 0.10169867426156998, 0.16117316484451294, 0.42284247279167175, -1.149810552597046, -0.15466849505901337, 0.133855402469635, 0.20396234095096588, -0.0946778878569603, -0.7176038026809692, -0.5410281419754028, 0.4317728281021118, -0.2752991318702698, -0.8683103322982788, 0.4451790452003479, 0.30931055545806885, 0.6030018329620361, 0.217396542429924, -0.09851840883493423, 0.7400057315826416, -0.5492332577705383, 0.9253472685813904, 0.14399166405200958, -1.0265570878982544, 0.42688995599746704, -0.24895529448986053, 0.40622401237487793, 0.775807797908783, 0.08721894025802612, -0.9721172451972961, -0.5585025548934937, -0.33216404914855957, -0.614544153213501, 0.5040229558944702, 0.485953688621521, 0.6884138584136963, -0.1745072305202484, 0.5236407518386841, -0.20891083776950836, 0.4200706481933594, -0.6457789540290833, -0.2805139124393463, -0.13099786639213562, 0.12158992141485214, -0.42726993560791016, -0.21903187036514282, -0.11884523928165436, -0.47303101420402527, 0.22291243076324463, -0.0996723547577858, 0.3259640634059906, 0.2540375292301178, -0.3604598641395569, -0.012067394331097603, 0.44363313913345337, 0.6618168354034424, 0.7589262127876282, -0.17787082493305206, -0.09980829060077667, 0.5369840264320374, -0.0646255686879158, 0.0010670666815713048, -0.4490908086299896, 0.019104328006505966, 0.2013038843870163, 0.3738424479961395, 0.7948603630065918, 0.6378690004348755, -0.5120829343795776, 0.8020837306976318, -0.29145127534866333, 0.06732747703790665, -0.09391806274652481, 0.08106891810894012, 0.07023411989212036, 0.07528017461299896, 0.2798099219799042, 0.178338423371315, 0.10404213517904282, -0.747429609298706, 0.2670568823814392, 0.5451073050498962, -0.738898515701294, -0.2862953245639801, 0.3348640203475952, 0.7438265681266785, -0.38749000430107117, 0.5752999782562256, -0.017319563776254654, -0.5654321908950806, 0.4054734706878662, 0.4473450481891632, 0.7822595238685608, -0.19148552417755127, -0.04166431352496147, 0.4440661370754242, 0.2233503758907318, 0.24727816879749298, -0.15250876545906067, -0.39046111702919006, -0.866851270198822, -0.6156805753707886, -0.46864157915115356, -0.5197663903236389, -0.045069511979818344, -0.35640057921409607, 0.20586887001991272, 0.11147453635931015, -0.3446645736694336, -0.4763169586658478, -0.009804357774555683, -0.7220268845558167, 0.18502576649188995, 0.04667707532644272, 0.8008243441581726, -0.6847575902938843, 0.7592487931251526, 0.45160990953445435, -0.2299918234348297, -0.30488714575767517, -0.02290583960711956, -0.21676205098628998, -0.41992393136024475, 0.6925318241119385, 0.34309646487236023, -0.21690528094768524, -0.27285656332969666, -0.08354706317186356, -1.0538400411605835, 1.048079490661621, 0.272832453250885, -0.15554961562156677, 0.12457828223705292, 0.10222147405147552, 0.9840943813323975, -0.5386925339698792, 0.6814689040184021, 0.5127261281013489, 0.3446026146411896, -0.038384780287742615, -1.2756686210632324, -0.0731518566608429, -0.4516056180000305, 0.03503547981381416, 0.03274161368608475, -0.6605085730552673, 0.38281866908073425, 0.0987863540649414, -0.4399257004261017, -0.061297569423913956, 0.64896559715271, -0.34262189269065857, 0.11492466181516647, 0.532462477684021, 0.11903317272663116, 0.5441125631332397, -0.15197992324829102, 0.9933615922927856, -0.7141152024269104, 0.1498001515865326, 1.2631462812423706, 0.08443844318389893, 1.0622282028198242, 0.5638171434402466, 0.1885380744934082, 0.5769133567810059, 0.48870599269866943, 0.3484111726284027, 0.3463073670864105, -0.019971748813986778, 0.054421134293079376, -0.07778410613536835, -0.035137418657541275, -0.2539651095867157, 0.6705389022827148, 0.5716725587844849, -0.4511033594608307, -0.3191923499107361, 0.02295796200633049, 0.02633734419941902, -0.021945323795080185, 0.1889725774526596, 0.8330804705619812, 0.2321358323097229, -1.0555976629257202, 0.5976619720458984, 0.25554731488227844, 0.551575779914856, -0.24428798258304596, 0.2326304316520691, -0.5122172832489014, 0.13803160190582275, -0.2200828492641449, -0.6311402320861816, 0.8209525346755981, -0.13542750477790833, 0.007847250439226627, -0.38824859261512756, 0.4649168848991394, -0.5326399803161621, 0.02049584873020649, 0.3720325231552124, 0.9155443906784058, 0.265156090259552, -0.1121516078710556, -0.6182799935340881, -0.13499082624912262, -0.3639023005962372, -0.17478488385677338, 0.38855457305908203, 0.40289223194122314, -0.09131770581007004, 0.5693674087524414, 0.7194736003875732, -0.2324487715959549, -0.3422403931617737, 0.0143131660297513, 0.609391450881958, -0.6048361659049988, -0.5477793216705322, -0.9796989560127258, 0.373557448387146, -0.1105085089802742, -0.4944981038570404, 0.9413250684738159, 0.5094260573387146, 0.8835640549659729, 0.15230324864387512, 0.3786115348339081, 0.2167411893606186, 0.3269537091255188, -0.3986983299255371, 0.8269698023796082, -0.6122276782989502, 0.23503507673740387, -0.22108927369117737, -0.977673351764679, -0.2835567891597748, 0.540710985660553, -0.4096875786781311, -0.12265843152999878, 0.9165578484535217, 0.43364763259887695, -0.07367635518312454, -0.09507543593645096, 0.5679861903190613, -0.18873661756515503, 0.2840796709060669, 0.5423361659049988, 0.9999880194664001, -0.6543595194816589, 0.7600364685058594, -0.022607548162341118, -0.25565260648727417, -0.3699056804180145, -1.1060961484909058, -0.9106994867324829, -0.6487619280815125, -0.140096053481102, -0.2647523880004883, -0.1158086508512497, 0.7975202798843384, 0.9203690886497498, -0.6252686977386475, -0.43516454100608826, 0.178011953830719, 0.15571539103984833, -0.09491173923015594, -0.24451255798339844, 0.13311366736888885, -0.8417875170707703, -0.7662917971611023, 0.6447869539260864, 0.369022399187088, -0.11266501992940903, -0.10668585449457169, -0.18683631718158722, 0.055837664753198624, 0.06556440889835358, 0.8524787425994873, -0.08297056704759598, -0.6342074275016785, -0.41089436411857605, -0.03584999218583107, -0.522825300693512, 0.3116876780986786, 0.7330312132835388, -0.6102167963981628, 0.5618632435798645, 0.6786653995513916, 0.5914897918701172, 0.3380669951438904, 0.2127687633037567, 1.031237006187439, -0.9390137195587158, 0.3425266146659851, -0.006908000912517309, 0.3752395212650299, 0.4903307259082794, -0.3461746573448181, 0.4647049605846405, 0.17690062522888184, -0.48296695947647095, -0.5772361159324646, -0.07053835690021515, -0.4764443635940552, -0.07923530787229538, 1.2272154092788696, -0.21441951394081116, -0.27813735604286194, 0.016882313415408134, -0.263772577047348, 0.17998793721199036, -0.21701984107494354, 0.7883851528167725, 0.9942649602890015, -0.07236507534980774, -0.0508008673787117, -0.8068640828132629, 0.6507624387741089, 0.6470090746879578, -0.8441036343574524, -0.3179365396499634, 0.3975212574005127, 0.19353772699832916, 0.3032592535018921, 0.6711565852165222, -0.09551656991243362, 0.31946083903312683, -0.4609642028808594, -0.35974499583244324, 0.2138383984565735, -0.23107941448688507, -0.11729434132575989, -0.31264403462409973, -0.09365447610616684, -0.16384373605251312 ]
http://arxiv.org/abs/2403.08312v1
http://arxiv.org/pdf/2403.08312v1
StreamingDialogue: Prolonged Dialogue Learning via Long Context Compression with Minimal Losses
2024-03-13T07:44:14
2024-03-13T07:44:14
Jia-Nan Li, Quan Tu, Cunli Mao, Zhengtao Yu, Ji-Rong Wen, Rui Yan
cs.CL
cs.CL, cs.AI
Standard Large Language Models (LLMs) struggle with handling dialogues with long contexts due to efficiency and consistency issues. According to our observation, dialogue contexts are highly structured, and the special token of \textit{End-of-Utterance} (EoU) in dialogues has the potential to aggregate information. We refer to the EoU tokens as ``conversational attention sinks'' (conv-attn sinks). Accordingly, we introduce StreamingDialogue, which compresses long dialogue history into conv-attn sinks with minimal losses, and thus reduces computational complexity quadratically with the number of sinks (i.e., the number of utterances). Current LLMs already demonstrate the ability to handle long context window, e.g., a window size of 200k or more. To this end, by compressing utterances into EoUs, our method has the potential to handle more than 200k of utterances, resulting in a prolonged dialogue learning. In order to minimize information losses from reconstruction after compression, we design two learning strategies of short-memory reconstruction (SMR) and long-memory reactivation (LMR). Our method outperforms strong baselines in dialogue tasks and achieves a 4 $\times$ speedup while reducing memory usage by 18 $\times$ compared to dense attention recomputation.
[ -0.387474000453949, -0.902891218662262, 0.5709739923477173, -0.0662553533911705, -0.547551691532135, 0.29021987318992615, -0.4909718334674835, -0.2613425552845001, 0.4471982717514038, 0.6197149753570557, -0.6671581268310547, -0.15501393377780914, -0.5145730376243591, -0.019505538046360016, -0.2446049004793167, 0.7884030342102051, 0.19222986698150635, -0.12371601164340973, -0.33422088623046875, -0.2277383953332901, -0.44883376359939575, -0.5019114017486572, -1.1767704486846924, -0.20410150289535522, 0.5177732110023499, 0.33054664731025696, 0.32427623867988586, 0.3264949917793274, 0.06234312057495117, 0.37462371587753296, -0.25165843963623047, 0.19852612912654877, -1.258470058441162, 0.37610289454460144, 0.3988126516342163, -0.35312142968177795, -0.08531972765922546, -0.336936891078949, 0.6416361927986145, 0.7811922430992126, -0.30968043208122253, 0.11083774268627167, 0.3356384038925171, 0.7557598948478699, -0.5897570848464966, 0.4874548316001892, -0.3822685182094574, 0.03272818401455879, -0.025557199493050575, -0.6801978349685669, -0.621921718120575, -0.12197741121053696, 0.375507116317749, -0.5078450441360474, 0.036749616265296936, 0.1346106380224228, 0.49068060517311096, 0.6491053104400635, -0.45515450835227966, -0.047534070909023285, -0.8326135873794556, 0.8957677483558655, -0.5869321227073669, 0.48579075932502747, 0.4007359743118286, 0.2719356417655945, -0.15325604379177094, -0.646405816078186, -0.3545345664024353, -0.04484991356730461, 0.09994231909513474, 0.2989390194416046, -0.05053551867604256, 0.3728078603744507, 0.4392869472503662, 0.23198038339614868, -0.434356689453125, 0.03382953628897667, -0.45853230357170105, -0.3406623899936676, 0.2242092341184616, 0.21629095077514648, -0.02131725288927555, 0.020345915108919144, -0.4393600523471832, 0.2063366025686264, -0.8810111284255981, 0.25117483735084534, 0.10620387643575668, 0.0791645497083664, -0.0508568175137043, 0.12525874376296997, -0.255045622587204, 0.5669078230857849, -0.06403602659702301, -0.4263467788696289, 0.04171755164861679, -0.04085255786776543, -0.3807154893875122, 0.19243258237838745, 0.6028415560722351, 0.4043462574481964, -0.04128347337245941, 0.03794580325484276, -0.006061893422156572, -0.19776734709739685, 0.10957381129264832, -1.0130736827850342, -0.1158294528722763, 0.15609948337078094, -0.35039469599723816, -0.07414846122264862, -0.6049880385398865, -0.5537243485450745, -0.13782894611358643, -0.5753675103187561, 0.25384029746055603, -0.2384277880191803, 0.056490007787942886, 0.02896873839199543, 0.01912667229771614, 0.10795040428638458, 0.6794036626815796, -0.6636282801628113, 0.4809078872203827, 0.5283443331718445, 0.8987176418304443, -0.2014726996421814, 0.16564227640628815, -0.9170440435409546, 0.1775045096874237, 0.06361889094114304, 0.6477953195571899, -0.4734918177127838, -0.584318220615387, 0.1285288780927658, 0.032624900341033936, 0.08622033149003983, -0.5103800296783447, 0.48018550872802734, -0.41402533650398254, 0.2902163565158844, -0.03666044399142265, -0.9050626754760742, -0.42574959993362427, 0.031974151730537415, -0.6179998517036438, 0.6780411601066589, 0.012565738521516323, -0.45828044414520264, 0.007649383507668972, -0.40105828642845154, -0.34529560804367065, 0.1921585649251938, -0.2395971417427063, -0.27601444721221924, 0.13362623751163483, 0.09552662819623947, 0.49520376324653625, -0.23192434012889862, 0.16112342476844788, -0.20184151828289032, -0.46694278717041016, 0.08427964895963669, -0.6546736359596252, 0.5591662526130676, 0.1803237795829773, -0.224364772439003, -0.06702994555234909, -0.36500826478004456, -0.19565609097480774, -0.11110883206129074, -0.42701324820518494, -0.23377324640750885, 0.2841508984565735, -0.0678233727812767, -0.11674974113702774, -0.16488495469093323, -0.5557714104652405, 0.01435554027557373, -0.3088805079460144, 0.8407633304595947, 0.8021804690361023, -0.01669982261955738, 0.36270421743392944, -0.24187584221363068, 0.4470118582248688, 0.07428748160600662, -0.05011693388223648, -0.5403856039047241, -0.2693215012550354, -1.0626423358917236, -0.418702095746994, 0.1332489252090454, 0.4777591824531555, -0.9014468193054199, 0.1854410022497177, -0.6423436403274536, 0.028185879811644554, -0.20485325157642365, 0.36748331785202026, 0.3650386929512024, 0.7066078186035156, 0.29404738545417786, -0.3992106318473816, -0.4906686842441559, -0.7723814249038696, 0.1621108502149582, -0.11974309384822845, -0.03340468183159828, 0.7972997426986694, 0.010980911552906036, -0.22259388864040375, 0.7901536822319031, -0.6109464764595032, -0.21750152111053467, -0.4465068578720093, 0.18294692039489746, 0.1748722642660141, 0.32315218448638916, 0.2940431833267212, -0.6176311373710632, -0.44209417700767517, -0.40002045035362244, -0.5970597863197327, 0.08769980818033218, -0.3386499881744385, -0.0739036276936531, 0.2843739688396454, 0.7436214089393616, -0.801604688167572, 0.43454107642173767, 0.6549289226531982, 0.0875191017985344, 0.22115181386470795, -0.0003654384636320174, 0.06633476167917252, -1.1089328527450562, -0.26933276653289795, -0.16262120008468628, -0.870983898639679, -0.7002528309822083, -0.28277722001075745, -0.13869597017765045, -0.5287848114967346, -0.6998187303543091, 0.6398943066596985, -0.4609096348285675, 0.19521386921405792, -0.2940492331981659, 0.2636321187019348, -0.08413518965244293, 0.974884569644928, 0.30107560753822327, 0.7386883497238159, 0.3670572340488434, -0.7268974184989929, 0.4200625717639923, 0.05135283246636391, -0.3630710244178772, 0.2056943029165268, -0.5854690074920654, 0.3758400082588196, -0.337264746427536, 0.8324765563011169, -1.094437837600708, -0.13590756058692932, 0.05735974758863449, -0.34627798199653625, 0.5964594483375549, -0.23686908185482025, 0.020398082211613655, -0.04707736521959305, -0.34457966685295105, 0.7055988311767578, 0.6953146457672119, -0.6368911266326904, 0.7044076323509216, 0.4222638010978699, -0.6129188537597656, -0.5042133927345276, -0.3726098835468292, 0.08867674320936203, -0.3585469722747803, -0.5229547023773193, 0.22027745842933655, -0.19578959047794342, 0.038651637732982635, -0.3512716293334961, -0.15797506272792816, 0.005210032686591148, -0.09400170296430588, 0.3118956983089447, 0.17674371600151062, -0.07457662373781204, 0.19555851817131042, 0.023165034130215645, -0.1771157830953598, -0.07647005468606949, -0.22834475338459015, 0.671829879283905, 0.14038518071174622, -0.013554250821471214, -0.5635392069816589, 0.5102387070655823, 0.4581039845943451, 0.23514945805072784, 0.6183708310127258, 0.3734264671802521, -0.27035054564476013, -0.06261695176362991, -0.7233192324638367, -0.2731323540210724, -0.49244165420532227, 0.3144800066947937, -0.20920991897583008, -1.4017387628555298, 0.4806283712387085, -0.2883320450782776, 0.19200417399406433, 0.018951015546917915, 0.32935234904289246, -0.3845670223236084, 0.7450243830680847, 0.43097275495529175, -0.44228875637054443, 0.7830885648727417, -0.4609168469905853, 0.29090356826782227, -0.9870445728302002, 0.10641619563102722, -0.20605045557022095, -0.3366377651691437, -0.2493356317281723, -0.6849203705787659, 0.37362730503082275, -0.05022221431136131, -0.15112581849098206, 0.13818661868572235, -0.030280787497758865, 0.5559253096580505, 0.27787622809410095, 0.4100915491580963, 0.07209331542253494, 0.12208011746406555, 0.37896302342414856, -0.08844196796417236, -0.671850323677063, -0.19821462035179138, 0.8775716423988342, 0.4200724959373474, 0.8455632328987122, 0.17444562911987305, 0.8560785055160522, 0.364003986120224, 0.013355318456888199, -1.1605629920959473, 0.7206814289093018, 0.07960710674524307, -0.20264463126659393, -0.4378880262374878, -0.6549504995346069, -1.0547300577163696, 0.03390879929065704, 0.22572435438632965, -0.8564362525939941, -0.14389269053936005, 0.31561803817749023, -0.6588824987411499, 0.052127111703157425, -0.7313681244850159, 0.4291404187679291, 0.03222791850566864, -0.6294325590133667, -0.5644040107727051, -0.716491162776947, 0.24773874878883362, 0.18169905245304108, 0.177071675658226, -0.07280801981687546, -0.0270468071103096, 0.6292226314544678, -0.46688225865364075, 0.9653542041778564, -0.26195207238197327, 0.08813345432281494, 0.39685311913490295, 0.1305694282054901, 0.5285158157348633, 0.27755382657051086, 0.5330010652542114, -0.11498168855905533, -0.2538684904575348, -0.5006315112113953, -0.6918507814407349, 0.6471309065818787, -0.6068695783615112, -0.6304823756217957, -0.2725158631801605, -0.23546452820301056, -0.18576869368553162, -0.16044239699840546, 0.1414698362350464, 1.0759137868881226, -0.25258922576904297, 0.4989674389362335, 1.0574649572372437, -0.2232666313648224, 0.6847400665283203, 0.22747986018657684, -0.1492915153503418, -0.3489089906215668, 0.9562019109725952, -0.06403535604476929, 0.4047635793685913, 0.43946707248687744, 0.034227270632982254, -0.2831307053565979, -0.45230042934417725, -0.31129637360572815, 0.21506141126155853, -0.6551067233085632, -0.36014774441719055, -0.5835775136947632, -0.3164951205253601, -0.1057085171341896, -0.14666202664375305, -0.3577739894390106, -0.35443732142448425, -0.3155254125595093, -0.10973718017339706, 0.19097471237182617, 0.20321398973464966, 0.2247985303401947, 0.32500791549682617, -0.9795828461647034, 0.4064958095550537, 0.5414495468139648, 0.049015164375305176, -0.016668979078531265, -0.6929982900619507, -0.33858436346054077, 0.08492176234722137, -0.2575320303440094, -0.570861279964447, 0.42070692777633667, 0.5826499462127686, 0.44816669821739197, 0.7030810117721558, 0.009719714522361755, 0.8944203853607178, -0.5652624368667603, 0.9533588886260986, 0.400505006313324, -0.7997375726699829, 0.2867942154407501, -0.3726787567138672, 0.6342169046401978, 0.5790248513221741, 0.34793156385421753, -0.7065723538398743, -0.25738725066185, -0.5187445282936096, -1.031822919845581, 0.42929312586784363, 0.23348502814769745, 0.42056068778038025, -0.04473087191581726, 0.23559559881687164, 0.12910571694374084, 0.22067980468273163, -0.472023606300354, -0.0917770117521286, 0.03252897784113884, -0.027691399678587914, -0.4238657057285309, -0.472876638174057, -0.20019368827342987, -0.3127564489841461, 0.7100514769554138, -0.31889399886131287, 0.6111112236976624, 0.22823582589626312, -0.50001060962677, 0.2865225076675415, 0.19113844633102417, 0.8396837115287781, 0.3987928032875061, -0.2274497002363205, 0.011589600704610348, 0.2130419760942459, -0.409441739320755, 0.03848327323794365, -0.14442098140716553, -0.032642267644405365, 0.04112839326262474, 0.23385824263095856, 1.1711620092391968, 0.6645100116729736, -0.7963414788246155, 0.3659631907939911, -0.3498501479625702, -0.12096458673477173, -0.6988955736160278, -0.1403297483921051, 0.1515641063451767, 0.09227469563484192, 0.337430864572525, -0.1183050125837326, 0.34415203332901, -0.690520703792572, 0.03886581212282181, 0.2190333604812622, -0.3505045175552368, -0.03397710248827934, 0.30543240904808044, 0.8366819620132446, -0.21338653564453125, 0.8290855884552002, -0.07158157229423523, -0.5827829241752625, 0.17273829877376556, 0.25859928131103516, 0.9021396040916443, -0.11783435940742493, -0.00008477409573970363, 0.38096755743026733, -0.3024836778640747, 0.015263541601598263, -0.022015489637851715, -0.6607493162155151, -0.5695643424987793, -0.7205319404602051, -0.5456820726394653, -0.4021010100841522, 0.2431592494249344, -0.640880286693573, -0.028847573325037956, -0.3706773817539215, -0.23692837357521057, -0.30400389432907104, -0.09196775406599045, -0.5967935919761658, -0.04541072994470596, 0.4156937003135681, 0.7815952897071838, -0.408198744058609, 0.7308552265167236, 0.14246545732021332, 0.06321357935667038, -0.456703245639801, -0.2759767174720764, 0.22739197313785553, -0.6094688177108765, 0.5199735760688782, 0.53594571352005, -0.5034646391868591, 0.1687532216310501, -0.6505425572395325, -0.8406589031219482, 0.9887898564338684, 0.2592054605484009, -0.9397189617156982, -0.08679404854774475, -0.11355112493038177, 0.2832600772380829, -0.3716456890106201, 0.335603803396225, 0.577451765537262, 0.02483305335044861, 0.20979812741279602, -0.842365026473999, -0.21515429019927979, -0.057933904230594635, -0.006353170145303011, 0.4019688665866852, -0.8698514699935913, 0.2630297839641571, 0.01141041424125433, -0.3880082070827484, 0.11051861941814423, 0.7127130031585693, -0.06747828423976898, 0.27108803391456604, 0.6024826169013977, 0.644400954246521, 0.6502093076705933, -0.192596897482872, 0.9237455129623413, -0.16707146167755127, 0.2948943078517914, 1.2853375673294067, -0.07138167321681976, 0.996580183506012, 0.7523897886276245, -0.011832823976874352, 0.38274386525154114, 0.7101070880889893, 0.5899461507797241, 0.6233301162719727, 0.2919866740703583, -0.6550278067588806, -0.41347089409828186, -0.23409825563430786, -0.042276859283447266, 0.3838580846786499, 0.606874942779541, -0.1273471862077713, 0.04526396840810776, 0.2713976502418518, 0.1523137390613556, -0.21198563277721405, -0.3184034824371338, 1.0788565874099731, 0.36928585171699524, -0.7257540822029114, 0.8342083692550659, -0.6727903485298157, 0.6083760261535645, -0.5953110456466675, 0.06420958042144775, -0.4221959412097931, 0.08875224739313126, 0.038019370287656784, -0.33529338240623474, 0.015831593424081802, -0.21949200332164764, 0.006022776011377573, -0.35165759921073914, 0.4515264928340912, -0.6414915919303894, -0.15689873695373535, 0.24365867674350739, 0.41592493653297424, 0.354419469833374, 0.046461693942546844, -0.4951026439666748, 0.24832768738269806, 0.18682464957237244, -0.4604036509990692, 0.37363603711128235, 0.07692976295948029, 0.35241174697875977, 0.9315122365951538, 0.48095226287841797, -0.162926584482193, 0.004498298745602369, 0.24354545772075653, 1.034115195274353, -0.6630629301071167, -0.4462409019470215, -0.6011819243431091, 0.4990536570549011, -0.26546624302864075, -0.04872576519846916, 0.3511233627796173, 0.7004550099372864, 0.8080641627311707, 0.09494296461343765, 0.698725700378418, 0.1781635731458664, 0.4621346592903137, -0.8656732439994812, 0.32024163007736206, -0.4743511974811554, 0.04644648730754852, 0.10499168187379837, -0.9183472990989685, 0.07086985558271408, 0.49164220690727234, 0.0028474139980971813, -0.23939621448516846, 0.871282160282135, 0.6443905830383301, -0.05033189803361893, 0.0855649784207344, 0.3887556493282318, 0.14916227757930756, 0.36995023488998413, 0.9311215281486511, 0.9256780743598938, -0.27381524443626404, 0.5762881636619568, -0.15794934332370758, -0.1861732006072998, -0.4259171783924103, -0.7165276408195496, -0.9925310015678406, -0.5090630650520325, -0.4009847939014435, -0.18011413514614105, 0.14409087598323822, 1.0306711196899414, 0.9281460642814636, -0.48662668466567993, -0.44473108649253845, 0.0654635801911354, -0.13968154788017273, -0.010696347802877426, -0.18560068309307098, 0.1615980714559555, -0.42035365104675293, -0.8508471250534058, 0.5324947237968445, 0.40543466806411743, 0.05549420043826103, -0.2240377813577652, -0.3366759717464447, 0.019588520750403404, 0.17815442383289337, 0.8860834836959839, 0.47993382811546326, -0.6424891352653503, -0.41241729259490967, -0.208787739276886, 0.06588968634605408, 0.219646155834198, 1.0961283445358276, -0.9349222779273987, 0.6172771453857422, 0.5259021520614624, 0.7390092611312866, 1.0369328260421753, 0.11919128149747849, 0.6971936225891113, -0.6356852054595947, 0.4900043308734894, 0.3280816078186035, 0.5572589635848999, 0.26617881655693054, -0.23659683763980865, 0.38028663396835327, 0.09458676725625992, -0.8005106449127197, -0.7697429060935974, 0.3115319609642029, -1.3427495956420898, -0.20268474519252777, 1.104216456413269, -0.2768286466598511, -0.24908971786499023, -0.2059197872877121, -0.4365960657596588, 0.27342212200164795, -0.785754919052124, 0.692390501499176, 0.6934624314308167, -0.3103466331958771, -0.5344838500022888, -0.7284179329872131, 0.7357507944107056, 0.5125051736831665, -0.5619538426399231, 0.15076960623264313, 0.7363274097442627, 0.12312602996826172, -0.017872728407382965, 0.7322455048561096, 0.33596089482307434, 0.2856355905532837, -0.2033700942993164, -0.4562477767467499, 0.046613529324531555, -0.4021756947040558, -0.21388694643974304, 0.006770150735974312, -0.1778513342142105, -0.007201131898909807 ]
http://arxiv.org/abs/2403.08305v1
http://arxiv.org/pdf/2403.08305v1
Towards Personalized Evaluation of Large Language Models with An Anonymous Crowd-Sourcing Platform
2024-03-13T07:31:20
2024-03-13T07:31:20
Mingyue Cheng, Hao Zhang, Jiqian Yang, Qi Liu, Li Li, Xin Huang, Liwei Song, Zhi Li, Zhenya Huang, Enhong Chen
cs.CL
cs.CL
Large language model evaluation plays a pivotal role in the enhancement of its capacity. Previously, numerous methods for evaluating large language models have been proposed in this area. Despite their effectiveness, these existing works mainly focus on assessing objective questions, overlooking the capability to evaluate subjective questions which is extremely common for large language models. Additionally, these methods predominantly utilize centralized datasets for evaluation, with question banks concentrated within the evaluation platforms themselves. Moreover, the evaluation processes employed by these platforms often overlook personalized factors, neglecting to consider the individual characteristics of both the evaluators and the models being evaluated. To address these limitations, we propose a novel anonymous crowd-sourcing evaluation platform, BingJian, for large language models that employs a competitive scoring mechanism where users participate in ranking models based on their performance. This platform stands out not only for its support of centralized evaluations to assess the general capabilities of models but also for offering an open evaluation gateway. Through this gateway, users have the opportunity to submit their questions, testing the models on a personalized and potentially broader range of capabilities. Furthermore, our platform introduces personalized evaluation scenarios, leveraging various forms of human-computer interaction to assess large language models in a manner that accounts for individual user preferences and contexts. The demonstration of BingJian can be accessed at https://github.com/Mingyue-Cheng/Bingjian.
[ -0.39034661650657654, -0.6051298975944519, 0.45860862731933594, 0.47992071509361267, -0.09152856469154358, 0.3223647177219391, -0.8421448469161987, -0.33269768953323364, 0.2011837363243103, 0.6450811624526978, -0.3482717275619507, -0.7161107659339905, -0.2573257088661194, 0.014582451432943344, -0.37598463892936707, 0.9330300092697144, 0.23446327447891235, 0.06842715293169022, -0.18837817013263702, -0.4094981849193573, -0.36228692531585693, -0.41166403889656067, -0.7342290878295898, 0.11726927012205124, 0.3848694860935211, 0.323750376701355, 0.5697481036186218, 0.40196582674980164, 0.32602593302726746, 0.42204079031944275, 0.1032646968960762, -0.049388375133275986, -0.5947162508964539, 0.3246689736843109, -0.5093997120857239, -0.1425960659980774, -0.20321296155452728, 0.04475737735629082, 0.7148428559303284, 0.8308058381080627, -0.231207013130188, 0.7504955530166626, 0.13936516642570496, 0.5415395498275757, -0.7419402599334717, 0.1902482509613037, -0.7609367370605469, -0.17669503390789032, -0.39029771089553833, 0.10501225292682648, -0.5709161758422852, -0.5650772452354431, 0.30788740515708923, -0.38097938895225525, -0.0037731884513050318, 0.14949990808963776, 0.6485385298728943, -0.168181911110878, -0.2549043595790863, -0.2527677118778229, -0.6419621706008911, 0.6642226576805115, -0.5775729417800903, 0.33475300669670105, 0.4569363594055176, 0.7192198634147644, 0.17627477645874023, -0.7452082633972168, -0.3178820312023163, -0.8086544871330261, -0.03792460635304451, 0.05867648124694824, -0.39339491724967957, -0.11627281457185745, -0.20559468865394592, 0.2127407342195511, -0.8707609176635742, 0.25505581498146057, -0.2591319680213928, -0.1825798898935318, 0.6192784905433655, 0.1833738088607788, 0.25138723850250244, -0.16277781128883362, -0.2764948010444641, 0.20255045592784882, -0.18360386788845062, 0.09979158639907837, 0.6825791001319885, 0.5237852931022644, -0.02850046008825302, 0.36035099625587463, -0.5298553705215454, 0.8809425234794617, 0.25192371010780334, 0.27913105487823486, 0.23622077703475952, -0.14582420885562897, -0.11766363680362701, -0.08330003172159195, 0.8815091252326965, 0.020107831805944443, 0.10279981046915054, -0.32897937297821045, -0.237176313996315, -0.4321640729904175, 0.0979667603969574, -0.8207201361656189, -0.18109643459320068, 0.23583099246025085, -0.8006972670555115, -0.6446985602378845, 0.22804445028305054, -0.8255276679992676, -0.7434552311897278, -0.16590674221515656, 0.3948705494403839, 0.08494347333908081, -0.3301841616630554, 0.08498122543096542, -0.033146265894174576, -0.22217456996440887, 0.47090792655944824, -0.8095129728317261, 0.5701531767845154, 0.7162856459617615, 0.9227902293205261, -0.16954010725021362, -0.2648310661315918, -1.1060643196105957, -0.09744301438331604, -0.30769455432891846, 0.5677514672279358, -1.038267731666565, -0.1269288808107376, 0.030776020139455795, -0.05108052119612694, 0.17858882248401642, -0.693337619304657, 0.40579769015312195, -0.7164938449859619, 0.29031726717948914, -0.29379913210868835, -0.28272882103919983, -0.13437557220458984, 0.2897147238254547, -0.668767511844635, 0.7083901762962341, 0.10084991157054901, -0.5611470937728882, 0.1886572241783142, -0.7743185758590698, -0.1273970603942871, 0.6685113310813904, -0.14465932548046112, -0.013976462185382843, 0.02800247259438038, 0.17965470254421234, 0.5529661774635315, -0.4767604470252991, 0.6232298612594604, -0.7345440983772278, -0.3681275248527527, 0.32999932765960693, -0.45311957597732544, 0.9370750188827515, 0.3319622874259949, -0.6026151180267334, 0.6711225509643555, -0.8272897601127625, 0.08507075160741806, 0.11069698631763458, -0.43036624789237976, -0.6153548359870911, -0.1812708079814911, 0.4836067259311676, 0.028888242319226265, 0.5613707900047302, -0.4654976725578308, 0.18262061476707458, -0.4033510386943817, 0.33915475010871887, 1.2439988851547241, -0.14423929154872894, 0.2571166753768921, 0.08972588181495667, 0.647034227848053, -0.4174245595932007, 0.1980055719614029, -0.046760477125644684, -0.38253509998321533, -0.6955008506774902, -0.03850456699728966, 0.44809600710868835, 0.30232760310173035, -0.37289050221443176, 0.5658453106880188, -0.31206968426704407, -0.7959152460098267, -0.6779063940048218, 0.40002667903900146, 0.4058474600315094, 0.2230752557516098, 0.01620504818856716, -0.34143832325935364, -0.44513019919395447, -0.8664819002151489, -0.34315061569213867, -0.22328634560108185, -0.23145537078380585, 0.6602226495742798, 0.34562376141548157, 0.007329155225306749, 0.8382218480110168, -0.4931289255619049, -0.22609075903892517, -0.34103819727897644, 0.018101586028933525, 0.13388028740882874, 0.33833858370780945, 0.3632720410823822, -0.6987349987030029, -0.7428774237632751, 0.41874685883522034, -0.4771360456943512, -0.3657938241958618, -0.04868703335523605, -0.22777995467185974, -0.14865069091320038, 0.33117151260375977, -0.38972747325897217, -0.0834851935505867, 0.9553682208061218, -0.45267805457115173, 0.8368244767189026, -0.06225156411528587, 0.14447061717510223, -1.0543296337127686, 0.5680546164512634, -0.020450813695788383, -0.4093298316001892, -0.33409836888313293, 0.4625452160835266, -0.13426364958286285, -0.43054771423339844, -0.23682984709739685, 1.008676290512085, -0.2729427218437195, -0.21149559319019318, -0.11450100690126419, 0.614065408706665, -0.11454075574874878, 0.29619574546813965, -0.1368960440158844, 0.5689387321472168, 0.5098379850387573, -0.21110840141773224, 0.6482800245285034, 0.0884135439991951, -0.7409095764160156, 0.3234715163707733, -0.8636505603790283, 0.42223504185676575, 0.15863198041915894, 0.357710599899292, -0.8888578414916992, -0.3117452561855316, 0.2534550428390503, -0.42938539385795593, -0.05739400163292885, -0.23683850467205048, -0.27255117893218994, -0.22182899713516235, -0.32532384991645813, 0.2039211392402649, 0.28580430150032043, -0.7748153805732727, 0.25032946467399597, 0.44385284185409546, -0.28341004252433777, -0.5807792544364929, -0.3759818375110626, 0.5528034567832947, -0.2606934607028961, -0.8788758516311646, 0.06329454481601715, -0.20249611139297485, -0.5311623811721802, 0.06211415305733681, 0.25886908173561096, -0.08377061784267426, 0.20450982451438904, 0.12850846350193024, 0.10235879570245743, -0.265261173248291, 0.1755097508430481, 0.00794961117208004, -0.059191372245550156, -0.1334497183561325, -0.5956055521965027, 0.779914915561676, -0.4875985085964203, -0.2407190203666687, -0.3612285256385803, 0.1447886973619461, 0.4820520877838135, -0.8020497560501099, 0.6626284122467041, 0.8674893975257874, -0.32354578375816345, -0.3740484118461609, -0.8465448617935181, 0.09516850858926773, -0.5506505966186523, 0.6075935959815979, -0.17534179985523224, -1.1930348873138428, 0.45598432421684265, -0.04398547112941742, -0.0494573675096035, 0.2576410174369812, 1.056392788887024, 0.41663312911987305, 1.0430936813354492, 0.49592509865760803, -0.31925928592681885, 0.18889884650707245, 0.07501862943172455, -0.028377091512084007, -0.6761635541915894, -0.2081371694803238, -0.7169249057769775, -0.22440288960933685, -0.45990902185440063, -0.39484795928001404, 0.280156672000885, -0.1339762955904007, -0.30656296014785767, 0.15821340680122375, -0.36541610956192017, 0.49013805389404297, 0.5545937418937683, -0.03423301503062248, 0.4028465151786804, -0.1481076031923294, -0.1388479620218277, 0.1442200094461441, -0.2674926221370697, -0.643548309803009, 0.9874472618103027, 0.34153902530670166, 0.6839576959609985, 0.15559382736682892, 0.5613332986831665, 0.50863116979599, 0.44689279794692993, -0.6323389410972595, 0.6567925214767456, -0.1952279508113861, -0.7208155393600464, -0.49221935868263245, -0.6340606808662415, -0.9985688328742981, 0.3992036283016205, 0.004211812280118465, -1.0425115823745728, -0.046996183693408966, -0.07717227935791016, -0.4268966615200043, 0.22640174627304077, -0.7501937747001648, 1.1001496315002441, -0.3333517611026764, -0.37059053778648376, -0.3646717667579651, -0.4319738745689392, 0.5903391242027283, -0.19494116306304932, 0.1491500586271286, -0.004172078799456358, -0.11603232473134995, 0.6424680352210999, -0.4445703625679016, 0.8258311748504639, -0.41267716884613037, 0.20707225799560547, 0.16823866963386536, 0.3133164048194885, 0.5832858681678772, 0.26065701246261597, -0.38803863525390625, 0.3066592514514923, -0.2624792754650116, -0.21905231475830078, -0.6851649880409241, 1.2226579189300537, -0.6623846292495728, -0.6804847717285156, -0.01058046892285347, -0.09721090644598007, -0.4437968134880066, 0.41477441787719727, -0.057556331157684326, 0.2849600911140442, -0.38172855973243713, 0.42550867795944214, 0.0850776806473732, -0.5898961424827576, 0.21402029693126678, 0.6333333849906921, -0.5892691612243652, -0.4886128604412079, 0.9868696331977844, -0.16305963695049286, 0.04005987197160721, 0.26372572779655457, 0.7086023688316345, -0.2355058640241623, -0.5059508085250854, -0.6714216470718384, -0.00009626510291127488, -0.7124388813972473, 0.09258940070867538, -0.5947483777999878, 0.2151283174753189, -0.4437532424926758, -0.09128442406654358, -0.4721815288066864, -0.16661794483661652, 0.1273839771747589, -0.11898616701364517, -0.09951329976320267, 0.5854783654212952, 0.13077232241630554, -0.16666071116924286, -0.8209760785102844, 0.01502997800707817, 0.4303135275840759, 0.671392560005188, 0.46901533007621765, -0.3963322043418884, -0.25086167454719543, -0.10845009982585907, -0.01420834194868803, -0.5847838521003723, 0.16184543073177338, 0.090786874294281, 0.5274368524551392, 0.7130484580993652, 0.00733551662415266, 0.7075303196907043, -0.39518168568611145, 0.7574177980422974, 0.03734506294131279, -1.3025624752044678, 0.35412970185279846, -0.46525445580482483, 0.09920050203800201, 0.8472000360488892, 0.2356986701488495, -0.8642439842224121, -0.3970341384410858, -0.21757404506206512, -0.6637250781059265, 0.7306843996047974, 0.15272147953510284, 0.39593929052352905, 0.2609700560569763, 0.10586971789598465, 0.3802616596221924, 0.2962547242641449, -0.8645707964897156, -0.002960272366181016, -0.009502655826508999, -0.07559740543365479, -0.1459454596042633, -0.05232774466276169, 0.05798700824379921, -0.1574193388223648, 0.5661739110946655, -0.023576965555548668, -0.38499516248703003, -0.21314683556556702, -0.08494683355093002, -0.1399301141500473, 0.19019298255443573, 0.31614458560943604, 0.7551178932189941, -0.20877741277217865, -0.1644441932439804, 0.08480294793844223, -0.37639671564102173, -0.09734182059764862, 0.13231945037841797, -0.27746227383613586, 0.03162943571805954, 0.2657164931297302, 0.7965441346168518, 0.13733994960784912, -1.100645899772644, 0.7131072878837585, -0.1646374762058258, 0.15073157846927643, -0.4860735535621643, -0.1701778620481491, 0.2623167932033539, 0.3083478808403015, 0.33992135524749756, 0.1255805641412735, 0.35828372836112976, -0.336182564496994, -0.04083054140210152, 0.3213598132133484, -0.5775769352912903, -0.4156253933906555, 0.698152482509613, 0.4489328861236572, -0.2785494029521942, 0.6014247536659241, -0.26699909567832947, -0.3247016966342926, 0.31186822056770325, 0.2886927127838135, 1.2824757099151611, -0.416398823261261, 0.5057279467582703, 0.3265242278575897, 0.346262127161026, 0.22161194682121277, -0.24835573136806488, -0.18759727478027344, -0.36738213896751404, -0.30615586042404175, -0.8090042471885681, -0.35967427492141724, 0.5470167994499207, -0.5009901523590088, 0.5617629885673523, -0.5270913243293762, 0.09305670857429504, -0.09971702843904495, -0.0567312054336071, -0.46447035670280457, 0.020381666719913483, 0.31247633695602417, 0.8437582850456238, -0.40201473236083984, 0.6117640733718872, 0.7229118347167969, -0.24615898728370667, -0.6301432251930237, 0.1388472020626068, -0.11081493645906448, -0.7048599720001221, 0.7179577946662903, 0.3170839846134186, -0.11420098692178726, -0.2239556759595871, -0.47743353247642517, -0.8558692932128906, 0.7556731104850769, 0.4801783263683319, -0.5418652892112732, 0.12936636805534363, 0.01618315652012825, 0.6498544216156006, -0.28539904952049255, 0.37716934084892273, 0.2273101508617401, 0.7150775194168091, -0.22511669993400574, -0.9967206716537476, 0.25969260931015015, -0.5347151160240173, -0.029768381267786026, -0.148047536611557, -0.9262357354164124, 0.6504278182983398, -0.14896151423454285, -0.12859125435352325, 0.23226265609264374, 0.39762964844703674, 0.1886979341506958, 0.3078274130821228, 0.7491434812545776, 0.14609922468662262, 0.857906699180603, 0.34866994619369507, 1.0159034729003906, -0.4043196439743042, 0.47189775109291077, 1.1971555948257446, -0.46029385924339294, 0.9963731169700623, -0.061968784779310226, -0.17774395644664764, 0.5187433958053589, 0.5557371973991394, -0.2294292002916336, 0.3185168206691742, 0.5303216576576233, -0.18015839159488678, -0.40666407346725464, -0.0882115364074707, -0.2194487750530243, 0.8526157140731812, -0.018362414091825485, -0.3678261935710907, -0.26335373520851135, 0.05949562415480614, 0.028512397781014442, 0.20717790722846985, -0.3186163604259491, 0.44604411721229553, -0.22562433779239655, -0.6231956481933594, 0.42308568954467773, 0.6085677146911621, 0.5247459411621094, -0.7955933213233948, 0.14573872089385986, -0.2242542952299118, 0.11184953153133392, -0.1798553168773651, -0.30241039395332336, 0.04734883829951286, 0.2790795564651489, 0.18204769492149353, -0.1698041558265686, 0.7831432819366455, -0.3613846004009247, -0.5393458604812622, 0.3100156784057617, 0.35436785221099854, 0.15545357763767242, -0.4726557433605194, -0.8019334673881531, 0.23591382801532745, -0.10878060758113861, -0.5188130140304565, 0.4726737141609192, 0.06071322411298752, -0.22330942749977112, 0.8425808548927307, 0.8093030452728271, 0.028036028146743774, -0.25576719641685486, 0.3905426263809204, 0.7721083760261536, -0.4354444146156311, -0.7602022290229797, -0.8734357953071594, 0.27533382177352905, -0.1621956080198288, -0.5478441119194031, 1.0287773609161377, 0.8967035412788391, 0.8284488320350647, -0.19223009049892426, 1.147628903388977, 0.020836839452385902, 0.5453464984893799, -0.18278329074382782, 1.123498558998108, -0.5231077671051025, 0.28374871611595154, -0.5982547402381897, -0.9692605137825012, -0.09058098495006561, 0.3353443443775177, -0.39008888602256775, 0.2350134551525116, 0.2896289825439453, 0.5654088258743286, -0.04536963626742363, -0.10782646387815475, 0.4542476534843445, 0.4815292954444885, 0.5165098309516907, 0.3095678985118866, 0.8967418074607849, 0.09836620837450027, 0.7599081993103027, -0.24073253571987152, -0.5383875370025635, -0.3071994185447693, -0.6343110799789429, -0.9953058958053589, -0.7705237865447998, -0.09022274613380432, -0.28255459666252136, 0.0019142435630783439, 1.2383495569229126, 0.8126590251922607, -0.8342373371124268, -0.6383209824562073, 0.15559302270412445, -0.027452411130070686, -0.04107324779033661, -0.34976857900619507, 0.4879467785358429, -0.2181747704744339, -0.9719854593276978, 0.4977182447910309, 0.5393420457839966, -0.6002576351165771, -0.8563625812530518, -0.014771486632525921, 0.17898708581924438, -0.009695912711322308, 0.5679857134819031, 0.06394370645284653, -0.7392054796218872, -0.12814198434352875, 0.1122685894370079, -0.03551550954580307, -0.43928050994873047, 0.8023666739463806, -0.8452330827713013, 0.7916105389595032, 0.31303441524505615, 0.8188056945800781, 0.35150185227394104, 0.19300881028175354, 0.4819093644618988, -0.4240737557411194, 0.04870005324482918, 0.36540064215660095, 0.14417755603790283, 0.3959347903728485, -0.39663204550743103, 0.24037761986255646, 0.1542426198720932, -0.42343366146087646, -0.9093015789985657, -0.0738644152879715, -0.9209213852882385, -0.28130754828453064, 1.3178125619888306, -0.48907241225242615, 0.029337482526898384, -0.06715958565473557, -0.335595965385437, -0.20359565317630768, -0.4338710308074951, 1.139744758605957, 0.8625912070274353, 0.31008389592170715, 0.3452998995780945, -0.671004056930542, 0.09760869294404984, 0.24332231283187866, -0.8349935412406921, 0.33218711614608765, 0.43154558539390564, 0.34590157866477966, 0.009513488039374352, 0.5656768083572388, -0.06862730532884598, 0.14774109423160553, -0.17130175232887268, -0.1558697521686554, -0.20759141445159912, -0.08579056710004807, -0.3707592785358429, 0.4766882658004761, 0.08587219566106796, -0.0371742807328701 ]
http://arxiv.org/abs/2403.08295v4
http://arxiv.org/pdf/2403.08295v4
Gemma: Open Models Based on Gemini Research and Technology
2024-03-13T06:59:16
2024-04-16T12:52:47
Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikuła, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu-hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, Kathleen Kenealy
cs.CL
cs.CL, cs.AI
This work introduces Gemma, a family of lightweight, state-of-the art open models built from the research and technology used to create Gemini models. Gemma models demonstrate strong performance across academic benchmarks for language understanding, reasoning, and safety. We release two sizes of models (2 billion and 7 billion parameters), and provide both pretrained and fine-tuned checkpoints. Gemma outperforms similarly sized open models on 11 out of 18 text-based tasks, and we present comprehensive evaluations of safety and responsibility aspects of the models, alongside a detailed description of model development. We believe the responsible release of LLMs is critical for improving the safety of frontier models, and for enabling the next wave of LLM innovations.
[ -0.08597706258296967, -0.8411914110183716, 0.46627846360206604, 0.3799554705619812, 0.047411464154720306, -0.3956616222858429, -0.0542803592979908, -0.6518766283988953, 0.25338515639305115, 0.6182271242141724, -0.3858691155910492, -0.5242089033126831, -0.8522762060165405, -0.10174747556447983, -0.6736708283424377, 0.9222484827041626, -0.11722110211849213, 0.4544222354888916, -0.1819925457239151, 0.07380779832601547, -0.24416224658489227, -0.42351382970809937, -0.8215594291687012, -0.2544157803058624, 0.6302109956741333, 0.3289715051651001, 1.2974010705947876, 0.6571367979049683, 0.9458072781562805, 0.17833834886550903, -0.5274950265884399, 0.17114874720573425, -0.5990703701972961, -0.19701087474822998, -0.2929236888885498, -0.48423972725868225, -0.6968175768852234, 0.21121203899383545, 0.5206020474433899, 0.5796725749969482, -0.13023710250854492, 0.3469466269016266, 0.13653315603733063, 0.3686240613460541, -0.9513925313949585, 0.20356722176074982, -0.4311150014400482, 0.11222546547651291, -0.37933430075645447, -0.04917740821838379, -0.6935649514198303, -0.25429946184158325, -0.14959226548671722, -0.7489103674888611, 0.18667414784431458, 0.08282099664211273, 0.8223996758460999, 0.27602243423461914, -0.4786916673183441, -0.34259963035583496, -0.7852198481559753, 0.7264325618743896, -0.43093928694725037, 0.129875048995018, 0.11539211869239807, 0.4605444669723511, -0.5406633615493774, -1.310651421546936, -0.26296499371528625, -0.34125953912734985, 0.13672684133052826, 0.11111008375883102, 0.001310724182985723, 0.03774247691035271, -0.3072512447834015, 0.5764663219451904, -0.24328447878360748, 0.298181414604187, -0.6412832140922546, -0.002924367319792509, 0.5228191614151001, 0.6038914918899536, 0.29066336154937744, 0.3354814052581787, -0.4967665672302246, 0.07480611652135849, -1.137986421585083, -0.22137868404388428, 0.22392232716083527, 0.3631919324398041, -0.415005087852478, 1.029478669166565, -0.03417770937085152, 0.6151471138000488, 0.06532372534275055, -0.16121044754981995, -0.20610707998275757, -0.24458065629005432, -0.3887858986854553, -0.11700859665870667, 0.8895047903060913, 0.050201285630464554, 0.07304783910512924, -0.2650160491466522, 0.06191180646419525, -0.05703582987189293, 0.5730432868003845, -0.9508728384971619, -0.1202237606048584, 0.38024887442588806, -0.8426685333251953, -0.6154443621635437, 0.0744781419634819, -0.4563499689102173, -0.466404527425766, -0.045678965747356415, 0.7497367262840271, -0.3347717523574829, -0.4688757658004761, 0.6484959721565247, 0.07764291763305664, 0.1704598367214203, 0.49023887515068054, -1.1908326148986816, 0.4811168313026428, 0.7913749814033508, 0.9033567905426025, -0.14935219287872314, -0.3201022744178772, -0.47331756353378296, 0.15169179439544678, -0.6594769954681396, 0.3378840684890747, -0.41390886902809143, -0.8983059525489807, -0.05296146497130394, -0.06563545018434525, -0.12240602821111679, -0.4402242600917816, 0.585906982421875, -0.5256683230400085, 0.11813125014305115, -0.1345306783914566, -0.2661762237548828, -0.019892005249857903, 0.1783444583415985, -0.6600648164749146, 1.1900827884674072, 0.0750260204076767, -0.9895825386047363, 0.4016852378845215, -0.8963149785995483, 0.010267142206430435, 0.02759520523250103, -0.04415135830640793, -0.21511994302272797, 0.25430235266685486, 0.035951439291238785, 0.4384395182132721, -0.5772054195404053, 0.35987380146980286, -0.2871190905570984, -0.30860358476638794, 0.1933562010526657, -0.389136403799057, 1.0198593139648438, 0.5668719410896301, -0.17743489146232605, 0.48361679911613464, -0.5158807635307312, -0.26680585741996765, 0.18381036818027496, -0.37849581241607666, 0.1518084853887558, 0.03266309201717377, 0.12771007418632507, 0.14183929562568665, 0.6480159759521484, -0.6764012575149536, -0.10687386244535446, -0.0707491859793663, 0.3287094235420227, 0.3826231062412262, -0.28723248839378357, 0.2516910433769226, -0.4258838891983032, 0.5310421586036682, 0.21994102001190186, 0.7163071036338806, -0.16040350496768951, -0.9198965430259705, -0.7467279434204102, -0.6496871709823608, 0.26259490847587585, 0.21957987546920776, -0.3543775975704193, 0.23827284574508667, -0.035030804574489594, -0.8253469467163086, -0.6714744567871094, -0.1571914404630661, 0.5338286757469177, 0.37359392642974854, 0.35149896144866943, -0.4125423729419708, -0.02452564425766468, -0.7049139738082886, -0.07725687325000763, -0.39911559224128723, 0.05579112842679024, 0.17268724739551544, 0.5260978937149048, -0.3280079960823059, 0.9753318428993225, -0.46701475977897644, -0.06571578234434128, -0.3141994774341583, 0.031679630279541016, 0.0611516609787941, 0.4219364523887634, 0.6685876846313477, -0.7932198643684387, -0.041587889194488525, 0.003563469974324107, -1.0756887197494507, 0.3934890031814575, 0.21770194172859192, -0.12753544747829437, 0.0010778708383440971, 0.488561749458313, -0.9296189546585083, 0.5319648385047913, 0.6777466535568237, -0.5863491296768188, 0.6709140539169312, -0.36710307002067566, -0.0342431403696537, -1.2839224338531494, 0.08662109822034836, -0.022255051881074905, -0.13085928559303284, -0.5012872219085693, 0.7776291370391846, 0.20312952995300293, -0.29534390568733215, -1.0453770160675049, 0.8059386014938354, -0.5151006579399109, -0.15873423218727112, -0.08958606421947479, 0.11120864748954773, 0.037823233753442764, -0.08978835493326187, 0.09850780665874481, 0.8543031215667725, 0.7963795065879822, -0.7228531837463379, 0.1829862892627716, 0.4379107356071472, -0.37652871012687683, -0.09244338423013687, -0.8701338171958923, -0.10934808105230331, -0.16511009633541107, -0.13331836462020874, -0.7240269184112549, -0.397102415561676, 0.1052592545747757, -0.5617597103118896, 0.31779834628105164, -0.09267278015613556, -0.5908138751983643, -0.252832293510437, -0.10374991595745087, 0.2745322287082672, 0.5072876811027527, -0.837120771408081, 0.7976210713386536, 0.5737272500991821, -0.030404193326830864, -0.6686204671859741, -0.537506639957428, 0.09386121481657028, -0.16718043386936188, -1.0197365283966064, 0.48611876368522644, 0.08018330484628677, -0.6059746146202087, 0.09119424223899841, 0.18539370596408844, -0.19076362252235413, 0.2534388303756714, 0.5083878040313721, 0.46958011388778687, -0.3011743426322937, 0.02345539629459381, -0.17044521868228912, -0.17835204303264618, 0.2021414041519165, -0.1388157308101654, 0.47028887271881104, -0.27707555890083313, -0.31712806224823, -0.38156425952911377, -0.1116199865937233, 0.6889504194259644, -0.21453586220741272, 1.4284234046936035, 0.5550285577774048, -0.40585947036743164, -0.07657422125339508, -0.15810437500476837, 0.03471582755446434, -0.5407699942588806, 0.19444188475608826, -0.4748835563659668, -0.9305835366249084, 0.4115402400493622, 0.07844602316617966, 0.3829335868358612, 0.5613726377487183, 0.9162505269050598, 0.3176156282424927, 0.7378916144371033, 0.9125377535820007, -0.021733570843935013, 0.14092497527599335, -0.1377294361591339, 0.14910387992858887, -0.6102429032325745, -0.5458242297172546, -0.8826535940170288, 0.2503274977207184, -0.35499250888824463, -0.7646613121032715, 0.4980297088623047, 0.28744685649871826, -0.3462248146533966, 0.3920482397079468, -0.45712265372276306, 0.32268112897872925, 0.6120743751525879, 0.14592938125133514, 0.44938337802886963, -0.4881186783313751, -0.4260440468788147, 0.26865220069885254, -0.6601731181144714, -0.9273631572723389, 1.4168583154678345, 0.6799695491790771, 1.160914421081543, 0.3847247362136841, 0.6077726483345032, 0.0450705960392952, 0.6777616143226624, -0.7409003973007202, 0.6229976415634155, -0.11678750813007355, -1.2033792734146118, -0.20359916985034943, -0.4199781119823456, -0.8126758337020874, 0.1385824978351593, -0.4328152537345886, -0.6260722279548645, -0.2317402958869934, 0.16615767776966095, -0.11505580693483353, 0.5369538068771362, -0.3352307081222534, 0.7295069098472595, 0.07492144405841827, -0.5426045656204224, -0.4649389386177063, -0.46005478501319885, 0.8762232065200806, -0.029522482305765152, -0.028215555474162102, -0.05646303668618202, 0.024307748302817345, 0.5096274018287659, -0.6019492149353027, 0.7939016222953796, 0.08662205934524536, -0.13693273067474365, 0.695290744304657, 0.2612876296043396, 0.4187997877597809, 0.14519353210926056, -0.2668198049068451, 0.32398077845573425, 0.06489778310060501, -0.33777090907096863, -0.1556001752614975, 0.6584112644195557, -0.9878577589988708, -0.5666537880897522, -0.2504938840866089, -0.4971734881401062, 0.05799423158168793, 0.03450654074549675, 0.32545652985572815, 0.5880377292633057, -0.5620323419570923, 0.1560366302728653, 0.7430301308631897, -0.4370401203632355, 0.5120607614517212, 0.5044012665748596, -0.6660322546958923, -0.28950250148773193, 0.39709100127220154, -0.27701452374458313, 0.37853631377220154, 0.4282310903072357, 0.016344381496310234, -0.20798064768314362, -0.9508966207504272, -0.5410323739051819, 0.22176934778690338, -0.5382490158081055, 0.2239193469285965, -0.6462674140930176, -0.4007837176322937, -0.325175404548645, -0.19348172843456268, -0.734050452709198, -0.753314733505249, -0.6265596151351929, -0.08165287226438522, 0.20248837769031525, 1.2060588598251343, 0.07199779897928238, 0.5017319917678833, -0.9798443913459778, 0.3744628131389618, 0.04445941001176834, 0.2751413583755493, -0.21856358647346497, -0.43238839507102966, -0.4862685799598694, -0.1057276800274849, -0.8861663341522217, -0.35285019874572754, 0.36586374044418335, -0.29912304878234863, 0.4323016107082367, 0.6355879902839661, -0.14530763030052185, 0.6105044484138489, -0.3746964931488037, 1.173984408378601, 0.45705679059028625, -0.90299391746521, 0.2770654559135437, -0.6849435567855835, -0.08152361959218979, 0.35213208198547363, 0.6197880506515503, -0.06736661493778229, -0.3049202859401703, -0.591866672039032, -0.48185354471206665, 0.36064666509628296, 0.3324836492538452, 0.07517531514167786, -0.44694983959198, 0.5387134552001953, 0.1563846319913864, -0.06659290939569473, -0.5934431552886963, -0.15187875926494598, 0.005750251468271017, -0.28701886534690857, -0.19298888742923737, -0.2946664094924927, -0.0999113917350769, 0.18280518054962158, 0.748557448387146, -0.12708960473537445, 0.3472282290458679, 0.14338119328022003, 0.11308339983224869, -0.2667352557182312, -0.11005492508411407, 0.4663608968257904, 0.6674664616584778, -0.3087814748287201, -0.2096356600522995, 0.008881713263690472, -0.956868588924408, 0.008100563660264015, -0.21391533315181732, -0.008390714414417744, -0.13405731320381165, 0.35558050870895386, 0.267527312040329, 0.1331411451101303, -0.6946793794631958, 0.6194490790367126, -0.250906378030777, -0.12547577917575836, -0.6664609909057617, 0.5255967378616333, 0.26496925950050354, 0.14372986555099487, -0.047552693635225296, 0.2405150830745697, -0.006180265918374062, -0.7163909077644348, 0.03132365271449089, 0.5272654891014099, -0.636597216129303, -0.36934491991996765, 1.3775471448898315, 0.32438424229621887, -0.21891190111637115, 0.5603742003440857, 0.2279835045337677, 0.3784291446208954, 0.7693931460380554, 0.5794117450714111, 0.8212882280349731, -0.04208369180560112, 0.17586666345596313, 0.2486676573753357, 0.35708725452423096, -0.6162064671516418, 0.4636521637439728, 0.4039953351020813, -0.838739275932312, -0.3544877767562866, -0.7586789727210999, -0.9106091260910034, -0.047413479536771774, -0.8997009992599487, 0.6676872968673706, -0.8425714373588562, -0.47363603115081787, -0.1205967590212822, -0.1391196846961975, -0.46219101548194885, 0.4181891977787018, -0.046604156494140625, 1.785908579826355, -0.42984411120414734, 0.888521671295166, 0.5220575928688049, -0.4157510995864868, -0.7260750532150269, -0.1996210515499115, 0.24969170987606049, -0.8480907678604126, 0.7275606989860535, 0.20115232467651367, -0.3862912952899933, -0.1343492865562439, -0.4891451597213745, -1.036482572555542, 1.478710412979126, 0.4596518278121948, -0.36439114809036255, -0.27302008867263794, 0.08240038901567459, 0.4054436981678009, -0.676288366317749, 0.4549410343170166, 0.12987196445465088, 0.1899736225605011, 0.2321150153875351, -1.064221978187561, -0.3161905109882355, -0.19305618107318878, -0.1727885901927948, 0.43083158135414124, -1.0309691429138184, 1.2532265186309814, -0.5370559692382812, -0.07214979082345963, 0.7395535707473755, 0.6233398914337158, 0.5103405117988586, 0.29145437479019165, -0.1235940232872963, 0.7120397686958313, 0.5763353705406189, -0.044308967888355255, 1.2882806062698364, -0.5432725548744202, 0.2060542106628418, 0.9965619444847107, -0.5038285851478577, 0.8995063900947571, 0.16116829216480255, 0.044716089963912964, 0.39561763405799866, 0.6662271618843079, 0.4223921597003937, 0.4103701114654541, 0.04118465632200241, -0.5724156498908997, -0.02146534062922001, -0.20453380048274994, -0.07888232916593552, 0.43160948157310486, 0.5330982804298401, -0.6417926549911499, -0.03290750831365585, -0.4164506494998932, 0.3842281997203827, -0.0900893583893776, -0.7366290092468262, 0.49197959899902344, 0.21291399002075195, -0.5576242804527283, 0.31939929723739624, 0.5023746490478516, 0.306205689907074, -0.6461235880851746, 0.18400010466575623, 0.08376088738441467, 0.3071591854095459, -0.2310558259487152, -0.7072504162788391, 0.42984580993652344, 0.02489304170012474, 0.14375793933868408, -0.10453367233276367, 0.6998919248580933, 0.14715202152729034, -0.4634883999824524, 0.6335785984992981, 0.35070645809173584, 0.3602900207042694, 0.25753089785575867, -0.3237069845199585, -0.06785370409488678, -0.326980859041214, -0.29364141821861267, 0.32833030819892883, 0.30190345644950867, -0.029166407883167267, 1.1227779388427734, 0.450111448764801, 0.13450175523757935, 0.3207950294017792, -0.13912448287010193, 0.9349303841590881, -0.8917161226272583, -0.2658189833164215, -0.6866253614425659, 0.7606671452522278, 0.26877561211586, -0.763441264629364, 0.6980735659599304, 0.6176801323890686, 0.5935110449790955, -0.1211334690451622, 0.5227113962173462, 0.0669742226600647, 0.3090348541736603, -0.8329944014549255, 0.6991406083106995, -0.317716121673584, 0.19178713858127594, -0.03418103978037834, -0.866097092628479, -0.39033564925193787, 0.05857441946864128, -0.12886835634708405, 0.050789497792720795, 0.7443603277206421, 1.113671898841858, -0.09785376489162445, 0.3230295181274414, 0.5004234910011292, 0.1253124624490738, 0.32462769746780396, 0.48292165994644165, 0.892501950263977, -0.3861846923828125, 0.3847339451313019, 0.18370510637760162, -0.3560146987438202, -0.24288417398929596, -0.7505480051040649, -1.3129020929336548, -0.2813095450401306, -0.1648327112197876, -0.36255887150764465, 0.14672480523586273, 0.6665984392166138, 0.9191439747810364, -0.42311033606529236, -0.12973448634147644, -0.274295449256897, -0.25568145513534546, 0.06034351512789726, -0.2058180272579193, 0.09078233689069748, -0.4590352773666382, -0.583040714263916, 0.7442463040351868, 0.4799433648586273, 0.11932265013456345, -0.5030975937843323, -0.34134113788604736, 0.29087555408477783, 0.4787386655807495, 0.4368588924407959, -0.030078018084168434, -0.48618778586387634, -0.3254258632659912, -0.16736353933811188, -0.2865619361400604, -0.09047650545835495, 0.7259045243263245, -0.663556694984436, 0.10251016169786453, 0.2931172251701355, 0.4358939826488495, 0.7351855039596558, -0.17439775168895721, 0.6325556635856628, -0.24191169440746307, 0.305277019739151, 0.05111076682806015, 0.737589955329895, 0.11839088052511215, -0.49932539463043213, 0.84456866979599, -0.2631000280380249, -0.6821944713592529, -0.5448022484779358, 0.41471266746520996, -0.8704745769500732, -0.3779393434524536, 0.8189456462860107, -0.41874897480010986, -0.19427092373371124, -0.049592964351177216, 0.03811438009142876, 0.07660062611103058, 0.09458159655332565, 1.0552483797073364, 0.5687839388847351, 0.08907783031463623, -0.04711836203932762, -0.555820882320404, 0.1858094334602356, 0.1865236461162567, -0.9250327944755554, -0.17695368826389313, 0.29704129695892334, 0.4087629020214081, 0.25842320919036865, 0.5635330677032471, -0.924105167388916, 0.42713314294815063, 0.426316499710083, 0.27374467253685, -0.20815525949001312, -0.9450488090515137, -0.2498214989900589, 0.3776301145553589, 0.5684667229652405, -0.18395575881004333 ]
http://arxiv.org/abs/2403.08293v3
http://arxiv.org/pdf/2403.08293v3
Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scale
2024-03-13T06:54:47
2024-06-17T16:22:52
Xiang Hu, Pengyu Ji, Qingyang Zhu, Wei Wu, Kewei Tu
cs.CL
cs.CL, cs.AI
A syntactic language model (SLM) incrementally generates a sentence with its syntactic tree in a left-to-right manner. We present Generative Pretrained Structured Transformers (GPST), an unsupervised SLM at scale capable of being pre-trained from scratch on raw texts with high parallelism. GPST circumvents the limitations of previous SLMs such as relying on gold trees and sequential training. It consists of two components, a usual SLM supervised by a uni-directional language modeling loss, and an additional composition model, which induces syntactic parse trees and computes constituent representations, supervised by a bi-directional language modeling loss. We propose a representation surrogate to enable joint parallel training of the two models in a hard-EM fashion. We pre-train GPST on OpenWebText, a corpus with $9$ billion tokens, and demonstrate the superiority of GPST over GPT-2 with a comparable size in numerous tasks covering both language understanding and language generation. Meanwhile, GPST also significantly outperforms existing unsupervised SLMs on left-to-right grammar induction, while holding a substantial acceleration on training.
[ -0.12164922058582306, -0.5353397130966187, 0.6778988838195801, 0.30291613936424255, -0.3675895929336548, 0.07932078093290329, -0.5550925731658936, 0.04858452454209328, 0.23946477472782135, 0.5043213367462158, -0.5248664617538452, -0.4423281252384186, -0.48847153782844543, -0.05288148298859596, -0.7014211416244507, 1.3739864826202393, -0.06541335582733154, -0.12592458724975586, -0.31332927942276, 0.019967827945947647, -0.20548199117183685, -0.6555531024932861, -0.2629411816596985, -0.2927245497703552, 0.16496402025222778, 0.1373930722475052, 0.8687687516212463, 0.4586676359176636, 0.31722596287727356, 0.4094599187374115, 0.23965221643447876, -0.19394172728061676, -0.25928303599357605, -0.021231364458799362, -0.1460770219564438, -0.3046324849128723, -0.5015440583229065, 0.12587414681911469, 0.8494661450386047, 0.9153264164924622, -0.5652428269386292, 0.21774137020111084, 0.08047396689653397, 0.4705173075199127, -0.20496025681495667, 0.4043734073638916, -0.6629244685173035, 0.022805478423833847, -0.401056706905365, 0.05757448449730873, -0.6018968820571899, -0.05164535343647003, -0.014724820852279663, -0.6768380999565125, 0.4148097038269043, -0.23367325961589813, 0.731207549571991, 0.3194604218006134, -0.29883795976638794, 0.136027991771698, -0.9382369518280029, 0.4179551899433136, -0.4930565357208252, 0.3968513011932373, -0.10980576276779175, 0.3296903669834137, -0.021470919251441956, -1.3250036239624023, -0.39014896750450134, -0.26115843653678894, -0.30090978741645813, 0.25448012351989746, -0.2069309651851654, 0.22969798743724823, 0.3018602132797241, 0.3790065348148346, -0.9444259405136108, 0.04593374952673912, -0.14149923622608185, 0.038117628544569016, 0.22299639880657196, -0.05986432731151581, 0.27054938673973083, 0.025197414681315422, -0.5024270415306091, -0.19397658109664917, -0.7618563771247864, -0.4492339491844177, 0.30365049839019775, 0.39795345067977905, -0.0034515217412263155, 0.4741266667842865, 0.02604546584188938, 0.5462424755096436, 0.06981729716062546, 0.2566611170768738, 0.19046078622341156, -0.38896840810775757, -0.3421403765678406, 0.0562337227165699, 0.9259403347969055, -0.127762109041214, 0.4798514246940613, -0.3624245822429657, -0.3183973431587219, 0.17726711928844452, 0.6000877618789673, -0.832417368888855, -0.3591313362121582, -0.34373965859413147, -0.24308732151985168, 0.01211387850344181, 0.20953074097633362, -0.4198896884918213, 0.15426930785179138, -0.3182222843170166, 0.33574342727661133, -0.10143885761499405, -0.4287244975566864, 0.3412785530090332, 0.18612195551395416, -0.010531188920140266, 0.09619849920272827, -1.1226979494094849, 0.3107990324497223, 0.5381597876548767, 0.6574335098266602, 0.0781516581773758, -0.3649301528930664, -0.25999152660369873, 0.23694372177124023, -0.13743995130062103, 0.8057727813720703, -0.39489689469337463, -0.19986847043037415, 0.15534840524196625, 0.06714341044425964, -0.3505108654499054, -0.3541734218597412, 0.47658687829971313, -0.44826048612594604, 0.39875584840774536, 0.23739022016525269, -0.25301870703697205, 0.1332080066204071, 0.16790536046028137, -0.5121663212776184, 1.1887691020965576, 0.5697306990623474, -0.8537419438362122, 0.35469087958335876, -0.5465296506881714, -0.5439870953559875, 0.5174940824508667, -0.35592907667160034, -0.5136764049530029, 0.3061632215976715, 0.19305065274238586, 0.31590408086776733, -0.24638134241104126, 0.5810331702232361, 0.0882808193564415, -0.29031482338905334, -0.18121950328350067, -0.4236404597759247, 0.44257470965385437, -0.13378362357616425, -0.35141345858573914, 0.4050951600074768, -0.6675972938537598, 0.12394717335700989, 0.38653576374053955, -0.29705488681793213, -0.16455359756946564, 0.0209865253418684, 0.1354144811630249, 0.14070989191532135, 0.32725828886032104, -0.57646244764328, 0.2665327191352844, -0.37347185611724854, 0.6397286653518677, 0.5453569889068604, -0.40006938576698303, 0.42736315727233887, 0.20126403868198395, 0.6265659928321838, -0.05392102152109146, 0.029466604813933372, -0.2713486850261688, -0.15555986762046814, -0.8694218993186951, 0.02723301574587822, 0.18467526137828827, 0.30626195669174194, -0.8083269596099854, 0.6324794292449951, -0.6938686370849609, -0.32183393836021423, -0.41812756657600403, -0.0735895112156868, 0.28141912817955017, 0.32233962416648865, 0.5210913419723511, -0.3645150661468506, -0.5097603797912598, -0.950113832950592, -0.37593257427215576, -0.24261654913425446, -0.26475390791893005, -0.2735508680343628, 0.28246235847473145, -0.23009511828422546, 0.9064237475395203, -0.38345491886138916, -0.2831524908542633, -0.5555256009101868, 0.35060396790504456, 0.028551341965794563, 0.46791625022888184, 0.32462722063064575, -0.6404672861099243, -0.545220136642456, -0.008600552566349506, -0.44855228066444397, -0.13442756235599518, -0.2500447928905487, 0.18038608133792877, 0.15750455856323242, 0.6737219095230103, -1.1448532342910767, 0.3233095705509186, 0.6325443387031555, -0.2041308432817459, 0.49028196930885315, -0.4973999261856079, -0.42336660623550415, -1.2037142515182495, -0.05566006526350975, -0.15788590908050537, -0.5700554251670837, -0.6104152798652649, 0.12365046888589859, 0.17438483238220215, -0.27013617753982544, -0.2505147457122803, -0.07653157413005829, -0.5442786812782288, -0.3893904685974121, -0.12520435452461243, 0.0923532024025917, -0.14500778913497925, 0.6025192737579346, 0.1630953848361969, 0.9988804459571838, 0.3027077913284302, 0.0012418325059115887, 0.1593649834394455, 0.12088040262460709, -0.5458515882492065, -0.011395696550607681, -0.663018524646759, 0.3132915794849396, -0.19839344918727875, 0.512467086315155, -0.6165745854377747, -0.03270129859447479, -0.147645965218544, -0.05627281591296196, 0.45341038703918457, -0.16430877149105072, -0.8297374844551086, -0.44924667477607727, -0.03322698920965195, 0.5439570546150208, 0.5337508916854858, -0.5409608483314514, 0.4866712689399719, 0.1614212989807129, -0.27547961473464966, -0.17808328568935394, -0.6376316547393799, 0.07740791887044907, -0.04837664216756821, -0.35408714413642883, 0.4378809928894043, 0.28190839290618896, 0.12767954170703888, 0.10331474989652634, -0.08368265628814697, 0.3042680025100708, -0.08028542250394821, 0.21895723044872284, 0.06944424659013748, -0.42169544100761414, 0.23615795373916626, -0.02740265429019928, -0.43072301149368286, 0.19494199752807617, -0.8375536203384399, 0.8989022970199585, -0.5073513388633728, -0.46265709400177, -0.2169785052537918, 0.2796163558959961, 0.4855615496635437, -0.4583558440208435, 0.6581694483757019, 0.6195617318153381, -0.16721315681934357, -0.27374330163002014, -0.17237523198127747, -0.021188270300626755, -0.4828554093837738, 0.6421071290969849, -0.27929773926734924, -0.9040051698684692, 0.13925784826278687, -0.15487030148506165, -0.07501907646656036, 0.5517043471336365, 0.5948320031166077, 0.14464882016181946, 1.0293387174606323, 0.7499614953994751, -0.007551668211817741, 0.5136414766311646, -0.19223962724208832, 0.4194543957710266, -0.47785457968711853, -0.12999117374420166, -0.4371272027492523, -0.031331174075603485, -0.8096401691436768, -0.5211717486381531, 0.3669664263725281, 0.12462067604064941, -0.4865323603153229, 0.6614312529563904, -0.5027651786804199, 0.5791349411010742, 0.5801098942756653, -0.17750504612922668, 0.2935076355934143, 0.13185453414916992, -0.1637723743915558, 0.06587636470794678, -0.692944347858429, -0.626891553401947, 0.9476329684257507, 0.29462456703186035, 0.7056330442428589, -0.051891885697841644, 0.4733782112598419, -0.018104474991559982, 0.5154873728752136, -0.6472077369689941, 0.6325003504753113, -0.47573548555374146, -0.2909258306026459, -0.28275302052497864, -0.27220144867897034, -0.6707975268363953, 0.21735043823719025, 0.02333366684615612, -0.5025973320007324, -0.3968745470046997, 0.11229570209980011, -0.20872822403907776, 0.3543158173561096, -0.8080407977104187, 1.0323331356048584, -0.18492011725902557, -0.10014300048351288, -0.053274791687726974, -0.8047429919242859, 0.04810791462659836, -0.11176282167434692, -0.27354180812835693, 0.17969422042369843, 0.21453925967216492, 0.5674402117729187, -0.589924156665802, 0.7839462757110596, -0.19736187160015106, -0.04986240714788437, 0.3063370883464813, 0.047007039189338684, 0.6555399894714355, 0.03498820215463638, 0.3119983375072479, 0.14137667417526245, -0.29313796758651733, -0.3576635718345642, -0.7075637578964233, 0.5953448414802551, -0.6182416081428528, -0.8318854570388794, -0.35352611541748047, -0.7012810111045837, -0.20297417044639587, 0.3843705654144287, 0.2223018854856491, 0.3298104405403137, -0.2129189670085907, 0.1628967821598053, 0.2633967697620392, 0.024048566818237305, 0.5475063323974609, 0.22707512974739075, -0.16616331040859222, -0.06760773807764053, 0.6467969417572021, -0.09017544984817505, 0.31671589612960815, 0.5594724416732788, 0.0391739197075367, -0.471047043800354, -0.6602012515068054, -0.6361168026924133, 0.11628362536430359, -0.4409382939338684, -0.20423239469528198, -0.5918639302253723, -0.44742581248283386, -0.3729606866836548, 0.0965825542807579, -0.6485083103179932, -0.5259401202201843, -0.12257705628871918, -0.4177810251712799, 0.03769133985042572, 0.9201412796974182, 0.18910418450832367, 0.676648736000061, -0.5971478223800659, 0.036239881068468094, 0.25576701760292053, 0.3095150291919708, -0.3513335883617401, -0.3724477291107178, -0.3005957305431366, -0.0020883602555841208, -0.3514707386493683, -0.4677371084690094, 0.4261641502380371, 0.0830695629119873, 0.10533596575260162, 0.400494784116745, -0.18687282502651215, 0.7221477627754211, -0.8219463229179382, 0.6681543588638306, 0.2700551152229309, -0.7589163780212402, 0.20147041976451874, -0.44639283418655396, 0.4856542646884918, 0.5526383519172668, 0.20177707076072693, -0.4156726002693176, -0.4440139830112457, -0.5363934636116028, -0.6383987665176392, 0.7862911224365234, 0.19285602867603302, 0.3007814586162567, -0.11631853878498077, 0.2889310419559479, 0.17144683003425598, 0.22097380459308624, -1.0200669765472412, 0.04098694771528244, -0.6661835312843323, -0.3164878487586975, -0.4339821934700012, -0.2087114155292511, 0.19213853776454926, -0.20358772575855255, 0.45358631014823914, -0.12988342344760895, 0.24333061277866364, -0.025329716503620148, -0.2776600420475006, -0.031620074063539505, 0.4655839800834656, 0.48369696736335754, 0.42911943793296814, -0.12484756112098694, 0.5435556769371033, -0.18154598772525787, -0.505424976348877, 0.06894902884960175, 0.44248679280281067, -0.23912908136844635, 0.03570593148469925, 0.4343714118003845, 0.9084857702255249, 0.18281489610671997, -0.40262359380722046, 0.6427738070487976, 0.05258379131555557, -0.20632430911064148, -0.30447790026664734, -0.4040926396846771, 0.26936742663383484, 0.006504348013550043, 0.15706348419189453, 0.024840688332915306, -0.22271230816841125, -0.47947925329208374, 0.17724837362766266, 0.41928598284721375, -0.3108614385128021, -0.7669119834899902, 0.6759998798370361, 0.1065438762307167, -0.22415757179260254, 0.8925110101699829, -0.18928848206996918, -0.7736957669258118, 0.2304815798997879, 1.015173077583313, 0.9939444661140442, -0.25382572412490845, 0.4619874358177185, 0.17340955138206482, 0.5205708146095276, -0.23868964612483978, -0.12218297272920609, -0.21283920109272003, -0.6401159763336182, -0.5896914601325989, -0.7999275326728821, 0.0001404769136570394, 0.329814076423645, -0.6657001376152039, 0.0015016759280115366, -0.32198476791381836, 0.012464847415685654, -0.13134410977363586, -0.1319570392370224, -0.5738780498504639, -0.08786284923553467, -0.08677911013364792, 0.6942029595375061, -0.8996830582618713, 1.1401110887527466, 0.9236767292022705, -0.4628866910934448, -0.8698567748069763, 0.26455792784690857, -0.44579508900642395, -0.8149111270904541, 0.6035823822021484, 0.4383402466773987, -0.07625361531972885, 0.3202162981033325, -0.22357068955898285, -0.6027752161026001, 0.9463127255439758, 0.6926407217979431, -0.7116031050682068, -0.3995112478733063, 0.6646189093589783, 0.7435519099235535, -0.30529382824897766, 0.2262778878211975, 0.6266517639160156, 0.1748204082250595, -0.16722877323627472, -0.9634202718734741, 0.14222313463687897, 0.005787214729934931, 0.2810131013393402, 0.6667888760566711, -0.400214821100235, 1.0180602073669434, -0.06636907160282135, -0.6583161950111389, 0.11684327572584152, 0.5792278051376343, -0.09908747673034668, -0.19124825298786163, 0.5808579325675964, 0.9525526762008667, 0.2465014010667801, -0.19304201006889343, 0.889991044998169, -0.2622695863246918, 0.5531831979751587, 1.2506506443023682, -0.3307037651538849, 0.6209538578987122, 0.43851032853126526, -0.2507786452770233, 0.6741475462913513, 0.3757822513580322, 0.20429690182209015, 0.51936936378479, 0.2673742175102234, -0.4909593462944031, -0.4562532603740692, -0.10986864566802979, -0.3526202440261841, 0.5363351702690125, 0.22186866402626038, -0.24868783354759216, -0.660558819770813, 0.002958820667117834, -0.16844439506530762, 0.4555423855781555, -0.15616288781166077, 0.6750600934028625, 0.01773647405207157, -0.6521133184432983, 0.33822885155677795, 0.16195447742938995, 0.3393612802028656, -0.6644058227539062, 0.17899255454540253, -0.29765942692756653, 0.36333367228507996, 0.013658964075148106, -0.5630024075508118, 0.3911537826061249, 0.015439159236848354, -0.04629053547978401, -0.8449189066886902, 0.7280911803245544, -0.7762362360954285, -0.4754951596260071, 0.2560420036315918, 0.5204740762710571, 0.12310217320919037, -0.40313583612442017, -0.4943743050098419, -0.25582361221313477, -0.2682112157344818, -0.42767757177352905, 0.3666418194770813, 0.4682622253894806, -0.4376216232776642, 0.3857556879520416, 0.5150973796844482, 0.019000647589564323, 0.03783074766397476, 0.41629859805107117, 1.0950844287872314, -0.6261587738990784, -0.41521018743515015, -0.7092218399047852, 0.3055780529975891, 0.22736026346683502, 0.06608179956674576, 0.6396409869194031, 0.7339537739753723, 1.0958682298660278, -0.25982189178466797, 0.5091940760612488, 0.02336740493774414, 0.28372642397880554, -0.47512009739875793, 0.6504668593406677, -0.2702474594116211, -0.047297053039073944, 0.143514484167099, -1.0995094776153564, -0.3448982536792755, 0.4804984927177429, -0.18159689009189606, 0.18274761736392975, 0.8377805948257446, 0.5939708948135376, -0.2036304920911789, 0.020238714292645454, 0.2555583715438843, 0.22857192158699036, 0.2750643491744995, 0.6278296709060669, 0.7503494620323181, -0.29271170496940613, 0.5960069298744202, -0.03529984503984451, 0.003389339428395033, 0.2038363665342331, -0.7641044855117798, -0.9765391945838928, -0.6326757669448853, -0.10571331530809402, -0.02539936639368534, -0.0735798329114914, 0.7321441173553467, 0.6799799799919128, -0.501805305480957, -0.11706791818141937, -0.7912405729293823, -0.25833460688591003, 0.01751515083014965, -0.19552329182624817, 0.47184476256370544, -0.5098409652709961, -0.7259759902954102, 0.5495116114616394, 0.3796013295650482, 0.14710383117198944, -0.49665316939353943, 0.12093190103769302, -0.10289495438337326, -0.3692018389701843, 0.7050294280052185, 0.09437867254018784, -0.5172795057296753, -0.3106561303138733, -0.3167458474636078, -0.13529519736766815, 0.08166307955980301, 1.1827975511550903, -0.9282306432723999, 0.20660200715065002, 0.21743053197860718, 0.5670096278190613, 0.8256834745407104, 0.2495996505022049, 0.6249395608901978, -1.191515564918518, 0.46726956963539124, 0.29246294498443604, 0.27846941351890564, 0.33256205916404724, -0.06011207029223442, 0.2492116540670395, 0.2761865556240082, -0.3086978793144226, -0.6923458576202393, 0.3118405044078827, -0.9112118482589722, -0.06467124819755554, 0.9330570101737976, -0.24376077950000763, 0.0926668792963028, 0.11933495104312897, 0.2121303826570511, 0.3727732300758362, -0.08388165384531021, 0.3374049663543701, 0.43946102261543274, 0.24801890552043915, -0.10857751220464706, -0.41171330213546753, 0.506166934967041, 0.5961778163909912, -0.8843305110931396, 0.3647709786891937, 0.2224646359682083, 0.11064044386148453, 0.22466690838336945, 0.551742434501648, -0.37044474482536316, -0.11389950662851334, 0.0202937088906765, 0.3213159441947937, -0.2766088545322418, -0.608704686164856, -0.32606926560401917, 0.18014267086982727, 0.023874925449490547, -0.22053270041942596 ]
http://arxiv.org/abs/2403.08281v4
http://arxiv.org/pdf/2403.08281v4
Mastering Text, Code and Math Simultaneously via Fusing Highly Specialized Language Models
2024-03-13T06:18:48
2024-03-26T09:29:51
Ning Ding, Yulin Chen, Ganqu Cui, Xingtai Lv, Weilin Zhao, Ruobing Xie, Bowen Zhou, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI
Underlying data distributions of natural language, programming code, and mathematical symbols vary vastly, presenting a complex challenge for large language models (LLMs) that strive to achieve high performance across all three domains simultaneously. Achieving a very high level of proficiency for an LLM within a specific domain often requires extensive training with relevant corpora, which is typically accompanied by a sacrifice in performance in other domains. In this paper, we propose to fuse models that are already highly-specialized directly. The proposed fusing framework, UltraFuser, consists of three distinct specialists that are already sufficiently trained on language, coding, and mathematics. A token-level gating mechanism is introduced to blend the specialists' outputs. A two-stage training strategy accompanied by balanced sampling is designed to ensure stability. To effectively train the fused model, we further construct a high-quality supervised instruction tuning dataset, UltraChat 2, which includes text, code, and mathematical content. This dataset comprises approximately 300,000 instructions and covers a wide range of topics in each domain. Experiments show that our model could simultaneously achieve mastery of the three crucial domains.
[ -0.22084487974643707, -0.9465478658676147, 0.2887517213821411, 0.3358399569988251, -0.0583401583135128, 0.5795779228210449, -0.18772970139980316, -0.3626527488231659, -0.2977331280708313, 0.8587282299995422, -0.40483418107032776, -0.4111931025981903, -0.411132276058197, -0.22292082011699677, -0.5109973549842834, 1.2452856302261353, -0.055611077696084976, 0.045986901968717575, -0.39186257123947144, 0.07739309221506119, -0.7096134424209595, -0.789533257484436, -0.3355712890625, -0.731918215751648, -0.01736648567020893, 0.3941999673843384, 0.7869561910629272, 0.6609139442443848, 0.5252171158790588, 0.26643654704093933, 0.26781463623046875, 0.43622082471847534, -0.8373432159423828, -0.1227838471531868, -0.2986392378807068, -0.560559868812561, -0.40826117992401123, -0.11242377758026123, 0.5322604179382324, 0.8616653084754944, -0.05204657092690468, -0.18653173744678497, 0.20354323089122772, 0.46194806694984436, -0.4061485826969147, 0.0485551655292511, -0.8449907302856445, -0.11882622539997101, -0.0237930528819561, -0.18380016088485718, -0.5333913564682007, -0.12473536282777786, -0.2098073661327362, -0.630282998085022, 0.2594543695449829, -0.06342275440692902, 0.8648514747619629, 0.15945090353488922, -0.44116127490997314, 0.047167740762233734, -0.9292202591896057, 0.8671921491622925, -0.48694169521331787, 0.25984859466552734, 0.3135403096675873, -0.0073209479451179504, 0.18418258428573608, -0.41133996844291687, -0.4499400556087494, 0.2860734164714813, -0.10564111918210983, 0.10469292104244232, -0.22420190274715424, -0.03518885374069214, 0.09519225358963013, 0.31708189845085144, -0.5596603751182556, 0.30350127816200256, -0.27011728286743164, -0.191465824842453, 0.5367621779441833, 0.38107097148895264, 0.45912426710128784, 0.1597452163696289, -0.41197818517684937, -0.18955102562904358, -0.6936033368110657, -0.29051464796066284, 0.3061787486076355, 0.06593974679708481, -0.19406729936599731, 0.6969672441482544, 0.19119632244110107, 0.6505560278892517, -0.25124770402908325, -0.0013141985982656479, -0.04220276325941086, -0.5112231969833374, -0.3601517379283905, -0.275142639875412, 0.7913621068000793, 0.17153407633304596, 0.4542139768600464, -0.25442782044410706, -0.2988201081752777, 0.43054038286209106, 0.30762895941734314, -0.5494168996810913, -0.5957802534103394, 0.02987034060060978, -0.08417706936597824, -0.3457086682319641, 0.022634467110037804, -0.7153434157371521, -0.09867117553949356, -0.4511486291885376, 0.3299826383590698, -0.45803773403167725, -0.31456154584884644, 0.2431098222732544, 0.11531496047973633, -0.0032653931993991137, -0.0942579060792923, -1.327688217163086, 0.35026052594184875, 0.9290356636047363, 0.6098789572715759, -0.39632683992385864, -0.4296981394290924, -0.28428491950035095, 0.5588579773902893, -0.5313823819160461, 0.7529159188270569, -0.9574110507965088, -0.38528236746788025, 0.14368215203285217, -0.27732107043266296, -0.33570748567581177, -0.48564526438713074, 0.43484172224998474, -0.6553052663803101, -0.10835544019937515, 0.2421490103006363, -0.8008642196655273, 0.04936718940734863, -0.0711943581700325, -0.5441023707389832, 1.2407584190368652, 0.511341392993927, -0.5648784637451172, 0.021035639569163322, -0.3821667730808258, -0.5472404956817627, 0.23770378530025482, -0.16926881670951843, -0.4147067368030548, 0.170771524310112, 0.3011408746242523, 0.4917341470718384, -0.28932201862335205, 0.412811815738678, -0.0917772427201271, -0.5638163089752197, 0.2407303899526596, -0.44694972038269043, 0.6635974049568176, -0.061497218906879425, -0.1899518519639969, 0.10810963809490204, -0.57391756772995, 0.05415578931570053, -0.04056045785546303, -0.3251001536846161, -0.4334331154823303, -0.28637635707855225, 0.3052808344364166, 0.15947268903255463, 0.2380528450012207, -0.1569705754518509, 0.4011977016925812, -0.47064968943595886, 0.37773197889328003, 0.7903631329536438, -0.1386639028787613, 0.5614777207374573, -0.19303882122039795, 0.4773486256599426, 0.001709792879410088, -0.06756969541311264, -0.4357626438140869, -0.31971418857574463, -0.9898658990859985, -0.27241000533103943, 0.3580740690231323, 0.7248407602310181, -0.7641844749450684, 0.6302887797355652, -0.35170039534568787, -0.32973870635032654, -0.6509884595870972, 0.5870118141174316, 0.6418629288673401, 0.30879858136177063, 0.35621652007102966, -0.005917176138609648, -0.4296713173389435, -0.8085922598838806, -0.23716223239898682, 0.12248430401086807, -0.10407844930887222, 0.17532268166542053, 0.4335457980632782, -0.3836387097835541, 0.7519497871398926, -0.7183775901794434, -0.4687463641166687, -0.32611989974975586, 0.22973205149173737, 0.1736730933189392, 0.6830736398696899, 0.27253222465515137, -0.7867633104324341, -0.5629956126213074, 0.38452744483947754, -0.8888928294181824, -0.047863300889730453, -0.26584678888320923, -0.3844509720802307, 0.1285124570131302, 0.6073522567749023, -0.13131491839885712, 0.14574670791625977, 0.6008318066596985, -0.08823695033788681, 0.39471685886383057, -0.30114561319351196, 0.03254302591085434, -1.0811095237731934, -0.06990474462509155, -0.13864371180534363, -0.12903127074241638, -0.6699567437171936, 0.4147150218486786, 0.29893019795417786, -0.19864898920059204, -0.23048369586467743, 0.4462832510471344, -0.5371870994567871, 0.30058589577674866, -0.46478700637817383, -0.03817348927259445, -0.18345148861408234, 0.6579344272613525, -0.08931511640548706, 0.9222860932350159, 0.8181930184364319, -0.5498760342597961, 0.4980754852294922, 0.24892380833625793, -0.18187174201011658, 0.470406711101532, -0.7401792407035828, 0.21941356360912323, 0.28930366039276123, -0.05792100355029106, -0.8005383014678955, -0.3548772633075714, -0.4707133173942566, -0.31852030754089355, 0.29945844411849976, -0.17510169744491577, -0.7560004591941833, -0.42826175689697266, -0.005552522372454405, 0.4895796477794647, 0.6297240853309631, -0.34940916299819946, 0.6696575880050659, 0.608582615852356, -0.15687742829322815, -0.3729632794857025, -0.6832497715950012, 0.060263581573963165, 0.08493119478225708, -0.618841826915741, 0.4006207287311554, -0.023400448262691498, 0.14817310869693756, 0.020230870693922043, -0.07424884289503098, -0.182966947555542, 0.08508101850748062, 0.19489452242851257, 0.7241309285163879, 0.02834145911037922, -0.10314078629016876, 0.2879873216152191, -0.4245065748691559, -0.0929986834526062, -0.6165327429771423, 0.7837197184562683, 0.09468559920787811, -0.6221871972084045, -0.28508132696151733, 0.5743587017059326, 0.4431583881378174, -0.4888896644115448, 0.7700472474098206, 0.5465006232261658, -0.39902812242507935, -0.383880615234375, -0.6024503707885742, -0.0700417086482048, -0.4698486030101776, 0.49466922879219055, -0.49989229440689087, -1.1893855333328247, 0.4403742253780365, -0.11536405235528946, 0.3908427059650421, 0.30680587887763977, 0.6623309850692749, 0.0011712805135175586, 1.3957654237747192, 1.22382390499115, -0.2858893573284149, 0.20106002688407898, -0.4501314163208008, 0.4124499261379242, -0.7083473801612854, -0.3917537331581116, -0.4950807988643646, -0.05109763517975807, -0.25146615505218506, -0.47292518615722656, 0.5785514116287231, 0.11926205456256866, 0.05148536339402199, 0.3754536509513855, -0.4389986991882324, 0.9737509489059448, 0.45960837602615356, -0.12967945635318756, 0.3231596052646637, 0.5205455422401428, -0.3405816853046417, 0.017286669462919235, -0.7496119737625122, -0.4285765290260315, 1.082226276397705, 0.14882217347621918, 1.0272352695465088, 0.0031987710390239954, 0.5068243145942688, -0.0813140720129013, -0.0417584590613842, -0.403329074382782, 0.40940791368484497, -0.5277208685874939, -0.4947812855243683, -0.07576775550842285, -0.6150691509246826, -0.6681963801383972, 0.16199250519275665, -0.3494754731655121, -0.48300549387931824, -0.24591168761253357, 0.05231422930955887, -0.30039334297180176, 0.4004116952419281, -0.6026977300643921, 0.6406559348106384, -0.10442538559436798, -0.5956557393074036, -0.4069400131702423, -0.6095556020736694, 0.5652209520339966, -0.46863552927970886, 0.39154869318008423, -0.02487669140100479, 0.06637093424797058, 0.648847758769989, -0.022255806252360344, 0.8335930109024048, 0.4684751033782959, -0.23018638789653778, 0.009381773881614208, 0.41717082262039185, 0.18439894914627075, 0.1346954107284546, 0.029501546174287796, 0.1295221745967865, -0.1919211596250534, -0.6352545022964478, -0.5535894632339478, 1.004145622253418, -0.9505791068077087, -0.3808259069919586, -0.23198702931404114, -0.8506693243980408, -0.46669521927833557, 0.3108311891555786, 0.06989952176809311, 0.49899759888648987, -0.11860646307468414, 0.054862380027770996, 1.0021532773971558, 0.1932438313961029, 0.41056928038597107, 0.36400559544563293, -0.0539652444422245, -0.44670215249061584, 1.113553524017334, -0.30746784806251526, 0.5442408919334412, 0.5025374293327332, -0.18300840258598328, -0.11317197233438492, -0.3755052089691162, -0.4938370883464813, 0.304851233959198, -0.6035980582237244, -0.3386324942111969, -0.9031822681427002, -0.4443826377391815, -0.4776802957057953, -0.4475471079349518, -0.21207295358181, -0.1009080559015274, -0.3143804967403412, -0.009650489315390587, 0.2533726990222931, 0.7249370813369751, 0.14081791043281555, 0.5162055492401123, -1.0707205533981323, 0.4687226712703705, 0.363752156496048, 0.43199777603149414, -0.11504236608743668, -0.38962459564208984, -0.5064566135406494, 0.23576466739177704, -0.3240332007408142, -0.6076751947402954, 0.2638697624206543, 0.20358587801456451, 0.5763759613037109, 0.28088563680648804, -0.37502163648605347, 0.8390665650367737, -0.4162566065788269, 0.7127928733825684, 0.2806244492530823, -1.0880942344665527, 0.37369534373283386, -0.4219399094581604, 0.21987779438495636, 0.6019931435585022, 0.343485951423645, -0.47212690114974976, -0.6074520349502563, -0.5105821490287781, -0.7981289029121399, 0.8186380863189697, 0.24200187623500824, 0.5043944716453552, 0.20983867347240448, 0.14096494019031525, 0.12887541949748993, 0.057210978120565414, -0.5969133973121643, -0.15292251110076904, 0.06191500648856163, -0.4127548933029175, -0.0070656463503837585, -0.15757450461387634, -0.3948596715927124, -0.5109346508979797, 0.7114772200584412, -0.3256082534790039, 0.10678815841674805, -0.4701743721961975, -0.2737753093242645, 0.025373151525855064, -0.03907874971628189, 0.13847392797470093, 0.7915148735046387, 0.36561062932014465, 0.28013360500335693, 0.02029370702803135, -0.4748518168926239, 0.0896206870675087, -0.0021758766379207373, -0.08700378239154816, -0.3506987690925598, 0.7003291845321655, 0.7641289234161377, 0.6360341906547546, -0.7092152237892151, 0.3980330228805542, 0.24275362491607666, -0.27223700284957886, 0.2576417624950409, 0.385469913482666, 0.27786457538604736, -0.2386060506105423, 0.34350135922431946, 0.1377689242362976, -0.24413618445396423, -0.5597617030143738, 0.33941924571990967, 0.42368146777153015, -0.20710675418376923, -0.21519897878170013, 0.6567797660827637, 0.26669561862945557, -0.06846596300601959, 0.8619815111160278, 0.06524316221475601, -0.7375261187553406, 0.49971964955329895, 0.9484174251556396, 0.5490928292274475, -0.20325182378292084, 0.16418910026550293, 0.042028337717056274, 0.20317763090133667, -0.13990968465805054, 0.12798644602298737, 0.0031652282923460007, -0.5940390825271606, -0.4936886429786682, -0.8182231783866882, -0.2554294466972351, -0.1962798535823822, -0.4251760244369507, 0.357389360666275, -0.26406949758529663, 0.24616479873657227, 0.0440458282828331, -0.046998463571071625, -0.4916576147079468, 0.08745273947715759, -0.15162420272827148, 0.6188005208969116, -1.1420172452926636, 0.9143298268318176, 0.7149649858474731, -0.34889331459999084, -0.8812304735183716, -0.2595847249031067, -0.16891911625862122, -0.8994147181510925, 0.14733220636844635, -0.009454998187720776, -0.13577982783317566, 0.24803760647773743, -0.5506450533866882, -0.5028780102729797, 0.6849648356437683, 0.42945387959480286, -0.590791642665863, -0.18806850910186768, 0.33504220843315125, 0.4213000535964966, -0.4636637568473816, 0.24293768405914307, 0.8841784000396729, 0.07217758893966675, 0.26483580470085144, -0.9545031189918518, -0.3659859001636505, -0.33572953939437866, 0.0701311007142067, 0.4484630227088928, -0.6721900701522827, 0.8146588802337646, -0.039153534919023514, -0.18083806335926056, -0.15766899287700653, 0.7645362019538879, 0.24160440266132355, -0.07768101245164871, 0.17410796880722046, 0.6046877503395081, 0.7123254537582397, -0.17185768485069275, 0.6291525363922119, -0.5152661204338074, 0.46164047718048096, 0.8170479536056519, -0.38700583577156067, 0.5870921015739441, 0.17337465286254883, -0.17338024079799652, 0.42558833956718445, 0.34657713770866394, -0.17747648060321808, 0.2961685061454773, -0.07489310204982758, -0.36712339520454407, -0.55544114112854, -0.09843746572732925, -0.35266056656837463, 0.4245888590812683, 0.34743180871009827, -0.005894057918339968, -0.106613889336586, 0.13043911755084991, 0.12585413455963135, 0.39943596720695496, -0.10204942524433136, 0.9699397087097168, 0.021023817360401154, -0.6615546941757202, 0.6899447441101074, 0.15616589784622192, 0.7403980493545532, -0.6474029421806335, -0.05594588816165924, -0.24805304408073425, 0.2989627420902252, -0.18298228085041046, -0.8887876868247986, 0.2924598157405853, 0.13305877149105072, -0.146286278963089, -0.24726317822933197, 0.47980383038520813, -0.676033616065979, -0.902263343334198, 0.2595633268356323, 0.4255549907684326, 0.06783255189657211, 0.1985948085784912, -0.5442588925361633, 0.228254497051239, 0.045281872153282166, 0.3652251660823822, 0.3280909061431885, 0.38958466053009033, -0.18537291884422302, 0.6191322803497314, 0.9220781326293945, 0.051130250096321106, 0.09790609776973724, 0.37626421451568604, 1.2927428483963013, -0.4174305498600006, -0.48162806034088135, -0.9948285222053528, 0.25080615282058716, -0.15684588253498077, -0.2557483911514282, 0.6792824268341064, 0.9281115531921387, 0.9162207245826721, 0.014402109198272228, 0.8098338842391968, 0.2688589096069336, 0.08754708617925644, -0.5760958790779114, 0.7156733870506287, -0.4458613097667694, 0.28175365924835205, -0.28894126415252686, -1.0009046792984009, -0.3293112516403198, 0.379720002412796, 0.23176737129688263, 0.03883103281259537, 0.6754230856895447, 0.7402603626251221, -0.43525430560112, 0.11653952300548553, 0.3392770290374756, -0.007991465739905834, 0.47775623202323914, 0.9777365922927856, 0.3610926866531372, -0.317661315202713, 0.5629363059997559, -0.14922340214252472, -0.5808369517326355, -0.13083800673484802, -0.5784982442855835, -1.2132424116134644, -0.5100395083427429, -0.2004292756319046, -0.06228701397776604, -0.02872529998421669, 0.589090883731842, 0.8623581528663635, -0.6826128959655762, -0.382800430059433, -0.11272447556257248, 0.0641627162694931, -0.3409760892391205, -0.20465195178985596, 0.2864969074726105, -0.43229004740715027, -0.8503759503364563, 0.35322293639183044, 0.3738957941532135, -0.02144249901175499, -0.3830873668193817, 0.22272753715515137, -0.0018129853997379541, 0.2913643419742584, 0.47780972719192505, -0.04900844767689705, -0.4513635039329529, 0.2275625318288803, 0.2572792172431946, -0.3266381025314331, -0.1522883027791977, 1.1220264434814453, -0.7215592861175537, 0.3633113503456116, 0.30329811573028564, 0.7692617177963257, 0.4609367847442627, -0.0192281324416399, 0.6125234961509705, -0.7860931158065796, 0.09371361881494522, 0.15906479954719543, 0.10374701768159866, 0.38084807991981506, -0.4295503795146942, 0.37754520773887634, 0.23861569166183472, -0.48450493812561035, -0.9403913617134094, 0.26746630668640137, -0.6754589676856995, -0.34448766708374023, 1.0228480100631714, 0.09947968274354935, -0.006945327389985323, -0.16373933851718903, -0.12951348721981049, 0.32351481914520264, -0.023728175088763237, 0.49730315804481506, 0.8085144758224487, -0.09433210641145706, 0.040959618985652924, -0.4768390655517578, 0.30930382013320923, 0.6265881061553955, -0.850695788860321, 0.3858841359615326, 0.39152517914772034, 0.1419362872838974, 0.13411355018615723, 0.47385066747665405, -0.24845489859580994, 0.20529070496559143, -0.08425431698560715, 0.022050844505429268, -0.2683161497116089, -0.6867441534996033, -0.343872994184494, 0.2555692493915558, -0.353269100189209, 0.2780693471431732 ]
http://arxiv.org/abs/2403.08272v1
http://arxiv.org/pdf/2403.08272v1
RECIPE4U: Student-ChatGPT Interaction Dataset in EFL Writing Education
2024-03-13T05:51:57
2024-03-13T05:51:57
Jieun Han, Haneul Yoo, Junho Myung, Minsun Kim, Tak Yeon Lee, So-Yeon Ahn, Alice Oh
cs.CL
cs.CL
The integration of generative AI in education is expanding, yet empirical analyses of large-scale and real-world interactions between students and AI systems still remain limited. Addressing this gap, we present RECIPE4U (RECIPE for University), a dataset sourced from a semester-long experiment with 212 college students in English as Foreign Language (EFL) writing courses. During the study, students engaged in dialogues with ChatGPT to revise their essays. RECIPE4U includes comprehensive records of these interactions, including conversation logs, students' intent, students' self-rated satisfaction, and students' essay edit histories. In particular, we annotate the students' utterances in RECIPE4U with 13 intention labels based on our coding schemes. We establish baseline results for two subtasks in task-oriented dialogue systems within educational contexts: intent detection and satisfaction estimation. As a foundational step, we explore student-ChatGPT interaction patterns through RECIPE4U and analyze them by focusing on students' dialogue, essay data statistics, and students' essay edits. We further illustrate potential applications of RECIPE4U dataset for enhancing the incorporation of LLMs in educational frameworks. RECIPE4U is publicly available at https://zeunie.github.io/RECIPE4U/.
[ -0.08177746832370758, -0.9600279331207275, 0.5614625215530396, 0.15175756812095642, 0.48873022198677063, 0.08824983984231949, -0.05608363449573517, -0.35942837595939636, 0.23712274432182312, 0.426226943731308, -0.7221662998199463, -0.6348589658737183, -0.13317283987998962, 0.21753345429897308, -0.39858391880989075, 1.1575639247894287, -0.22269099950790405, 0.11682471632957458, -0.7002310156822205, 0.2667934000492096, -0.49380019307136536, -0.6835973262786865, -0.8934628963470459, -0.27024510502815247, 0.6758898496627808, 0.8038845658302307, 0.13914376497268677, 0.1877644956111908, 0.4888246953487396, 0.287960946559906, 0.4467273950576782, -0.12024485319852829, -0.7868078947067261, 0.23350082337856293, 0.13238650560379028, -0.40416470170021057, -0.5549831986427307, 0.3656352460384369, 0.5781418681144714, 0.5574882626533508, -0.13778139650821686, 0.01919286511838436, 0.35907649993896484, 0.33307039737701416, -0.2839558720588684, 0.4601973593235016, -0.20772425830364227, 0.40437471866607666, -0.269365131855011, -0.11501407623291016, -0.635406494140625, -0.31552889943122864, 0.05666645988821983, -0.7834419012069702, 0.19693630933761597, -0.14200329780578613, 0.379778116941452, 0.1275106966495514, -0.1256406009197235, -0.4228774905204773, -0.5963039994239807, 0.7442181706428528, -0.8478522896766663, 0.39947476983070374, 0.411149263381958, 0.18985643982887268, -0.6597906947135925, -0.9943334460258484, -0.7717325091362, 0.13589723408222198, -0.2143898755311966, 0.5154765844345093, 0.0989968404173851, 0.30737268924713135, 0.09566933661699295, 0.32739129662513733, -0.47624626755714417, 0.07915449887514114, -0.22647418081760406, -0.13023139536380768, 0.38698726892471313, 0.4316469728946686, 0.6379274725914001, 0.12121571600437164, -0.23076678812503815, 0.0483611635863781, -0.7348042726516724, 0.23264998197555542, 0.6189191937446594, 0.013562053442001343, -0.0413471981883049, 0.6923495531082153, -0.007185241673141718, 0.719221293926239, -0.22386465966701508, -0.09037113189697266, 0.12281831353902817, -0.5301178693771362, -0.24760816991329193, 0.08578844368457794, 0.8319025039672852, 0.45162925124168396, 0.07063817977905273, 0.06516838818788528, -0.137241393327713, 0.07633168995380402, 0.12307419627904892, -0.895512580871582, -0.5264779925346375, 0.2566186487674713, 0.20761922001838684, -0.3274644911289215, -0.008394639939069748, -0.7334588170051575, -0.13005003333091736, -0.3516344130039215, 0.2944405674934387, -0.3474787473678589, -0.1322275549173355, -0.06448657065629959, -0.20195581018924713, 0.5802242159843445, 0.31121036410331726, -0.9776749610900879, 0.4794831871986389, 0.9313466548919678, 0.6662047505378723, -0.3367098271846771, -0.7828951478004456, -0.4870201051235199, 0.278323233127594, -0.2355393022298813, 0.6649093627929688, -0.7363796830177307, -0.47419071197509766, 0.2143043875694275, -0.07269225269556046, -0.3455881178379059, -0.3055981695652008, 0.6790659427642822, -0.07902239263057709, 0.38055458664894104, -0.2176724374294281, -1.0747054815292358, 0.02975732833147049, 0.35602036118507385, -0.6719838976860046, 1.0671019554138184, 0.02526608109474182, -0.32801830768585205, 0.1538819968700409, -0.8160116076469421, -0.5794534683227539, 0.15150031447410583, -0.6178231835365295, -0.4193934500217438, -0.2481447160243988, -0.05723819136619568, 0.5836858153343201, -0.11901982128620148, 0.37420207262039185, 0.011852568946778774, -0.4734998941421509, 0.47956934571266174, -0.4447551369667053, 0.3973560929298401, 0.049012381583452225, -0.18754899501800537, 0.10644015669822693, -0.5853665471076965, -0.1511961668729782, 0.1417534202337265, -0.6012707948684692, 0.07164167612791061, -0.1644478589296341, 0.1509188413619995, -0.274871289730072, 0.14953866600990295, -0.4360094964504242, 0.23053620755672455, -0.15745161473751068, 0.5813937783241272, 0.7379043698310852, 0.03624048829078674, 0.23740923404693604, -0.40897560119628906, 0.49617278575897217, 0.07682009041309357, 0.11859180778265, -0.38094398379325867, -0.7815409302711487, -0.8783584237098694, 0.0170734915882349, 0.07770400494337082, 0.36774972081184387, -0.5375546813011169, 0.1330963522195816, 0.02019331231713295, -0.1934994012117386, -0.5575328469276428, 0.1779884696006775, 0.3495715856552124, 0.480347216129303, 0.18749547004699707, -0.05929401144385338, -0.6847477555274963, -0.5842452645301819, -0.3312174379825592, -0.06493901461362839, -0.0714120864868164, 0.26472747325897217, 0.2767575979232788, -0.20438537001609802, 0.9715240597724915, -0.47158485651016235, -0.3848514258861542, -0.6507928967475891, 0.14824248850345612, 0.16923411190509796, 0.6657034754753113, 0.460920125246048, -0.5348740220069885, -0.7748862504959106, -0.07672405242919922, -0.9071927070617676, -0.2042149156332016, -0.29228946566581726, -0.4323410093784332, 0.1652965098619461, 0.44348159432411194, -0.4985998570919037, 0.41303551197052, 0.43055278062820435, -0.38036391139030457, 0.5339040160179138, 0.15340843796730042, 0.39195716381073, -1.0868713855743408, -0.3417453169822693, 0.19115306437015533, 0.009316634386777878, -0.8596674799919128, -0.1875649392604828, -0.11423585563898087, -0.1207723617553711, -0.3631763160228729, 0.4316735863685608, -0.2823887765407562, -0.04343369975686073, 0.1306810826063156, 0.09418748319149017, 0.22475090622901917, 0.6126623153686523, -0.021279480308294296, 0.8473619818687439, 0.2246493250131607, 0.0299737136811018, 0.2457401603460312, 0.24174939095973969, -0.26407286524772644, 0.607722282409668, -0.5254553556442261, 0.2486378699541092, 0.31041815876960754, 0.3281278610229492, -1.0821764469146729, -0.5617774128913879, 0.5377706289291382, -0.3599155843257904, 0.04780825227499008, -0.12468444555997849, -0.21306446194648743, 0.020589742809534073, -0.3010255992412567, 0.4121323525905609, 0.26573461294174194, -0.5682575702667236, 0.8107288479804993, 0.1753070205450058, -0.24927976727485657, -0.23151370882987976, -0.4308241009712219, 0.32159867882728577, -0.13072367012500763, -0.36054179072380066, 0.28494328260421753, -0.46144822239875793, -0.14517757296562195, 0.10710670053958893, 0.2016182839870453, -0.14167167246341705, -0.1674714982509613, 0.36665186285972595, 0.3640616834163666, -0.2612038850784302, -0.18111580610275269, 0.21596816182136536, 0.12632720172405243, 0.27285653352737427, -0.08968493342399597, 0.4509177505970001, -0.12547153234481812, -0.30641013383865356, -0.8143215179443359, 0.1943425089120865, 0.46774837374687195, 0.12105898559093475, 0.535992443561554, 0.37718021869659424, -0.22182409465312958, -0.2292158007621765, -0.5034222602844238, -0.25369027256965637, -0.48510444164276123, 0.08086813241243362, -0.5810952186584473, -0.5909873247146606, 0.32622966170310974, 0.04045160114765167, 0.36471274495124817, 0.030999884009361267, 0.21947866678237915, -0.34441518783569336, 0.4058786630630493, 0.2175937443971634, -0.07325657457113266, 0.3690424859523773, -0.33111661672592163, 0.24849654734134674, -0.8158590793609619, -0.4291985332965851, -0.2018827348947525, -0.36630797386169434, -0.17502601444721222, -0.37048545479774475, 0.3202432096004486, -0.31351590156555176, -0.03967680037021637, -0.05701703205704689, -0.16678543388843536, 0.8181964159011841, 0.50469970703125, -0.010243799537420273, 0.3325645625591278, -0.036016590893268585, -0.1128045842051506, -0.24032077193260193, -0.6839174628257751, -0.3213931620121002, 1.079016923904419, 0.0487423874437809, 0.5780078768730164, 0.26084551215171814, 0.8405856490135193, 0.5146534442901611, 0.4294339418411255, -0.888529896736145, 0.748162567615509, 0.17628061771392822, -0.2226903736591339, -0.4186282753944397, -0.37518224120140076, -0.9003525376319885, 0.0012019505957141519, -0.1777224838733673, -0.3954565227031708, -0.3544190227985382, 0.12239233404397964, -0.10931472480297089, 0.07749243080615997, -1.0142439603805542, 1.0918512344360352, -0.2913151979446411, -0.7542281150817871, 0.2714693248271942, -0.3527720272541046, 0.09164417535066605, -0.059792306274175644, 0.13454006612300873, 0.22503800690174103, 0.5259521007537842, 0.9131054282188416, -0.4741056263446808, 1.3275444507598877, 0.13216915726661682, -0.07150609791278839, 0.39581283926963806, 0.003152079414576292, 0.4709436595439911, -0.012413720600306988, -0.15031513571739197, 0.16247260570526123, -0.03570733591914177, -0.3906841278076172, -0.6020112633705139, 1.1241405010223389, -0.8815230131149292, -0.8514519333839417, -0.6398465037345886, -0.4597392678260803, -0.036733612418174744, 0.11150923371315002, 0.021293168887495995, 0.3456108570098877, -0.5529927015304565, -0.05136813223361969, 0.29608389735221863, -0.06907504051923752, 0.3497582972049713, 0.43913230299949646, -0.3279411792755127, -0.11208008974790573, 1.1950515508651733, 0.13069382309913635, 0.1316901594400406, 0.07819318026304245, 0.30892524123191833, -0.03832090646028519, -0.1411924511194229, -0.6647873520851135, 0.08763845264911652, -0.7002648711204529, 0.031104838475584984, -0.5828523635864258, -0.4448101222515106, -0.5252602100372314, -0.49938273429870605, -0.1667114645242691, -0.1554272472858429, -0.3830072581768036, -0.37673014402389526, 0.19639970362186432, 1.0535024404525757, 0.20837265253067017, 0.2268717736005783, -0.40986379981040955, -0.2296234518289566, 0.1644633263349533, 0.18312767148017883, 0.01929602213203907, -0.2766764163970947, -0.16927191615104675, -0.054773490875959396, -0.4789813756942749, -0.779310941696167, 0.2726588845252991, 0.5386117100715637, 0.4881443977355957, 0.43413814902305603, -0.16518695652484894, 0.41341301798820496, -0.5531166791915894, 0.9776973724365234, 0.17565415799617767, -0.7825769186019897, 0.5622955560684204, -0.2532366216182709, 0.19050419330596924, 0.2748793661594391, 0.5057918429374695, -0.7376586198806763, -0.5864534974098206, -0.3530701696872711, -0.7772719264030457, 0.6505526304244995, 0.3744265139102936, 0.15097244083881378, 0.04989246279001236, 0.56932532787323, 0.38786906003952026, 0.012695825658738613, -0.6817811727523804, -0.21487891674041748, -0.2983511984348297, -0.7535057663917542, 0.011958098970353603, -0.2083008587360382, -0.16627444326877594, -0.4086359143257141, 0.7624630331993103, 0.13415423035621643, -0.017835043370723724, -0.08015770465135574, 0.17089508473873138, 0.08453914523124695, 0.19786402583122253, 0.2757582664489746, 0.5228389501571655, -0.055218037217855453, 0.1363399773836136, -0.12976667284965515, -0.7757701873779297, 0.11068447679281235, 0.00499336700886488, -0.02470933459699154, -0.23999910056591034, 0.36376503109931946, 0.49759191274642944, 0.37798944115638733, -0.6665539145469666, 0.46137702465057373, -0.4990956485271454, -0.1642579734325409, -0.7446185350418091, 0.4004015028476715, 0.11398403346538544, 0.019392386078834534, 0.08377546072006226, -0.3940776586532593, 0.41721436381340027, -0.565125048160553, 0.11486203223466873, 0.04674246162176132, -0.20266683399677277, -0.5970907807350159, 0.4554787278175354, 0.631653904914856, -0.4153168499469757, 0.7955722808837891, 0.004931407980620861, -0.2800831198692322, 0.5625386238098145, 0.7857196927070618, 0.6963464617729187, -0.32750874757766724, 0.5277774930000305, 0.2093188315629959, 0.08781258761882782, 0.21630817651748657, 0.12744206190109253, 0.030493631958961487, -0.9523212909698486, -0.13841120898723602, -0.6122151017189026, -0.799988329410553, 0.3993159234523773, -0.36861661076545715, 0.27069950103759766, -0.3163307011127472, 0.1862349808216095, 0.19704703986644745, -0.3384862542152405, -0.847454309463501, 0.05866464599967003, -0.31795433163642883, 0.10285941511392593, -0.9150486588478088, 0.7308006286621094, 0.9395794868469238, -0.3827235996723175, -0.8054873943328857, -0.046748533844947815, 0.4367028772830963, -0.4691556692123413, 0.4906778931617737, 0.3971599042415619, -0.0330076664686203, 0.2467058002948761, -0.31378206610679626, -0.37943723797798157, 0.8035953640937805, 0.02638630010187626, -0.633478045463562, 0.19675509631633759, 0.8023887872695923, 0.48144805431365967, -0.416057825088501, 0.21708305180072784, 0.8352120518684387, 0.3418382406234741, 0.2767446041107178, -0.25537070631980896, -0.20607808232307434, -0.5104128122329712, -0.45230475068092346, 0.07781259715557098, -0.501229465007782, 0.4160926342010498, -0.1538172960281372, -0.1138250008225441, -0.0865289568901062, 0.5951072573661804, 0.03453037887811661, 0.7632677555084229, 0.07066609710454941, 0.7105128169059753, 0.5774818062782288, -0.35596033930778503, 0.6237613558769226, -0.17457497119903564, 0.07554209977388382, 1.3233623504638672, -0.4470014274120331, 0.7429767847061157, 0.6715426445007324, -0.2323935627937317, 0.40768611431121826, 0.781558632850647, 0.075159952044487, 0.16151049733161926, 0.19653472304344177, -0.6167887449264526, 0.04305734857916832, -0.07972199469804764, -0.15353038907051086, 0.3132320046424866, 0.5822043418884277, -0.1821715533733368, 0.3468288481235504, 0.052669376134872437, 0.2725164592266083, -0.08521881699562073, 0.08231494575738907, 1.016161561012268, -0.0622875951230526, -0.8775404095649719, 0.25679418444633484, -0.2828536629676819, 0.27250272035598755, -0.26319339871406555, -0.6050694584846497, -0.68473219871521, -0.12279234081506729, -0.36658355593681335, -1.0290929079055786, -0.14659906923770905, -0.005225734319537878, 0.027177032083272934, -0.014065142720937729, 0.4678681790828705, -0.6793164610862732, -0.7498968839645386, 0.004278840031474829, 0.5074203610420227, 0.4631017744541168, 0.5395615100860596, -0.2689434587955475, 0.3299669027328491, 0.04995209351181984, -0.3137679994106293, 0.3331207036972046, 0.5560230612754822, 0.3318830132484436, 0.22882673144340515, 0.6988570094108582, -0.07854010909795761, 0.045711737126111984, 0.3052849769592285, 0.8085905313491821, -0.4962151050567627, -0.20720355212688446, -0.6901494860649109, 0.3978308439254761, -0.05803999304771423, -0.3299078643321991, 0.756460428237915, 0.7917771339416504, 1.2145562171936035, -0.11431270092725754, 1.2485582828521729, -0.004221114329993725, -0.026578379794955254, -0.6251079440116882, 0.4377751648426056, -0.3699864149093628, 0.5648768544197083, -0.171365886926651, -0.9737391471862793, -0.13528504967689514, 0.5890274047851562, -0.3272072672843933, -0.016619203612208366, 0.5840059518814087, 0.6991679668426514, -0.13877372443675995, 0.43231794238090515, 0.6111345291137695, 0.29656025767326355, 0.6751598119735718, 0.4204995930194855, 0.883250892162323, -0.23958444595336914, 0.17054659128189087, -0.20673532783985138, -0.4356619417667389, -0.2001306265592575, -0.5963574647903442, -1.0730574131011963, -0.5829964280128479, -0.11131873726844788, -0.006191641092300415, 0.3429313004016876, 0.8604424595832825, -0.010955709032714367, -0.6834704875946045, -0.5499798059463501, -0.26294219493865967, 0.012760411947965622, -0.11998395621776581, -0.2960700988769531, 0.19519926607608795, -0.5318658351898193, -1.0083158016204834, 0.44056323170661926, 0.21928925812244415, 0.10263171792030334, -0.1825266182422638, -0.30323830246925354, -0.05559308081865311, 0.2720149755477905, 0.6600446105003357, 0.16560260951519012, -0.6085453629493713, -0.18091091513633728, -0.05504453182220459, 0.14491680264472961, 0.20067164301872253, 0.9183791875839233, -0.25739219784736633, 0.6464304327964783, 0.1436857432126999, 0.7627549171447754, 0.4055991470813751, -0.09551218152046204, 0.5988664031028748, -0.7125845551490784, -0.24086885154247284, -0.03229963406920433, 0.3282431662082672, 0.41723963618278503, -0.4624713659286499, 0.6416187882423401, 0.3647664785385132, -0.8960011005401611, -0.524407148361206, -0.09179317951202393, -0.8389771580696106, -0.04333717003464699, 1.0968462228775024, -0.5645170211791992, -0.03072502836585045, -0.013394107110798359, -0.3117160201072693, 0.23090103268623352, -0.633616030216217, 0.7577502727508545, 0.792118489742279, -0.6469754576683044, -0.16230948269367218, -0.8274692296981812, 0.6410425901412964, 0.4234224855899811, -1.2288762331008911, -0.08637028932571411, 0.8254972100257874, 0.20806056261062622, -0.1412612795829773, 0.6837655305862427, 0.25109001994132996, 0.0908520445227623, -0.16238296031951904, 0.22617892920970917, 0.06380970031023026, -0.5735114812850952, 0.34879183769226074, -0.04439520090818405, 0.06728464365005493, 0.08024293929338455 ]
http://arxiv.org/abs/2403.14683v1
http://arxiv.org/pdf/2403.14683v1
A Moral Imperative: The Need for Continual Superalignment of Large Language Models
2024-03-13T05:44:50
2024-03-13T05:44:50
Gokul Puthumanaillam, Manav Vora, Pranay Thangeda, Melkior Ornik
cs.CY
cs.CY, cs.AI, cs.CL, cs.LG
This paper examines the challenges associated with achieving life-long superalignment in AI systems, particularly large language models (LLMs). Superalignment is a theoretical framework that aspires to ensure that superintelligent AI systems act in accordance with human values and goals. Despite its promising vision, we argue that achieving superalignment requires substantial changes in the current LLM architectures due to their inherent limitations in comprehending and adapting to the dynamic nature of these human ethics and evolving global scenarios. We dissect the challenges of encoding an ever-changing spectrum of human values into LLMs, highlighting the discrepancies between static AI models and the dynamic nature of human societies. To illustrate these challenges, we analyze two distinct examples: one demonstrates a qualitative shift in human values, while the other presents a quantifiable change. Through these examples, we illustrate how LLMs, constrained by their training data, fail to align with contemporary human values and scenarios. The paper concludes by exploring potential strategies to address and possibly mitigate these alignment discrepancies, suggesting a path forward in the pursuit of more adaptable and responsive AI systems.
[ 0.00030821003019809723, -0.16444936394691467, 0.6187556385993958, -0.29728028178215027, -0.039328683167696, 0.25335991382598877, 0.016092432662844658, -0.5238940715789795, -0.23658442497253418, 0.3479437232017517, -0.6668298244476318, 0.07112153619527817, -0.5495750904083252, -0.038406018167734146, -0.2166069895029068, 1.216386318206787, 0.24314762651920319, 0.21573038399219513, -0.3718891739845276, -0.6486355066299438, -0.5648953914642334, -0.6550751328468323, -0.5908608436584473, -0.5844719409942627, 0.2608563005924225, 0.41979220509529114, 1.413066029548645, 0.8467683792114258, 0.49358004331588745, 0.24462048709392548, -0.08141060173511505, 0.14698036015033722, -0.6745782494544983, 0.3809988498687744, -0.3681863844394684, -0.5871897339820862, -0.2853967547416687, 0.17400048673152924, 0.8340846300125122, 0.5349937081336975, -0.22850632667541504, 0.16743654012680054, -0.10718855261802673, 0.8811001777648926, -0.3735191524028778, -0.05951666086912155, -0.405839741230011, -0.14999428391456604, -0.2603284418582916, 0.20168781280517578, 0.10264576226472855, -0.4613257646560669, 0.1352575272321701, -0.7692012786865234, -0.22204376757144928, 0.05397431552410126, 1.2470837831497192, 0.7235716581344604, -0.1528029590845108, -0.02942207269370556, -0.8690186142921448, 0.9994747638702393, -0.6831779479980469, 0.6017006635665894, 0.1484333872795105, 0.15923649072647095, -0.2969595789909363, -0.3614784777164459, -0.7428722977638245, -0.21817290782928467, 0.24848146736621857, -0.07692191004753113, 0.17156553268432617, -0.24676935374736786, 0.15703921020030975, 0.1301121860742569, -0.34590643644332886, 0.3784538209438324, -0.19052240252494812, 0.012247294187545776, 0.7505881786346436, 0.5778438448905945, 0.5218946933746338, 0.23867051303386688, -0.253807932138443, -0.1821502298116684, -1.1839038133621216, 0.09853208065032959, 0.4071730971336365, 0.10191402584314346, -0.12229269742965698, 0.20730279386043549, 0.3588833212852478, 0.20478442311286926, 0.24865411221981049, -0.15628857910633087, -0.08988052606582642, -0.2736835777759552, -0.043891921639442444, 0.21136464178562164, 0.4347373843193054, 0.663407564163208, 0.6809052228927612, 0.08039923012256622, -0.172614187002182, 0.16210249066352844, 0.5128386616706848, -0.32699447870254517, 0.14413277804851532, 0.25482821464538574, -0.21583253145217896, -0.11503931134939194, -0.057102665305137634, -0.2765327990055084, -0.6764030456542969, -0.7755712270736694, -0.08284802734851837, -0.544069766998291, -0.22803984582424164, 0.31444379687309265, 0.23029235005378723, 0.7375203967094421, 0.2513008117675781, -1.2018576860427856, -0.20251582562923431, 0.9690194725990295, 0.7190842032432556, 0.2256973534822464, -0.3240417242050171, -0.09609592705965042, 0.5109811425209045, -0.65946364402771, 0.5070155262947083, -0.9765653014183044, -0.46083635091781616, -0.083625428378582, 0.07265977561473846, -0.0406588539481163, -0.5722677707672119, 0.34554702043533325, -0.5009403228759766, -0.010265655815601349, -0.38252395391464233, -0.5403091311454773, 0.06039298698306084, 0.23777936398983002, -0.3793622851371765, 0.9448144435882568, 0.09436951577663422, -0.3939174711704254, 0.25241366028785706, -0.5360226035118103, -0.30551642179489136, 0.46683862805366516, -0.509961724281311, -0.39784833788871765, 0.2837671935558319, -0.06721793860197067, 0.39715760946273804, -0.4410642981529236, 0.7094867825508118, -0.327942430973053, -0.5946907997131348, 0.26557230949401855, -0.5954169631004333, 1.0064839124679565, -0.036021582782268524, -0.44876545667648315, 0.04794212430715561, -0.5369272828102112, -0.22271913290023804, 0.15707552433013916, -0.45696499943733215, -0.33861103653907776, 0.481050968170166, -0.24287834763526917, 0.2516418993473053, 0.4639275372028351, -0.3784409165382385, 0.514908492565155, -0.454988569021225, 0.8070214986801147, 1.3172872066497803, -0.5476593971252441, 0.2640027105808258, -0.6382916569709778, 0.5059884786605835, -0.4335338771343231, 0.36333751678466797, 0.18990139663219452, -0.06484761089086533, -0.9395960569381714, 0.25364959239959717, -0.07803724706172943, 0.8223816156387329, -0.4238113760948181, 0.5884822607040405, -0.7232319116592407, -0.2519555389881134, -0.8186113238334656, 0.08288541436195374, 0.4272686541080475, 0.11184567958116531, 0.3428826332092285, -0.04574669897556305, -0.4242432415485382, -0.7904072403907776, -0.21450313925743103, -0.4348362684249878, 0.17619499564170837, 0.19238296151161194, 0.5369504690170288, -0.4084717631340027, 0.7364935278892517, 0.009009788744151592, -0.05645313113927841, -0.13553699851036072, -0.1328132599592209, -0.028322981670498848, 0.7679715752601624, 0.22947043180465698, -1.0180659294128418, -0.015366209670901299, 0.1288386881351471, -1.0299311876296997, 0.21674232184886932, -0.47866585850715637, 0.06445576250553131, 0.38710981607437134, 1.1831668615341187, -0.6727591753005981, 0.1300225853919983, 0.46066462993621826, -0.07810318470001221, 0.9154402613639832, -0.20795443654060364, -0.11762472987174988, -0.8542167544364929, 0.14544247090816498, -0.08529459685087204, -0.10722554475069046, -0.426694393157959, 0.3776545524597168, -0.17819184064865112, 0.039976272732019424, -0.5726547241210938, 0.513238787651062, -0.28335368633270264, 0.12902720272541046, 0.03229617327451706, 0.09925533831119537, -0.18465012311935425, -0.06524984538555145, -0.398882657289505, 0.9628174304962158, 0.4660477042198181, -0.7315835952758789, 0.5298348665237427, 0.22970131039619446, -0.179361492395401, 1.1381486654281616, -0.737724781036377, 0.2577468752861023, -0.3089979887008667, 0.5992614030838013, -0.6770318150520325, -0.3276728391647339, 0.11554796993732452, -0.31432804465293884, 0.394292414188385, 0.04205424338579178, -0.3960932493209839, -0.13216742873191833, -0.17486466467380524, 0.8134366869926453, 0.264437735080719, -0.2805512547492981, 0.5186776518821716, 0.49918293952941895, -0.3539382219314575, -0.6600045561790466, -0.6162995100021362, 0.49356094002723694, -0.3669704794883728, -0.7567414045333862, 0.4867924153804779, -0.12166905403137207, -0.2405795305967331, -0.03086189553141594, -0.23829501867294312, 0.7611287236213684, 0.21899467706680298, 0.35926172137260437, 0.41134727001190186, -0.2887745201587677, 0.4216287434101105, -0.3673313856124878, -0.6505956053733826, -0.01195889338850975, -0.691839873790741, 0.4713801145553589, -0.5512480735778809, -0.3381797671318054, -0.8098559379577637, 0.4296892583370209, 1.1558806896209717, -0.219345360994339, 0.9287724494934082, 0.3333185315132141, -0.4166024923324585, 0.3987573981285095, -0.6379337906837463, 0.2599204182624817, -0.4914880692958832, 0.20616167783737183, 0.12199842929840088, -1.2609553337097168, 0.288924902677536, -0.045292582362890244, 0.309207022190094, 0.37808582186698914, 0.417217880487442, -0.45889416337013245, 1.3638865947723389, 0.9311169385910034, -0.32379573583602905, 0.4741503596305847, -0.16519929468631744, 0.4638355076313019, -0.9501283764839172, -0.2901975214481354, -0.4660778343677521, -0.503043532371521, -0.7246177792549133, -0.19429132342338562, 0.41470447182655334, -0.015184411779046059, -0.8605563044548035, 0.012646147981286049, -0.41160669922828674, 0.6739300489425659, 0.43196603655815125, -0.32474005222320557, -0.004619506187736988, -0.31600573658943176, -0.03864455223083496, -0.008145377039909363, -0.5286023616790771, -1.0051440000534058, 0.6994965672492981, 0.23545804619789124, 0.7445856332778931, 0.3135742247104645, 0.40072187781333923, 0.07627841830253601, 0.31873923540115356, -0.5867888331413269, 0.7594103217124939, -0.4857816994190216, -0.48415669798851013, -0.559240996837616, -0.15573754906654358, -1.0338225364685059, -0.119393490254879, -0.12753988802433014, -0.8942349553108215, 0.1594005674123764, 0.167455792427063, -0.7901933193206787, 0.17641371488571167, -0.22007519006729126, 0.7086337804794312, -0.5059268474578857, -0.4855966866016388, -0.341717004776001, -1.062696099281311, 0.1051204577088356, 0.171352356672287, 0.2608081102371216, -0.3764905333518982, -0.03892308473587036, 0.4855513572692871, -0.3194756507873535, 0.9512753486633301, 0.08839510381221771, -0.35625430941581726, -0.051682427525520325, 0.07679841667413712, 0.45801809430122375, -0.015213126316666603, -0.06561195105314255, 0.09146448969841003, 0.11052750051021576, -0.6300117373466492, -0.39937207102775574, 0.8067121505737305, -0.9950549602508545, -1.160058856010437, -0.514462411403656, -0.8532437682151794, -0.2801794111728668, 0.17907074093818665, 0.03304824233055115, 0.3696850836277008, -0.2222518026828766, 0.258832186460495, 0.8017122745513916, -0.19521379470825195, 0.4924911856651306, 0.15145865082740784, 0.14257307350635529, -0.18220965564250946, 1.0587698221206665, 0.24861536920070648, 0.4438683092594147, 0.0005153678357601166, 0.2596699297428131, -0.5519670844078064, -0.41376081109046936, -0.6504535675048828, 0.5025477409362793, -0.4668073058128357, -0.01874077133834362, -0.10156670212745667, -0.23336182534694672, -0.5852147936820984, -0.7083204388618469, -0.35675790905952454, -0.22338762879371643, -0.5620582103729248, 0.004742578603327274, 0.11640208214521408, 0.8979983329772949, -0.23213203251361847, 0.12737658619880676, -1.041896939277649, 0.1214836984872818, 0.286762535572052, 0.37391412258148193, -0.10995279252529144, -0.6069144010543823, -0.23640845715999603, 0.30031606554985046, -0.2217392474412918, -0.26673662662506104, -0.06350694596767426, 0.2127881795167923, 0.6049295663833618, 0.4809686243534088, 0.07205909490585327, 0.9744452238082886, -0.5874627828598022, 0.910222589969635, 0.2083623856306076, -0.9356296062469482, 0.37720364332199097, -0.4098549485206604, 0.42881304025650024, 0.6982856392860413, 0.579876720905304, -1.0366514921188354, -0.28292474150657654, -0.525082528591156, -1.048747181892395, 0.5336662530899048, -0.16757802665233612, 0.5493295788764954, 0.09985044598579407, 0.6622578501701355, -0.20451898872852325, -0.035420309752225876, -0.6350459456443787, 0.0272339079529047, -0.06223683059215546, -0.29837432503700256, -0.12926343083381653, 0.028107505291700363, -0.3084295392036438, -0.20742300152778625, 0.8130907416343689, -0.16526278853416443, -0.12615247070789337, 0.062216561287641525, -0.056837297976017, -0.11899666488170624, 0.25745469331741333, 0.8185591697692871, 0.7653501033782959, 0.13465669751167297, 0.02039453759789467, 0.06766662001609802, -0.33121809363365173, 0.7036533355712891, -0.18014408648014069, -0.079086534678936, -0.7401010990142822, 0.29436740279197693, 0.5504117608070374, 0.15574316680431366, -0.5847662091255188, 0.3307153582572937, 0.19643929600715637, 0.09422069042921066, -0.3088947534561157, 0.26804429292678833, 0.2569420337677002, 0.4590217173099518, 0.20299021899700165, -0.014401767402887344, -0.6069073677062988, -0.7654641270637512, 0.04054640978574753, 0.526909351348877, -0.5731832385063171, -0.16884049773216248, 0.6703538298606873, 0.17603689432144165, -0.635260820388794, 0.8833719491958618, -0.2923172414302826, -0.5839603543281555, 0.5013440251350403, 0.542251706123352, 0.6466782689094543, -0.5934345126152039, 0.09181337803602219, -0.152587428689003, 0.3933618366718292, -0.45652592182159424, 0.10529913008213043, 0.27011144161224365, -1.0226645469665527, -0.42552658915519714, -0.5278522372245789, -0.3482745289802551, 0.11173038184642792, -0.542578399181366, -0.06491982936859131, -0.712087869644165, -0.1433596909046173, -0.2747146487236023, -0.25775355100631714, -0.33740630745887756, 0.17466077208518982, 0.3280208706855774, 0.48175346851348877, -0.7362757325172424, 0.6076091527938843, 0.8568812608718872, -0.22507166862487793, -0.727570116519928, 0.3269364833831787, 0.3699367940425873, -0.952431321144104, 0.39790841937065125, 0.369250625371933, -0.6928935050964355, 0.1716991662979126, -0.934415876865387, -0.988387942314148, 0.977264404296875, 0.8297472596168518, -0.6009242534637451, -0.30868518352508545, 0.3077218532562256, 0.6300792694091797, -0.32137665152549744, -0.38032838702201843, 0.9702296257019043, 0.5706203579902649, -0.1717969924211502, -0.7574308514595032, 0.17321786284446716, -0.21947719156742096, 0.14220145344734192, 0.3537099361419678, -1.1808594465255737, 0.5286094546318054, -0.388827383518219, -0.6491336822509766, 0.11967355012893677, 0.43166330456733704, 0.3859449028968811, -0.047851789742708206, 0.47236737608909607, 0.8486089706420898, 0.7859122157096863, -0.022811248898506165, 0.8674243092536926, -0.36286962032318115, 0.24573127925395966, 0.7629551887512207, -0.5203579068183899, 0.6425821781158447, 0.4074644446372986, -0.20240412652492523, 0.6259814500808716, 0.5388925075531006, 0.04563580080866814, -0.028675906360149384, 0.23110289871692657, -0.24433675408363342, -0.7202329635620117, -0.5817752480506897, -0.6037840247154236, 0.5996364951133728, 0.7878838777542114, 0.2463260143995285, 0.028776053339242935, -0.2993597686290741, 0.23931778967380524, 0.030268438160419464, -0.3066318929195404, 0.4177384376525879, 0.17260873317718506, -0.7645033001899719, 0.7115868330001831, -0.2760227620601654, 0.4764392673969269, -0.3762591779232025, 0.013431155122816563, -0.25684720277786255, 0.26660412549972534, -0.15433131158351898, -0.7077757716178894, 0.3528018295764923, -0.22742098569869995, -0.09054479748010635, -0.5657846927642822, 0.2544441521167755, -0.0007983371615409851, -0.5596908926963806, 0.23557597398757935, 0.20627963542938232, 0.10169035196304321, 0.4375344514846802, -0.9649739265441895, 0.22405365109443665, -0.1501842886209488, 0.08511784672737122, 0.2904239296913147, 0.3697671592235565, -0.29486051201820374, 1.0099009275436401, 0.8477041125297546, -0.04369049519300461, -0.23406001925468445, 0.13169261813163757, 0.7220398783683777, -0.8428966999053955, -0.5737423300743103, -1.1352617740631104, 0.4810056686401367, 0.25369420647621155, -0.6820421814918518, 0.20262107253074646, 0.12463047355413437, 0.8802130222320557, 0.5427218079566956, 0.6828105449676514, 0.17440392076969147, -0.16323676705360413, -0.6614050269126892, 0.6438730359077454, -0.743666410446167, 0.4697604775428772, -0.013051156885921955, -0.6214632987976074, -0.5508185029029846, 0.7086872458457947, -0.2239837795495987, -0.002703453879803419, 0.35483482480049133, 0.8398849964141846, 0.23150818049907684, 0.032143447548151016, 0.34512993693351746, 0.2997257113456726, 0.4721330404281616, 0.71454256772995, 1.2104640007019043, -0.04807504639029503, 0.5534347891807556, 0.5665729641914368, -0.010410553775727749, -0.43173477053642273, -0.9358463883399963, -0.18768085539340973, -0.49265143275260925, -0.31431373953819275, -0.2097214311361313, 0.42063915729522705, 1.0231558084487915, 0.8402299284934998, -0.7075772285461426, -0.24131575226783752, -0.25617146492004395, 0.11306203901767731, -0.13547635078430176, -0.17141053080558777, 0.23000480234622955, -0.28181031346321106, -0.6191127300262451, 0.3544808030128479, 0.6766610145568848, 0.2932835817337036, -0.5894208550453186, -0.10239386558532715, -0.41161537170410156, 0.3074055314064026, 0.30327001214027405, 0.5998897552490234, -0.9130955934524536, -1.0372726917266846, -0.1550547480583191, -0.24295122921466827, 0.2054852396249771, 0.9255394339561462, -0.5598288774490356, 0.13874492049217224, 0.05269036069512367, 0.9081276655197144, -0.22762441635131836, 0.07462567090988159, 0.8147135376930237, -0.5038561224937439, -0.23393334448337555, 0.391833633184433, 0.29222744703292847, 0.5994777679443359, -0.45866674184799194, 0.294973760843277, 0.30874571204185486, -1.0154176950454712, -0.7899913191795349, 0.7405617833137512, -0.48855817317962646, -0.22104915976524353, 0.9018111228942871, -0.17356587946414948, 0.027698103338479996, -0.6193828582763672, -0.030605163425207138, 0.30736199021339417, -0.21412751078605652, 0.8474996089935303, 0.8826082348823547, -0.3922800123691559, 0.007488425821065903, -0.5531085729598999, 0.33851104974746704, 0.8320274949073792, -0.6514325737953186, 0.39412808418273926, 0.5766253471374512, 0.1726033240556717, 0.3535480201244354, 0.3633143901824951, -0.05813005566596985, 0.30620077252388, -0.21904288232326508, -0.1846591830253601, 0.2691197991371155, -0.5385165214538574, -0.5646819472312927, -0.09747947007417679, -0.09813476353883743, 0.07989729940891266 ]
http://arxiv.org/abs/2403.15426v1
http://arxiv.org/pdf/2403.15426v1
A Three-Phases SFT Hybrid Model Integrated Strong Prior Module and Data Overlap Estimation in the Eduation Context
2024-03-13T05:38:39
2024-03-13T05:38:39
Zhangquan Chen, Chunjiang Liu, Haobin Duan
cs.LG
cs.LG, cs.AI, cs.CL, I.2.7
In this paper, we propose an end-to-end prior-based three-phases supervised fine-tuned model, which is proved more competitive than traditional fine-tuning method. More specifically, our model realizes the structural disassembly and incremental guided output of educational knowledge. To this end, we robustify data classification of three types via a sampler and overlap estimation neural network, and inject the preprocessing datasets into pre-trained model in three batches for LORA fine-tuning. Then, we design a prior module couples system prompt, vector databases, and abstract syntax tree task segmentation. Finally, the compression method and regularization constraint are applied to the prior-based fine-tuned model, followed by text filter at the output end to obtain incremental guided results. Our model represents the first research effort to truly embody the tutor role with the features of abundant educational knowledge, step-by-step incremental guided outputs and non-disclosure of answers. Extensive experiments report that our model also achieves state-of-the-art in code abilities compared to open-source models, reaching an impressive 75.10% on the HumanEval (@pass 1) benchmark. Additionally, our model maintains strong conversational capabilities, with the 13B quantized version achieving scores of 56.34, 50.60, and 45.27 respectively on the MMLU, C-Eval, and AGIEval (5 shot) dialogue evaluation benchmarks.
[ -0.3527757227420807, -1.3164398670196533, 0.51227867603302, -0.08347222954034805, -0.13911643624305725, 0.1515118032693863, -0.1584194004535675, -0.44451451301574707, -0.16751068830490112, 0.4866003394126892, -0.5007984638214111, -0.5923584699630737, -0.40108469128608704, -0.12633170187473297, -0.5394830107688904, 0.7875413298606873, -0.13348594307899475, 0.04095069319009781, -0.123918317258358, 0.37189561128616333, -0.5462218523025513, -0.22951149940490723, -0.5466018915176392, -0.2773919701576233, 0.03990073502063751, 0.5219674110412598, 0.2992313504219055, 0.41797277331352234, 0.30223244428634644, 0.32751503586769104, -0.3796732425689697, 0.19097885489463806, -0.3935856521129608, -0.3642856180667877, -0.11973728239536285, -0.6317564845085144, -0.6808063387870789, 0.05974297598004341, 0.6079399585723877, 0.8509112000465393, -0.17700228095054626, -0.10675662755966187, 0.5010756254196167, 0.5903622508049011, -0.5185830593109131, 0.01909145899116993, -0.5518466234207153, 0.09409438073635101, 0.08562791347503662, -0.23610468208789825, -0.32480260729789734, -0.41390687227249146, 0.264148086309433, -0.7214894890785217, 0.15150301158428192, -0.45740142464637756, 0.6570329666137695, 0.47152987122535706, -0.6470375657081604, 0.2978689968585968, -0.615487277507782, 0.5802812576293945, -0.7793800234794617, 0.40542569756507874, 0.42956089973449707, 0.32220929861068726, -0.26740190386772156, -0.7360084056854248, -0.6886270046234131, 0.006261785048991442, 0.04717407375574112, 0.4092130661010742, 0.1022416278719902, 0.4535856544971466, 0.08808509260416031, 0.48589572310447693, -0.3378058969974518, 0.31770023703575134, -0.728006899356842, 0.0415584035217762, 0.20290248095989227, 0.15719684958457947, -0.08329328894615173, -0.2097848653793335, -0.6299367547035217, 0.12000472843647003, -0.5802637934684753, 0.16679471731185913, 0.7273693680763245, 0.3192571997642517, -0.18608145415782928, 0.557021975517273, -0.42008644342422485, 0.9945364594459534, 0.22554993629455566, 0.02347378246486187, 0.0579090416431427, -0.5248463153839111, -0.2763088643550873, -0.21846114099025726, 0.7658571600914001, 0.08426470309495926, 0.4000808298587799, 0.2776656150817871, -0.025300201028585434, 0.22869864106178284, 0.1851004809141159, -0.6798638105392456, -0.2854086756706238, 0.2559148371219635, -0.13277371227741241, -0.2410329431295395, 0.09280510991811752, -0.5289309620857239, 0.05820669233798981, -0.7797161936759949, 0.7033491134643555, -0.7988263964653015, -0.4662177860736847, 0.5408896803855896, 0.3743176758289337, -0.15372222661972046, 0.39775681495666504, -0.7228809595108032, 0.6204976439476013, 0.8224179148674011, 0.8895649909973145, -0.3819701373577118, -0.4405333995819092, -0.23330672085285187, 0.005662428215146065, -0.15847979485988617, 0.5812761187553406, -0.5820879340171814, -0.14604823291301727, -0.08783122897148132, 0.02527058869600296, -0.4409060776233673, -0.24679724872112274, 0.36073175072669983, -0.3006133437156677, 0.5434106588363647, 0.3871900737285614, -0.7576722502708435, -0.41622838377952576, 0.11279495060443878, -0.39319202303886414, 1.2307870388031006, 0.46550366282463074, -0.6497054100036621, 0.27532583475112915, -0.6378553509712219, -0.340328574180603, 0.08782530575990677, -0.14574019610881805, -0.2012435644865036, -0.3473650813102722, 0.27462056279182434, 0.6623163819313049, 0.10478735715150833, 0.7074328064918518, -0.15309415757656097, -0.8290712237358093, -0.1822056621313095, -0.28914153575897217, 0.6980944275856018, -0.1546504646539688, -0.2971264719963074, 0.3229372501373291, -0.9318456649780273, -0.06928396224975586, -0.32111355662345886, -0.30993252992630005, -0.5293105840682983, -0.32463571429252625, -0.04624539613723755, 0.20836956799030304, 0.43965256214141846, -0.4962173402309418, 0.1416993886232376, -0.5420268774032593, 0.6037855744361877, 0.8887507915496826, 0.06556018441915512, 0.23136842250823975, -0.18523454666137695, 0.6982941031455994, 0.32827430963516235, 0.37701812386512756, -0.3573055565357208, -0.41318854689598083, -0.7260937690734863, -0.29601070284843445, 0.4049927890300751, 0.4164085388183594, -0.6795569658279419, 0.758281946182251, -0.10448437184095383, -0.2542773485183716, -0.31588494777679443, 0.0027992415707558393, 0.2081381380558014, 0.6470614671707153, 0.3998132348060608, -0.0028985533863306046, -0.5010972619056702, -0.9170543551445007, 0.1294998675584793, -0.03181370347738266, 0.1388678252696991, 0.005177149083465338, 0.7370842695236206, -0.05901772156357765, 1.0572497844696045, -0.5832411646842957, -0.4345759451389313, 0.10539359599351883, 0.03637685626745224, 0.4323202073574066, 0.8850516080856323, 0.3783717453479767, -0.7390396595001221, -0.4613037109375, 0.1378970593214035, -0.5566744804382324, 0.14817599952220917, 0.06112262234091759, -0.4370546340942383, -0.28601181507110596, 0.41317108273506165, -0.3053743839263916, 0.2891535460948944, 0.4130484163761139, -0.3255341947078705, 0.3946113586425781, -0.003104627598077059, 0.3030795753002167, -1.314929485321045, -0.2340233325958252, 0.0758800134062767, -0.21226805448532104, -0.49472296237945557, 0.03581079840660095, 0.21128806471824646, 0.04044348746538162, -0.23567380011081696, 0.2111460566520691, -0.22097091376781464, 0.22461481392383575, -0.2026005983352661, 0.2983956038951874, -0.03851079195737839, 0.8498427271842957, -0.01398343127220869, 0.8059030175209045, 0.4994681179523468, -0.47363796830177307, -0.026661673560738564, 0.264311283826828, -0.478790283203125, 0.9224806427955627, -0.9314144849777222, 0.07660727947950363, 0.2544478178024292, 0.07905256748199463, -0.9226475358009338, -0.1677146553993225, 0.09353046119213104, -0.170602947473526, 0.23348844051361084, -0.3913472294807434, -0.4088835120201111, -0.566981315612793, -0.29677972197532654, 0.338420033454895, 0.18210813403129578, -0.530884325504303, 0.6356125473976135, 0.09450247138738632, -0.3044993579387665, -0.48057734966278076, -0.3375900387763977, -0.41838833689689636, -0.12939271330833435, -0.6957168579101562, 0.43698856234550476, -0.19481103122234344, 0.30821919441223145, -0.013328992761671543, -0.16440311074256897, -0.3950728178024292, 0.09027514606714249, 0.2814261317253113, 0.4777003228664398, -0.4010277986526489, -0.2148021012544632, 0.5229213237762451, 0.1267743706703186, -0.14970573782920837, -0.33727145195007324, 0.5181493759155273, -0.1233239620923996, -0.6097266674041748, -0.5949375629425049, 0.055984772741794586, 0.3777852952480316, -0.13922333717346191, 0.47911107540130615, 0.5996654033660889, -0.6123825311660767, -0.16596931219100952, -0.5422137975692749, -0.13987143337726593, -0.5339913368225098, 0.488857626914978, -0.3933662474155426, -1.224616289138794, 0.42177465558052063, 0.08643373101949692, 0.02387293241918087, 0.19741295278072357, 0.04535778984427452, 0.19170372188091278, 0.9416378736495972, 0.9468156695365906, 0.26658961176872253, 0.8093422055244446, -0.4454677999019623, -0.13591815531253815, -1.010778546333313, -0.24085450172424316, -0.09995301812887192, -0.228763610124588, -0.05875517800450325, -0.145843967795372, 0.455112099647522, 0.5801961421966553, -0.3575209379196167, 0.43022146821022034, -0.593429684638977, 0.5147645473480225, 0.5638946890830994, 0.5956546068191528, 0.380665123462677, -0.046063974499702454, 0.02503749541938305, 0.046621616929769516, -0.6080985069274902, -0.20479318499565125, 1.227403998374939, 0.3371376097202301, 0.44193804264068604, -0.018206829205155373, 0.6406629681587219, 0.16780009865760803, -0.007854633033275604, -0.5557852387428284, 0.5020893216133118, 0.04795306548476219, -0.43591567873954773, -0.2720491290092468, -0.40626341104507446, -0.5801505446434021, 0.36536943912506104, -0.05196008458733559, -0.9489266872406006, 0.07210078835487366, -0.009786182083189487, -0.715643584728241, 0.0879710242152214, -0.965481698513031, 0.7484574317932129, 0.0044280048459768295, -0.735770046710968, -0.2652041018009186, -0.44673898816108704, 0.7198277115821838, -0.44048169255256653, -0.03041497804224491, -0.00014741615450475365, 0.2582337558269501, 1.0500047206878662, -0.48595112562179565, 1.010682463645935, -0.16928264498710632, -0.16030952334403992, 0.3452645242214203, -0.09236542880535126, 0.4928208887577057, -0.15317703783512115, 0.0664464682340622, 0.0036008378956466913, 0.3171331584453583, -0.25484776496887207, -0.6194365620613098, 0.7466073632240295, -0.6920791864395142, -0.5339511036872864, 0.07372686266899109, -0.515926718711853, -0.38049599528312683, 0.23579591512680054, 0.0008467158768326044, 0.5410279035568237, -0.02220410853624344, 0.11442860960960388, 0.5289875268936157, -0.013315177522599697, 0.16588695347309113, 0.7995507717132568, -0.13101129233837128, -0.480446994304657, 0.8149466514587402, 0.11178981512784958, 0.3805946409702301, 0.3127470016479492, 0.1394805908203125, -0.07609912753105164, -0.5113927125930786, -0.2571670711040497, 0.08313605189323425, -0.5626622438430786, -0.2651507258415222, -0.8343281149864197, -0.2996298670768738, -0.43805190920829773, -0.3320573568344116, -0.369201123714447, -0.4394882023334503, -0.38595321774482727, -0.3181115388870239, 0.5857014656066895, 1.1060670614242554, -0.005999712273478508, 0.8484131693840027, -0.3580835461616516, 0.20446240901947021, 0.131898894906044, 0.6116380095481873, -0.04470575973391533, -0.6988462805747986, -0.4536506235599518, 0.11116145551204681, -0.3304385244846344, -0.7855158448219299, -0.005343648139387369, 0.14800779521465302, 0.4914275109767914, 0.4925040304660797, -0.15535087883472443, 0.7337158918380737, -0.2140461653470993, 0.8254033327102661, 0.17832663655281067, -0.8626418709754944, 0.6234673261642456, -0.6754593849182129, 0.15510566532611847, 0.5927950143814087, 0.224242702126503, 0.10142240673303604, -0.2924611568450928, -0.6528632044792175, -0.9576893448829651, 0.8959087133407593, 0.09487313032150269, -0.2038869708776474, 0.18373259902000427, 0.25320354104042053, 0.4045540988445282, 0.3715124726295471, -0.6083611845970154, -0.10305235534906387, -0.14659559726715088, -0.47166672348976135, 0.25484344363212585, -0.21292635798454285, -0.010170304216444492, -0.521413266658783, 0.6548231244087219, -0.3088254928588867, -0.052798885852098465, -0.14159783720970154, 0.07701433449983597, -0.027959534898400307, 0.30317550897598267, 0.398030549287796, 0.6528415083885193, -0.3934321105480194, -0.22444528341293335, 0.0872935876250267, -0.7382245659828186, -0.017902208492159843, 0.6233665943145752, -0.13392192125320435, -0.30237525701522827, 0.18139488995075226, 0.7054821252822876, 0.6114774346351624, -0.29386648535728455, 0.6610999703407288, 0.2799634337425232, -0.3201040029525757, -0.29939332604408264, 0.26933911442756653, -0.35423895716667175, 0.3906366229057312, 0.2574491798877716, 0.015247938223183155, 0.2063678354024887, -0.08969234675168991, 0.33522552251815796, 0.2732149660587311, -0.3293733596801758, -0.369424432516098, 0.9288225769996643, 0.3266511559486389, 0.03646388277411461, 0.205937460064888, 0.36263543367385864, -0.5938246846199036, 0.6908130645751953, 0.5621461272239685, 0.627118706703186, -0.20299872756004333, 0.2992052137851715, 0.4440214931964874, 0.19156119227409363, -0.26862066984176636, 0.5443770289421082, -0.3929184675216675, -0.5821624398231506, -0.49224117398262024, -0.5812817811965942, -0.2982291281223297, 0.14319156110286713, -0.8807113170623779, 0.5216274857521057, -0.49645137786865234, -0.03499263897538185, -0.09753180295228958, 0.0045664808712899685, -0.6431296467781067, 0.30748066306114197, -0.2559050917625427, 0.8646125793457031, -0.8495152592658997, 0.7962541580200195, 0.6246190667152405, -0.47750186920166016, -0.933593213558197, -0.3531179428100586, -0.24136778712272644, -0.5426984429359436, 0.2422453761100769, 0.2674869894981384, -0.11743884533643723, 0.42886099219322205, -0.5645138025283813, -0.7966323494911194, 1.1888381242752075, 0.2910594642162323, -0.8097103834152222, -0.21026121079921722, -0.08836077153682709, 0.48472678661346436, -0.3024975657463074, 0.5190221071243286, 0.8015463352203369, 0.12020479887723923, -0.00500184902921319, -0.8428385257720947, -0.2584703862667084, -0.36679133772850037, -0.22508303821086884, 0.26466119289398193, -0.5888410210609436, 0.9381240010261536, -0.06875652074813843, -0.15142814815044403, 0.18507875502109528, 0.7403355836868286, 0.143052339553833, 0.1560210883617401, 0.6181442141532898, 0.3799603283405304, 0.6648054122924805, -0.13315165042877197, 0.604446530342102, -0.6392690539360046, 0.264339804649353, 1.3495584726333618, 0.03469720855355263, 0.9032831788063049, 0.3843599855899811, -0.3940441608428955, 0.5029693841934204, 0.8219152092933655, 0.05454909801483154, 0.4263857901096344, -0.15985634922981262, -0.05610223859548569, -0.25049325823783875, -0.07381591200828552, -0.7109298706054688, 0.2372591644525528, 0.3962917625904083, -0.16283242404460907, 0.13624036312103271, 0.18227210640907288, -0.2981535792350769, 0.1868855506181717, -0.1137901246547699, 0.43169599771499634, -0.005273144692182541, -0.583689272403717, 0.5571883916854858, -0.18194060027599335, 1.0008385181427002, -0.7421082854270935, -0.16942648589611053, -0.19154894351959229, 0.07903369516134262, -0.3953678011894226, -0.9423927068710327, -0.1988418698310852, -0.19308622181415558, 0.0075718555599451065, 0.047980111092329025, 0.43692976236343384, -0.783039927482605, -0.30263692140579224, 0.21389320492744446, 0.4734375476837158, 0.09110500663518906, -0.023507868871092796, -0.3250327706336975, -0.19557252526283264, -0.009185830131173134, -0.29044845700263977, 0.03262099623680115, 0.4078233540058136, 0.038688987493515015, 0.3761286437511444, 0.5902353525161743, -0.02462604269385338, 0.1175081878900528, 0.29998064041137695, 0.993954598903656, -0.37869253754615784, -0.7600616812705994, -0.5619938969612122, 0.5740333199501038, -0.015690144151449203, -0.585058867931366, 0.4891364276409149, 0.5615254640579224, 0.983716607093811, 0.1927834153175354, 0.751587450504303, 0.16414837539196014, 0.46478956937789917, -0.770409345626831, 0.36499303579330444, -0.6216987371444702, 0.2420773208141327, -0.7533238530158997, -0.8860964179039001, 0.16297517716884613, 0.5321378707885742, -0.3740026354789734, 0.190687894821167, 0.6459079384803772, 0.5914913415908813, -0.3728834092617035, 0.5281363725662231, 0.33953455090522766, 0.21126236021518707, -0.050429463386535645, 0.7123932838439941, 1.0167385339736938, -0.6040248274803162, 0.2650037705898285, -0.5089746117591858, -0.362659752368927, 0.04170002415776253, -0.31524479389190674, -1.160014033317566, -0.6591107249259949, -0.3642725348472595, -0.08062312006950378, 0.012889042496681213, 0.8075743317604065, 0.7966217994689941, -0.6504117250442505, -0.009776225313544273, -0.2704057991504669, -0.10447237640619278, -0.283332884311676, -0.2881115674972534, 0.3759254217147827, 0.18229296803474426, -0.9147226214408875, 0.6521156430244446, 0.047470029443502426, 0.3117265999317169, -0.3904911279678345, 0.16352099180221558, -0.2942149341106415, -0.21321673691272736, 0.5589235424995422, -0.11203814297914505, -0.6457797884941101, -0.2642238438129425, 0.028932640329003334, 0.07337669283151627, -0.05680607631802559, 0.6255061030387878, -1.0035594701766968, 0.45580875873565674, 0.10499492287635803, 0.4852973520755768, 0.42574575543403625, 0.26974788308143616, 0.7505896091461182, -0.5774394869804382, 0.28710803389549255, -0.001030832645483315, 0.4909089505672455, 0.2943437099456787, -0.7689207792282104, 0.7418856620788574, 0.03908104449510574, -0.3789491653442383, -0.7693888545036316, 0.08328645676374435, -0.9332579374313354, -0.2302941530942917, 0.9912816286087036, -0.07807786017656326, 0.0864282175898552, -0.14406771957874298, -0.32504042983055115, 0.38769033551216125, -0.39582183957099915, 0.635901153087616, 0.5904316306114197, -0.08858907222747803, -0.05969078838825226, -0.6167837381362915, 0.1541389375925064, 0.48221009969711304, -0.8134951591491699, -0.2845337986946106, 0.6060411334037781, 0.24524681270122528, -0.17658697068691254, 0.5397965908050537, 0.07104001939296722, 0.11908846348524094, -0.055888403207063675, -0.0673689991235733, -0.47945621609687805, -0.5870316028594971, -0.23809026181697845, 0.22018282115459442, -0.3763349950313568, -0.29788294434547424 ]
http://arxiv.org/abs/2403.08258v2
http://arxiv.org/pdf/2403.08258v2
Skipformer: A Skip-and-Recover Strategy for Efficient Speech Recognition
2024-03-13T05:20:45
2024-05-21T02:06:26
Wenjing Zhu, Sining Sun, Changhao Shan, Peng Fan, Qing Yang
cs.CL
cs.CL, cs.LG
Conformer-based attention models have become the de facto backbone model for Automatic Speech Recognition tasks. A blank symbol is usually introduced to align the input and output sequences for CTC or RNN-T models. Unfortunately, the long input length overloads computational budget and memory consumption quadratically by attention mechanism. In this work, we propose a "Skip-and-Recover" Conformer architecture, named Skipformer, to squeeze sequence input length dynamically and inhomogeneously. Skipformer uses an intermediate CTC output as criteria to split frames into three groups: crucial, skipping and ignoring. The crucial group feeds into next conformer blocks and its output joint with skipping group by original temporal order as the final encoder output. Experiments show that our model reduces the input sequence length by 31 times on Aishell-1 and 22 times on Librispeech corpus. Meanwhile, the model can achieve better recognition accuracy and faster inference speed than recent baseline models. Our code is open-sourced and available online.
[ -0.23083913326263428, -0.38731029629707336, 0.5016865730285645, 0.10039115697145462, -0.1782616525888443, -0.06565117090940475, 0.05621853098273277, -0.3274986445903778, 0.023304367437958717, 0.13934749364852905, -0.31146833300590515, 0.09372398257255554, -0.8887653946876526, -0.03511488065123558, -0.562128484249115, 0.5834194421768188, 0.017736142501235008, -0.008069979026913643, 0.40366414189338684, -0.08950521796941757, -0.6719869375228882, -0.11100255697965622, -0.9241405725479126, -0.0496147982776165, 0.5602321028709412, 0.26818931102752686, 0.38575318455696106, 1.1047122478485107, 0.19230493903160095, 0.28399965167045593, -0.4992164373397827, -0.2641938626766205, -0.5541127920150757, 0.09893185645341873, 0.27368685603141785, -0.05817011743783951, -0.5379253029823303, -0.024989275261759758, 0.8070987462997437, 0.4888373613357544, -0.1360357701778412, 0.18677093088626862, 0.04474393278360367, 0.5978365540504456, -0.8420740962028503, 0.11561872810125351, -0.5752871036529541, -0.1504148244857788, -0.18260562419891357, 0.1938760131597519, -0.4830557107925415, -0.6138994693756104, 0.06941208243370056, -0.2255101352930069, 0.26523658633232117, -0.23633253574371338, 0.5687869787216187, 0.5572470426559448, 0.07004819065332413, -0.11428125202655792, -0.881544291973114, 0.413629412651062, -0.6653167605400085, 1.0769357681274414, 0.30798399448394775, 0.5455994009971619, 0.12695954740047455, -0.5863725543022156, -0.6622127890586853, -0.050665341317653656, 0.10863897949457169, 0.1465420126914978, -0.23234118521213531, -0.04552857577800751, 0.2754054367542267, 0.3307359516620636, -0.7035133242607117, 0.027549944818019867, -0.7430708408355713, -0.3622227609157562, 0.22902637720108032, -0.0913686528801918, 0.1313026398420334, 0.1407240629196167, -0.02030457742512226, 0.09344566613435745, -0.5027793645858765, 0.2566428482532501, 0.07274658977985382, 0.28184518218040466, -0.09623529016971588, 0.3813369572162628, 0.02818448469042778, 1.0153785943984985, 0.7168298959732056, -0.08168567717075348, 0.06358808279037476, -0.14743956923484802, -0.3339999318122864, 0.41532567143440247, 0.35025250911712646, -0.15781810879707336, 0.20064924657344818, -0.21691200137138367, -0.109473817050457, 0.08495532721281052, 0.3221544027328491, -0.7127800583839417, -0.34427863359451294, 0.2910608649253845, -0.3763945400714874, 0.04564153030514717, -0.04164222255349159, -0.4652765393257141, 0.020625442266464233, -0.26964491605758667, 0.3363642394542694, -0.5993044376373291, 0.2567664384841919, -0.028308935463428497, -0.14600835740566254, 0.27138447761535645, 0.492527037858963, -0.577502965927124, 0.47363564372062683, 0.3521174490451813, 1.068757176399231, -0.3871653079986572, 0.17920447885990143, -1.2296175956726074, 0.2118435502052307, -0.02871556021273136, 0.4943392276763916, -0.4772818684577942, -0.5820616483688354, -0.47739240527153015, 0.036301374435424805, -0.22123168408870697, -0.4811033308506012, 0.3372320830821991, -0.7583335041999817, 0.2846132218837738, 0.17911991477012634, -0.6921058297157288, -0.350666880607605, 0.04605980962514877, -1.0566142797470093, 0.4519396424293518, -0.08739784359931946, -0.46612006425857544, 0.3056543469429016, -0.5962098836898804, -0.18208570778369904, 0.13574835658073425, 0.16816438734531403, -0.536716103553772, 0.04348015785217285, 0.22877253592014313, 0.18442708253860474, -0.03430265188217163, -0.0034052645787596703, -0.42826834321022034, -0.496766597032547, 0.02631089836359024, -0.5359872579574585, 0.646785318851471, 0.1062871441245079, -0.21604809165000916, 0.14242073893547058, -1.1150909662246704, -0.10719785839319229, -0.004592776298522949, -0.821006715297699, -0.19685178995132446, -0.05317804217338562, 0.38498052954673767, 0.3640880286693573, -0.03976894170045853, -0.7568113207817078, -0.12129943072795868, -0.5171517729759216, 0.5358166098594666, 0.6675023436546326, -0.07964707165956497, 0.7271468639373779, -0.26935335993766785, 0.3964819014072418, -0.011748396791517735, 0.05496056377887726, -0.3005308210849762, 0.013470802456140518, -0.7616109848022461, -0.7269564867019653, 0.5117077231407166, 0.6371837854385376, -0.07325063645839691, 0.5040084719657898, -0.3002053201198578, -0.3583774268627167, -0.6177313923835754, -0.09455038607120514, 0.39458921551704407, 0.6252524852752686, 0.40658068656921387, -0.24069514870643616, -0.53512042760849, -0.6820865869522095, -0.2522636651992798, -0.03538397699594498, -0.283353328704834, 0.14519833028316498, 0.06931885331869125, -0.04595504328608513, 1.039039969444275, -0.3615856170654297, -0.371473103761673, -0.2877446413040161, -0.3402925729751587, 0.34803763031959534, 0.5587276220321655, 0.10774878412485123, -0.7800130248069763, -0.3190903961658478, -0.2802572250366211, -0.08512021601200104, 0.11488986760377884, -0.02106425166130066, 0.14083430171012878, 0.13545000553131104, 0.2713764011859894, -0.332271546125412, 0.6566774845123291, 0.31430763006210327, -0.03162937983870506, 0.16353657841682434, 0.20997445285320282, -0.1829918622970581, -0.7527822256088257, 0.2852744162082672, -0.25966382026672363, -0.4811878204345703, -0.7291415929794312, -0.5555641651153564, 0.23343749344348907, -0.1946651041507721, -0.5624744296073914, 0.7205929160118103, -0.53448486328125, 0.07395102828741074, -0.30030369758605957, 0.02102348394691944, -0.24688337743282318, 0.4972328841686249, 0.19966508448123932, 0.771815836429596, 0.34174662828445435, -0.9073673486709595, -0.19326311349868774, 0.3733915090560913, 0.2188856452703476, 0.1913648098707199, -0.9320142865180969, 0.4941422641277313, -0.3170589506626129, 0.23003728687763214, -1.0886629819869995, -0.2791316509246826, 0.19309388101100922, -0.5732235908508301, 0.5663233995437622, -0.2691574692726135, -0.030737558379769325, -0.36479514837265015, -0.13179540634155273, 0.7353746891021729, 0.6460654735565186, -0.5814223885536194, 0.8891754150390625, 0.4276275634765625, -0.23924608528614044, -0.2726220190525055, -0.5259829163551331, -0.34086719155311584, -0.11026790738105774, -0.28299686312675476, 0.2850169241428375, -0.17520259320735931, 0.0923851951956749, -0.24110864102840424, -0.5065562725067139, -0.20892813801765442, -0.3128230571746826, 0.433856338262558, 0.23616214096546173, -0.07188794761896133, -0.06778336316347122, -0.031927142292261124, 0.027708396315574646, -0.4008842408657074, -0.5726639628410339, 0.482097864151001, 0.025006961077451706, -0.09074436128139496, -0.5753260254859924, 0.24359345436096191, 0.5940094590187073, -0.3069106638431549, 0.21681101620197296, 0.3200153112411499, -0.5408216714859009, 0.16704390943050385, -0.7969372868537903, 0.015045837499201298, -0.43960872292518616, 0.4092054069042206, -0.09340203553438187, -0.9026106595993042, 0.2695838212966919, 0.20986150205135345, 0.37809523940086365, 0.27085810899734497, 0.47899895906448364, 0.0948842391371727, 0.5307212471961975, 0.6101259589195251, -0.17932432889938354, 0.5156606435775757, -0.048818983137607574, 0.07206636667251587, -0.8389211297035217, -0.10727287083864212, -0.32902437448501587, -0.4129607677459717, 0.06454327702522278, -0.4889223873615265, 0.3883380889892578, -0.014695036225020885, -0.18127822875976562, 0.452759325504303, -0.4472016394138336, 0.37785497307777405, 0.248472660779953, 0.009911518543958664, 0.12837280333042145, -0.2805175483226776, 0.06786374747753143, -0.027573343366384506, -0.6399673819541931, -0.28999775648117065, 0.6817463040351868, 0.4130631387233734, 0.804499089717865, 0.08281832933425903, 0.8689303994178772, 0.25406283140182495, 0.19792376458644867, -0.9718486070632935, 0.42080923914909363, -0.23712190985679626, -0.3019542098045349, -0.40936365723609924, -0.21152687072753906, -0.7047326564788818, 0.019506195560097694, 0.370223730802536, -0.6774237155914307, 0.46188223361968994, 0.5497390627861023, -0.6693488955497742, 0.1653522551059723, -0.31416594982147217, 0.5072728991508484, 0.16367106139659882, -0.2634561359882355, -0.028149133548140526, -0.8225374817848206, 0.5165117979049683, -0.24130472540855408, 0.0746164545416832, 0.11173345148563385, 0.018957218155264854, 0.8441521525382996, -0.31726643443107605, 0.6288628578186035, -0.2981686294078827, 0.09896162897348404, 0.13080139458179474, 0.26438552141189575, 0.36593717336654663, -0.08879423886537552, 0.14840087294578552, 0.05704030767083168, -0.3318268656730652, -0.13045306503772736, -0.46008744835853577, 0.356330007314682, -0.38643401861190796, -0.32785579562187195, -0.1846534013748169, -0.5646400451660156, -0.2402818351984024, 0.34006553888320923, 0.269682914018631, 0.5352931022644043, -0.4970199465751648, -0.03258009999990463, 0.7654406428337097, 0.1765146404504776, 0.8982316255569458, 0.6481369137763977, 0.2548274099826813, -0.7379270195960999, 0.6215595006942749, 0.14959616959095, 0.23960375785827637, 0.47224751114845276, -0.04309719428420067, -0.4427323043346405, -0.3475482761859894, -0.2985267639160156, 0.3542337119579315, -0.35787421464920044, -0.13980227708816528, -0.9583097100257874, -0.42577552795410156, -0.5806366205215454, 0.0008615977130830288, -0.48421868681907654, -0.6747874617576599, -0.3560979962348938, 0.0769224464893341, 0.13373705744743347, 0.4410221576690674, -0.18253430724143982, 0.48858797550201416, -1.0457863807678223, 0.44734498858451843, 0.43042075634002686, 0.283418208360672, 0.22101226449012756, -0.8290051221847534, -0.0991891622543335, -0.3979750871658325, -0.3034228980541229, -0.9129509329795837, 0.4771922528743744, 0.37362053990364075, 0.46380916237831116, 0.5069857239723206, -0.21451935172080994, 0.8703560829162598, -0.8985753059387207, 0.25825902819633484, 0.16660116612911224, -1.0597174167633057, 0.48267966508865356, -0.009201720356941223, 0.6999255418777466, 0.37443169951438904, 0.2496233582496643, -0.5064785480499268, -0.3142361640930176, -0.47242113947868347, -0.8311171531677246, 0.8346017003059387, 0.21756447851657867, -0.3946034610271454, 0.04104774072766304, 0.2593880295753479, 0.11728967726230621, -0.08145607262849808, -0.5192629098892212, 0.11142374575138092, -0.24791918694972992, -0.39224526286125183, -0.002916341181844473, -0.23671264946460724, 0.1074495017528534, -0.053512707352638245, 0.6051511764526367, 0.11012032628059387, 0.30663391947746277, 0.26271435618400574, -0.429777592420578, 0.20527009665966034, 0.3223438560962677, 0.570319652557373, 0.1498280018568039, -0.11858057230710983, -0.12091826647520065, 0.11794334650039673, -0.7334903478622437, 0.29711949825286865, 0.3608754873275757, -0.2556532919406891, 0.16113239526748657, 0.13656918704509735, 0.7674662470817566, 0.20018945634365082, -0.4822844862937927, 0.200714111328125, -0.18178096413612366, -0.10965167731046677, -0.5226162075996399, 0.07780967652797699, -0.03259909525513649, 0.2254505604505539, 0.19682157039642334, 0.46047869324684143, 0.5243703722953796, 0.024111732840538025, 0.48663005232810974, 0.15623995661735535, -0.6507375836372375, -0.32722586393356323, 1.029362678527832, 0.05272698774933815, -0.5497581958770752, 0.5487391948699951, 0.2836955189704895, -0.2597862780094147, 0.4683605134487152, 0.4021430015563965, 1.1378350257873535, -0.6073101758956909, -0.36065903306007385, 0.41915246844291687, -0.005125598981976509, -0.25703901052474976, 0.1859060823917389, -0.37454986572265625, -0.34196436405181885, -0.26279550790786743, -0.5707262754440308, -0.06336377561092377, 0.13046015799045563, -0.7401848435401917, 0.35251423716545105, -0.5656662583351135, -0.10453197360038757, 0.08651383221149445, -0.7179094552993774, -0.6115437150001526, 0.20458461344242096, 0.4298112988471985, 0.9860032796859741, -0.31940674781799316, 0.9373854994773865, 0.17494700849056244, -0.1261395364999771, -0.7818120121955872, 0.31429556012153625, 0.2966797351837158, -0.5280439257621765, 0.794859766960144, 0.4345438778400421, -0.325184166431427, 0.07162207365036011, -0.24721771478652954, -1.171066403388977, 0.789706826210022, 0.042612090706825256, -0.9568982124328613, -0.4100549519062042, -0.43086132407188416, 0.04212832823395729, -0.24106112122535706, 0.008395075798034668, 0.6079673171043396, 0.38595178723335266, 0.24924525618553162, -1.0152513980865479, 0.009055792354047298, -0.1547168493270874, 0.20568719506263733, 0.21473459899425507, -0.4900946021080017, 0.6431202292442322, -0.36469948291778564, -0.28814396262168884, 0.16913577914237976, 0.7509937882423401, 0.4572227895259857, 0.010609743185341358, 0.8826654553413391, 0.3206378221511841, 0.4694374203681946, 0.12722338736057281, 0.5730137825012207, -0.012641966342926025, 0.015350673347711563, 1.1823333501815796, -0.2867778539657593, 0.8246560096740723, 0.2726450264453888, 0.03023449331521988, 0.1832515299320221, 0.34288477897644043, 0.0348544605076313, 0.6965426206588745, 0.2437673807144165, 0.11383847147226334, -0.1890971064567566, 0.4089580774307251, -0.06139655038714409, 0.6831121444702148, 0.215769961476326, -0.3053484559059143, -0.19651679694652557, 0.2171649932861328, 0.02946740761399269, -0.2194128930568695, -0.4078412353992462, 0.9114155769348145, -0.1079312339425087, -0.43214499950408936, 0.7455271482467651, -0.2009180337190628, 0.5550593733787537, -0.5944806337356567, -0.15507425367832184, -0.13953818380832672, 0.41527873277664185, 0.13248787820339203, -0.2415127456188202, 0.5218403935432434, -0.008676812052726746, -0.6187946200370789, -0.05603266507387161, 0.5286664962768555, -0.6635752320289612, -0.4598444700241089, 0.1112443283200264, 0.10962492227554321, 0.06348109990358353, 0.02182706631720066, -0.36881303787231445, 0.1906411498785019, -0.16071125864982605, -0.05063561350107193, -0.047566138207912445, 0.08109737932682037, -0.05535033717751503, 0.49228450655937195, 0.40537750720977783, 0.017406614497303963, 0.3446342647075653, 0.05672074854373932, 0.8340047001838684, -0.6848344206809998, -0.9373499751091003, -0.8014172315597534, 0.5804818272590637, 0.06947199255228043, 0.03073681890964508, 0.42131924629211426, 0.802212655544281, 0.5347357392311096, -0.23858189582824707, 0.7259947657585144, 0.022556032985448837, 0.8854923844337463, -0.45706722140312195, 0.7832290530204773, -0.4716721177101135, -0.03037123568356037, -0.28245946764945984, -0.5940032005310059, -0.3385123610496521, 0.4579659104347229, -0.0008098548278212547, 0.037120550870895386, 0.328647255897522, 0.4348291754722595, -0.24727217853069305, 0.0317305289208889, 0.2782121002674103, 0.36675310134887695, 0.3979749381542206, 0.7492039799690247, 0.47660017013549805, -0.43820083141326904, 0.5793048143386841, 0.1646156758069992, -0.46410423517227173, -0.018886912614107132, -0.5098886489868164, -0.7062872648239136, -0.43765875697135925, -0.3303857147693634, -0.4229656159877777, 0.2179112285375595, 0.7039715051651001, 0.7976076602935791, -0.9049766063690186, -0.1724133938550949, 0.01911948435008526, -0.10420633852481842, -0.2910537123680115, -0.24192233383655548, 0.30109208822250366, -0.18207329511642456, -0.8755124807357788, 0.6110736131668091, 0.6398026347160339, 0.3906768262386322, 0.0956939235329628, -0.008096284233033657, -0.03979887068271637, 0.16793620586395264, 0.33906248211860657, 0.6536633968353271, -0.866432249546051, -0.0124916210770607, 0.23931950330734253, 0.20383301377296448, 0.07079742103815079, 0.9458945393562317, -1.1430761814117432, 0.2875082492828369, 0.4140152633190155, 0.7946657538414001, 0.5001606345176697, -0.04189139977097511, 0.6659511923789978, -0.4618060886859894, 0.18512125313282013, 0.5247904062271118, 0.4353981614112854, 0.1903490573167801, -0.483233243227005, 0.26516297459602356, 0.23143655061721802, -0.5370397567749023, -0.6602290868759155, 0.2412998080253601, -1.279161810874939, 0.021564967930316925, 0.8488014340400696, -0.0029492205940186977, -0.2773827612400055, -0.2609208822250366, -0.243093803524971, 0.41666650772094727, -0.6692948341369629, 0.718142569065094, 0.36402392387390137, -0.2956462800502777, -0.3934994041919708, -0.0744369626045227, 0.4608074128627777, 0.08852440118789673, -0.3614109754562378, 0.1836467832326889, 0.6857225298881531, 0.5702159404754639, 0.164844810962677, 0.9182048439979553, -0.3746509850025177, 0.6117986440658569, -0.1722613275051117, -0.06457096338272095, -0.3069154918193817, -0.46001604199409485, -0.6873578429222107, 0.36418232321739197, -0.4282684922218323, -0.6160671710968018 ]
http://arxiv.org/abs/2403.08229v1
http://arxiv.org/pdf/2403.08229v1
Boosting Disfluency Detection with Large Language Model as Disfluency Generator
2024-03-13T04:14:33
2024-03-13T04:14:33
Zhenrong Cheng, Jiayan Guo, Hao Sun, Yan Zhang
cs.CL
cs.CL
Current disfluency detection methods heavily rely on costly and scarce human-annotated data. To tackle this issue, some approaches employ heuristic or statistical features to generate disfluent sentences, partially improving detection performance. However, these sentences often deviate from real-life scenarios, constraining overall model enhancement. In this study, we propose a lightweight data augmentation approach for disfluency detection, utilizing the superior generative and semantic understanding capabilities of large language model (LLM) to generate disfluent sentences as augmentation data. We leverage LLM to generate diverse and more realistic sentences guided by specific prompts, without the need for fine-tuning the LLM. Subsequently, we apply an uncertainty-aware data filtering approach to improve the quality of the generated sentences, utilized in training a small detection model for improved performance. Experiments using enhanced data yielded state-of-the-art results. The results showed that using a small amount of LLM-generated enhanced data can significantly improve performance, thereby further enhancing cost-effectiveness.
[ -0.3339953124523163, -1.0295761823654175, 0.6011868715286255, 0.10234029591083527, -0.23729366064071655, 0.0632684975862503, -0.12414747476577759, -0.7224539518356323, 0.12765009701251984, 0.26466065645217896, -0.7496194839477539, -0.3125593662261963, -0.7065805792808533, 0.19749490916728973, -0.4107446074485779, 0.8155585527420044, 0.1449604630470276, 0.024500610306859016, -0.10870498418807983, 0.039701830595731735, -0.43447577953338623, -0.22198760509490967, -0.5265436768531799, -0.37126171588897705, 0.1875317394733429, 0.5927421450614929, 0.9123411774635315, 0.5341538786888123, 0.42853623628616333, 0.44351285696029663, -0.3577190041542053, 0.2801433503627777, -0.4070568382740021, 0.19794882833957672, -0.0027697659097611904, -0.3681817054748535, -0.5347206592559814, -0.48981666564941406, 0.5389531254768372, 0.5943887233734131, -0.1504790186882019, -0.2193727195262909, 0.03402101621031761, 0.6286048889160156, -0.46719250082969666, 0.08995777368545532, -0.8807962536811829, 0.25485920906066895, -0.22050851583480835, 0.29463762044906616, -0.13703399896621704, -0.08624998480081558, -0.2701489329338074, -0.5456082224845886, 0.3889443576335907, -0.014487392269074917, 0.7074907422065735, 0.5066994428634644, -0.22340235114097595, -0.1751473844051361, -0.4919239580631256, 0.4574829041957855, -0.9154817461967468, 0.24569953978061676, 0.4256357252597809, 0.16053667664527893, -0.34790465235710144, -0.5010477900505066, -0.9990191459655762, -0.4451209306716919, -0.15890364348888397, -0.050199657678604126, -0.2245446741580963, 0.14738450944423676, 0.5871712565422058, 0.7052217125892639, -0.43393296003341675, 0.6307231187820435, 0.01803453266620636, -0.387243390083313, 0.5883458852767944, 0.24939686059951782, 0.360842764377594, -0.30546966195106506, -0.41957736015319824, -0.3007294535636902, -0.4461411237716675, -0.3646734654903412, 0.4934293329715729, 0.25931859016418457, 0.014312069863080978, 0.5473905801773071, -0.6095120310783386, 0.6809806823730469, -0.0525088831782341, -0.30876168608665466, 0.3704903721809387, -0.3660069406032562, -0.12787777185440063, 0.12727579474449158, 0.5951423645019531, 0.2395181655883789, 0.06149812415242195, -0.09092135727405548, -0.5145331621170044, 0.22200407087802887, 0.14458027482032776, -0.937745988368988, -0.2376612424850464, 0.131656214594841, -0.25964659452438354, -0.5552039742469788, -0.08305124193429947, -0.9673276543617249, -0.8424081206321716, -0.3266356289386749, 0.28980690240859985, -0.6734224557876587, -0.3926331102848053, 0.23733766376972198, -0.004396701231598854, -0.19567403197288513, 0.2667623460292816, -0.834933876991272, 0.004338230472058058, 0.44314226508140564, 0.8129585981369019, -0.1844748705625534, 0.11871536076068878, -0.7192714810371399, -0.005661751609295607, -0.17075009644031525, 0.6330555081367493, -0.15221813321113586, -0.11729274690151215, 0.10411188006401062, -0.08779626339673996, 0.5657498836517334, -0.7102596759796143, 0.9136190414428711, -0.14153125882148743, -0.014305301010608673, 0.05214496701955795, -0.43325257301330566, 0.16633941233158112, 0.19272632896900177, -0.8384758830070496, 1.041380763053894, 0.4881908595561981, -0.8579376935958862, 0.7148292660713196, -0.36988577246665955, -0.6324999928474426, 0.46429315209388733, -0.05157461017370224, -0.8544864654541016, 0.19555918872356415, 0.6370159983634949, 0.5921810865402222, -0.10396260768175125, 0.5968565344810486, -0.7108548879623413, -0.29754701256752014, 0.31145036220550537, -0.7073217034339905, 0.5857853889465332, 0.15053343772888184, -0.2549644708633423, -0.1033465638756752, -1.0825327634811401, -0.4158843159675598, 0.13174660503864288, -0.2879808247089386, -0.3304974436759949, -0.049458861351013184, 0.2820174992084503, 0.1787610948085785, 0.14712516963481903, -0.7105530500411987, 0.1802573800086975, -0.5596465468406677, 0.1457992047071457, 0.6975865960121155, -0.08560974150896072, 0.1970469355583191, -0.22571849822998047, 0.3194008469581604, 0.2656477987766266, 0.06671038269996643, -0.010246455669403076, -0.17670316994190216, -0.6544498205184937, -0.5782120227813721, 0.0765829011797905, 0.3333357870578766, -1.2121741771697998, 0.6774985194206238, -0.2024780809879303, -0.09181274473667145, -0.4855215847492218, 0.28565946221351624, 0.21364019811153412, 0.9517486691474915, 0.46144452691078186, 0.006552122998982668, -0.6252231001853943, -0.8697070479393005, -0.031387411057949066, -0.21649070084095, -0.15061621367931366, -0.08832445740699768, 0.4584314525127411, -0.3053969144821167, 0.825381875038147, -0.7781887054443359, -0.4922540783882141, -0.2893112301826477, 0.20548146963119507, -0.11368237435817719, 0.49834126234054565, 0.4548735022544861, -0.9103533625602722, -0.11206948757171631, -0.10020577162504196, -0.5798396468162537, -0.361221581697464, -0.27951499819755554, 0.17527823150157928, 0.30893251299858093, 0.5271094441413879, -0.5871356129646301, 0.48346298933029175, 0.4584876596927643, -0.3697896897792816, 0.6050662398338318, -0.2785087823867798, 0.1711997538805008, -1.309321403503418, -0.14007315039634705, 0.10949084907770157, -0.5510562658309937, -0.4817740321159363, -0.1082177460193634, 0.10165338963270187, -0.023393651470541954, -0.25914818048477173, 0.0593971349298954, -0.40920257568359375, -0.07762099802494049, -0.4129786193370819, 0.25073862075805664, 0.0920896902680397, 0.040058452636003494, 0.03687265142798424, 0.5657041072845459, 0.49134019017219543, -0.4067245423793793, 0.520597517490387, 0.2886701822280884, -0.5516517758369446, 0.5731307864189148, -0.621571958065033, -0.3114469647407532, -0.18397602438926697, 0.2545555531978607, -1.1974626779556274, -0.564068615436554, 0.18280301988124847, -0.18630798161029816, 0.3753032982349396, -0.14094354212284088, -0.8786439299583435, -0.47770005464553833, -0.37649208307266235, 0.06787960231304169, 0.45808422565460205, -0.761726438999176, 0.11584527045488358, 0.16295088827610016, -0.2684042453765869, -0.4832267463207245, -0.8914901614189148, 0.19665071368217468, -0.46412143111228943, -0.7089996337890625, 0.694927990436554, -0.09796427190303802, -0.16720055043697357, -0.2579435706138611, -0.1674903780221939, -0.18323253095149994, 0.43286776542663574, 0.22467781603336334, 0.4930798411369324, -0.1435185968875885, 0.5532304644584656, 0.20962810516357422, -0.03620321303606033, -0.15485309064388275, 0.1442941427230835, 0.4967457950115204, 0.1306132823228836, -0.5074286460876465, -0.4499250650405884, 0.2390073835849762, 0.508649468421936, 0.08636028319597244, 0.652698278427124, 0.8884409070014954, -0.5732260346412659, -0.27574363350868225, -0.5475518107414246, -0.5036565661430359, -0.5422780513763428, 0.6874451041221619, -0.20173043012619019, -0.9523605108261108, 0.4592376947402954, -0.21092890202999115, -0.2710624635219574, 0.20100565254688263, 0.5566970705986023, -0.049393173307180405, 1.0451356172561646, 0.45712023973464966, -0.3884505033493042, 0.7868786454200745, 0.18493345379829407, 0.08864478766918182, -0.616155207157135, 0.1341077983379364, -0.2921912968158722, -0.2028491050004959, -0.3550484776496887, -0.4696105718612671, 0.30295494198799133, 0.2851960361003876, 0.1478259116411209, 0.13990290462970734, -0.6057488918304443, 0.2744949460029602, -0.008492332883179188, 0.5822142362594604, 0.5755433440208435, 0.13973037898540497, 0.3378945291042328, -0.14763480424880981, -0.44292598962783813, -0.3841058611869812, 0.7701056599617004, 0.4447987973690033, 0.8997591137886047, 0.17456458508968353, 0.47682762145996094, 0.3629777729511261, 0.15703213214874268, -0.641964852809906, 0.31382986903190613, -0.13144555687904358, -0.26472678780555725, -0.2747615575790405, -0.7033056020736694, -0.706531822681427, 0.2589873969554901, -0.5597731471061707, -0.7654035687446594, 0.18274010717868805, 0.27860137820243835, -0.15826749801635742, 0.25924041867256165, -0.5798658132553101, 0.6046120524406433, -0.15838223695755005, -0.2746412456035614, -0.20934799313545227, -0.2874622941017151, 0.7260965704917908, -0.15652690827846527, 0.07317791134119034, -0.04068199545145035, 0.06485924869775772, 0.39514222741127014, -0.6321761608123779, 0.848287045955658, -0.2453209012746811, -0.3694417476654053, 0.053017787635326385, -0.13122089207172394, 0.8352310657501221, 0.2984221279621124, -0.09694228321313858, -0.20108942687511444, -0.5104441046714783, -0.12537020444869995, -0.5533278584480286, 0.6292345523834229, -0.32503682374954224, -0.49771445989608765, -0.12642955780029297, -0.9150963425636292, -0.3488999307155609, -0.052819665521383286, 0.18898512423038483, 0.4116881489753723, -0.1449410766363144, 0.15560932457447052, 0.9093651175498962, -0.24371017515659332, 0.6466098427772522, 0.4410421550273895, -0.15979452431201935, -0.13626129925251007, 0.7710862755775452, -0.05039845407009125, 0.36168742179870605, 0.25177666544914246, 0.1415664106607437, -0.4277242422103882, -0.8215280771255493, -0.6288008093833923, -0.048626452684402466, -0.5350426435470581, -0.4422047436237335, -0.68791663646698, 0.20700675249099731, -0.6106111407279968, 0.12768498063087463, -0.1739690750837326, -0.5049267411231995, -0.25472113490104675, -0.3233184814453125, 0.8239580988883972, 0.4108591079711914, -0.051404718309640884, 0.4829646944999695, -0.5513709187507629, 0.7706456184387207, 0.2817228436470032, 0.2619278132915497, -0.19843825697898865, -0.6024037003517151, -0.08727490901947021, 0.24114952981472015, -0.3074958622455597, -0.7880653142929077, 0.44647160172462463, 0.18493050336837769, 0.34168511629104614, 0.3406287729740143, 0.33503103256225586, 0.9060299396514893, -0.24770207703113556, 0.6075834035873413, 0.3297552168369293, -0.9013268947601318, 0.6763319969177246, -0.10818761587142944, 0.13583165407180786, 0.5525256991386414, 0.05529555678367615, -0.14728766679763794, -0.5841197967529297, -0.41618356108665466, -1.0685741901397705, 0.914307713508606, 0.13617347180843353, 0.11108489334583282, 0.2173243910074234, 0.2810721695423126, 0.025806399062275887, 0.10043125599622726, -0.8048446178436279, -0.0045085484161973, -0.006190641317516565, -0.41716331243515015, 0.011666483245790005, -0.1382649689912796, -0.04047750309109688, -0.20048290491104126, 0.6365949511528015, -0.28578779101371765, -0.05352145805954933, 0.18166473507881165, -0.5498877167701721, -0.15689148008823395, 0.23988671600818634, 0.4543096125125885, 0.2157163918018341, -0.03893820941448212, -0.11441955715417862, 0.323923796415329, -0.4553467929363251, 0.15509292483329773, 0.47785577178001404, -0.0722435861825943, 0.15099892020225525, 0.38027575612068176, 0.9563178420066833, -0.1136394664645195, -0.9097126126289368, 0.66730797290802, -0.016759827733039856, -0.044160857796669006, -0.16831821203231812, 0.05821877345442772, 0.07744529843330383, 0.3031661808490753, 0.298809677362442, -0.20718492567539215, 0.4821041524410248, -0.38087329268455505, 0.5137768387794495, 0.5059192180633545, -0.2363189309835434, 0.0887349396944046, 0.4950713515281677, 0.0027118949219584465, -0.08006159216165543, 0.6117359399795532, -0.15094304084777832, -0.4486692547798157, 0.5885363817214966, 0.7014410495758057, 0.4913422465324402, -0.23305457830429077, 0.26944997906684875, 0.04735222086310387, 0.26573610305786133, -0.17468655109405518, 0.14358755946159363, -0.06789500266313553, -0.7648530602455139, -0.5809292793273926, -0.6655296683311462, -0.10957317054271698, 0.46183085441589355, -0.6801504492759705, 0.25934967398643494, -0.2646484673023224, -0.028728092089295387, 0.07633164525032043, -0.2376365065574646, -0.4127068817615509, 0.2687043845653534, 0.33229899406433105, 0.5796094536781311, -1.1749299764633179, 0.7195273637771606, 0.5183283686637878, -0.6005628705024719, -0.6071780920028687, 0.29585421085357666, -0.0726315900683403, -0.6963993906974792, 0.609528660774231, 0.33018457889556885, 0.05982491374015808, -0.3353199064731598, -0.341063529253006, -0.43739286065101624, 1.039680004119873, 0.8659589290618896, -0.8675841093063354, 0.09834904223680496, 0.22772982716560364, 0.6100705862045288, -0.1710406243801117, 0.15796180069446564, 0.509552538394928, 0.3344203233718872, 0.07899884879589081, -0.5569814443588257, 0.36874768137931824, 0.009668142534792423, 0.1698204129934311, 0.20000478625297546, -0.26928481459617615, 0.7373186349868774, 0.006997421383857727, -0.22103723883628845, -0.0653526708483696, 0.6528922319412231, 0.21820512413978577, 0.3281060755252838, 0.7441948652267456, 0.8326885104179382, 0.8612868785858154, -0.07461528480052948, 1.1513803005218506, 0.02388404868543148, 0.23364607989788055, 1.0956835746765137, -0.2730666995048523, 0.5107187628746033, 0.4319429397583008, -0.13871869444847107, 0.4262750744819641, 0.5030853152275085, -0.08107142150402069, 0.24288025498390198, 0.3461882472038269, -0.547310471534729, -0.34291401505470276, -0.20438486337661743, -0.2186020463705063, 0.37782958149909973, 0.4478457272052765, -0.4917047917842865, -0.27373749017715454, 0.40617835521698, -0.04039023816585541, 0.13995295763015747, -0.27786678075790405, 0.894943356513977, -0.1882183998823166, -0.3327151834964752, 0.7383500337600708, -0.13151827454566956, 1.0083110332489014, -0.3224516808986664, -0.18595418334007263, -0.2717443108558655, 0.342157781124115, -0.39827653765678406, -0.738446056842804, 0.33293023705482483, 0.07600244134664536, -0.2908075153827667, -0.12309848517179489, 1.0764135122299194, -0.5801428556442261, -0.5451552271842957, 0.13484372198581696, 0.3793956935405731, 0.028112933039665222, -0.27290135622024536, -0.647635817527771, 0.1635095179080963, -0.048528704792261124, -0.132928267121315, 0.616881251335144, 0.5905349850654602, -0.06435006856918335, 0.6027421355247498, 0.5677966475486755, 0.18308931589126587, -0.21426889300346375, 0.29672133922576904, 1.0931651592254639, -0.04344065487384796, -0.30421382188796997, -0.983367383480072, 0.6147396564483643, -0.5646096467971802, -0.22331461310386658, 0.47741246223449707, 0.23782996833324432, 0.6883081793785095, -0.14205755293369293, 0.6671773791313171, -0.270254909992218, 0.40209928154945374, -0.5244424343109131, 0.6382355690002441, -0.5694588422775269, 0.3282568156719208, -0.4446949064731598, -0.7130333185195923, -0.22604703903198242, 0.6871170401573181, -0.002681192010641098, -0.0305270254611969, 0.3230210840702057, 1.0625227689743042, -0.21935613453388214, -0.09965327382087708, 0.5368616580963135, 0.3317480981349945, 0.2599797248840332, 0.4002898633480072, 0.694296658039093, -0.3620721697807312, 0.5647435784339905, -0.29727503657341003, -0.2858157157897949, -0.2870519161224365, -0.8621755838394165, -0.685018002986908, -0.4850156009197235, -0.5157102346420288, -0.2614413797855377, -0.09703431278467178, 0.6866357922554016, 0.6970832347869873, -0.6581049561500549, 0.4718207120895386, -0.5468800663948059, 0.1281900256872177, -0.1555289477109909, -0.3236098885536194, 0.16424863040447235, -0.5056949257850647, -0.771818995475769, 0.5622615814208984, 0.006044140551239252, 0.22584545612335205, -0.3216046094894409, 0.13419389724731445, -0.01912316121160984, -0.3480475842952728, 0.6521055698394775, -0.13771501183509827, -0.4847579598426819, -0.38511091470718384, -0.44619137048721313, -0.05457001551985741, 0.019957536831498146, 0.6738060712814331, -0.8454171419143677, 0.4850853979587555, 0.3469103276729584, 0.8428082466125488, 0.3945581912994385, 0.0781652107834816, 0.47081512212753296, -1.1752946376800537, 0.36308836936950684, 0.32283255457878113, 0.5522127151489258, 0.6926631331443787, -0.8059804439544678, 0.3145465552806854, 0.3927389085292816, -0.3748838007450104, -1.1136136054992676, 0.43460872769355774, -0.8223385214805603, -0.5071033239364624, 1.052758812904358, -0.31765347719192505, 0.04419804364442825, -0.1618489921092987, -0.3622484803199768, 0.48633548617362976, -0.4956287741661072, 0.9889550805091858, 0.583006739616394, -0.07846001535654068, -0.1979307383298874, -0.31353551149368286, 0.548653781414032, 0.534785270690918, -1.046525239944458, 0.3419358730316162, 0.8830793499946594, 0.1754898577928543, 0.060874324291944504, 0.1663798838853836, 0.017223555594682693, 0.07991998642683029, 0.12262177467346191, 0.1114414781332016, -0.2672346234321594, 0.01848525181412697, -0.5150094628334045, 0.07053889334201813, 0.010666316375136375, -0.13588044047355652 ]
http://arxiv.org/abs/2403.08217v1
http://arxiv.org/pdf/2403.08217v1
Research on the Application of Deep Learning-based BERT Model in Sentiment Analysis
2024-03-13T03:31:26
2024-03-13T03:31:26
Yichao Wu, Zhengyu Jin, Chenxi Shi, Penghao Liang, Tong Zhan
cs.CL
cs.CL, cs.LG
This paper explores the application of deep learning techniques, particularly focusing on BERT models, in sentiment analysis. It begins by introducing the fundamental concept of sentiment analysis and how deep learning methods are utilized in this domain. Subsequently, it delves into the architecture and characteristics of BERT models. Through detailed explanation, it elucidates the application effects and optimization strategies of BERT models in sentiment analysis, supported by experimental validation. The experimental findings indicate that BERT models exhibit robust performance in sentiment analysis tasks, with notable enhancements post fine-tuning. Lastly, the paper concludes by summarizing the potential applications of BERT models in sentiment analysis and suggests directions for future research and practical implementations.
[ -0.5270707011222839, -0.7493038773536682, 0.3720935583114624, 0.3616696298122406, -0.5039708018302917, 0.0036638902965933084, -0.3399351239204407, -0.5147637724876404, -0.08421070128679276, 0.23276127874851227, -0.9020677804946899, -0.49561986327171326, -0.3888424038887024, -0.4411296844482422, -0.24345605075359344, 0.9252597093582153, 0.2521921694278717, 0.6993083357810974, 0.06735600531101227, 0.02255144901573658, -0.5081428289413452, -0.5426746606826782, -0.6682658791542053, -0.282968133687973, 0.6370887160301208, 0.1775655448436737, 0.6673781275749207, -0.31473103165626526, 0.8385229706764221, 0.2755815386772156, -0.22838231921195984, -0.11970185488462448, -0.36907947063446045, 0.250074177980423, 0.15400968492031097, -0.3291037976741791, -0.39670974016189575, 0.2455953061580658, 0.6321412920951843, 0.8584751486778259, 0.24404588341712952, -0.010303002782166004, 0.21041005849838257, 0.6660326719284058, -0.32994726300239563, 0.09333706647157669, -0.624864399433136, 0.40327778458595276, 0.07777846604585648, 0.14996977150440216, -0.3993033766746521, -0.7510790824890137, 0.6249334812164307, 0.10600949078798294, 0.2868678569793701, -0.3147432208061218, 0.9356164932250977, 0.049540549516677856, -0.08023015409708023, -0.4686904847621918, -0.6358282566070557, 1.2250478267669678, -1.2645632028579712, 0.3596058785915375, -0.29825446009635925, 0.29862135648727417, 0.19398850202560425, -0.5187397003173828, -0.5368841290473938, -0.29752421379089355, 0.1330195665359497, 0.23506106436252594, 0.23019222915172577, 0.1728154718875885, -0.2589137852191925, 0.7424625754356384, -0.33806800842285156, 0.31122609972953796, -0.01480186264961958, 0.21783636510372162, 0.5927145481109619, 0.25474196672439575, -0.19288554787635803, -0.28883734345436096, -0.4542523920536041, -0.1643635779619217, -0.04635894298553467, 0.3995897173881531, 0.2537855803966522, 0.783723771572113, 0.12075376510620117, 0.19721052050590515, -0.02090122178196907, 0.5268537998199463, -0.15325669944286346, 0.3969089686870575, 0.4492848515510559, 0.21122874319553375, -0.6868931651115417, -0.34607112407684326, 0.5429980158805847, 0.36611172556877136, 0.29722148180007935, 0.17060105502605438, -0.29416394233703613, -0.03958028927445412, 0.4689435064792633, -0.7480881810188293, -0.24065740406513214, 0.22681035101413727, -1.2050631046295166, -0.8642631769180298, -0.2573484778404236, -0.8734191656112671, -0.48695293068885803, -0.3982457220554352, 0.32703572511672974, -0.4908464550971985, -0.42504584789276123, 0.12070906162261963, -0.2399318963289261, 0.6051933169364929, 0.3561204969882965, -0.5743535757064819, 0.22855523228645325, 0.9162930846214294, 0.6181028485298157, 0.06887085735797882, -0.05645401403307915, 0.11891886591911316, -0.7067583203315735, -0.4907273054122925, 0.4610215127468109, -0.5572826266288757, -0.34679609537124634, 0.4038727879524231, -0.24167433381080627, 0.2339075356721878, -0.27494552731513977, 0.8447345495223999, -0.8848642706871033, -0.15807265043258667, -0.4523926377296448, -0.9721803069114685, -0.6938721537590027, 0.537699818611145, -0.4876086413860321, 0.6215019226074219, -0.2468031346797943, -0.5204315185546875, 0.47470879554748535, -0.7811866998672485, -0.5868344306945801, -0.23752909898757935, 0.35509538650512695, -0.6443657279014587, 0.9484421610832214, 0.37155765295028687, 1.053983211517334, 0.1735120564699173, 0.11761277914047241, -0.6875389814376831, -0.2777494192123413, 0.5670645236968994, -0.38986101746559143, 1.1471062898635864, 0.6121265292167664, -0.14594517648220062, -0.13911673426628113, -0.36143073439598083, 0.20313125848770142, 0.010675942525267601, -0.18174222111701965, -0.44794225692749023, 0.3133988678455353, 0.2131788432598114, -0.14297057688236237, 0.4628300070762634, -0.6621126532554626, 0.22417297959327698, -0.48819127678871155, 0.24283264577388763, 0.7584822773933411, 0.03316180035471916, 0.3135211169719696, 0.1803189516067505, 0.11186972260475159, -0.045990172773599625, 0.45727160573005676, 0.12586171925067902, -0.3966762125492096, -0.9257538914680481, -0.16286103427410126, 0.8549767136573792, 0.28389254212379456, -0.11880072206258774, 0.6516717076301575, 0.019591642543673515, -0.6086426973342896, -0.7653993964195251, -0.05134492367506027, -0.16669851541519165, 0.43685629963874817, 0.17084677517414093, -0.4532356560230255, -0.6542193293571472, -0.8968048095703125, -0.30351513624191284, 0.03442817181348801, 0.4273649752140045, 0.3174111545085907, 0.22678883373737335, -0.3834224045276642, 0.8809391856193542, -0.41853415966033936, -0.0999484583735466, -0.384996622800827, 0.6876423358917236, 0.5151954889297485, 0.4337627589702606, 0.7932943105697632, -0.6537483334541321, -0.358234167098999, -0.21638274192810059, -0.8017980456352234, 0.40828630328178406, -0.11975019425153732, -0.04879376292228699, 0.10663197934627533, 0.04136274755001068, -0.2653757631778717, 0.2222345620393753, 0.4643888771533966, 0.112433061003685, 0.3390677869319916, 0.14133363962173462, -0.19832588732242584, -0.6412738561630249, -0.16633127629756927, 0.2524208724498749, -0.12374739348888397, -0.6097692251205444, 0.28591644763946533, -0.13140243291854858, -0.24388544261455536, -0.2701038718223572, 0.05003412440419197, 0.0004105157277081162, 0.05829109996557236, -0.4927913248538971, -0.4272424578666687, -0.012810159474611282, 0.37503182888031006, 0.1690477579832077, 0.27011266350746155, 0.629670262336731, -0.3522510528564453, 0.4193003475666046, -0.0703660324215889, -0.6097664833068848, 0.07869566231966019, -0.47824627161026, 0.03567830100655556, -0.13200490176677704, -0.20425233244895935, -1.4550114870071411, 0.18512049317359924, 0.0988977700471878, -0.7686560153961182, 0.4221900403499603, 0.21136711537837982, -0.5033547878265381, -0.5857673287391663, -0.7035967111587524, -0.14482872188091278, 0.8916024565696716, -0.6509943008422852, 0.5819668769836426, 0.1747373640537262, -0.2834565341472626, -0.6205740571022034, -0.7610958814620972, -0.02748231776058674, -0.19814066588878632, -0.42443594336509705, -0.0030893643852323294, -0.030429890379309654, -0.21154120564460754, 0.05003656819462776, 0.34088459610939026, -0.2528156638145447, 0.30398455262184143, 0.004844144452363253, 0.10938804596662521, -0.2997722327709198, 0.385166734457016, 0.21021287143230438, 0.26547181606292725, 0.33259299397468567, 0.10166060924530029, 0.40901637077331543, -0.4412734806537628, 0.014710603281855583, -0.6127800941467285, 0.5156726241111755, 0.43144625425338745, -0.026998596265912056, 0.5297242999076843, 0.8630865216255188, -0.23304152488708496, -0.2768339216709137, -0.7441904544830322, -0.22336208820343018, -0.4643140435218811, 0.4797195494174957, -0.0070251342840492725, -0.5707058310508728, 0.460873544216156, -0.47606855630874634, -0.003919447306543589, 0.45860326290130615, 0.7101040482521057, -0.9316596388816833, 1.0571625232696533, 0.9039669632911682, -0.7091805338859558, 0.7488973140716553, -0.4395797848701477, 0.4653664827346802, -0.7063816785812378, 0.05912706255912781, -0.4335194230079651, -0.6631118655204773, -0.4002928137779236, 0.08643922954797745, -0.04155433550477028, 0.056864701211452484, -0.2788754403591156, -0.2901119589805603, -0.639671802520752, -0.04143946245312691, 0.6829720139503479, 0.39151376485824585, -0.3117291331291199, 0.1526125967502594, -0.22036920487880707, -0.30058348178863525, -0.3380657732486725, -0.4233439266681671, 0.9961472153663635, 0.8598616719245911, 0.9485448598861694, -0.3069722056388855, 0.7653613090515137, 0.8484571576118469, 0.21081247925758362, -1.1161974668502808, 0.54326331615448, -0.4636787176132202, -0.6248416304588318, -0.2969411313533783, -0.03341861069202423, -0.519055962562561, -0.00783900823444128, -0.014688166789710522, -0.2663429081439972, 0.500752866268158, -0.04553772881627083, -0.38579219579696655, 0.1681201308965683, -0.7178571820259094, 0.5862541198730469, -0.5430879592895508, 0.042828839272260666, -0.4209796190261841, -0.6967419385910034, 0.20132307708263397, 0.28465914726257324, 0.09481556713581085, -0.06028095632791519, 0.4722265899181366, 0.7213688492774963, -0.1478901505470276, 1.4586085081100464, -0.8471875786781311, -0.21141913533210754, 0.4485975205898285, -0.20618607103824615, 0.3857978284358978, 0.06789099425077438, -0.4220486283302307, 0.3425019085407257, -0.6240520477294922, -0.1748906821012497, -0.45821860432624817, 0.817733883857727, -0.920782208442688, -0.28405413031578064, -0.2692852020263672, -0.6097898483276367, -0.4251065254211426, 0.015612618066370487, -0.22457027435302734, 0.13767017424106598, -0.2978401482105255, 0.18907056748867035, 0.8330398201942444, -0.2105693370103836, 0.7345322966575623, 0.04213029146194458, -0.10123313963413239, -0.431230366230011, 0.8140363097190857, 0.057038795202970505, -0.15798643231391907, 0.3778421878814697, 0.3722592294216156, -0.19925470650196075, -0.7294774651527405, -0.1451609581708908, -0.01784324273467064, -0.6599265336990356, -0.2895641326904297, -0.33549264073371887, -0.16524812579154968, -0.46080830693244934, -0.3474646210670471, -0.2853909432888031, -0.32256823778152466, -0.2836698591709137, -0.1298023760318756, 0.40256810188293457, 0.5450810194015503, -0.10209044069051743, 0.3558022081851959, -0.698126494884491, 0.24796684086322784, 0.7826168537139893, 0.48392245173454285, 0.4552392065525055, -0.07505025714635849, -0.24747629463672638, 0.22809626162052155, -0.37362390756607056, -0.7514828443527222, 0.5415864586830139, 0.11457492411136627, 0.5452142953872681, 0.49541544914245605, -0.12485634535551071, 0.4697358012199402, -0.2275269627571106, 1.000373125076294, 0.03952491655945778, -1.214471697807312, 0.7251291871070862, -0.2960260808467865, -0.170848548412323, 0.5413212776184082, 0.3099828362464905, -0.06639426201581955, -0.14949743449687958, -0.2579585313796997, -0.5717649459838867, 0.3292081356048584, -0.03190933167934418, 0.6699067950248718, 0.19491389393806458, 0.5377331972122192, 0.2037556916475296, 0.4014590084552765, -0.6872743368148804, -0.09599439054727554, -0.43960824608802795, -0.42452314496040344, 0.03202264755964279, -0.7141571640968323, 0.13132122159004211, -0.6408913731575012, 0.6993508338928223, -0.012458155862987041, 0.6351208090782166, 0.12175960093736649, -0.04083907976746559, -0.0038949386216700077, 0.17136390507221222, 0.3229748606681824, 0.1251564472913742, -0.6074883341789246, -0.454280823469162, 0.2973093092441559, -0.1141500249505043, -0.42940330505371094, 0.11679324507713318, -0.013522754423320293, 0.18099531531333923, 0.3640787601470947, 0.5212901830673218, -0.048533085733652115, -0.4234316349029541, 0.5611920356750488, -0.06805265694856644, -0.11725614219903946, -0.3964540958404541, -0.1823001503944397, 0.12023405730724335, 0.5720880627632141, 0.39554497599601746, 0.2521648705005646, 0.5907367467880249, -0.6560320258140564, -0.18525075912475586, 0.9430016279220581, -0.8442791104316711, -0.09303422272205353, 0.06390931457281113, 0.27110716700553894, 0.05025620386004448, 0.9088514447212219, 0.10745201259851456, -0.6995760798454285, 0.704067587852478, 0.05143299326300621, 0.9359222650527954, -0.0788351371884346, 0.04487796500325203, -0.17660486698150635, 0.13252678513526917, 0.41276615858078003, 0.8751935958862305, -0.04068024456501007, -0.752505362033844, -0.49491867423057556, -0.7079039812088013, -0.49115046858787537, 0.14472177624702454, -0.8159621357917786, 0.12432478368282318, -0.5186437368392944, -0.4690572917461395, 0.17831234633922577, 0.25973987579345703, -0.8496448397636414, 0.7315957546234131, 0.5804594159126282, 0.9451914429664612, -0.8392760157585144, 0.9216276407241821, 0.6756036281585693, -0.18662230670452118, -0.5400803685188293, 0.025069033727049828, -0.40537914633750916, -0.8614479899406433, 1.0045855045318604, 0.16857358813285828, -0.03452359512448311, -0.3355939984321594, -1.0246127843856812, -0.30068737268447876, 0.6053962707519531, -0.16450677812099457, -0.3908410370349884, 0.17033623158931732, 0.007407438475638628, 0.8861108422279358, -0.5026615858078003, -0.11619139462709427, 0.37566500902175903, 0.5105118155479431, -0.20987482368946075, -0.35435566306114197, -0.3323453664779663, -0.2336721420288086, 0.19164258241653442, -0.11482734978199005, -0.731441855430603, 1.1330606937408447, -0.018208332359790802, 0.5234785676002502, 0.3305923342704773, 0.9525915384292603, -0.23351095616817474, 0.16213810443878174, 0.33263877034187317, 0.7187114357948303, 0.6473585963249207, -0.06826114654541016, 0.7617373466491699, 0.03396836295723915, 0.8529617786407471, 0.7193981409072876, -0.38283342123031616, 0.921963632106781, 0.3453422486782074, -0.07648876309394836, 0.8025093674659729, 0.5660405158996582, -0.5419595241546631, 1.1268600225448608, 0.18562284111976624, -0.1900084763765335, -0.22450648248195648, 0.022243350744247437, -0.4692382216453552, 0.3917928636074066, 0.6686049699783325, -0.8632160425186157, -0.029515720903873444, 0.3232937455177307, -0.2235182225704193, -0.21620193123817444, -0.6931049823760986, 0.8117406964302063, 0.0257212333381176, -0.1449468582868576, 0.13808859884738922, -0.07089950889348984, 0.8829545974731445, -0.39182141423225403, -0.07449138909578323, 0.003979945555329323, 0.5427443385124207, -0.012778756208717823, -0.9095261096954346, 0.23038427531719208, -0.22083790600299835, -0.26204946637153625, -0.2584427297115326, 1.1151641607284546, 0.27262768149375916, -0.8479406833648682, 0.44729846715927124, 0.3520829379558563, -0.20247089862823486, -0.12776446342468262, -0.9724090695381165, 0.09808618575334549, 0.0676279291510582, -0.4390355348587036, 0.01109570637345314, 0.6851810812950134, 0.42550286650657654, 0.33384808897972107, 0.5059106349945068, -0.017651231959462166, 0.08308065682649612, 0.4255611002445221, 1.007676601409912, -0.9602222442626953, -0.21238140761852264, -1.0208854675292969, 0.6190454363822937, -0.2095051258802414, -0.0809895470738411, 0.8437583446502686, 0.29722756147384644, 0.5742871165275574, -0.5730304718017578, 1.1537591218948364, -0.033076897263526917, 0.9077411890029907, -0.29738107323646545, 0.8241161704063416, -0.3595953583717346, -0.1425570398569107, -0.5177849531173706, -0.43646422028541565, -0.664695143699646, 0.8408663868904114, -0.5098931193351746, 0.22145581245422363, 0.23514819145202637, 0.23339858651161194, 0.16229748725891113, 0.40536314249038696, 0.09030423313379288, 0.225526824593544, 0.16712135076522827, 0.13046392798423767, 1.1093895435333252, -0.4622834026813507, 0.05511168763041496, -0.6264132857322693, 0.08298858255147934, -0.6774144172668457, -0.8635337948799133, -1.1710327863693237, -0.31287309527397156, -0.07497701793909073, -0.03338449075818062, 0.13772810995578766, 0.5534893870353699, 0.8034138679504395, -0.9763053059577942, -0.10481741279363632, -0.08907485753297806, -0.03404557704925537, -0.5392310619354248, -0.3271268606185913, 0.3794134855270386, -1.0806292295455933, -0.6593931317329407, 0.050952162593603134, -0.23269367218017578, -0.04854729026556015, -0.4585006535053253, 0.20340092480182648, -0.1448686420917511, 0.2821163237094879, 0.8075308203697205, -0.2375984638929367, -0.6646690368652344, -0.25341254472732544, -0.007995971478521824, 0.08902842551469803, -0.014194359071552753, 0.9368739724159241, -1.0208159685134888, 0.39011600613594055, 0.6778654456138611, 0.756805419921875, 0.28548362851142883, -0.0755588710308075, 0.4793465733528137, -0.8946762681007385, -0.14215697348117828, 0.5552312135696411, 0.47804921865463257, 0.2536616921424866, -0.49552351236343384, 0.2114957571029663, -0.2386181801557541, -0.557345986366272, -0.6772310733795166, -0.10065516829490662, -1.2365639209747314, -0.6202198266983032, 0.5740340948104858, -0.14728260040283203, 0.0806654840707779, 0.19190473854541779, -0.2740575075149536, 0.24311178922653198, -0.5823795199394226, 1.0475939512252808, 0.765359103679657, -0.30732959508895874, -0.20050546526908875, -0.33418428897857666, 0.23028945922851562, 0.6322717070579529, -0.33974403142929077, -0.1572479009628296, 0.04160548374056816, 0.016925323754549026, 0.17980080842971802, 0.015010075643658638, 0.03781980648636818, -0.07229628413915634, -0.3036148250102997, 0.2770925760269165, 0.13982875645160675, -0.1029510498046875, -0.6755313277244568, 0.577583909034729, 0.3183387219905853, -0.4736662209033966 ]
http://arxiv.org/abs/2403.08213v1
http://arxiv.org/pdf/2403.08213v1
Can Large Language Models Identify Authorship?
2024-03-13T03:22:02
2024-03-13T03:22:02
Baixiang Huang, Canyu Chen, Kai Shu
cs.CL
cs.CL
The ability to accurately identify authorship is crucial for verifying content authenticity and mitigating misinformation. Large Language Models (LLMs) have demonstrated exceptional capacity for reasoning and problem-solving. However, their potential in authorship analysis, encompassing authorship verification and attribution, remains underexplored. This paper conducts a comprehensive evaluation of LLMs in these critical tasks. Traditional studies have depended on hand-crafted stylistic features, whereas state-of-the-art approaches leverage text embeddings from pre-trained language models. These methods, which typically require fine-tuning on labeled data, often suffer from performance degradation in cross-domain applications and provide limited explainability. This work seeks to address three research questions: (1) Can LLMs perform zero-shot, end-to-end authorship verification effectively? (2) Are LLMs capable of accurately attributing authorship among multiple candidates authors (e.g., 10 and 20)? (3) How can LLMs provide explainability in authorship analysis, particularly through the role of linguistic features? Moreover, we investigate the integration of explicit linguistic features to guide LLMs in their reasoning processes. Our extensive assessment demonstrates LLMs' proficiency in both tasks without the need for domain-specific fine-tuning, providing insights into their decision-making via a detailed analysis of linguistic features. This establishes a new benchmark for future research on LLM-based authorship analysis. The code and data are available at https://github.com/baixianghuang/authorship-llm.
[ -0.09310603886842728, -0.7424179315567017, 1.0982035398483276, 0.13292740285396576, 0.006257173139601946, 0.13885705173015594, -0.6463845372200012, -0.5078502297401428, 0.01810590736567974, 0.7203373908996582, -0.3168640732765198, -0.4393550753593445, -0.8780182003974915, 0.40320414304733276, -0.47871941328048706, 0.6641280651092529, -0.13150803744792938, -0.14344671368598938, -0.6328251957893372, -0.01859583519399166, -0.36020371317863464, -0.40759700536727905, -0.502676248550415, -0.3144467771053314, 0.8871265053749084, 0.20058628916740417, 0.4042935371398926, 0.7095317244529724, 0.2998732328414917, 0.3456259071826935, -0.16089433431625366, 0.15549635887145996, -0.5740281939506531, 0.026979776099324226, -0.13561388850212097, -0.35331010818481445, -0.5125392079353333, 0.07983016967773438, 0.6889321804046631, 0.6807286739349365, 0.1484661102294922, 0.4339894652366638, 0.060515161603689194, 0.2240365445613861, -0.7160552144050598, 0.14872942864894867, -0.7007027268409729, -0.3446893095970154, -0.25125357508659363, -0.361213743686676, -0.768197774887085, -0.6084827780723572, -0.08445946127176285, -0.35721293091773987, -0.019554905593395233, 0.03629958629608154, 0.5956825017929077, 0.193989098072052, -0.6134485602378845, -0.5358743071556091, -0.5425997376441956, 0.9670988917350769, -0.8018116354942322, 0.06712925434112549, 0.19111254811286926, 0.05785593017935753, -0.01820097304880619, -0.35549917817115784, -0.6151824593544006, -0.2718279957771301, -0.28941109776496887, -0.20533931255340576, 0.10065773129463196, -0.20735694468021393, 0.1416449248790741, 0.44392403960227966, -0.6083937287330627, 0.5656015872955322, -0.01826287992298603, -0.1707330048084259, 0.7598516345024109, -0.01751115545630455, 0.5329328775405884, -0.04895620048046112, -0.2940340042114258, 0.21242736279964447, -0.7597683072090149, 0.021459948271512985, 0.6754414439201355, 0.34246623516082764, -0.15809926390647888, 0.6620921492576599, 0.05806930363178253, 0.6583930253982544, -0.16570281982421875, -0.03833429887890816, 0.0023844235111027956, -0.07829263061285019, -0.0489635244011879, 0.15219512581825256, 0.8669516444206238, -0.05960998311638832, 0.6179110407829285, -0.27407801151275635, -0.12775647640228271, -0.3570452928543091, 0.10039455443620682, -0.5405884385108948, 0.05715048313140869, 0.358807235956192, -0.3371846675872803, -0.33793899416923523, 0.2929074466228485, -0.28170129656791687, -0.6574887633323669, -0.36997729539871216, 0.4303210377693176, -0.07015255093574524, -0.4377991855144501, 0.11167992651462555, 0.005632009357213974, 0.4438991844654083, 0.31665483117103577, -0.7583314180374146, 0.17995627224445343, 1.0669512748718262, 0.6085249781608582, -0.30317142605781555, -0.5936599969863892, -0.5060018301010132, 0.08928386121988297, -0.5395308136940002, 0.4708186686038971, -0.47668805718421936, 0.33210983872413635, 0.18216286599636078, 0.028633952140808105, -0.20371320843696594, -0.3712637722492218, 0.3100910186767578, -0.6106802821159363, 0.1082117035984993, -0.41227298974990845, -0.7807866930961609, 0.03134382143616676, 0.18214507400989532, -0.6086715459823608, 0.6874111294746399, -0.07536964118480682, -0.49445071816444397, 0.3103896379470825, -0.334083616733551, -0.397817462682724, 0.17254216969013214, -0.102232925593853, -0.36921778321266174, 0.22619611024856567, 0.17742294073104858, 0.9409404397010803, -0.5260961651802063, 0.439726859331131, -0.29648327827453613, -0.34593331813812256, 0.6721463799476624, -0.12274261564016342, 1.0104236602783203, -0.06236623227596283, -0.07635345309972763, 0.04174986854195595, -0.6968223452568054, 0.020480595529079437, 0.30739787220954895, -0.09539829939603806, -0.1272890269756317, -0.13782934844493866, 0.029396384954452515, -0.17616833746433258, 0.47395023703575134, -0.5739704966545105, 0.12410236150026321, -0.07269203662872314, 0.2352018505334854, 0.6688843965530396, -0.0980372205376625, 0.24518834054470062, -0.2654492259025574, 0.6859397292137146, -0.685266375541687, -0.15280187129974365, -0.376674622297287, -0.46976757049560547, -0.3532728850841522, -0.6084457635879517, 0.4224894940853119, 0.5811280608177185, -0.4567919671535492, 0.6060251593589783, -0.3831094801425934, -0.5040724873542786, -0.3383193016052246, 0.4282470643520355, 0.6502813696861267, 0.17915113270282745, 0.19270388782024384, -0.07451432198286057, -0.30594027042388916, -0.7113407850265503, -0.6456933617591858, -0.0410529263317585, -0.17800548672676086, 0.24602161347866058, 0.6766895651817322, 0.3018318712711334, 0.7298566102981567, -0.487698495388031, -0.12286224216222763, -0.47218814492225647, 0.2675345838069916, 0.32137128710746765, 0.2653871476650238, 0.4632570147514343, -0.4695538878440857, -0.613347589969635, 0.14582887291908264, -1.0593026876449585, -0.4825671911239624, -0.309162974357605, 0.07014459371566772, -0.09189969301223755, 0.6881859302520752, -0.6771950125694275, 0.24292495846748352, 0.38976576924324036, -0.41168856620788574, 0.6960000991821289, -0.15330015122890472, 0.2038990706205368, -0.6163336634635925, 0.32989808917045593, -0.03859604150056839, -0.1575935333967209, -0.5458235144615173, 0.2689768075942993, 0.08844096213579178, 0.09645136445760727, -0.167281374335289, 0.6041273474693298, -0.8559785485267639, -0.08737900108098984, -0.17837615311145782, 0.18023188412189484, -0.09110023826360703, 0.49101898074150085, -0.15901578962802887, 0.3551335632801056, 0.4768102467060089, -0.1651354432106018, 0.49909958243370056, 0.11008347570896149, -0.7256526947021484, 0.5729787349700928, -0.7484265565872192, 0.16400206089019775, -0.074024498462677, 0.1655666083097458, -1.1555278301239014, -0.3616181015968323, -0.0936155840754509, -0.6039738655090332, 0.42453619837760925, -0.3773614168167114, -0.867595911026001, 0.023867959156632423, -0.22387216985225677, 0.3349648118019104, 0.3197086751461029, -0.2649289071559906, 0.6691651940345764, 0.07791703194379807, -0.5233755111694336, -0.5594789981842041, -0.442828893661499, 0.3213183283805847, -0.23590728640556335, -0.5632476210594177, 0.23713625967502594, 0.2355324625968933, -0.39452657103538513, -0.10327102988958359, 0.36403438448905945, -0.10540366917848587, 0.2530093193054199, 0.08189196139574051, 0.1954822987318039, -0.14373880624771118, -0.0476175919175148, -0.08010435849428177, -0.17119182646274567, 0.136662557721138, -0.00849291030317545, 0.19506655633449554, 0.21807768940925598, -0.3802507817745209, -0.4053996503353119, 0.25295230746269226, 0.7526103854179382, -0.42175161838531494, 0.9153102040290833, 0.5037751197814941, -0.3092980682849884, -0.3601229190826416, -0.7333621978759766, -0.04185905680060387, -0.36514580249786377, 0.24315130710601807, -0.0975259467959404, -0.8952696919441223, 0.7098604440689087, 0.14058439433574677, 0.004076952114701271, 0.47326943278312683, 0.6361094117164612, 0.018387367948889732, 0.4360008239746094, 0.6245108246803284, 0.029445847496390343, 0.05768604949116707, -0.05140318349003792, 0.3135187327861786, -0.7701889276504517, -0.2450571060180664, -0.6357120275497437, -0.22978192567825317, -0.4407566487789154, -0.2906780540943146, 0.16911858320236206, -0.23831269145011902, -0.20019201934337616, 0.34421658515930176, -0.3064475357532501, 0.6380626559257507, 0.25502991676330566, -0.14906522631645203, 0.3147258460521698, -0.3108276128768921, 0.1742781102657318, 0.09460736811161041, -0.19370529055595398, -0.7507262229919434, 1.146758794784546, 0.353518545627594, 0.6558847427368164, 0.309314489364624, 0.4375097453594208, 0.45810604095458984, 0.10913892835378647, -0.5118971467018127, 0.6332457661628723, -0.17354820668697357, -0.6774947643280029, -0.5661914348602295, -0.3388479948043823, -0.6157150268554688, 0.21578449010849, -0.3222101926803589, -0.9570819139480591, -0.03299693390727043, -0.041652388870716095, -0.3128061592578888, 0.28579163551330566, -0.5034512877464294, 0.8805941939353943, -0.40852564573287964, -0.5011863112449646, 0.029865536838769913, -0.5528209209442139, 0.26189133524894714, -0.40982481837272644, 0.2282031923532486, -0.150051087141037, 0.044091250747442245, 0.6650404334068298, -0.18352511525154114, 0.9312185645103455, -0.12178327143192291, -0.5637795329093933, 0.015355449169874191, 0.13339971005916595, 0.3983689546585083, -0.025720005854964256, -0.3600904047489166, 0.24062480032444, -0.10643468052148819, -0.23890899121761322, -0.64401775598526, 0.8442906737327576, -0.5344374179840088, -0.39344245195388794, -0.22641459107398987, -0.32131701707839966, -0.170001819729805, 0.20892362296581268, 0.14031843841075897, 0.3911423981189728, -0.08897221088409424, 0.5329292416572571, 0.488770455121994, -0.5487197637557983, 0.22402235865592957, 0.234342560172081, -0.1382727175951004, -0.2833109200000763, 0.8701195120811462, 0.059479814022779465, 0.219017893075943, 0.5177956819534302, 0.2512946128845215, -0.12144576758146286, -0.6763213872909546, -0.5007454752922058, 0.5104123950004578, -0.5836101174354553, 0.1449335217475891, -0.6141467094421387, -0.021793395280838013, -0.2695486545562744, -0.4313693046569824, -0.28371384739875793, -0.2744910418987274, -0.23920327425003052, 0.07302422821521759, 0.042866144329309464, 0.7656501531600952, 0.368561714887619, 0.39630237221717834, -0.3479871153831482, 0.3256925046443939, 0.18906953930854797, 0.2608749568462372, 0.3295113444328308, -0.6902487277984619, -0.30627092719078064, -0.24058587849140167, -0.04954037070274353, -0.7135491967201233, 0.0469442680478096, 0.06255651265382767, 0.6917934417724609, 0.2962675988674164, -0.19148759543895721, 0.3562554717063904, -0.41609126329421997, 0.9139121174812317, -0.07622751593589783, -1.0509449243545532, 0.25915029644966125, -0.48131856322288513, 0.11761051416397095, 0.38413819670677185, 0.3807334899902344, -0.3122839629650116, -0.4808884859085083, -0.2675114870071411, -0.708884060382843, 0.6215560436248779, 0.27923592925071716, 0.1092725396156311, 0.30007174611091614, 0.548222005367279, 0.34060099720954895, 0.12514962255954742, -0.8136897087097168, -0.01760111376643181, 0.40207067131996155, -0.14319276809692383, -0.301159143447876, -0.5403240919113159, 0.04792095720767975, -0.13211502134799957, 0.6118913292884827, -0.1636287420988083, 0.06461024284362793, -0.11940185725688934, -0.28830575942993164, 0.04897242411971092, 0.3289766311645508, 0.5637521743774414, 1.0029383897781372, -0.021580079570412636, 0.011121731251478195, 0.11158965528011322, 0.07295357435941696, 0.00006758912786608562, 0.0005132912774570286, 0.08596246689558029, -0.13641610741615295, 1.1974059343338013, 0.4629440903663635, 0.08647710084915161, -0.4853353798389435, 0.9063448905944824, 0.2260921150445938, -0.2348024845123291, -0.3972568213939667, -0.09775132685899734, 0.265753835439682, 0.27218762040138245, 0.4247739315032959, -0.4636402428150177, -0.0916983038187027, -0.5271545648574829, -0.12688438594341278, 0.44732582569122314, -0.13019801676273346, -0.4266141355037689, 0.5411046743392944, 0.04515664279460907, -0.1193249374628067, 0.4096680283546448, 0.08487758785486221, -0.455282062292099, 0.8479801416397095, 0.2949182987213135, 1.0605908632278442, -0.08883663266897202, 0.06828029453754425, 0.1396595686674118, 0.40604162216186523, -0.026840422302484512, 0.06681954115629196, -0.08273278176784515, -0.6835103631019592, -0.830024242401123, -0.5325984954833984, -0.53128582239151, -0.02200016938149929, -0.5231267809867859, 0.3095274865627289, -0.3302467465400696, 0.11580891907215118, 0.435743510723114, -0.1614282876253128, -0.4404415488243103, 0.01753998175263405, 0.3166193962097168, 0.3386131823062897, -1.0408549308776855, 0.3819252848625183, 0.5260769724845886, -0.06240048259496689, -0.45944738388061523, -0.09956343472003937, 0.30655017495155334, -0.8454957008361816, 0.6087857484817505, 0.21203067898750305, -0.22836799919605255, -0.12912517786026, -0.8033139109611511, -0.5000935792922974, 1.0048902034759521, 0.6974009871482849, -0.2696283459663391, 0.11856677383184433, 0.26507696509361267, 0.552123486995697, -0.4339759945869446, 0.3772665560245514, 0.10898204147815704, 0.5368634462356567, 0.14181432127952576, -1.0406930446624756, 0.19706545770168304, -0.025809481739997864, -0.1384003460407257, 0.05484237149357796, -0.4168201982975006, 0.7633078098297119, -0.28843045234680176, 0.09815593808889389, 0.1444423645734787, 0.35715195536613464, 0.1601332277059555, 0.22384296357631683, 0.36017364263534546, 0.2926498353481293, 0.7054778933525085, -0.04891311377286911, 0.8965782523155212, -0.24533461034297943, 0.382362425327301, 1.1024434566497803, -0.5261107087135315, 0.6799041032791138, 0.41167810559272766, -0.14133934676647186, 0.5568033456802368, 0.0985967293381691, -0.21139466762542725, 0.15095651149749756, 0.45692601799964905, -0.03642657399177551, -0.47152411937713623, -0.08703779429197311, -0.0681038573384285, 0.6467593312263489, 0.009658938273787498, -0.6403025388717651, 0.07238400727510452, 0.015136927366256714, 0.22521542012691498, 0.22443436086177826, 0.0187020655721426, 0.7433203458786011, 0.1859743595123291, -0.5829007029533386, 0.3714112639427185, -0.024614645168185234, 0.544513463973999, -0.5599613785743713, -0.00385743728838861, 0.14120395481586456, 0.21596765518188477, -0.38538411259651184, -0.9127298593521118, 0.0376485139131546, 0.25269630551338196, -0.03919898346066475, -0.5441756844520569, 0.5728574395179749, -0.37753722071647644, -0.4882887601852417, 0.20835617184638977, 0.6110373735427856, 0.23665323853492737, -0.18455606698989868, -0.06730755418539047, 0.20006433129310608, -0.11576803773641586, -0.26873472332954407, 0.07506401836872101, 0.6859190464019775, -0.025395624339580536, 0.6590281128883362, 0.6394352912902832, 0.3745349645614624, -0.22222863137722015, 0.09662884473800659, 0.3720836341381073, -0.7010064125061035, -0.10972122102975845, -1.217145562171936, 0.4882553219795227, -0.10955439507961273, -0.3238748013973236, 0.8430459499359131, 0.5690174698829651, 0.7052494287490845, -0.20621535181999207, 0.7647156715393066, -0.13826356828212738, 0.396244078874588, -0.6076844930648804, 0.9537383913993835, -0.7259742021560669, 0.26018577814102173, -0.5127323865890503, -0.8528105020523071, -0.530707597732544, 0.2680255174636841, -0.3454257845878601, 0.2862682342529297, 0.6066260933876038, 0.5818538665771484, 0.0157383494079113, -0.12208325415849686, 0.4354340434074402, 0.19699913263320923, 0.3908841609954834, 0.4079935848712921, 0.9591696858406067, -0.19113674759864807, 0.25662165880203247, -0.03281937912106514, -0.3450052738189697, -0.2397255003452301, -1.2261388301849365, -1.1116607189178467, -0.5229222178459167, -0.5042709708213806, 0.11994138360023499, -0.09421643614768982, 0.6344451308250427, 0.4588954746723175, -0.5727977156639099, -0.28978103399276733, 0.3704221546649933, 0.22319179773330688, -0.21498320996761322, -0.12285096943378448, 0.4684230387210846, -0.009765233844518661, -0.5283500552177429, 0.12983126938343048, 0.26962313055992126, -0.3686148524284363, -0.354349285364151, 0.01157864648848772, -0.1662239283323288, 0.20290490984916687, 0.5822775363922119, 0.04027242586016655, -0.9936724901199341, -0.20848087966442108, 0.021939944475889206, -0.07195489853620529, -0.24401502311229706, 0.8371384739875793, -0.23062629997730255, 0.4363604485988617, 0.4107709228992462, 0.6668249368667603, 0.12229961156845093, 0.028621584177017212, 0.4894248843193054, -0.5129457116127014, -0.44444572925567627, 0.09689804911613464, 0.4441365599632263, 0.3647632598876953, -0.5612583160400391, 0.3925879895687103, -0.01115449983626604, -0.8461199998855591, -0.8140447735786438, -0.04671068489551544, -1.0831589698791504, -0.17835836112499237, 1.2717101573944092, -0.30281969904899597, 0.0003674211329780519, -0.04648633301258087, 0.024179717525839806, 0.10509486496448517, -0.07164613902568817, 0.5587260723114014, 1.0495113134384155, 0.10854870826005936, -0.29230013489723206, -0.5999227166175842, 0.16496743261814117, 0.3075249195098877, -0.718313455581665, 0.480383962392807, 0.4798726737499237, 0.26302316784858704, 0.10067728161811829, 0.5292612314224243, -0.27931299805641174, 0.13328833878040314, -0.41353800892829895, 0.18314306437969208, -0.3303864300251007, -0.35595086216926575, -0.24058674275875092, 0.24551549553871155, 0.2403401881456375, 0.12788204848766327 ]
http://arxiv.org/abs/2403.08211v2
http://arxiv.org/pdf/2403.08211v2
Large Language Models are Contrastive Reasoners
2024-03-13T03:15:05
2024-05-22T21:06:37
Liang Yao
cs.CL
cs.CL, cs.AI
Prompting methods play a crucial role in enhancing the capabilities of pre-trained large language models (LLMs). We explore how contrastive prompting (CP) significantly improves the ability of large language models to perform complex reasoning. We demonstrate that LLMs are decent contrastive reasoners by simply adding "Let's give a correct and a wrong answer." before LLMs provide answers. Experiments on various large language models show that zero-shot contrastive prompting improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks without any hand-crafted few-shot examples, such as increasing the accuracy on GSM8K from 35.9% to 88.8% and AQUA-RAT from 41.3% to 62.2% with the state-of-the-art GPT-4 model. Our method not only surpasses zero-shot CoT and few-shot CoT in most arithmetic and commonsense reasoning tasks but also can seamlessly integrate with existing prompting methods, resulting in improved or comparable results when compared to state-of-the-art methods. Our code is available at https://github.com/yao8839836/cp
[ -0.4031762480735779, -0.7715035080909729, 0.9124550223350525, 0.19489365816116333, -0.3369120955467224, -0.24432051181793213, -0.3546445369720459, -0.22721286118030548, -0.24404503405094147, 0.333135187625885, -0.3453773260116577, -0.355435848236084, -0.5959526300430298, 0.19172915816307068, -0.23978561162948608, 0.7877886295318604, 0.09757651388645172, 0.34479838609695435, 0.02045942284166813, 0.058308668434619904, -0.48816633224487305, -0.38949063420295715, -0.9486923813819885, -0.5428194999694824, 0.9625479578971863, 0.490342915058136, 0.570614755153656, 0.3812565803527832, 0.041445378214120865, 0.35975778102874756, -0.29995450377464294, 0.13606339693069458, -0.513812243938446, 0.22811469435691833, -0.38357314467430115, -0.7366136312484741, -0.07347260415554047, 0.011197271756827831, 0.24534310400485992, 0.6717903017997742, 0.05235554277896881, -0.23176440596580505, 0.08462102711200714, 0.6326212286949158, -0.8071343898773193, 0.11772287636995316, -0.7075353860855103, -0.23342008888721466, 0.1352796107530594, -0.400116503238678, -0.6486718058586121, -0.37585121393203735, 0.11625858396291733, -0.534107506275177, 0.22367483377456665, -0.13357974588871002, 0.7126015424728394, 0.20113645493984222, -0.3774835467338562, -0.17663928866386414, -0.4522983133792877, 0.9699481725692749, -0.8312792181968689, 0.2033241093158722, 0.3587084114551544, 0.2519646883010864, -0.03256092220544815, -0.47393882274627686, -0.9267796277999878, -0.4359045922756195, -0.10168317705392838, 0.20311538875102997, -0.23102010786533356, 0.17219336330890656, 0.512722373008728, 0.3417643904685974, -0.3590317666530609, 0.17645618319511414, -0.3799804151058197, -0.07163696736097336, 0.2331811785697937, 0.15412069857120514, 0.21116477251052856, 0.06281525641679764, -0.04262533783912659, -0.03329642489552498, -1.1319159269332886, 0.08180391043424606, 0.2670736014842987, 0.29181233048439026, -0.36915889382362366, 0.4597015380859375, -0.26611390709877014, 1.079465389251709, 0.3783700466156006, 0.1572062224149704, -0.13232262432575226, -0.2814575433731079, -0.18087925016880035, -0.12816712260246277, 0.5519654750823975, 0.4532615542411804, 0.5396729707717896, 0.33510053157806396, -0.26799294352531433, 0.06179644539952278, -0.1400514841079712, -1.0378319025039673, -0.6005700826644897, 0.3461064100265503, -0.17504075169563293, -0.1993551403284073, -0.29537612199783325, -0.5276646614074707, -0.5607390999794006, -0.6757663488388062, 0.5775676369667053, -0.5576639175415039, -0.15204200148582458, 0.41873225569725037, -0.21000276505947113, 0.5742071866989136, 0.8278498649597168, -1.0800585746765137, -0.14269745349884033, 0.7927706241607666, 0.659756600856781, 0.21433131396770477, -0.3166623115539551, -0.8611838221549988, -0.1837538331747055, -0.7692393660545349, 1.0116209983825684, -0.6914346814155579, -0.2402327060699463, 0.09478602558374405, -0.25091007351875305, 0.0031307670287787914, -0.8424922823905945, 0.6291228532791138, -0.5561012625694275, 0.3572121858596802, -0.7470947504043579, -0.36266595125198364, -0.22208446264266968, 0.7163110375404358, -0.4732373356819153, 0.6759496331214905, -0.09962876886129379, -0.6172874569892883, 0.15423448383808136, -0.48848921060562134, -0.24620594084262848, 0.1484222263097763, -0.23488646745681763, -0.021738944575190544, 0.10318872332572937, 0.7284055948257446, 0.5411685705184937, -0.3102247416973114, 0.25116172432899475, -0.2708057165145874, -0.4750794768333435, 0.3158491849899292, -0.5297139286994934, 0.8097807765007019, 0.12028076499700546, -0.25952428579330444, 0.29092133045196533, -0.4929546117782593, -0.02058766782283783, 0.30418336391448975, -0.3529009222984314, -0.10532225668430328, -0.3064139783382416, -0.5128477811813354, 0.37113550305366516, 0.10899258404970169, -0.36010995507240295, 0.0995522141456604, -0.45921745896339417, 0.4383474290370941, 0.7507644295692444, -0.07897166907787323, 0.2894359827041626, -0.5382799506187439, 0.4912610650062561, 0.18323487043380737, -0.18319353461265564, -0.8312402367591858, -0.3532921075820923, -0.9211339950561523, -0.4155897796154022, 0.2296457588672638, 0.5413724780082703, -1.005496859550476, 0.2580966651439667, 0.07465669512748718, -0.41279542446136475, -0.4364705979824066, -0.019987400621175766, 0.602335512638092, 0.9149754047393799, 0.4170624315738678, 0.3247331380844116, -0.34339189529418945, -0.6018648147583008, -0.07939611375331879, -0.10672400891780853, -0.20400582253932953, 0.31606611609458923, 0.24397115409374237, 0.28451666235923767, 0.4629727303981781, -0.3981892764568329, 0.25838735699653625, -0.4770001471042633, 0.19981329143047333, 0.4811607301235199, 0.3046940863132477, 0.37942808866500854, -0.6899265050888062, -0.662554919719696, -0.1413554847240448, -0.662328839302063, -0.47358566522598267, -0.12483959645032883, 0.046912431716918945, 0.13529998064041138, 0.5801997184753418, -0.7633394598960876, 0.00714521761983633, 0.6266347169876099, -0.37810567021369934, 0.8883912563323975, -0.2726622521877289, 0.40285298228263855, -0.8613653779029846, 0.1593603640794754, -0.0909581333398819, -0.16691376268863678, -0.6981560587882996, 0.21181721985340118, 0.02900543436408043, -0.194424107670784, -0.6637910008430481, 0.6527467370033264, -0.4010375738143921, 0.2913483679294586, -0.3923407793045044, 0.38524413108825684, 0.3382621109485626, 0.2360236495733261, 0.013990049250423908, 0.899969756603241, 0.891247034072876, -0.9080817103385925, 0.3948941230773926, 0.04178290441632271, -0.22715094685554504, 0.8684389591217041, -0.9679985642433167, -0.020485064014792442, -0.24668750166893005, 0.47120803594589233, -1.238407850265503, -0.2884875237941742, 0.1635097861289978, -0.45973068475723267, 0.33109599351882935, -0.16207225620746613, -0.270006000995636, -0.32139143347740173, -0.43208974599838257, 0.43557414412498474, 0.4261702001094818, -1.0457754135131836, 0.4736443758010864, -0.25172391533851624, -0.4027113616466522, -0.7426639199256897, -0.497163325548172, 0.0898701623082161, 0.03390640765428543, -0.5059167742729187, 0.04999600350856781, -0.40557006001472473, -0.3343903720378876, -0.2784454822540283, -0.0042772055603563786, 0.01671474613249302, -0.05284794047474861, -0.05065440386533737, 0.7115808725357056, -0.42690959572792053, 0.1585657298564911, -0.1761334389448166, -0.356500506401062, 0.1013655960559845, -0.16167518496513367, 0.8997654318809509, -0.14791978895664215, -0.4139454960823059, -0.8001217842102051, 0.16420431435108185, 0.3897266387939453, -0.2776815891265869, 0.5773935914039612, 0.21358519792556763, -0.08183159679174423, -0.02037542313337326, -0.8301663398742676, -0.38134682178497314, -0.5077548027038574, 0.0734475776553154, -0.4832639992237091, -1.1913262605667114, 0.32466447353363037, -0.004819647874683142, 0.07364365458488464, 0.3135184645652771, 0.6519938111305237, 0.017305156216025352, 1.1442521810531616, 0.18018095195293427, 0.08199144154787064, 0.4800574779510498, 0.07476368546485901, 0.4411337077617645, -0.722360372543335, -0.11962255835533142, -0.695056140422821, -0.06706170737743378, -0.2632632553577423, -0.534275233745575, 0.1325404793024063, 0.3337183892726898, -0.4596056044101715, -0.17816224694252014, -0.5418614149093628, 1.0767569541931152, 0.3048535883426666, 0.10721714794635773, 0.11370798200368881, -0.18483737111091614, -0.12157842516899109, -0.057093195617198944, -0.572032630443573, -0.4026513397693634, 0.7904888987541199, 0.09117837995290756, 0.7499935626983643, 0.02257070504128933, 0.8055042028427124, -0.27850794792175293, 0.4065101444721222, -1.0692834854125977, 0.649681568145752, -0.08094923198223114, -0.468544065952301, -0.30084937810897827, -0.5368648767471313, -0.9582247138023376, 0.4749397933483124, -0.1760810762643814, -0.5471382737159729, 0.19490498304367065, 0.5582480430603027, -0.6194785237312317, 0.11611759662628174, -0.8165095448493958, 0.603500247001648, -0.14812301099300385, -0.5435207486152649, -0.2937602996826172, -0.3673783838748932, 0.4665411710739136, 0.09107524901628494, -0.07586851716041565, 0.02329072915017605, -0.14472472667694092, 0.3206467926502228, -0.33433160185813904, 0.9117414951324463, -0.19369684159755707, -0.27780067920684814, 0.2944885492324829, 0.35058334469795227, 0.7447801828384399, -0.2813985347747803, -0.4115225672721863, -0.10513392090797424, -0.31672778725624084, -0.5640207529067993, -0.7856603264808655, 0.8373286128044128, -0.3884322941303253, -0.9714115858078003, -0.20697620511054993, -0.4725034832954407, -0.24248652160167694, 0.2568148970603943, 0.38687795400619507, 0.36438602209091187, 0.17533709108829498, 0.29577797651290894, 1.059085488319397, -0.39396265149116516, 0.44302868843078613, 0.6767875552177429, -0.10267137736082077, -0.3631512224674225, 0.719429612159729, -0.12471405416727066, 0.5683008432388306, 0.5020638704299927, 0.6443101763725281, -0.4118300974369049, -0.5821408629417419, -0.3801027834415436, 0.4482514560222626, -1.0161089897155762, -0.242288276553154, -0.7178916931152344, -0.08177400380373001, -0.313005268573761, -0.6427251696586609, -0.0885266661643982, -0.3122452199459076, -0.11527890712022781, -0.21953043341636658, 0.09615384042263031, 0.7778974771499634, -0.07796104997396469, 0.21543586254119873, -0.8414266109466553, 0.30141425132751465, 0.7662494778633118, 0.1292814314365387, 0.23613499104976654, -0.7423446178436279, 0.21300500631332397, -0.18177153170108795, -0.24837204813957214, -0.6890556812286377, 0.20089687407016754, -0.15307487547397614, 0.5876943469047546, 0.4787231981754303, 0.054967910051345825, 0.7651634812355042, -0.47045350074768066, 1.153072476387024, 0.5051978826522827, -1.1264424324035645, 0.43314146995544434, -0.5752202868461609, 0.6644460558891296, 0.4478822350502014, 0.37305447459220886, -0.48512643575668335, -0.27483347058296204, -0.4027807414531708, -0.7035617232322693, 0.7104207277297974, -0.1252894401550293, 0.405337393283844, -0.1221088096499443, 0.3261398673057556, -0.10257788747549057, -0.036214519292116165, -0.9436348676681519, 0.00006240700895432383, -0.19170686602592468, -0.015120330266654491, 0.045464176684617996, -0.4790312349796295, -0.21375544369220734, -0.15029124915599823, 0.7647654414176941, -0.30205774307250977, -0.02011270448565483, 0.20425522327423096, 0.14067210257053375, -0.18779875338077545, 0.6532875299453735, 0.8034462928771973, 0.8243805170059204, 0.10991799086332321, 0.468878835439682, 0.4555582106113434, 0.13269539177417755, 0.03849579766392708, 0.08032052218914032, -0.11178719252347946, -0.23427355289459229, 0.5222577452659607, 0.643292248249054, 0.23733144998550415, -0.6357548236846924, 0.7660835385322571, 0.019842201843857765, -0.3723851144313812, 0.19242824614048004, 0.17169548571109772, 0.35783252120018005, 0.26278257369995117, 0.07922070473432541, -0.23823228478431702, 0.053270384669303894, -0.4360203742980957, -0.14468833804130554, 0.3364822268486023, -0.25498077273368835, -0.13699090480804443, 0.42490366101264954, 0.2683371603488922, -0.16149616241455078, 0.5409440994262695, -0.08046035468578339, -0.7477723360061646, 0.4851522147655487, 0.9539039134979248, 0.4929347634315491, -0.5839021801948547, 0.22320742905139923, 0.7436115145683289, 0.05919496715068817, -0.26270467042922974, 0.3438407778739929, -0.2765393853187561, -0.7623494863510132, -0.7356066703796387, -0.32390648126602173, -0.6313475966453552, 0.3386157155036926, -0.3443818986415863, 0.28670427203178406, -0.6063623428344727, 0.4639880359172821, 0.22863440215587616, -0.20069582760334015, -0.4164407551288605, 0.33144569396972656, 0.2970031499862671, 0.991871178150177, -0.7437834739685059, 0.6263288259506226, 0.41398873925209045, -0.3744639754295349, -1.1300358772277832, 0.07368282228708267, 0.0903361514210701, -0.936301589012146, 0.6909987926483154, 0.43149736523628235, -0.30739980936050415, -0.16913455724716187, -0.9867022037506104, -0.46353378891944885, 0.6268961429595947, 0.6167731285095215, -0.8878987431526184, 0.30980584025382996, -0.09582927078008652, 0.5685642957687378, -0.22015118598937988, 0.4177132844924927, 0.38718506693840027, 0.614036500453949, 0.7126287817955017, -0.6161031126976013, 0.30471426248550415, -0.17085351049900055, -0.1305283159017563, 0.2566879391670227, -0.39971399307250977, 1.051253080368042, -0.6748634576797485, -0.032410286366939545, 0.13482527434825897, 0.2965615689754486, 0.8847841024398804, 0.35482585430145264, 0.601427435874939, 0.388933002948761, 0.8517979979515076, -0.1416311413049698, 1.2070941925048828, -0.19927896559238434, -0.0802590399980545, 1.2255104780197144, -0.4196385443210602, 0.9863193035125732, 0.4061092734336853, 0.09315275400876999, 0.4907318353652954, 0.4162618815898895, 0.11807916313409805, 0.21850469708442688, 0.19790427386760712, -0.6068071126937866, -0.7693406343460083, -0.10255734622478485, -0.2570250630378723, 0.14555439352989197, 0.39132076501846313, -0.24319599568843842, -0.38118061423301697, -0.3077941834926605, 0.21918614208698273, 0.2625202238559723, -0.4101949632167816, 0.7314682006835938, 0.31647008657455444, -1.1830031871795654, 0.9219600558280945, -0.30835017561912537, 0.6337915062904358, -0.6069387197494507, -0.24575088918209076, -0.2071952372789383, 0.0994546040892601, -0.31758788228034973, -1.0575181245803833, 0.060744158923625946, -0.05966019257903099, -0.10073185712099075, -0.14551804959774017, 0.6573240160942078, -0.5408533811569214, 0.033955734223127365, 0.17963232100009918, 0.38278359174728394, 0.07600405812263489, -0.22120364010334015, -0.8457494378089905, -0.12032093107700348, 0.0718114823102951, -0.03828498348593712, 0.12107235193252563, 0.6977208256721497, -0.007391426246613264, 0.6825371384620667, 0.9567131996154785, 0.0566471703350544, -0.32786911725997925, 0.46281132102012634, 1.009743094444275, -0.869889497756958, -0.43059319257736206, -1.111625075340271, 0.6148321628570557, -0.12538108229637146, -0.09522617608308792, 0.5771111249923706, 0.30202654004096985, 0.5637580156326294, -0.10409549623727798, 0.6822775602340698, 0.1996942013502121, 0.48428475856781006, -0.6778724789619446, 0.37521395087242126, -0.3470638394355774, 0.4022381901741028, 0.05916333943605423, -0.8151318430900574, -0.6573735475540161, 0.5838841795921326, -0.7218791842460632, 0.1482759416103363, 0.7373756170272827, 1.1547975540161133, 0.07364017516374588, 0.050336092710494995, 0.804095447063446, 0.35043275356292725, 0.4799550771713257, 0.5984234809875488, 1.2643680572509766, 0.10489998757839203, 0.6654047966003418, 0.06767334789037704, -0.2903279662132263, -0.255336195230484, -0.9867081046104431, -1.124151587486267, -0.17910748720169067, -0.14641469717025757, -0.5042995810508728, -0.017019236460328102, 0.9608439207077026, 0.6691334843635559, -0.8801817297935486, 0.09491149336099625, -0.23515470325946808, 0.14387814700603485, 0.06613481789827347, -0.22329942882061005, 0.17077012360095978, -0.6723417043685913, -0.7867196798324585, 0.4202309846878052, 0.38344475626945496, 0.10665851086378098, -0.016352275386452675, -0.2142297625541687, -0.04610120505094528, 0.4528907239437103, 0.7318019270896912, 0.35280343890190125, -0.7891323566436768, -0.28660425543785095, -0.23377801477909088, -0.21038426458835602, 0.1478538066148758, 0.9013413786888123, -0.7973368167877197, 0.5510402321815491, 0.6919444799423218, 0.44621095061302185, 0.351992666721344, -0.029019862413406372, 0.6410397887229919, -0.4366040825843811, 0.1340552568435669, 0.33698949217796326, 0.5948157906532288, 0.678448498249054, -0.38917556405067444, 0.23840194940567017, -0.006292812526226044, -0.6902998089790344, -0.5126348733901978, 0.45499885082244873, -0.9395594000816345, -0.3402673900127411, 1.225868582725525, -0.30989184975624084, -0.18506987392902374, -0.1292235553264618, -0.6831110119819641, -0.01704215258359909, -0.5281078815460205, 0.7960740327835083, 0.7434399127960205, -0.14888514578342438, -0.6402056813240051, -0.14547370374202728, 0.3774934709072113, 0.7643898725509644, -0.9954375624656677, 0.31498661637306213, 0.6852988004684448, 0.35721921920776367, 0.16094304621219635, 0.7160738706588745, -0.250282883644104, 0.6876213550567627, 0.0016894567525014281, -0.26091691851615906, -0.06130266189575195, -0.19728271663188934, -0.784292995929718, 0.10689158737659454, 0.39798393845558167, 0.15692220628261566 ]
http://arxiv.org/abs/2403.13002v3
http://arxiv.org/pdf/2403.13002v3
AutoTRIZ: Artificial Ideation with TRIZ and Large Language Models
2024-03-13T02:53:36
2024-05-23T02:19:12
Shuo Jiang, Jianxi Luo
cs.HC
cs.HC, cs.AI, cs.CL, I.2.7; I.2.1
Researchers and innovators have made enormous efforts in developing ideation methods, such as morphological analysis and design-by-analogy, to aid engineering design ideation for problem solving and innovation. Among these, the Theory of Inventive Problem Solving (TRIZ) stands out as one of the most well-known approaches, widely applied for systematic innovation. However, the complexity of TRIZ resources and concepts, coupled with its reliance on users' knowledge, experience, and reasoning capabilities, limits its practicality. Therefore, we explore the recent advances of large language models (LLMs) for a generative approach to bridge this gap. This paper proposes AutoTRIZ, an artificial ideation tool that uses LLMs to automate and enhance the TRIZ methodology. By leveraging the broad knowledge and advanced reasoning capabilities of LLMs, AutoTRIZ offers a novel approach for design automation and interpretable ideation with artificial intelligence. AutoTRIZ takes a problem statement from the user as its initial input, and automatically generates a solution report after the reasoning process. We demonstrate and evaluate the effectiveness of AutoTRIZ through consistency experiments in contradiction detection, and a case study comparing solutions generated by AutoTRIZ with the experts' analyses from the textbook. Moreover, the proposed LLM-based framework holds the potential for extension to automate other knowledge-based ideation methods, including SCAMPER, Design Heuristics, and Design-by-Analogy, paving the way for a new era of artificial ideation for design innovation.
[ -0.4981329143047333, -0.8953154683113098, 0.8094068169593811, 0.2004697173833847, -0.23311299085617065, 0.4376154839992523, -0.11987116187810898, -0.44820648431777954, 0.06783723086118698, 0.22847524285316467, -0.48569977283477783, -0.4724544882774353, -0.17595218122005463, 0.18281394243240356, -0.6466880440711975, 0.3722379207611084, -0.613779604434967, -0.34831222891807556, -0.18273614346981049, 0.23013073205947876, -0.5451328158378601, -0.21242181956768036, -0.4169726073741913, -0.37881606817245483, 0.07642842829227448, 0.5621647834777832, 0.7080078125, 0.7090857028961182, 0.37504372000694275, 0.42558741569519043, 0.1038830578327179, 0.2090599685907364, 0.14987926185131073, 0.051442574709653854, 0.021522490307688713, -0.5295747518539429, -0.2835967540740967, -0.08931513130664825, 0.5891014933586121, 0.4322298765182495, -0.2998156249523163, 0.2572619915008545, 0.04077102988958359, 0.49342408776283264, -0.37986457347869873, 0.29790470004081726, -0.6349785923957825, 0.31485381722450256, -0.19921740889549255, -0.17274141311645508, -0.15700624883174896, -0.552916407585144, -0.05191827192902565, -0.5609923005104065, 0.1339408904314041, 0.23203825950622559, 0.6610425114631653, 0.6946538686752319, 0.3425830900669098, -0.5974622964859009, -1.062684416770935, 0.5005014538764954, -1.204545021057129, 0.23305024206638336, -0.220770001411438, 0.43815603852272034, -0.5327811241149902, -0.4785629212856293, -1.137537956237793, -0.3325270116329193, 0.05765226110816002, 0.0356682725250721, -0.34802868962287903, 0.04718630760908127, 0.22453737258911133, 0.2790457308292389, -0.6771891713142395, 0.18311507999897003, -0.007277610246092081, 0.06414350122213364, 0.7916654348373413, 0.3965129256248474, 0.5092716217041016, -0.14776922762393951, -0.4736916422843933, 0.0790545791387558, -0.5584104061126709, -0.058285582810640335, 0.17045731842517853, 0.018785856664180756, -0.06437080353498459, 0.5741774439811707, -0.415057510137558, 0.8520066738128662, 0.07976808398962021, 0.26814666390419006, 0.3532676100730896, -0.3025536835193634, -0.32303646206855774, -0.027351005002856255, 1.0213292837142944, -0.15084975957870483, 0.38581985235214233, -0.3014535903930664, -0.23127205669879913, 0.0018460014835000038, 0.19287577271461487, -0.4074334502220154, -0.26321035623550415, 0.2990334630012512, -0.3107260465621948, -0.17894014716148376, -0.06094815582036972, -0.6687093377113342, -0.2208683341741562, -0.5013022422790527, 0.5854722857475281, -0.20390069484710693, -0.24413850903511047, 0.4698999226093292, -0.050169866532087326, 0.278459370136261, 0.19719649851322174, -0.5154085755348206, -0.013372109271585941, 0.41456303000450134, 0.6777527332305908, -0.11665643006563187, -0.3327922523021698, 0.2774663269519806, 0.28921449184417725, -0.7162052392959595, 1.1607446670532227, -0.2548414468765259, -0.4210093915462494, -0.2421620488166809, -0.4079013764858246, 0.20523186028003693, -0.5507301092147827, 0.14444918930530548, -0.31778958439826965, 0.014960027299821377, 0.1661156266927719, -0.3552751839160919, -0.2441205084323883, -0.02837676741182804, -0.715437650680542, 0.856783926486969, 0.12979622185230255, -0.540155291557312, 0.3056336045265198, -0.9337679147720337, -0.3482564687728882, 0.6224379539489746, -0.6854842901229858, -0.6191139817237854, 0.0959777683019638, -0.10571605712175369, -0.0271746963262558, -0.6045446395874023, 0.4652157425880432, -0.42698749899864197, -0.11568567156791687, 0.3437425494194031, -0.2522573173046112, 0.9413846135139465, 0.35323888063430786, -0.5676296353340149, 0.15460164844989777, -0.5241159796714783, 0.45157670974731445, 0.3783071041107178, -0.038476552814245224, -0.02921845018863678, -0.02951367199420929, -0.35909825563430786, 0.4787212312221527, 0.20540083944797516, -0.6446604132652283, 0.23604336380958557, -0.5391044020652771, 0.4831300377845764, 0.408855676651001, 0.03162449225783348, 0.3821539580821991, -0.3907189965248108, 0.47159355878829956, -0.4023768901824951, 0.3338358700275421, 0.2531401216983795, -0.32482388615608215, -1.1253429651260376, 0.07042448967695236, 0.1095021665096283, 0.598457932472229, -0.8899027705192566, 0.4283408522605896, 0.09723468869924545, -0.6102738976478577, -0.4585413634777069, 0.4143322706222534, 0.28807708621025085, 0.37733185291290283, 0.19575640559196472, -0.19654837250709534, -0.5750626921653748, -1.1385951042175293, -0.5423222184181213, -0.1542956382036209, -0.2051508128643036, 0.16463735699653625, 0.5725238919258118, -0.14589828252792358, 1.5043809413909912, -0.5881849527359009, -0.35898908972740173, -0.4074987769126892, 0.7395842671394348, 0.24335232377052307, 0.3072497844696045, 0.5574360489845276, -0.7315346002578735, -0.6322831511497498, -0.29770156741142273, -0.8705544471740723, -0.4025367796421051, -0.21602967381477356, -0.17464767396450043, 0.07662566006183624, 0.515314519405365, -0.8073459267616272, 0.6196108460426331, -0.025642329826951027, -0.15337145328521729, 0.624847412109375, -0.11077166348695755, -0.1729724109172821, -1.1304211616516113, 0.0006633835146203637, -0.055036790668964386, 0.30301278829574585, -0.39668604731559753, -0.2853555977344513, 0.004832414910197258, -0.04687407240271568, -0.36385253071784973, 0.7439045906066895, -0.4528539180755615, -0.048295922577381134, -0.47809359431266785, 0.10348337888717651, 0.06410423666238785, 0.29664695262908936, -0.019008660688996315, 0.8562963008880615, 0.12602132558822632, -0.570285439491272, 1.0044059753417969, 0.4471156597137451, -0.42650115489959717, 0.33504965901374817, -0.7410275340080261, 0.24510034918785095, -0.03909850865602493, 0.15314781665802002, -0.9597613215446472, -0.19283361732959747, 0.4780021905899048, -0.4566851854324341, -0.05029302090406418, 0.15416783094406128, -0.9608606696128845, -0.8296094536781311, -0.012575131841003895, 0.5385244488716125, 0.21144697070121765, -0.3721434473991394, 0.8530659675598145, 0.43443524837493896, -0.6284392476081848, -0.2182994931936264, -0.6463586091995239, 0.44241389632225037, -0.3247053027153015, -0.49046745896339417, 0.6356998085975647, -0.4307616055011749, -0.4797615110874176, 0.2978857755661011, 0.16039851307868958, -0.23757393658161163, 0.029026057571172714, -0.0069574336521327496, 0.3514222502708435, 0.07814756780862808, 0.2564711570739746, -0.12321555614471436, -0.19641681015491486, 0.336264967918396, -0.4340682923793793, 0.5090861916542053, -0.4098946750164032, -0.46976763010025024, -0.43287286162376404, 0.3615947365760803, 0.4907689392566681, -0.43648967146873474, 0.2945252060890198, 0.32987481355667114, -0.46428364515304565, -0.8651069402694702, -0.5674057006835938, 0.17931166291236877, -0.55795818567276, 0.2123790830373764, -0.3692303001880646, -0.41809454560279846, 0.47470927238464355, -0.2237149178981781, 0.3188337981700897, 0.35286062955856323, 0.8482810258865356, -0.3763904571533203, 0.7926837205886841, 0.8842653632164001, 0.1139398142695427, 0.5675297379493713, -0.32708531618118286, 0.5063133239746094, -0.6230254769325256, -0.3070836067199707, -0.4996901750564575, -0.2557196021080017, -0.14319074153900146, -0.21872588992118835, 0.4727707505226135, -0.2264394909143448, -0.30879679322242737, 0.4454517960548401, -0.4795357882976532, 0.42882511019706726, 0.42213186621665955, -0.11612557619810104, 0.3682740330696106, -0.1924181431531906, -0.35763898491859436, 0.38184911012649536, -1.1844642162322998, -0.37348034977912903, 0.8782274127006531, 0.1231396272778511, 0.8987851738929749, -0.15652120113372803, 0.6822795271873474, 0.399804949760437, 0.43951156735420227, -0.8322526216506958, 0.5304295420646667, 0.2688380181789398, -0.5224481225013733, -0.5264151096343994, -0.23153901100158691, -0.5760683417320251, -0.25807857513427734, -0.16591580212116241, -0.4257155954837799, 0.1728600114583969, 0.25636616349220276, -0.7881338596343994, 0.33897513151168823, -0.6521210670471191, 0.6265901923179626, -0.6995709538459778, -0.2420906275510788, -0.09602992981672287, -0.4476276934146881, 0.020122162997722626, -0.3545167148113251, 0.5144935250282288, 0.116083525121212, 0.271642804145813, 0.7894930839538574, -0.10275143384933472, 0.7387059926986694, 0.1874479502439499, -0.48304182291030884, 0.8617156147956848, 0.29634329676628113, 0.3540340065956116, -0.0750381201505661, 0.06402751803398132, -0.05080494284629822, -0.43845197558403015, 0.059037238359451294, -0.8630825877189636, 0.3287282884120941, -0.42521893978118896, -0.7605913877487183, -0.1657259464263916, -0.9786465764045715, -0.1232055127620697, 0.29601988196372986, 0.1733257919549942, 0.2751418352127075, -0.07896757125854492, -0.1471962332725525, 0.5000615119934082, -0.24540691077709198, 0.7193847298622131, 0.671373724937439, -0.02205967716872692, -0.3047175109386444, 0.7885461449623108, 0.06304898113012314, 0.0870356634259224, 0.02941337414085865, 0.08285737037658691, -0.35538506507873535, -0.6087720990180969, -0.8214325308799744, 0.24917687475681305, -0.631479799747467, -0.38197070360183716, -0.3210989832878113, -0.5390141010284424, -0.10430146753787994, -0.1474432647228241, -0.5225932002067566, -0.3059156537055969, 0.03031141310930252, 0.244437575340271, 0.13411392271518707, 0.9095143675804138, -0.14346636831760406, 0.059783052653074265, -0.5906175971031189, 0.5401018857955933, 0.3930237293243408, 0.6683065891265869, 0.14325040578842163, -0.33010146021842957, -0.4784732460975647, 0.010131833143532276, -0.24194608628749847, -0.7562261819839478, 0.4496009647846222, -0.13788336515426636, 0.792388916015625, 0.2250054031610489, 0.10352808237075806, 0.2529325783252716, -0.532239556312561, 0.2217908501625061, 0.02315179817378521, -0.9768338799476624, 0.4572524130344391, -0.20783010125160217, 0.23807473480701447, 0.2947114408016205, 0.16490131616592407, -0.4535728693008423, -0.3468305170536041, -0.6520566940307617, -0.7543143033981323, 0.2617690861225128, 0.32622310519218445, -0.23120786249637604, 0.2735109329223633, 0.39437586069107056, 0.12937842309474945, 0.34657594561576843, -0.7002811431884766, 0.017559658735990524, -0.01306210644543171, -0.6597726941108704, 0.09724787622690201, -0.0454033762216568, -0.16338934004306793, -0.25913891196250916, 0.48868319392204285, 0.07756263017654419, 0.4917190372943878, 0.04561114311218262, -0.1524166762828827, -0.42486506700515747, 0.3943405747413635, 0.35832905769348145, 0.6884998083114624, 0.14319966733455658, 0.17324909567832947, 0.3432428240776062, -0.06790238618850708, 0.34168776869773865, 0.121060311794281, -0.3993885815143585, 0.01601625233888626, -0.000627090921625495, 0.3223596513271332, -0.15043289959430695, -0.5495105385780334, 0.00020457932259887457, 0.1131831482052803, -0.28651511669158936, -0.7787017822265625, 0.2911629378795624, 0.1455107033252716, 0.5540486574172974, 0.4188298285007477, -0.2709031403064728, 0.139912411570549, -0.25827571749687195, 0.238642156124115, 0.7070037126541138, 0.04101046919822693, -0.011624973267316818, 0.5275998115539551, 0.19628207385540009, -0.8216627836227417, 0.30585789680480957, -0.23254382610321045, -0.7482295036315918, 0.9211055636405945, 0.6690508127212524, 1.0548518896102905, -0.2838403582572937, 0.15642543137073517, 0.024205490946769714, 0.2792951762676239, 0.073274165391922, 0.30219566822052, -0.0552874431014061, -0.8047308325767517, -0.3539782762527466, -0.5899758338928223, -0.48290666937828064, 0.21921706199645996, -0.13875283300876617, 0.3385246992111206, -0.3972221314907074, -0.09146886318922043, 0.04913564398884773, -0.06609644740819931, -0.5777084231376648, 0.2134639173746109, 0.383279025554657, 0.723013162612915, -0.7795025706291199, 0.48640668392181396, 0.7247301936149597, -0.3947959840297699, -0.8212023377418518, 0.052555933594703674, -0.05735776573419571, -0.5634932518005371, 0.6913801431655884, -0.19531932473182678, -0.617570161819458, 0.4024368226528168, -0.6730211973190308, -1.0492745637893677, 1.0690727233886719, 0.03525383770465851, -0.5883644223213196, -0.3677912950515747, 0.5743860602378845, 0.35493913292884827, -0.5970134735107422, 0.011736049316823483, 0.5245862603187561, 0.5035072565078735, -0.003236806020140648, -1.1052417755126953, 0.013817987404763699, -0.4538947343826294, -0.09556835144758224, 0.33995187282562256, -0.5862652063369751, 0.8395119905471802, -0.31738460063934326, -0.3498583734035492, 0.07941990345716476, 0.5572578310966492, 0.1997939646244049, 0.2642708420753479, 0.5044153332710266, 0.6905813813209534, 0.30106469988822937, 0.1908155232667923, 0.47942492365837097, -0.37155070900917053, 0.38194313645362854, 0.962167501449585, -0.01949174329638481, 0.42935335636138916, 0.28882649540901184, -0.1275297850370407, 0.6764437556266785, 0.3900207579135895, -0.3194882869720459, 0.29438406229019165, 0.41544535756111145, -0.21719896793365479, -0.36979058384895325, 0.10511068999767303, -0.28659090399742126, 0.610248327255249, 0.5684782266616821, -0.18813323974609375, -0.4878763258457184, 0.0998418927192688, -0.07933132350444794, 0.04072542116045952, -0.11974462121725082, 0.6101882457733154, 0.2840571403503418, -0.29948362708091736, 0.7071947455406189, 0.029245976358652115, 0.2657175064086914, -0.1913827657699585, -0.30406224727630615, 0.04187024012207985, 0.158990740776062, -0.07102532684803009, -1.0239577293395996, 0.37882575392723083, 0.11219382286071777, -0.009032774716615677, -0.1349014937877655, 0.6823063492774963, -0.2686285972595215, -0.5647121071815491, 0.05123869702219963, 0.8678233623504639, -0.041994355618953705, 0.10702545195817947, -0.7881793975830078, -0.17249256372451782, -0.2595300078392029, 0.20094746351242065, -0.32997679710388184, 0.6310910582542419, -0.11931160092353821, 1.2024701833724976, 0.40991342067718506, 0.15178947150707245, -0.17944326996803284, -0.1754627823829651, 1.0086259841918945, -0.7099357843399048, -0.6605533361434937, -0.9182143807411194, 0.24021266400814056, 0.08143067359924316, 0.11704649776220322, 0.6545513868331909, 0.46331632137298584, 0.9069205522537231, 0.056990813463926315, 1.2018989324569702, -0.12733088433742523, 0.5500516295433044, -0.3716564178466797, 0.8789165019989014, -0.33702731132507324, 0.24119901657104492, -0.4745316207408905, -0.9029028415679932, -0.318565309047699, 0.6698613166809082, -0.5182614922523499, 0.02506442740559578, 0.5800020694732666, 0.39870378375053406, 0.05748184770345688, -0.04463396593928337, -0.13330551981925964, 0.45855987071990967, 0.378338098526001, 0.8701767325401306, 1.162394404411316, 0.15430830419063568, 0.5933874845504761, -0.1324947327375412, -0.45255231857299805, -0.2549700438976288, -0.86869877576828, -0.8349146842956543, -0.6116007566452026, -0.00238553574308753, 0.031780779361724854, -0.019135423004627228, 1.0866059064865112, 0.2066364288330078, -0.5319265723228455, -0.428975373506546, -0.6689175367355347, 0.01704895868897438, 0.21923211216926575, -0.16570189595222473, 0.2661232650279999, -0.39325639605522156, -0.3812093436717987, 0.24589648842811584, 0.26895269751548767, 0.25066515803337097, -0.4764571487903595, 0.2021678239107132, 0.09632552415132523, 0.35692307353019714, 0.26237982511520386, 0.5153371095657349, -0.6593876481056213, -0.18797065317630768, 0.05982382595539093, -0.03771756961941719, 0.12697450816631317, 0.7611305713653564, -1.1244981288909912, 0.45452019572257996, 0.24134241044521332, 0.46768489480018616, 0.15707994997501373, 0.12772159278392792, 0.8149925470352173, -0.016753965988755226, 0.130202054977417, 0.5019232034683228, 0.1243569552898407, 0.11337558180093765, -0.22357133030891418, 0.14737634360790253, 0.21226151287555695, -0.30317190289497375, -0.562411904335022, 0.6755479574203491, -0.3804894983768463, -0.4129672050476074, 0.9952017664909363, 0.15319329500198364, -0.28001412749290466, -0.4002276659011841, -0.2060195952653885, 0.6535394787788391, 0.005630997940897942, 1.576875925064087, 0.5485772490501404, -0.4940643906593323, -0.10370108485221863, -0.6714123487472534, 0.7350349426269531, 0.4947904944419861, -1.1060380935668945, 0.2078605443239212, 0.12368439137935638, 0.2214653640985489, 0.2164621651172638, 0.2665223777294159, -0.06016770750284195, 0.26867109537124634, -0.12617142498493195, 0.42152300477027893, -0.37162867188453674, -0.6774827241897583, 0.13814301788806915, -0.04466479644179344, 0.19565731287002563, -0.0204636100679636 ]
http://arxiv.org/abs/2403.08198v1
http://arxiv.org/pdf/2403.08198v1
Validating and Exploring Large Geographic Corpora
2024-03-13T02:46:17
2024-03-13T02:46:17
Jonathan Dunn
cs.CL
cs.CL
This paper investigates the impact of corpus creation decisions on large multi-lingual geographic web corpora. Beginning with a 427 billion word corpus derived from the Common Crawl, three methods are used to improve the quality of sub-corpora representing specific language-country pairs like New Zealand English: (i) the agreement of independent language identification systems, (ii) hash-based deduplication, and (iii) location-specific outlier detection. The impact of each of these steps is then evaluated at the language level and the country level by using corpus similarity measures to compare each resulting corpus with baseline data sets. The goal is to understand the impact of upstream data cleaning decisions on downstream corpora with a specific focus on under-represented languages and populations. The evaluation shows that the validity of sub-corpora is improved with each stage of cleaning but that this improvement is unevenly distributed across languages and populations. This result shows how standard corpus creation techniques can accidentally exclude under-represented populations.
[ -0.8731857538223267, -0.46351954340934753, 0.5987690687179565, 0.13825005292892456, -0.09412731975317001, 0.31702494621276855, -0.6029214262962341, -0.5552829504013062, 0.35083693265914917, 0.5661329030990601, -0.1600174456834793, -0.8004001379013062, -0.46314337849617004, 0.6125948429107666, -0.5556728839874268, 0.826575756072998, 0.033877912908792496, -0.20107486844062805, -0.04226589575409889, -0.14237815141677856, -0.4495580494403839, -0.6068457365036011, -0.4948986768722534, 0.09385056048631668, 0.49993154406547546, 0.772907018661499, 0.9386845827102661, 0.4787904918193817, 0.48290055990219116, 0.33428138494491577, -0.2986111342906952, 0.5577232837677002, -0.6651954650878906, -0.0475141666829586, -0.3221464157104492, -0.42589032649993896, 0.012922180816531181, -0.11373534798622131, 0.7301707863807678, 1.0176883935928345, -0.06542669236660004, 0.18552769720554352, -0.02992306649684906, 0.5612397193908691, -0.7561832666397095, -0.12641316652297974, -0.6521701216697693, -0.24864058196544647, -0.409296452999115, -0.17044107615947723, -0.2563909888267517, -0.4050932228565216, 0.10705546289682388, -0.7683768272399902, 0.48660406470298767, 0.15890176594257355, 0.7508972883224487, 0.04987769201397896, -0.46427664160728455, -0.5301439762115479, -0.5982850193977356, 0.8159543871879578, -0.35558101534843445, 0.32972636818885803, 0.6438944935798645, 0.05105282738804817, -0.4481077194213867, -0.40847402811050415, -0.34462687373161316, 0.12311747670173645, -0.3474179208278656, 0.06231933459639549, -0.38870564103126526, -0.43642333149909973, 0.144302636384964, 0.0920039713382721, -0.6762556433677673, 0.44893747568130493, -0.9751793742179871, -0.23157671093940735, 0.5438347458839417, -0.11046434938907623, 0.4933072626590729, -0.32346054911613464, -0.1909622997045517, -0.12130870670080185, -1.1913164854049683, -0.11318724602460861, 0.8912193775177002, 0.6080729365348816, 0.03515410050749779, 0.5406522750854492, -0.32956263422966003, 0.301425576210022, -0.09491445869207382, 0.14822959899902344, 0.43679124116897583, -0.2398509532213211, -0.010303674265742302, 0.3134916424751282, 0.5377432703971863, 0.31955137848854065, 0.5676588416099548, -0.2648434042930603, -0.042329929769039154, 0.09665197879076004, 0.3796263635158539, -0.36930325627326965, -0.059360258281230927, 0.4582589268684387, -0.3295328915119171, 0.012294059619307518, 0.24720211327075958, -0.9302847385406494, -0.37652090191841125, -0.5307461023330688, -0.14929696917533875, -0.5916760563850403, -0.5505834221839905, 0.2875410318374634, -0.3842434287071228, -0.01940727047622204, 0.3627468943595886, -0.8907555937767029, 0.19020405411720276, 1.0248359441757202, 0.7712844610214233, -0.1983807384967804, -0.49103525280952454, -0.3158305883407593, -0.00804955419152975, -0.7472807168960571, 0.972891092300415, -0.42856618762016296, -0.392813116312027, 0.27657297253608704, 0.07874429225921631, 0.07008326053619385, -0.9172831177711487, 0.3479491174221039, -0.9521256685256958, 0.15783202648162842, -0.4761982560157776, -0.27456149458885193, -0.4963819980621338, 0.4178268313407898, -0.876500129699707, 1.135425090789795, 0.32921937108039856, -0.561335563659668, 0.6157873868942261, -0.6122291684150696, -0.4260180592536926, 0.1839217096567154, 0.20818011462688446, -0.047251783311367035, 0.18875624239444733, 0.3142714202404022, 0.07969040423631668, -0.121603824198246, 0.2244722992181778, -0.10513715445995331, -0.5432141423225403, -0.05954195186495781, -0.08776687830686569, 1.10273277759552, 0.46176877617836, -0.46597450971603394, -0.10202737897634506, -0.9461198449134827, 0.2609398365020752, -0.3713797926902771, -0.3614465594291687, -0.7353538274765015, -0.13387717306613922, 0.05775892361998558, -0.07474508136510849, 0.19333291053771973, -0.6353675127029419, 0.1011691763997078, -0.15530097484588623, 0.37396374344825745, 0.2813138961791992, 0.14358562231063843, 0.41538023948669434, -0.07064640522003174, 0.6142877340316772, -0.03818177804350853, 0.21104079484939575, -0.012787669897079468, -0.46009010076522827, -0.43617767095565796, -0.5486494898796082, 0.7181575894355774, 0.422297865152359, -0.41905614733695984, 0.3674766421318054, -0.6797129511833191, -0.6775197386741638, -0.36181044578552246, 0.09649529308080673, 0.13414950668811798, 0.05495261773467064, 0.5433967709541321, -0.38889122009277344, -0.8588950634002686, -0.7004209756851196, 0.41174250841140747, -0.19289547204971313, -0.16371476650238037, -0.22731894254684448, 0.6004502773284912, -0.7008017301559448, 1.2023372650146484, -0.29993191361427307, -0.14994435012340546, -0.006707348860800266, 0.28814443945884705, -0.13151800632476807, 0.29888537526130676, 0.5566136240959167, -0.8837624192237854, -0.28266283869743347, -0.13194631040096283, -0.5448529720306396, -0.34411218762397766, 0.16647885739803314, -0.42541563510894775, 0.4910901188850403, 0.6617556214332581, -0.5534754991531372, 0.3662901818752289, 0.6669378876686096, -0.14184564352035522, 0.4959564805030823, -0.39659976959228516, 0.4752124845981598, -0.4990485906600952, 0.042621973901987076, -0.21045273542404175, 0.02243814803659916, -0.2052520513534546, 0.3329029083251953, 0.18909965455532074, -0.005265094339847565, -0.5106812715530396, 0.07903491705656052, -0.6404858231544495, -0.3704511523246765, -0.17110031843185425, 0.5058097839355469, -0.003235063748434186, -0.0409318171441555, 0.05513621121644974, 0.732683002948761, 0.17636382579803467, -0.5143566131591797, 0.08612633496522903, 0.3318145275115967, -0.6809397339820862, 0.3672643303871155, -0.42496228218078613, -0.005880151409655809, -0.2798870801925659, 0.3798076808452606, -1.208207368850708, -0.01780722662806511, -0.28411608934402466, -0.4101049304008484, -0.008667843416333199, -0.15017352998256683, -0.726905345916748, -0.20615550875663757, -0.338410884141922, 0.4189094305038452, 0.2719300091266632, -0.7689499855041504, 0.13732050359249115, 0.5583171844482422, -0.157693549990654, -0.49493923783302307, -0.7664526700973511, 0.37581688165664673, -0.5354120135307312, -0.71131432056427, 0.17176085710525513, 0.1427544802427292, -0.5832223892211914, 0.08142036944627762, 0.3115629255771637, 0.05468258634209633, 0.09097465127706528, 0.14648663997650146, 0.034537311643362045, -0.15014657378196716, 0.16765977442264557, -0.2667454481124878, 0.033699166029691696, 0.01650039665400982, -0.23968783020973206, 0.749821662902832, -0.03743962571024895, -0.2907351553440094, 0.24593636393547058, 0.5652530193328857, 0.46554630994796753, -0.49923962354660034, 0.5008068084716797, 0.5110576152801514, -0.2788256108760834, -0.053939253091812134, -0.5474145412445068, 0.2706943452358246, -0.42460450530052185, 0.12887440621852875, -0.29389986395835876, -0.7993367314338684, 0.6704774498939514, -0.0954267755150795, -0.023035427555441856, 0.647533655166626, 0.34605228900909424, -0.000470053986646235, 0.6619993448257446, 0.5934682488441467, -0.0979841873049736, 0.011123600415885448, -0.34925466775894165, 0.32857784628868103, -0.6512722969055176, -0.09085897356271744, -0.7271994352340698, -0.25688794255256653, -1.2764657735824585, -0.43818825483322144, 0.3434572219848633, 0.17697826027870178, -0.449987530708313, 0.5500048995018005, -0.358452171087265, 0.4545672535896301, 0.9966853260993958, -0.29778945446014404, 0.32541945576667786, 0.2292037308216095, -0.17607717216014862, 0.0816086009144783, -0.6340477466583252, -0.807498037815094, 1.0439509153366089, -0.048490267246961594, 0.433478444814682, 0.5176649689674377, 0.9265126585960388, 0.2702324688434601, 0.2556364834308624, -0.5721306204795837, 0.32762661576271057, -0.26136207580566406, -0.689284086227417, -0.5066180229187012, -0.3299201726913452, -1.4216607809066772, 0.30586758255958557, -0.25316086411476135, -0.520953357219696, 0.2304614782333374, -0.36768287420272827, -0.4076356589794159, 0.21021009981632233, -0.8767369389533997, 0.47369739413261414, -0.17880238592624664, -0.09870725125074387, -0.2266867607831955, -0.46544551849365234, 0.10767009854316711, -0.3894539177417755, 0.6935941576957703, 0.08375349640846252, -0.10022572427988052, 0.4731469750404358, -0.39715978503227234, 0.7613911628723145, -0.10173673182725906, -0.3139568567276001, 0.7064410448074341, 0.11400879919528961, 0.053961511701345444, -0.10302244126796722, -0.15510565042495728, 0.6327928900718689, 0.13307815790176392, -0.3289428651332855, -0.38193756341934204, 0.6866750717163086, -0.7788124680519104, -0.4161589741706848, -0.2574957013130188, -0.28709322214126587, -0.1369158774614334, 0.3173198699951172, 0.24771858751773834, 0.45091015100479126, -0.12239938229322433, 0.23911058902740479, 0.49503079056739807, -0.5769108533859253, 0.37295305728912354, 0.5974851250648499, -0.14151610434055328, -0.53959059715271, 0.5965994000434875, 0.2252902388572693, 0.03222469612956047, 0.351771742105484, 0.15320707857608795, -0.4655514359474182, -0.5042853355407715, -0.3877377212047577, 0.15011709928512573, -0.729270875453949, -0.24841412901878357, -0.42776504158973694, 0.37686485052108765, -0.6996498107910156, -0.17545175552368164, -0.0846007764339447, -0.21525318920612335, -0.020449809730052948, -0.11977527290582657, 0.24830032885074615, 0.8550909757614136, -0.43191540241241455, 0.3048945367336273, -0.9007851481437683, 0.06887228041887283, -0.2836085557937622, 0.1076197624206543, -0.25091344118118286, -0.09235090017318726, -0.3061668276786804, 0.013617263175547123, -0.001311231986619532, -0.5794968605041504, 0.4557664096355438, -0.21596136689186096, 0.365717351436615, 0.22938404977321625, 0.06820455938577652, 0.9569451808929443, -0.669301450252533, 0.8842940330505371, -0.04341057315468788, -0.7221582531929016, 0.31129249930381775, -0.3798615634441376, 0.5919554233551025, 0.7313975691795349, 0.7092077136039734, -0.6844005584716797, -0.6060896515846252, -0.6485803723335266, -1.1455327272415161, -0.05039357393980026, -0.10739213973283768, -0.0052483160980045795, -0.3871145248413086, 0.2600145936012268, 0.1384512037038803, -0.03800991550087929, -0.1361483335494995, 0.019592268392443657, 0.2628437578678131, -0.1474704146385193, -0.1257171630859375, -0.22308294475078583, -0.06270287930965424, 0.14743264019489288, 0.7559701800346375, -0.043438974767923355, -0.16701330244541168, 0.2189946323633194, -0.32841411232948303, -0.14841212332248688, 0.32496902346611023, 0.5625659227371216, 0.957000732421875, 0.04335356131196022, 0.39624083042144775, 0.12686321139335632, -0.668924868106842, -0.030695419758558273, -0.08888359367847443, -0.30373746156692505, 0.17925190925598145, 0.5161658525466919, 0.03228536993265152, 0.3700287640094757, -0.8545448184013367, 0.21028073132038116, -0.046070825308561325, -0.266475111246109, -0.5343675017356873, -0.3766205310821533, 0.07758890837430954, 0.15983866155147552, 0.46877598762512207, -0.028142563998699188, 0.20586371421813965, -0.4881137013435364, 0.301405668258667, 0.29730382561683655, 0.12162339687347412, -0.038209374994039536, 0.3023316562175751, -0.12856857478618622, 0.03062491863965988, 0.9701275825500488, -0.4711982309818268, -0.674917995929718, 0.6322852969169617, 0.21010346710681915, 0.2583652436733246, 0.04519883170723915, 0.13995760679244995, 0.7362858653068542, 0.5237815380096436, -0.08088033646345139, 0.17517529428005219, 0.1525435596704483, -0.7114582657814026, -0.5294033885002136, -0.44385606050491333, -0.4223329722881317, 0.14596383273601532, -0.5753698945045471, 0.487060546875, -0.11207608878612518, -0.1876867264509201, 0.0787857249379158, 0.279786080121994, -0.6801216006278992, 0.4268110990524292, 0.3031056523323059, 0.8470112085342407, -0.8308795690536499, 0.27480626106262207, 0.6175227761268616, -0.36597079038619995, -0.6584718227386475, -0.11795444786548615, 0.15903601050376892, -0.7717885375022888, 0.8564934730529785, 0.20245355367660522, -0.30947768688201904, -0.4012594223022461, -0.4345182478427887, -1.4509985446929932, 0.7465738654136658, 0.02433377504348755, -0.5542837381362915, 0.38491782546043396, 0.36659112572669983, 0.856235921382904, -0.005729706026613712, 0.27708977460861206, 0.4874914884567261, 0.6102504730224609, -0.21689733862876892, -1.0021523237228394, 0.04866338148713112, 0.027243616059422493, -0.05791711434721947, 0.4051533043384552, -0.45898982882499695, 0.79682457447052, -0.26907965540885925, -0.49799028038978577, 0.002595747821033001, 0.5285860896110535, 0.337980717420578, -0.021005284041166306, 0.8701658248901367, 0.5760435461997986, 1.1228759288787842, -0.02348547801375389, 0.8317219018936157, -0.39567649364471436, 0.18797962367534637, 1.0819859504699707, -0.4488283395767212, 1.0736969709396362, 0.31158745288848877, -0.08727113902568817, 0.7124385833740234, 0.819130003452301, -0.17591604590415955, 0.4067668616771698, 0.6482541561126709, -0.04655974730849266, 0.1817469298839569, -0.05307353660464287, -0.1978381872177124, 1.034895420074463, 0.29556551575660706, -0.0440087616443634, -0.5015177726745605, -0.051832567900419235, 0.17733198404312134, 0.26027441024780273, -0.3452009856700897, 0.4252922832965851, -0.4750739336013794, -1.1337389945983887, 0.48391109704971313, 0.020662622526288033, 0.8233881592750549, -0.3023701012134552, 0.09239383041858673, -0.20669247210025787, 0.09002172946929932, -0.5867745280265808, -0.7290587425231934, 0.48220518231391907, 0.3080909848213196, -0.22006462514400482, -0.268113374710083, 0.49342653155326843, -0.5119015574455261, -0.21456657350063324, 0.5134487748146057, 0.5743887424468994, 0.4674217998981476, -0.12173617631196976, -0.01923241652548313, 0.16941384971141815, -0.180729940533638, -0.16615191102027893, 0.2351779043674469, 0.7296643257141113, -0.5253827571868896, 0.09518397599458694, 0.9131563305854797, 0.24449677765369415, 0.05409812927246094, 0.4962460398674011, 0.2909042239189148, -0.5197362303733826, -0.49863481521606445, -0.625691294670105, 0.14949451386928558, -0.16883769631385803, -0.21711359918117523, 0.9490280747413635, 1.0812791585922241, 1.1961854696273804, 0.18492068350315094, 0.850206732749939, -0.07659866660833359, 0.6284160017967224, -0.35877111554145813, 0.510855495929718, -0.2714287042617798, 0.0415535569190979, -0.13302966952323914, -0.735345721244812, -0.3667173385620117, 0.34401267766952515, -0.40705370903015137, -0.1520465910434723, 0.7662109732627869, 0.8584457635879517, -0.037508513778448105, 0.14033108949661255, 0.23595193028450012, -0.17346680164337158, 0.314912885427475, 0.17872627079486847, 0.9407006502151489, -0.2919293940067291, 0.6598966121673584, -0.203518345952034, -0.2973034083843231, 0.16237439215183258, -1.0252577066421509, -0.2501380443572998, -0.5966129302978516, -0.35363879799842834, -0.24886029958724976, -0.23625898361206055, 0.6649712324142456, 0.5488981008529663, -0.8557949662208557, -0.1645878702402115, 0.11327999085187912, -0.15757764875888824, -0.19865338504314423, -0.31296902894973755, 0.4466588795185089, -0.5431297421455383, -0.8839725255966187, 0.488457053899765, -0.039163555949926376, -0.2908332943916321, -0.3543320894241333, 0.3402326703071594, -0.18303893506526947, -0.33017051219940186, 0.8640205264091492, 0.19788791239261627, -0.41161274909973145, -0.40366771817207336, 0.03588147088885307, -0.15444889664649963, 0.019237779080867767, 0.8277006149291992, -0.6555817723274231, 0.19466067850589752, 0.3627709150314331, 0.45063620805740356, 0.5095313787460327, 0.18033833801746368, 0.4182230830192566, -0.7770007848739624, -0.045095544308423996, -0.10243397951126099, 0.5009927153587341, 0.7244918346405029, -0.46239757537841797, 0.7746656537055969, -0.0894041657447815, -0.6257778406143188, -0.4846118986606598, -0.05149779096245766, -0.6861112117767334, -0.4964042901992798, 1.6943868398666382, -0.06262239813804626, -0.207170307636261, -0.4196683466434479, -0.16882796585559845, 0.19208486378192902, -0.21763373911380768, 0.904301643371582, 0.8776578903198242, -0.016386473551392555, 0.5546392798423767, -0.554373562335968, 0.24016042053699493, 0.19722844660282135, -0.6490280032157898, -0.02106376737356186, 0.9146189093589783, 0.5167043805122375, 0.8416637778282166, 0.5720129609107971, -0.3136991560459137, 0.060291778296232224, -0.11801256239414215, 0.0956219732761383, 0.22149017453193665, -0.24333709478378296, -0.1608526110649109, 0.3873232901096344, -0.25355231761932373, -0.13895735144615173 ]
http://arxiv.org/abs/2403.08196v1
http://arxiv.org/pdf/2403.08196v1
SpeechColab Leaderboard: An Open-Source Platform for Automatic Speech Recognition Evaluation
2024-03-13T02:41:53
2024-03-13T02:41:53
Jiayu Du, Jinpeng Li, Guoguo Chen, Wei-Qiang Zhang
cs.CL
cs.CL, eess.AS
In the wake of the surging tide of deep learning over the past decade, Automatic Speech Recognition (ASR) has garnered substantial attention, leading to the emergence of numerous publicly accessible ASR systems that are actively being integrated into our daily lives. Nonetheless, the impartial and replicable evaluation of these ASR systems encounters challenges due to various crucial subtleties. In this paper we introduce the SpeechColab Leaderboard, a general-purpose, open-source platform designed for ASR evaluation. With this platform: (i) We report a comprehensive benchmark, unveiling the current state-of-the-art panorama for ASR systems, covering both open-source models and industrial commercial services. (ii) We quantize how distinct nuances in the scoring pipeline influence the final benchmark outcomes. These include nuances related to capitalization, punctuation, interjection, contraction, synonym usage, compound words, etc. These issues have gained prominence in the context of the transition towards an End-to-End future. (iii) We propose a practical modification to the conventional Token-Error-Rate (TER) evaluation metric, with inspirations from Kolmogorov complexity and Normalized Information Distance (NID). This adaptation, called modified-TER (mTER), achieves proper normalization and symmetrical treatment of reference and hypothesis. By leveraging this platform as a large-scale testing ground, this study demonstrates the robustness and backward compatibility of mTER when compared to TER. The SpeechColab Leaderboard is accessible at https://github.com/SpeechColab/Leaderboard
[ -0.22153282165527344, -0.5527872443199158, 0.03968137875199318, 0.6642587184906006, -0.1399417668581009, 0.43846502900123596, -0.4620298147201538, -0.3110405206680298, 0.05703754350543022, 0.06792329996824265, -0.01815093867480755, -0.6582709550857544, -0.7084508538246155, -0.09238814562559128, -0.4747922122478485, 0.8690126538276672, -0.04958273470401764, 0.12405836582183838, -0.12225403636693954, -0.2994691729545593, -0.6015644669532776, -0.49782636761665344, -0.6922929883003235, -0.467012494802475, 0.39046576619148254, 0.3147903084754944, 0.4110041558742523, 0.5192883014678955, 0.8573898673057556, 0.2738666236400604, -0.13693827390670776, -0.278184711933136, -0.14477720856666565, 0.24077297747135162, 0.038516297936439514, -0.06779053807258606, -0.6657789349555969, 0.017527198418974876, 0.7629967331886292, 0.8039882183074951, -0.32507607340812683, 0.43268099427223206, 0.4120113253593445, 0.4710608422756195, -0.6957272887229919, 0.39014989137649536, -0.4401369094848633, 0.0849037617444992, -0.2665702700614929, -0.19041460752487183, -0.2711012661457062, -0.6521715521812439, 0.12050767242908478, -0.21156662702560425, 0.06134979426860809, -0.12465272098779678, 0.3603394031524658, 0.43994978070259094, -0.09451133757829666, -0.49212682247161865, -0.752332329750061, 0.49851658940315247, -0.2889021933078766, 0.6606168746948242, 0.18349216878414154, 0.8366553783416748, 0.056494567543268204, -0.9938085675239563, -0.37955501675605774, -0.36718931794166565, 0.3745218515396118, 0.23186913132667542, -0.5578229427337646, -0.10624026507139206, 0.01760118640959263, 0.4882933795452118, -0.6989045739173889, 0.314300537109375, -0.4755438566207886, -0.17794805765151978, 0.2718062698841095, 0.049461301416158676, 0.06832189112901688, 0.07022310048341751, -0.08529304713010788, -0.1817908138036728, -0.3362255394458771, 0.3241518437862396, 0.23426228761672974, 0.5032895803451538, -0.0838845744729042, 0.4665497839450836, -0.2577350437641144, 0.4752798080444336, 0.08779650926589966, 0.39789658784866333, 0.5947559475898743, 0.12106668949127197, -0.3492147624492645, 0.5434396266937256, 0.9640957117080688, 0.39895039796829224, -0.024163253605365753, -0.41257572174072266, -0.04170503094792366, 0.40524598956108093, 0.1549564003944397, -0.805004358291626, -0.509269654750824, 0.3009985685348511, -0.3232257068157196, -0.31300950050354004, 0.19172050058841705, -0.679326057434082, -0.41830340027809143, -0.127289280295372, 0.5072335600852966, -0.37957432866096497, -0.01868116669356823, 0.015487590804696083, -0.1419185847043991, 0.3008772134780884, 0.3484387695789337, -0.5044006705284119, 0.4943940341472626, 0.8607545495033264, 1.091930627822876, -0.2947429418563843, -0.31013184785842896, -0.9509866237640381, -0.1983482986688614, -0.35529977083206177, 0.7836592197418213, -0.56669682264328, -0.5422893166542053, -0.29413846135139465, -0.2943982481956482, -0.11773565411567688, -0.8186449408531189, 0.7194955348968506, -0.3325144052505493, 0.10788401961326599, -0.11254968494176865, -0.46789824962615967, 0.08011604845523834, 0.24292100965976715, -0.5391467809677124, 0.7555195093154907, -0.3491029739379883, -0.43819645047187805, 0.39743509888648987, -1.0376118421554565, -0.4406387209892273, 0.2574310600757599, -0.19457417726516724, -0.38524654507637024, -0.03850428760051727, 0.07300607860088348, 0.12807554006576538, -0.3387286961078644, 0.19636262953281403, -0.0834643766283989, -0.4807100296020508, 0.31268712878227234, -0.4458792805671692, 0.8553745746612549, 0.2920900583267212, -0.44032737612724304, 0.41118156909942627, -0.8822541832923889, 0.2027900218963623, -0.34248676896095276, -0.4696807563304901, 0.03215767815709114, -0.11352609843015671, 0.24933713674545288, -0.04934544488787651, 0.06646471470594406, -0.6133870482444763, -0.2529335916042328, -0.18740276992321014, 0.7308089733123779, 0.7893132567405701, -0.17738622426986694, 0.2142980992794037, -0.2046613246202469, 0.5036546587944031, -0.19422388076782227, 0.2829235792160034, 0.039633072912693024, -0.5999575257301331, -0.6394065022468567, -0.4897935688495636, 0.6659043431282043, 0.6372377872467041, -0.1251053363084793, 0.8612313866615295, -0.488567054271698, -0.6618462204933167, -0.9989492893218994, -0.062387194484472275, 0.3936338722705841, 0.6410678029060364, 0.45544320344924927, -0.39755553007125854, -0.5724321603775024, -0.5717030167579651, -0.2386665791273117, -0.14436542987823486, -0.281084805727005, 0.1278683841228485, 0.2707519829273224, -0.24668803811073303, 0.8299116492271423, -0.11162292212247849, -0.690021276473999, -0.04777125269174576, 0.24842625856399536, 0.2553843855857849, 0.6549267768859863, 0.18787817656993866, -0.6270273327827454, -0.656526505947113, 0.08633309602737427, -0.5965025424957275, -0.19115957617759705, 0.28918975591659546, 0.2875001132488251, -0.06599941849708557, 0.5063672661781311, -0.31369343400001526, 0.34230124950408936, 0.5915263891220093, -0.21208375692367554, 0.5813395977020264, -0.252029150724411, 0.30012694001197815, -0.6865941882133484, 0.39377060532569885, -0.3034420907497406, -0.06570953875780106, -0.4581933915615082, -0.0028735289815813303, -0.08462684601545334, -0.1288813203573227, -0.2531563639640808, 0.4836426079273224, 0.017425142228603363, -0.22896580398082733, -0.10905354470014572, 0.2069675326347351, -0.13347631692886353, 0.007836363278329372, -0.3675419092178345, 0.7278339266777039, 0.6493065357208252, -0.4410308003425598, 0.4751155972480774, 0.27381646633148193, -0.5420448780059814, 0.7696008086204529, -0.8926717638969421, 0.31626561284065247, 0.09506328403949738, 0.08718448132276535, -0.829608142375946, 0.05891239643096924, 0.16160018742084503, -0.7833356261253357, 0.07281830906867981, -0.01761951856315136, -0.5799464583396912, -0.3370461165904999, -0.2303818166255951, 0.16394458711147308, 0.6401835680007935, -0.5604934692382812, 0.41045570373535156, 0.4864594340324402, -0.19645419716835022, -0.4284273386001587, -0.7326557040214539, 0.41224756836891174, -0.19374194741249084, -0.418296217918396, 0.25333371758461, -0.35508495569229126, -0.3689432144165039, -0.08918777853250504, -0.20509682595729828, 0.01747145503759384, 0.02012951858341694, 0.49114009737968445, -0.004836656618863344, -0.2826470136642456, -0.08867247402667999, -0.12931518256664276, -0.3169606924057007, -0.07170248031616211, -0.24866563081741333, 0.6044631600379944, -0.6772733330726624, -0.27435624599456787, -0.6867532134056091, 0.01175338588654995, 0.5584781169891357, -0.39900273084640503, 0.20152264833450317, 0.7352237701416016, -0.3727771043777466, 0.036304473876953125, -0.5526289343833923, 0.07784776389598846, -0.4255366027355194, 0.1792534440755844, -0.44676095247268677, -0.741158664226532, 0.5384803414344788, 0.07719686627388, -0.10841810703277588, 0.22219215333461761, 0.5858544111251831, -0.2502238154411316, 0.6205102801322937, 0.49073222279548645, -0.0423443540930748, 0.24579490721225739, -0.1904095560312271, 0.12359731644392014, -0.9493122100830078, -0.43923071026802063, -0.6633909940719604, -0.48225638270378113, -0.6024492979049683, -0.49671241641044617, 0.34375283122062683, -0.0828806608915329, -0.24135757982730865, 0.2452983856201172, -0.6402439475059509, 0.41226866841316223, 0.7062941193580627, -0.01852305419743061, 0.43446046113967896, -0.16344942152500153, 0.010592292994260788, -0.2112785428762436, -0.3875510096549988, -0.46910783648490906, 1.0175974369049072, 0.20024921000003815, 0.5591592788696289, 0.06436559557914734, 0.5324968695640564, 0.7168649435043335, 0.20922216773033142, -0.7926389575004578, 0.4348716735839844, -0.41920241713523865, -0.18526659905910492, -0.1735326647758484, -0.36488330364227295, -0.8238124251365662, 0.19004946947097778, -0.018580418080091476, -0.740905225276947, 0.32436224818229675, 0.10450926423072815, -0.4128771722316742, 0.05373779684305191, -0.5891796350479126, 0.9484918117523193, -0.22026757895946503, -0.05080689117312431, -0.12715554237365723, -0.5797416567802429, -0.23066776990890503, -0.04770296439528465, 0.0384114645421505, 0.12377181649208069, 0.18809370696544647, 0.8999767303466797, -0.12526565790176392, 0.6142501831054688, -0.3229024112224579, 0.4032976031303406, 0.13683922588825226, 0.08968088030815125, 0.07438148558139801, -0.2650283873081207, -0.3343403935432434, 0.3852534592151642, -0.19236642122268677, -0.1234876811504364, -0.5255870819091797, 0.7630335092544556, -0.7408716082572937, -0.07395268231630325, -0.4698835611343384, -0.2516801059246063, -0.25436607003211975, 0.32482239603996277, 0.17894183099269867, 0.4754999279975891, -0.5783979892730713, 0.7316032648086548, 0.3593263328075409, -0.15642772614955902, 0.26194044947624207, 0.2945514917373657, -0.17970730364322662, -0.7214012742042542, 0.8833385705947876, 0.19639086723327637, -0.20916548371315002, 0.33852535486221313, 0.24743428826332092, -0.29834145307540894, -0.7277528643608093, -0.3131195306777954, -0.2496558129787445, -0.6360782980918884, -0.04688992723822594, -0.6454595923423767, -0.2381415218114853, -0.5052738785743713, -0.16149769723415375, -0.4363638162612915, -0.5061872601509094, -0.15748170018196106, -0.27747997641563416, 0.07080947607755661, 0.342007040977478, -0.28064194321632385, 0.41972219944000244, -0.177249938249588, 0.28083184361457825, 0.2709212601184845, 0.6157746911048889, -0.2120615839958191, -0.6649723052978516, 0.07679027318954468, -0.01845565252006054, -0.2596927881240845, -0.35658159852027893, 0.12627781927585602, 0.4958288073539734, 0.5488609671592712, 0.25228726863861084, 0.05459931865334511, 0.7985792756080627, -0.5977059006690979, 0.522371232509613, 0.21365737915039062, -1.1093982458114624, 0.5376886129379272, 0.02658148854970932, 0.2086840122938156, 0.6520786881446838, 0.13040317595005035, -0.5806677937507629, -0.41358280181884766, -0.3550775945186615, -0.8498804569244385, 0.3144119083881378, 0.29539796710014343, -0.13775277137756348, 0.13300175964832306, -0.041698601096868515, 0.2795649766921997, 0.5067756772041321, -0.3702815771102905, -0.09306816756725311, -0.5887738466262817, -0.3229595422744751, -0.2134651094675064, 0.07362648844718933, -0.05700567737221718, -0.17492546141147614, 0.5337380766868591, 0.08565022796392441, 0.11446551978588104, 0.10704559832811356, -0.3732759654521942, 0.12605838477611542, 0.40796393156051636, 0.2692241370677948, 0.6108937859535217, -0.4994189143180847, 0.04586115851998329, -0.05698405206203461, -0.5702934861183167, -0.1297650784254074, 0.4489764869213104, -0.267764687538147, -0.019116468727588654, 0.2153700739145279, 0.9090443253517151, 0.11931321024894714, -0.6940059065818787, 0.5438166260719299, -0.08911040425300598, -0.03848186135292053, -0.34629493951797485, -0.07733381539583206, -0.15210022032260895, 0.4659503698348999, 0.5108720064163208, 0.24163655936717987, 0.4854339361190796, -0.5276839733123779, 0.37467700242996216, 0.33490970730781555, -0.8263435959815979, -0.33145999908447266, 0.7913660407066345, 0.16528965532779694, -0.6563655734062195, 0.5522304773330688, -0.22207136452198029, -0.3301279842853546, 0.42163360118865967, 0.23045755922794342, 1.0988496541976929, -0.46702244877815247, 0.3033434748649597, 0.10364258289337158, 0.44789955019950867, 0.15235799551010132, 0.13455766439437866, -0.2654535174369812, -0.38474971055984497, -0.1093171089887619, -0.7344432473182678, -0.6751693487167358, -0.029094429686665535, -0.8180885910987854, 0.3887837529182434, -0.7692064046859741, -0.36561068892478943, 0.17043405771255493, -0.11060547083616257, -0.4956061542034149, 0.21399745345115662, 0.14294980466365814, 0.8227468132972717, -0.41124770045280457, 0.5901340842247009, 0.641274631023407, -0.3415299355983734, -0.21673311293125153, -0.06451213359832764, -0.06933603435754776, -0.6308454275131226, 0.5790836215019226, 0.3993690311908722, -0.34543925523757935, 0.02187289111316204, -0.1114128828048706, -0.37840735912323, 1.1533113718032837, 0.37651774287223816, -0.39934012293815613, 0.05574524402618408, 0.18964935839176178, 0.832270622253418, -0.22314999997615814, 0.2330564558506012, 0.4201260507106781, 0.40662556886672974, 0.2570735216140747, -1.252968668937683, -0.11199844628572464, -0.375520795583725, -0.10700984299182892, -0.22260938584804535, -0.5565227270126343, 0.6391656398773193, -0.2012832760810852, -0.12430965900421143, 0.07482419908046722, 0.4501775801181793, 0.2028864026069641, 0.565644383430481, 0.2365320771932602, 0.46657589077949524, 0.832817792892456, -0.21791882812976837, 0.5070356726646423, -0.20073352754116058, 0.1946823000907898, 1.3552190065383911, -0.3132976293563843, 1.0882631540298462, 0.3704824447631836, -0.11190841346979141, 0.5293871164321899, 0.2226812243461609, -0.34181344509124756, 0.660889208316803, 0.18915174901485443, 0.018462928012013435, 0.11236988753080368, -0.011100509203970432, -0.4928855895996094, 0.7041336297988892, 0.19017209112644196, -0.2715364396572113, -0.21272669732570648, 0.16754655539989471, -0.17416471242904663, 0.04388467222452164, -0.26702994108200073, 0.8320156335830688, 0.09289522469043732, -0.10260550677776337, 0.4637434780597687, -0.12041525542736053, 0.5495973229408264, -0.4831066131591797, 0.1408868283033371, -0.0013891552807763219, 0.494347482919693, -0.22892023622989655, -0.6938464641571045, 0.39186495542526245, 0.22120223939418793, -0.005512420553714037, -0.21975578367710114, 0.3139038681983948, -0.1545589566230774, -0.4836162328720093, 0.3931540250778198, 0.30754658579826355, 0.21462811529636383, -0.32256683707237244, -0.6671910881996155, 0.49340084195137024, -0.3643065392971039, 0.1382370889186859, 0.15006627142429352, 0.2249618023633957, 0.15725083649158478, 0.7730567455291748, 0.703923761844635, 0.26112100481987, 0.16217653453350067, 0.25265881419181824, 0.5988392233848572, -0.46825364232063293, -0.8642411828041077, -0.7131277322769165, 0.4968690574169159, -0.1383265107870102, -0.17421454191207886, 0.7016905546188354, 0.868760347366333, 0.6509885787963867, 0.21403004229068756, 0.8108456134796143, -0.17674478888511658, 0.4683573842048645, -0.031960513442754745, 0.9938758611679077, -0.20043645799160004, 0.23645271360874176, -0.4221480190753937, -0.8768689632415771, -0.7188156843185425, 0.723061203956604, -0.3918754756450653, -0.1746458113193512, 0.5040760040283203, 0.5063307285308838, -0.045027151703834534, 0.13717494904994965, 0.26518794894218445, 0.4770912826061249, 0.5005591511726379, 0.25464221835136414, 0.7153540253639221, -0.6091592311859131, 0.8801432251930237, -0.1448279172182083, -0.605934202671051, -0.3295336067676544, -0.7337806224822998, -0.54619300365448, -0.6886642575263977, -0.5593162775039673, -0.34442389011383057, 0.5726107954978943, 0.9641920328140259, 0.4004337191581726, -0.9666914343833923, -0.504976212978363, -0.06704580038785934, -0.17324182391166687, -0.3239384591579437, -0.21273407340049744, 0.36321017146110535, -0.14468593895435333, -0.6177248358726501, 0.3999898135662079, 0.4602928161621094, -0.26982805132865906, 0.030336709693074226, -0.05236794799566269, 0.22829914093017578, -0.3361246883869171, 0.6111130118370056, 0.35957178473472595, -0.5589067935943604, -0.23446421325206757, 0.05946435034275055, 0.09901531040668488, 0.2973380386829376, 0.54018634557724, -0.8228421807289124, 0.6213928461074829, 0.29429900646209717, 0.6855957508087158, 0.3334142863750458, -0.08373218029737473, 0.3090202510356903, -0.30407458543777466, -0.09854499995708466, 0.4972238540649414, 0.19611264765262604, 0.5883749127388, 0.21532411873340607, 0.3978140950202942, 0.17390120029449463, -0.6065035462379456, -1.212609887123108, -0.1014489233493805, -0.9720577597618103, 0.2160714566707611, 0.7976608276367188, -0.01730051450431347, 0.022383423522114754, 0.11211646348237991, -0.0962875634431839, 0.22684773802757263, -0.5925076007843018, 1.0691437721252441, 0.4004304111003876, -0.18084312975406647, -0.04603367671370506, -0.33494481444358826, 0.18448175489902496, 0.017444385215640068, -0.6226394772529602, 0.1144413948059082, 0.4613107740879059, 0.38884085416793823, 0.2727491557598114, 0.7223613858222961, -0.23859938979148865, 0.34000688791275024, -0.005391850136220455, 0.057774078100919724, -0.16403861343860626, -0.40283939242362976, -0.6029039025306702, 0.3152396082878113, 0.04692207649350166, -0.5212686061859131 ]
http://arxiv.org/abs/2403.09732v4
http://arxiv.org/pdf/2403.09732v4
PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistency
2024-03-13T02:32:41
2024-06-02T02:58:53
Zhishuai Li, Xiang Wang, Jingjing Zhao, Sun Yang, Guoqing Du, Xiaoru Hu, Bin Zhang, Yuxiao Ye, Ziyue Li, Rui Zhao, Hangyu Mao
cs.CL
cs.CL, cs.AI
Recent advancements in Text-to-SQL (Text2SQL) emphasize stimulating the large language models (LLM) on in-context learning, achieving significant results. Nevertheless, they face challenges when dealing with verbose database information and complex user intentions. This paper presents a two-stage framework to enhance the performance of current LLM-based natural language to SQL systems. We first introduce a novel prompt representation, called reference-enhanced representation, which includes schema information and randomly sampled cell values from tables to instruct LLMs in generating SQL queries. Then, in the first stage, question-SQL pairs are retrieved as few-shot demonstrations, prompting the LLM to generate a preliminary SQL (PreSQL). After that, the mentioned entities in PreSQL are parsed to conduct schema linking, which can significantly compact the useful information. In the second stage, with the linked schema, we simplify the prompt's schema information and instruct the LLM to produce the final SQL. Finally, as the post-refinement module, we propose using cross-consistency across different LLMs rather than self-consistency within a particular LLM. Our methods achieve new SOTA results on the Spider benchmark, with an execution accuracy of 87.6%.
[ -0.16100262105464935, -0.8110294938087463, 0.6070505976676941, 0.015466284938156605, -0.4496004283428192, 0.030819514766335487, -0.44094881415367126, -0.36784347891807556, 0.07311674952507019, 0.5823370814323425, -0.6283842921257019, -0.500367283821106, 0.008978691883385181, 0.5458095073699951, -0.03223063051700592, 0.9095445275306702, 0.2644660770893097, 0.36115214228630066, -0.17004434764385223, -0.08276256173849106, -0.30476537346839905, -0.4248276650905609, -0.5283306837081909, -0.21236906945705414, 0.35007956624031067, 0.5258333683013916, 0.6871885657310486, 0.4998677968978882, 0.26218000054359436, 0.08423490077257156, -0.05328622832894325, 0.4604814648628235, -0.49679267406463623, 0.42170247435569763, -0.7130482792854309, -0.4770417809486389, -0.44075828790664673, -0.36117246747016907, 0.7429561018943787, 0.4931567907333374, -0.21509337425231934, -0.4120247960090637, 0.19867753982543945, 0.6970386505126953, -0.44244247674942017, 0.07665292918682098, -0.8568421602249146, -0.1624111533164978, -0.25410494208335876, -0.2773353159427643, -0.6684545874595642, -0.35962948203086853, -0.034879088401794434, -0.8767868280410767, 0.1220838725566864, 0.23272506892681122, 0.9726289510726929, 0.12278499454259872, -0.4013268053531647, -0.1571177840232849, -0.4699467122554779, 0.5233181118965149, -0.46560245752334595, 0.4773275852203369, 0.3372405469417572, 0.5164682865142822, -0.6698782444000244, -0.8058856725692749, -0.5900914669036865, -0.44316530227661133, -0.36541786789894104, -0.25197458267211914, 0.36716124415397644, 0.030344178900122643, 0.33366501331329346, 0.23905330896377563, -0.473419725894928, -0.002276808023452759, -0.003315381705760956, -0.13662560284137726, 0.5921695828437805, 0.27769792079925537, -0.07540907710790634, -0.03435513749718666, -0.443326860666275, 0.07924151420593262, -1.0718055963516235, -0.10664333403110504, 0.027339819818735123, 0.7036858201026917, 0.32133784890174866, 0.7263455390930176, -0.3267912268638611, 0.5627844929695129, 0.463894784450531, 0.26714271306991577, 0.14576776325702667, -0.8019863963127136, 0.017750181257724762, -0.10112649947404861, 0.9004691243171692, 0.36738765239715576, 0.1947009116411209, -0.12424764037132263, -0.12791796028614044, -0.1261109709739685, 0.16077318787574768, -0.8386805057525635, -0.04344690591096878, 0.3387705981731415, -0.2957843542098999, -0.12605679035186768, -0.33155566453933716, -0.6617463231086731, -0.7000450491905212, -0.3009802997112274, 0.42666107416152954, -0.6912223100662231, -0.2692539095878601, -0.04982464388012886, 0.12241897732019424, 0.4684228301048279, 0.5859836935997009, -0.8318852186203003, 0.5203630924224854, 0.7618991136550903, 0.5287531614303589, -0.24011455476284027, -0.15641337633132935, -0.6707342863082886, 0.37825071811676025, -0.5392559170722961, 0.8421618342399597, -0.6354649066925049, -0.3868798315525055, -0.14633530378341675, 0.1908055692911148, 0.3759865164756775, -0.5528825521469116, 0.28108280897140503, -0.37138527631759644, 0.5109072923660278, -0.6371408700942993, -0.6200407147407532, 0.17501376569271088, 0.3083517849445343, -0.43351247906684875, 1.6006242036819458, 0.11429829895496368, -0.5779480338096619, 0.5785666704177856, -0.37409865856170654, -0.40789794921875, 0.12716306746006012, -0.5462008118629456, -0.448184609413147, -0.020636970177292824, -0.09170275181531906, 0.34163033962249756, -0.49681776762008667, 0.3062845468521118, -0.2060668170452118, -0.5704620480537415, -0.09334947168827057, 0.33255496621131897, 0.46546366810798645, -0.013384118676185608, -0.20402009785175323, 0.1002439633011818, -0.977173388004303, 0.1524837762117386, 0.01365046575665474, -0.2285185009241104, -0.22958792746067047, -0.02173524722456932, -0.11577443033456802, 0.27813753485679626, 0.30853456258773804, -0.5221909284591675, 0.3973715901374817, -0.4600870907306671, 0.3239615857601166, 0.2421312779188156, -0.0063192336820065975, 0.5580641627311707, 0.019251035526394844, 0.12867270410060883, -0.053970176726579666, -0.03747370466589928, -0.42593395709991455, -0.28730374574661255, -0.6045835018157959, -0.09834583103656769, 0.21958473324775696, 0.49752870202064514, -0.6376718282699585, 0.620528519153595, 0.02559073083102703, -0.4670203626155853, -0.12887197732925415, -0.3069932460784912, 0.35362207889556885, 0.5920283198356628, 0.5475121736526489, -0.4336257874965668, -0.6199914813041687, -0.8213904500007629, -0.3807844817638397, -0.1539790779352188, -0.1840292513370514, 0.4623474180698395, 0.24339017271995544, 0.09429929405450821, 1.1177177429199219, -0.16928371787071228, -0.18521343171596527, -0.08965758234262466, 0.06214134767651558, 0.1138669103384018, 0.6488286256790161, 0.2511657774448395, -0.2873705327510834, -0.6896317601203918, 0.0526200532913208, -0.540463924407959, -0.14309896528720856, -0.1860380917787552, -0.4112836718559265, 0.4426180124282837, 0.6071412563323975, -0.7436085343360901, 0.35566484928131104, -0.16735024750232697, -0.5364223122596741, 0.9309831261634827, -0.2266903519630432, 0.22415480017662048, -1.102314829826355, 0.1634349226951599, -0.23617856204509735, -0.4111442565917969, -0.6506819128990173, -0.26520127058029175, 0.22000932693481445, -0.15010210871696472, -0.26236385107040405, 0.41879913210868835, -0.7246741652488708, -0.29193881154060364, -0.22536374628543854, 0.29150691628456116, 0.25634756684303284, 0.28212496638298035, 0.5281505584716797, 1.0651390552520752, 0.6334422826766968, -0.6532682776451111, 0.18943801522254944, 0.27377474308013916, 0.12554924190044403, 0.9839577674865723, -0.6370020508766174, 0.23001667857170105, -0.03465760499238968, 0.5550938248634338, -0.9980962872505188, -0.04056473448872566, 0.21386374533176422, -0.4035494327545166, 0.4298967123031616, -0.03796497359871864, -0.5050125122070312, 0.07818315178155899, -0.39811164140701294, -0.00657394714653492, 0.4343271255493164, -0.3711819648742676, 0.8018919229507446, -0.15049749612808228, -0.13229432702064514, -0.5622682571411133, -0.6069136261940002, 0.3101777136325836, 0.10487176477909088, -0.5305824279785156, 0.6647689342498779, 0.2934137284755707, 0.05292979255318642, -0.08889945596456528, -0.049647483974695206, -0.12851928174495697, -0.3089240491390228, -0.19679416716098785, 0.19309310615062714, -0.3138667047023773, 0.5013917088508606, -0.15839934349060059, -0.14729706943035126, -0.14939367771148682, -0.29487890005111694, 0.6431846618652344, -0.05103243887424469, -0.09452233463525772, -0.5436087846755981, 0.539268434047699, 0.2527608573436737, -0.2638627886772156, 0.6652631759643555, 0.37177297472953796, -0.29071229696273804, -0.22557823359966278, -0.40024250745773315, -0.6882595419883728, -0.42804601788520813, 0.4504832327365875, -0.7536035776138306, -0.714625358581543, 0.4647664725780487, -0.35690173506736755, 0.06248445436358452, 0.402995228767395, 0.37848955392837524, -0.19289253652095795, 0.7165424227714539, 0.6369794011116028, 0.7724365592002869, 0.5227540135383606, 0.3133687973022461, -0.045006074011325836, -0.795317530632019, -0.6470399498939514, -0.7332049608230591, 0.2586599290370941, -0.37317395210266113, -0.7352920770645142, 0.06781935691833496, 0.3445960581302643, -0.48828479647636414, 0.5179669857025146, -0.5588316321372986, 0.6248040795326233, 0.26956936717033386, 0.10994581878185272, 0.363050639629364, 0.2372942417860031, -0.44044604897499084, -0.2506193518638611, -0.364244669675827, -0.6346856951713562, 1.0498108863830566, 0.10933532565832138, 0.7423341274261475, -0.07781659811735153, 0.5236573219299316, 0.092422716319561, -0.10856857150793076, -0.465530127286911, 0.7382875084877014, -0.011705241166055202, -0.4932228922843933, -0.32100313901901245, -0.1822887510061264, -0.7450602054595947, 0.43665769696235657, -0.43855342268943787, -0.8226605653762817, 0.20914682745933533, 0.15958943963050842, -0.2820882797241211, -0.059332914650440216, -0.5090214610099792, 0.7610086798667908, -0.18759414553642273, -1.104115605354309, -0.42812860012054443, -0.8437144160270691, 0.19506026804447174, 0.014173195697367191, -0.3562787175178528, -0.17931818962097168, -0.4095675051212311, 0.3269732892513275, -0.9120053648948669, 0.543082058429718, -0.1858343631029129, -0.050480347126722336, 0.26233604550361633, 0.07102120667695999, 1.0886369943618774, 0.09215569496154785, -0.4536512792110443, -0.08811111003160477, -0.01165411714464426, -0.28080013394355774, -0.8480574488639832, 0.2812255620956421, -0.13487987220287323, -0.5851345062255859, -0.5186576247215271, -0.15600797533988953, -0.49457550048828125, 0.24353106319904327, -0.008534069173038006, 0.2819759249687195, -0.2710149884223938, 0.23249994218349457, 0.7545750141143799, -0.28836607933044434, 0.10972881317138672, 0.9150229692459106, -0.2907988429069519, -0.34895360469818115, 0.486053466796875, -0.1697571575641632, 0.38046717643737793, 0.38111385703086853, 0.09943027049303055, -0.9246602654457092, -0.29771944880485535, -0.5721966624259949, 0.3437007665634155, -0.4888177514076233, -0.07960981875658035, -0.5813204646110535, 0.11711762100458145, -0.3144327998161316, -0.10968832671642303, -0.46359607577323914, -0.5512477159500122, -0.33263763785362244, 0.19496379792690277, 0.640868067741394, 0.5647474527359009, 0.14913389086723328, 0.2931167185306549, -0.5680859088897705, 0.03376419097185135, -0.04670887067914009, 0.4740981459617615, -0.4179984927177429, -0.40543580055236816, -0.005969188176095486, -0.2570973336696625, 0.08751999586820602, -1.1633458137512207, -0.17230241000652313, 0.391287624835968, 0.3869481682777405, 0.11148770153522491, 0.06012239679694176, 0.6805804967880249, -0.6437397599220276, 0.859920859336853, 0.3191603422164917, -0.8406941890716553, 0.8197047710418701, -0.422540545463562, 0.03884683921933174, 0.9497195482254028, 0.2243504673242569, -0.5183592438697815, -0.14027494192123413, -0.526870608329773, -0.797255277633667, 0.9024853706359863, 0.0659327432513237, -0.2595069408416748, 0.14325261116027832, 0.5941153764724731, 0.2865815758705139, 0.30907168984413147, -0.5228843688964844, -0.07398390769958496, -0.054128922522068024, -0.08164948970079422, 0.2350534200668335, -0.4099797010421753, 0.11157875508069992, -0.25595080852508545, 0.5925722122192383, -0.34655970335006714, 0.0621354877948761, 0.26293623447418213, 0.23675204813480377, 0.1297280490398407, 0.36552128195762634, 0.3225543797016144, 0.6035798192024231, -0.3031793534755707, 0.1068655252456665, 0.4028114676475525, -0.33181238174438477, 0.14294195175170898, 0.04854055866599083, -0.2295827716588974, 0.2044783979654312, -0.11502187699079514, 0.5383396148681641, 0.10806552320718765, -0.6632815599441528, 0.4390982985496521, -0.09392774850130081, 0.1930929273366928, 0.005465125199407339, -0.04031899943947792, 0.11346028000116348, 0.0008462585974484682, 0.2750670611858368, -0.135746031999588, 0.21688388288021088, -0.7225509285926819, 0.5641744136810303, 0.48621514439582825, -0.24839550256729126, -0.15828226506710052, 0.50551837682724, 0.3785255551338196, -0.3460082411766052, 0.44721126556396484, -0.38420140743255615, -0.3098822236061096, 0.2677861750125885, 0.7339327931404114, 0.7802776098251343, -0.37379026412963867, -0.025243256241083145, 0.6230111718177795, 0.06774459034204483, -0.1181211993098259, 0.8803877234458923, -0.30713343620300293, -0.29899489879608154, -0.3702736794948578, -0.41731083393096924, -0.5824435353279114, -0.1551956832408905, -0.4290887117385864, 0.7665960788726807, -0.5490344166755676, -0.1142243966460228, -0.21298901736736298, 0.20107701420783997, -0.17322079837322235, 0.2610515058040619, -0.35603371262550354, 1.0417232513427734, -0.5779207348823547, 1.062513828277588, 0.7711297869682312, -0.45661675930023193, -0.8590208888053894, -0.07118939608335495, -0.20464308559894562, -0.5040490627288818, 0.3201638460159302, 0.09956855326890945, -0.09593949466943741, -0.12252507358789444, -0.23733583092689514, -0.7509558796882629, 0.9585619568824768, 0.29513564705848694, -1.0418919324874878, -0.08613494038581848, 0.37471824884414673, 0.6633093953132629, -0.5241166353225708, 0.7189315557479858, 0.7295103669166565, 0.2992272675037384, 0.3445897698402405, -0.9802035093307495, 0.4016820192337036, -0.014579183422029018, 0.07539525628089905, 0.1795143038034439, -0.5797255039215088, 0.708362877368927, -0.3529909551143646, -0.2871476709842682, -0.06036284193396568, 0.6842061877250671, 0.6938979029655457, 0.15567617118358612, 0.46538910269737244, 0.3231104612350464, 1.0520812273025513, -0.23746652901172638, 0.7077600359916687, -0.3488859236240387, 0.13036519289016724, 1.4183838367462158, -0.7103673219680786, 1.1387298107147217, 0.5987444519996643, -0.40570512413978577, 0.6462651491165161, 0.7413427829742432, 0.017831062898039818, 0.5195649266242981, 0.2803225517272949, -0.23212671279907227, -0.41510990262031555, -0.41977766156196594, -0.6823012828826904, 0.18469396233558655, 0.41083991527557373, -0.29040855169296265, -0.4908803105354309, -0.4365847706794739, 0.022035803645849228, 0.2566247582435608, -0.029336057603359222, 0.7725408673286438, -0.05922078341245651, -0.6693790555000305, 0.6289811730384827, -0.14523310959339142, 0.5619173645973206, -0.7130329608917236, -0.24809563159942627, -0.2296813279390335, 0.04697125405073166, -0.31206756830215454, -0.876842737197876, 0.4025331139564514, -0.0035445853136479855, -0.18628305196762085, 0.043339960277080536, 0.8639107346534729, -0.7863335013389587, 0.017129849642515182, 0.04483431205153465, 0.12589702010154724, 0.4698154032230377, -0.2723411023616791, -0.6632991433143616, 0.04562821239233017, -0.04739847779273987, -0.16445763409137726, 0.11035050451755524, 0.6218344569206238, -0.13431353867053986, 0.47140926122665405, 0.4611298143863678, 0.010222063399851322, -0.11073172837495804, 0.16303986310958862, 0.8933730721473694, -0.765783965587616, -0.6682162284851074, -0.8139059543609619, 0.4895347058773041, -0.4614544212818146, -0.20682170987129211, 0.6694326400756836, 0.9721324443817139, 0.3668902516365051, 0.08743388205766678, 0.4616766571998596, -0.10780863463878632, 0.6924715638160706, -0.49578365683555603, 0.37705475091934204, -0.5578211545944214, 0.375378280878067, 0.11049024760723114, -0.9612149596214294, -0.08294068276882172, 0.4870617091655731, -0.05332737788558006, 0.08764232695102692, 1.0184745788574219, 1.2118054628372192, 0.31777113676071167, 0.10738489031791687, 0.13666366040706635, 0.06805714219808578, 0.07837522774934769, 0.6194037795066833, 0.8663098812103271, -0.4749355614185333, 0.46810588240623474, 0.1275535523891449, -0.13691431283950806, -0.30531197786331177, -0.9125115275382996, -0.7766349911689758, -0.46133941411972046, -0.39647889137268066, -0.7870833873748779, 0.4096176326274872, 0.9433876872062683, 0.8066340684890747, -0.8422333002090454, -0.023709766566753387, -0.3923095166683197, -0.20140217244625092, -0.0014592850347980857, -0.2121805101633072, 0.46186181902885437, -0.7374826073646545, -0.5295659303665161, 0.5089190006256104, 0.5536884069442749, -0.10111359506845474, -0.3586117923259735, -0.14934387803077698, -0.2430400848388672, 0.19012843072414398, 0.45164474844932556, 0.25700363516807556, -0.6929165720939636, -0.07739495486021042, -0.006357815116643906, -0.6363927721977234, 0.3610730767250061, 0.7307525277137756, -1.0405402183532715, 0.38044485449790955, 0.6739957332611084, 0.40497249364852905, 0.5884068012237549, 0.2725898325443268, 0.8210064768791199, -0.8808209896087646, 0.03753490373492241, 0.41701069474220276, 0.14143671095371246, 0.3816923201084137, -0.6464786529541016, 0.6769306063652039, 0.2674514949321747, -0.3980078101158142, -0.7456993460655212, 0.3969982862472534, -0.9125437140464783, -0.262275755405426, 1.1912262439727783, 0.02953585609793663, -0.3181719481945038, -0.32627126574516296, -0.44183072447776794, 0.15544794499874115, -0.6086128950119019, 0.3762059211730957, 0.46093618869781494, -0.2596614956855774, -0.18941085040569305, 0.027584951370954514, 1.0659629106521606, 0.6740832328796387, -1.0302457809448242, 0.434207558631897, 0.6574756503105164, 0.4180814325809479, -0.1014602780342102, 0.8645220994949341, -0.351509153842926, 0.3698049485683441, 0.16619783639907837, 0.20173142850399017, 0.0239219069480896, -0.26397982239723206, -0.3287490904331207, 0.08117178082466125, 0.02628149837255478, -0.04805683717131615 ]
http://arxiv.org/abs/2403.08192v1
http://arxiv.org/pdf/2403.08192v1
MoleculeQA: A Dataset to Evaluate Factual Accuracy in Molecular Comprehension
2024-03-13T02:26:16
2024-03-13T02:26:16
Xingyu Lu, He Cao, Zijing Liu, Shengyuan Bai, Leqing Chen, Yuan Yao, Hai-Tao Zheng, Yu Li
cs.CL
cs.CL, q-bio.BM
Large language models are playing an increasingly significant role in molecular research, yet existing models often generate erroneous information, posing challenges to accurate molecular comprehension. Traditional evaluation metrics for generated content fail to assess a model's accuracy in molecular understanding. To rectify the absence of factual evaluation, we present MoleculeQA, a novel question answering (QA) dataset which possesses 62K QA pairs over 23K molecules. Each QA pair, composed of a manual question, a positive option and three negative options, has consistent semantics with a molecular description from authoritative molecular corpus. MoleculeQA is not only the first benchmark for molecular factual bias evaluation but also the largest QA dataset for molecular research. A comprehensive evaluation on MoleculeQA for existing molecular LLMs exposes their deficiencies in specific areas and pinpoints several particularly crucial factors for molecular understanding.
[ -0.3018662929534912, -0.8065915107727051, 0.7664874196052551, -0.07601945102214813, -0.14402763545513153, 0.3752334415912628, 0.21377161145210266, -0.11775432527065277, 0.014122777618467808, 0.4059411585330963, -0.5823044180870056, -0.47537723183631897, -0.3553081750869751, 0.38689643144607544, -0.5367436408996582, 0.9105651378631592, 0.16464368999004364, 0.4692438840866089, -0.7006645202636719, -0.32796576619148254, -0.06583011150360107, -0.26002374291419983, -0.32054394483566284, 0.051582761108875275, 0.6116209626197815, 0.6050947904586792, 0.6929121613502502, 0.4144815504550934, 0.7070325613021851, 0.29016223549842834, -0.2805829644203186, 0.11446698009967804, -0.7532585859298706, -0.17562976479530334, -0.34584373235702515, -0.5275349617004395, -0.5132479667663574, 0.15146227180957794, 0.6676076054573059, 0.8435865640640259, -0.04181098937988281, 0.38492637872695923, -0.4214728772640228, 0.8280671834945679, -0.5645627379417419, -0.1807636171579361, -0.7009584307670593, 0.09727410972118378, 0.032741717994213104, -0.0021476929541677237, -0.19793134927749634, -0.4257177710533142, 0.49553197622299194, -0.7823504209518433, 0.4199303686618805, 0.0767250806093216, 0.8489750623703003, 0.33234745264053345, -0.8953384160995483, -0.4609663188457489, -0.39532312750816345, 0.41613858938217163, -0.6064832210540771, 0.4421495199203491, 0.08900762349367142, 0.4876415431499481, -0.33432522416114807, -0.6594681143760681, -0.8730735182762146, -0.49715456366539, 0.22538377344608307, 0.21378450095653534, -0.05816709250211716, 0.1691826581954956, 0.12738966941833496, 0.6531973481178284, -0.9070901870727539, -0.5059658885002136, -0.6596069931983948, -0.3557654023170471, 0.3060288429260254, 0.031279195100069046, 0.44024714827537537, -0.41165822744369507, -0.5363419055938721, 0.01053550560027361, -0.6714322566986084, -0.05632094293832779, 0.2632262110710144, 0.06496285647153854, 0.23994475603103638, 0.993256688117981, -0.26678746938705444, 0.6018446087837219, 0.07964328676462173, 0.21280649304389954, 0.10826592892408371, -0.6313797235488892, -0.4152255058288574, 0.2928020656108856, 0.3834006190299988, 0.29821333289146423, 0.21386030316352844, -0.23246417939662933, 0.1714845597743988, -0.029978066682815552, 0.3739323019981384, -0.806678056716919, -0.4083770215511322, 0.7649004459381104, -0.16294756531715393, -0.24974411725997925, 0.2585870623588562, -0.9121286869049072, -0.48846837878227234, -0.15742944180965424, 0.6953412294387817, -0.3462027311325073, -0.016648396849632263, 0.16326159238815308, -0.6031172871589661, 0.07679545879364014, 0.1592269390821457, -0.39721906185150146, 0.13364291191101074, 0.596491813659668, 0.7598567008972168, -0.2099193036556244, 0.0029175649397075176, -0.36927297711372375, -0.012846014462411404, -0.43728286027908325, 0.763666033744812, -0.5459535717964172, -0.3881721794605255, -0.5083866715431213, 0.0447593592107296, 0.05947573110461235, -0.8622472882270813, 0.3873867392539978, -0.7453337907791138, 0.22674262523651123, -0.5361827611923218, -0.9437307715415955, -0.4396621882915497, 0.1611226201057434, -0.8917214274406433, 0.5890828967094421, 0.4636281728744507, -0.509548544883728, 0.657353937625885, -0.4351656436920166, 0.17119793593883514, 0.080199234187603, -0.12837475538253784, -0.2942158281803131, -0.17865091562271118, 0.1482892632484436, 0.15349875390529633, -0.22295716404914856, 0.32195746898651123, -0.427769273519516, -0.08475391566753387, 0.7655096650123596, -0.40667298436164856, 0.8644453287124634, 0.01160618755966425, -0.19436980783939362, -0.01017675269395113, -1.0562076568603516, 0.1345321536064148, -0.2077755182981491, -0.3637181520462036, 0.17473620176315308, -0.47010311484336853, -0.19855062663555145, 0.31866300106048584, 0.17992009222507477, -0.6532334089279175, 0.1973700374364853, -0.3071700930595398, 0.3660552203655243, 0.6744397878646851, 0.35371455550193787, 0.387789785861969, -0.40310508012771606, 0.8239047527313232, 0.21115177869796753, -0.20137743651866913, 0.2182721644639969, -0.6274536848068237, -0.8141161203384399, -0.2789752781391144, 0.6128530502319336, 0.5246376395225525, -0.6456243991851807, 0.282033771276474, -0.32456400990486145, -0.5552230477333069, -0.5169256925582886, 0.3753141760826111, 0.4566516578197479, 0.7510421276092529, 0.5117825865745544, -0.30610209703445435, -0.5151931047439575, -1.0542142391204834, -0.3090285360813141, -0.32845839858055115, -0.1436324268579483, 0.4223468601703644, 0.8005542159080505, -0.18981781601905823, 0.8721486330032349, -0.18128421902656555, 0.129976287484169, -0.015442178584635258, -0.03991588205099106, 0.035539742559194565, 0.2722449004650116, 0.13788115978240967, -0.8483116626739502, -0.0157177671790123, -0.390572726726532, -0.5647380352020264, 0.15582722425460815, -0.1775551289319992, -0.6481948494911194, 0.014849052764475346, 0.30787980556488037, -0.7284315228462219, 0.21381589770317078, 0.46574100852012634, -0.6875863671302795, 0.5004511475563049, 0.20645084977149963, 0.22887282073497772, -0.7631117701530457, 0.4086657464504242, 0.024323390796780586, -0.2792164385318756, -0.5425770282745361, -0.03537561371922493, 0.030009064823389053, 0.1246514692902565, -0.6151115894317627, 0.5840575695037842, -0.17409048974514008, -0.024509483948349953, 0.00857391394674778, 0.27062293887138367, 0.426564484834671, 0.3070092797279358, -0.12768863141536713, 1.022009015083313, 0.15077818930149078, -0.4984954297542572, 0.6138352155685425, 0.7240546345710754, -0.4805816411972046, 0.4415360987186432, -0.7627652883529663, 0.1253974437713623, -0.06317172199487686, 0.4247239828109741, -1.0747164487838745, -0.4252060055732727, 0.38889962434768677, -0.6528728604316711, -0.03500829264521599, -0.2324366420507431, -0.048839882016181946, -0.3030586838722229, -0.08742611110210419, 0.42001020908355713, 0.2251712679862976, -0.4054047465324402, 0.30007079243659973, 0.38819897174835205, 0.011522342450916767, -0.6940093636512756, -0.6841157674789429, -0.005799184553325176, -0.152792289853096, -0.6380866765975952, -0.04983476921916008, -0.06848569959402084, -0.3339933156967163, 0.1140337586402893, -0.6463286876678467, -0.3649284541606903, -0.08522132784128189, 0.12598690390586853, 0.3059331178665161, -0.4305369555950165, 0.21285420656204224, -0.2825111746788025, 0.10676681995391846, 0.37962642312049866, -0.20625410974025726, 0.17176778614521027, -0.18651911616325378, 0.051650520414114, -0.20952680706977844, -0.0005500862025655806, 0.5682846307754517, -0.02477096952497959, 0.712571382522583, 0.33710893988609314, -0.20643126964569092, -0.06825221329927444, -0.10645557940006256, -0.1666136384010315, -0.45807522535324097, 0.47990089654922485, -0.3589363098144531, -0.8810926675796509, 0.3462236821651459, 0.18560388684272766, -0.35145413875579834, 0.5313451886177063, 0.5428287982940674, -0.2516528069972992, 0.5647964477539062, 0.11984468251466751, 0.2946750819683075, -0.3379307687282562, -0.11197984963655472, 0.21353879570960999, -0.7397415637969971, -0.5149040818214417, -0.35879355669021606, -0.1693636029958725, -0.5498449206352234, -0.8077796101570129, 0.49766042828559875, 0.19379284977912903, -0.41469305753707886, 0.10526242852210999, -0.17233465611934662, 0.5259603261947632, 0.6474044322967529, 0.4070649743080139, 0.2211400270462036, -0.04392051324248314, -0.022416701540350914, 0.4916072189807892, -0.8360734581947327, -0.7817946672439575, 1.4219774007797241, 0.1705167442560196, 0.2806779444217682, 0.4112969636917114, 0.12158659845590591, 0.31649672985076904, -0.14670181274414062, -0.8877570629119873, 0.5735938549041748, 0.17393308877944946, -1.1940473318099976, -0.41539326310157776, -0.9319618940353394, -0.8334155082702637, -0.09444732964038849, -0.37250158190727234, -0.43995943665504456, 0.39004313945770264, 0.28114041686058044, -0.6755443215370178, 0.12415235489606857, -0.5635011196136475, 1.1571043729782104, -0.03973636031150818, -0.19299963116645813, -0.04562726244330406, -0.8249397873878479, 0.6713321208953857, -0.15934313833713531, -0.24625210464000702, -0.2975523769855499, -0.08158234506845474, 0.8110221028327942, -0.422705739736557, 0.08964213728904724, 0.040271926671266556, -0.058474522083997726, 0.4963621199131012, 0.26735720038414, -0.10379530489444733, 0.3346489369869232, -0.08008796721696854, 0.04128396138548851, 0.5670546889305115, -0.9045073986053467, -0.8657386302947998, 0.35851117968559265, -0.5342093110084534, -0.41984784603118896, -0.4240162968635559, -0.26073792576789856, -0.5968993902206421, -0.012888908386230469, 0.17384573817253113, 0.522739827632904, -0.33416691422462463, 0.15142133831977844, 0.8369753956794739, -0.390901118516922, -0.21746893227100372, 0.39071139693260193, -0.2427905648946762, -0.41518914699554443, 1.0607287883758545, -0.17679463326931, 0.4331289529800415, 0.5005289912223816, -0.06613779067993164, -0.5298279523849487, -0.5402514934539795, -0.7055067420005798, -0.05380559340119362, -0.9151432514190674, -0.18240833282470703, -0.5698243975639343, -0.1739117056131363, -0.21250797808170319, 0.26434949040412903, -0.22233347594738007, -0.9153071641921997, -0.04079858958721161, -0.3922186493873596, 0.4464128315448761, 0.7426449656486511, -0.06414613127708435, -0.05663803219795227, -0.9896350502967834, 0.9417638778686523, 0.5750169157981873, 0.1430884748697281, -0.3617278039455414, -0.5863577127456665, -0.13816186785697937, 0.33541950583457947, -0.12505479156970978, -1.0561660528182983, -0.021331649273633957, 0.46703553199768066, 0.41026127338409424, 0.25591421127319336, -0.2786572277545929, 0.4477786123752594, -0.2674301266670227, 0.8350356817245483, -0.3899519145488739, -1.11491858959198, 0.35735687613487244, -0.25474685430526733, 0.2787221074104309, 0.8522202372550964, 0.6394688487052917, -0.5102947354316711, -0.17354433238506317, -0.6688868403434753, -0.7546018362045288, 0.38317230343818665, 0.5310568809509277, -0.34558966755867004, 0.07126451283693314, 0.6357676982879639, 0.07357608526945114, 0.3739511966705322, -0.31972000002861023, -0.39011266827583313, -0.3076085150241852, -0.33791449666023254, -0.1266082227230072, -0.22741985321044922, -0.20431558787822723, -0.28646132349967957, 0.9024357795715332, -0.031045304611325264, 0.3873036205768585, 0.49584972858428955, -0.3409217298030853, 0.041825275868177414, 0.1684206873178482, 0.5473226308822632, 0.9089581966400146, -0.6034368276596069, 0.16405247151851654, 0.09318749606609344, -0.6706241369247437, 0.3997832238674164, -0.22931021451950073, 0.053861070424318314, -0.1365368366241455, 0.39486703276634216, 0.4095678925514221, -0.2550791800022125, -1.0679975748062134, 0.359142541885376, -0.09307920932769775, -0.13813666999340057, 0.17205475270748138, 0.24989531934261322, 0.1550796627998352, 0.017134172841906548, 0.23256932199001312, 0.22570711374282837, 0.6320186853408813, -0.7536596059799194, 0.6461998820304871, 0.2855333387851715, -0.5032207369804382, -0.01496851909905672, 0.40589049458503723, 0.13947707414627075, 0.36499685049057007, 0.8185630440711975, -0.24776379764080048, -0.7130160331726074, 1.0823787450790405, -0.07613913714885712, 0.5283063650131226, -0.056934162974357605, 0.6080309748649597, 0.4825756847858429, 0.38089463114738464, 0.4869627058506012, 0.5284551978111267, 0.19247351586818695, -0.8314805626869202, -0.16623589396476746, -0.6559509634971619, -0.6186293363571167, 0.16685578227043152, -0.5706838369369507, -0.08755672723054886, -0.4716717004776001, 0.14497217535972595, 0.29717686772346497, 0.16002622246742249, -0.370609849691391, 0.6421210765838623, 0.09794899821281433, 1.1130342483520508, -0.5397934317588806, 0.5797886848449707, 0.5685848593711853, -0.3977161645889282, -0.6619857549667358, -0.1423010528087616, 0.23794271051883698, -0.7104802131652832, 0.5547847151756287, 0.167636439204216, -0.06158517301082611, -0.04453876614570618, -0.5890294909477234, -0.859130859375, 0.7626847624778748, 0.3566431999206543, -0.6160208582878113, 0.20733366906642914, 0.5577637553215027, 0.5369340777397156, -0.02810158208012581, 0.3258613049983978, 1.0208683013916016, 0.6584216356277466, 0.17555545270442963, -0.5587499141693115, 0.1773419827222824, -0.5027141571044922, -0.3066195547580719, -0.1395169347524643, -0.5691189169883728, 0.38789796829223633, -0.1611451655626297, -0.268757700920105, 0.29873839020729065, 0.6222796440124512, 0.4087047576904297, 0.4353208839893341, 0.3084527552127838, 0.5600600242614746, 1.0828970670700073, -0.18695774674415588, 0.8616967797279358, -0.2604260742664337, 0.13644587993621826, 1.0711252689361572, -0.015330672264099121, 0.6356514692306519, 0.4438479542732239, -0.4158206582069397, 0.2771616280078888, 0.9413009285926819, -0.07673849165439606, 0.20202301442623138, 0.6955193281173706, -0.4396858215332031, -0.5098209977149963, 0.11471232026815414, -0.24959425628185272, 0.6164843440055847, 0.4395720362663269, -0.02065981738269329, 0.03709596395492554, -0.20234131813049316, -0.3295252025127411, 0.005537835881114006, -0.30034640431404114, 0.720772385597229, -0.014557989314198494, -0.3905216455459595, 0.5087266564369202, -0.10334840416908264, 0.10456729680299759, -0.24437540769577026, -0.22678576409816742, -0.3118986487388611, -0.20159150660037994, -0.21447277069091797, -0.8297834992408752, 0.19002534449100494, -0.029964376240968704, -0.19144059717655182, 0.5117775797843933, 0.2689230144023895, -0.5593189001083374, -0.6299905776977539, -0.16042965650558472, 0.5299422740936279, 0.2868056297302246, -0.24668173491954803, -0.8479337692260742, -0.36917608976364136, 0.027723250910639763, -0.1577358990907669, -0.2787352204322815, 0.5357589721679688, 0.41884011030197144, 0.8932645320892334, 0.48468488454818726, -0.2072802633047104, 0.3350588083267212, -0.42798343300819397, 0.6538329124450684, -0.9403083324432373, 0.08193542808294296, -0.5986799001693726, 0.35170331597328186, 0.05918167158961296, -0.5343812704086304, 0.8319500684738159, 0.8817650675773621, 0.7505136728286743, -0.061835262924432755, 0.8198390007019043, 0.18316230177879333, 0.6217650771141052, -0.9163699150085449, 0.5896759033203125, -0.4661480486392975, 0.1913042813539505, 0.09895700216293335, -0.9468276500701904, -0.06704161316156387, 0.36263221502304077, -0.022881781682372093, 0.3286777138710022, 0.795899510383606, 0.9741244912147522, -0.14708319306373596, 0.2888566851615906, 0.23270605504512787, 0.6524752974510193, 0.10938049107789993, 0.7100028395652771, 1.1394579410552979, -0.6230339407920837, 0.38662564754486084, -0.21271491050720215, 0.14324256777763367, -0.16870006918907166, -0.6392177939414978, -0.9379183053970337, -0.5637197494506836, -0.25074589252471924, -0.7631475329399109, 0.29048478603363037, 0.9926982522010803, 0.6832069754600525, -1.157128095626831, -0.08068744838237762, -0.40128448605537415, 0.13206830620765686, 0.3307817578315735, -0.2795763909816742, 0.3374975919723511, -0.04606824368238449, -0.6584348082542419, 0.7101104259490967, 0.20183663070201874, 0.17979376018047333, -0.3844362199306488, 0.07301229238510132, -0.2756213843822479, 0.41167765855789185, 0.375308632850647, 0.37582990527153015, -0.47127431631088257, 0.01082382071763277, 0.0921844020485878, -0.23558762669563293, 0.3153616786003113, 0.5785142779350281, -0.8097687363624573, 0.5296913981437683, 0.4349696934223175, 0.7913621068000793, 0.17107827961444855, 0.2430572658777237, 0.857161283493042, -0.4157053828239441, -0.25717782974243164, 0.4472777545452118, 0.06534796208143234, 0.42331114411354065, -0.49153631925582886, 0.4122277498245239, 0.27199339866638184, -0.6627270579338074, -0.557549774646759, 0.07706920802593231, -1.4185433387756348, -0.54112708568573, 1.085605502128601, 0.03547123447060585, -0.42496851086616516, -0.2549750506877899, -0.22515136003494263, 0.15726225078105927, -0.46994906663894653, 0.7213249802589417, 0.9113428592681885, 0.07242882251739502, 0.0261114202439785, -0.517325222492218, 0.7944663166999817, 0.7632383108139038, -0.8612325191497803, -0.1000923290848732, 0.7451084852218628, 0.12483681738376617, -0.13273577392101288, 0.24720171093940735, 0.1106022298336029, 0.6716921925544739, 0.10801536589860916, -0.17918288707733154, 0.1649724841117859, -0.6972941160202026, -0.40825504064559937, 0.04081857204437256, -0.09873449802398682, 0.04830189049243927 ]
http://arxiv.org/abs/2403.08189v1
http://arxiv.org/pdf/2403.08189v1
Embedded Translations for Low-resource Automated Glossing
2024-03-13T02:23:13
2024-03-13T02:23:13
Changbing Yang, Garrett Nicolai, Miikka Silfverberg
cs.CL
cs.CL
We investigate automatic interlinear glossing in low-resource settings. We augment a hard-attentional neural model with embedded translation information extracted from interlinear glossed text. After encoding these translations using large language models, specifically BERT and T5, we introduce a character-level decoder for generating glossed output. Aided by these enhancements, our model demonstrates an average improvement of 3.97\%-points over the previous state of the art on datasets from the SIGMORPHON 2023 Shared Task on Interlinear Glossing. In a simulated ultra low-resource setting, trained on as few as 100 sentences, our system achieves an average 9.78\%-point improvement over the plain hard-attentional baseline. These results highlight the critical role of translation information in boosting the system's performance, especially in processing and interpreting modest data sources. Our findings suggest a promising avenue for the documentation and preservation of languages, with our experiments on shared task datasets indicating significant advancements over the existing state of the art.
[ -0.3817272186279297, -0.49101346731185913, 0.5985413193702698, 0.41636618971824646, -0.32633641362190247, 0.08645301312208176, -0.598965585231781, -0.7129412889480591, 0.3993895351886749, 0.45397111773490906, -0.2605900466442108, -0.3514423072338104, -0.7763741612434387, -0.038711536675691605, -0.5082421898841858, 0.9835332632064819, -0.018311450257897377, 0.02023049257695675, -0.18454541265964508, -0.07773236930370331, -0.0294644758105278, -0.5185456871986389, -0.5502511262893677, -0.13309045135974884, 0.5657941699028015, 0.480863481760025, 0.9861558079719543, 0.6852706670761108, 0.598660945892334, 0.1708197146654129, -0.06821952760219574, 0.29602089524269104, -0.40224140882492065, -0.01765586994588375, -0.19075734913349152, -0.2915572226047516, -0.8014064431190491, -0.09321549534797668, 0.5272774696350098, 0.7469485998153687, 0.09411121159791946, 0.14039579033851624, 0.33711373805999756, 0.3767261207103729, -0.6870535016059875, 0.4205935001373291, -0.6068165898323059, -0.10920427739620209, -0.323571115732193, -0.15327657759189606, -0.3228302597999573, -0.25946786999702454, 0.1457691341638565, -0.7224582433700562, 0.1644105613231659, -0.08621763437986374, 0.9383408427238464, 0.6439296007156372, 0.011177519336342812, -0.4761830270290375, -0.7661171555519104, 0.6739775538444519, -0.8816376328468323, 0.12260289490222931, 0.5818997621536255, 0.062242068350315094, 0.21547286212444305, -0.796258807182312, -0.46584445238113403, -0.25198736786842346, -0.27931734919548035, 0.35426804423332214, -0.15734532475471497, 0.33628496527671814, 0.14834783971309662, 0.5358784794807434, -0.05094154179096222, 0.20656563341617584, -0.3534398674964905, 0.0688469335436821, 0.554867148399353, 0.07984882593154907, 0.3045797646045685, -0.11133868992328644, -0.024726152420043945, -0.16099289059638977, -0.4897535443305969, -0.2844110131263733, -0.033355507999658585, 0.5452955961227417, -0.1321137398481369, 0.5497052669525146, -0.19432812929153442, 0.32395708560943604, 0.14020584523677826, 0.0734548270702362, 0.12339562177658081, -0.5156984925270081, -0.020782971754670143, 0.08828897029161453, 0.7940806150436401, 0.28592145442962646, 0.3377396762371063, -0.4273332357406616, -0.5883901715278625, -0.24976640939712524, 0.29795899987220764, -0.6333365440368652, -0.14665749669075012, 0.025490328669548035, -0.260935515165329, 0.09469593316316605, -0.21143990755081177, -0.429950475692749, -0.2926286458969116, -0.2877158224582672, 0.35369738936424255, -0.6277264952659607, 0.13394488394260406, -0.19796136021614075, 0.21493418514728546, 0.036568570882081985, 0.5251556634902954, -1.245367169380188, 0.5070726871490479, 0.5266044735908508, 1.118219017982483, -0.19715222716331482, -0.027174316346645355, -0.6105596423149109, 0.2579552233219147, -0.31273704767227173, 0.6705210208892822, -0.28629955649375916, -0.2223682552576065, 0.022938009351491928, 0.022689279168844223, -0.042047400027513504, -0.6875686049461365, 0.4378373920917511, -0.5856178402900696, -0.059732139110565186, -0.06679749488830566, -0.4541260302066803, -0.01548881083726883, -0.1102660596370697, -0.7098810076713562, 1.0457249879837036, 0.12251012027263641, -0.28549325466156006, 0.27036553621292114, -0.9056156873703003, -0.4780752956867218, 0.35700181126594543, 0.0486106313765049, -0.1624719649553299, 0.39043697714805603, 0.38796716928482056, 0.3513737916946411, -0.3420698642730713, 0.10819891840219498, -0.17041176557540894, -0.46922141313552856, 0.05488245561718941, -0.34758248925209045, 0.3863135874271393, 0.2803455591201782, -0.432034432888031, 0.1134382039308548, -0.33825284242630005, 0.21031010150909424, -0.16455653309822083, -0.5600520968437195, -0.48904532194137573, -0.12709657847881317, 0.3880845904350281, 0.14510926604270935, 0.8506222367286682, -0.47977718710899353, 0.19159887731075287, -0.5542638897895813, 0.15873542428016663, 0.6547242999076843, -0.27915021777153015, 0.6587514877319336, -0.047410376369953156, 0.5201793313026428, 0.013777265325188637, 0.27364158630371094, 0.1301165074110031, -0.4257737994194031, -1.0612061023712158, -0.14600183069705963, 0.6285223960876465, 0.6187127232551575, -0.949087917804718, 0.3666996955871582, -0.4559458792209625, -0.1264290064573288, -0.9684216976165771, 0.21280604600906372, 0.5693625211715698, 0.16543473303318024, 0.6444716453552246, -0.23712638020515442, -0.07808587700128555, -1.199164628982544, 0.08387133479118347, 0.19386178255081177, -0.14979588985443115, 0.5107414126396179, 0.1750970482826233, -0.2789134085178375, 0.7121049165725708, -0.3093845546245575, -0.31180185079574585, -0.18110768496990204, 0.31413504481315613, 0.1493205577135086, 0.5764065980911255, 0.42707890272140503, -0.6822004318237305, -0.9052311182022095, 0.14508546888828278, -0.7977592945098877, -0.27942171692848206, -0.009710276499390602, -0.11864873021841049, 0.339588463306427, 0.6609997749328613, -0.09587162733078003, 0.2767711877822876, 0.7255266308784485, -0.11923440545797348, -0.07140453159809113, -0.6131544709205627, 0.00984224770218134, -1.032477617263794, 0.21812215447425842, -0.10886162519454956, -0.3224819600582123, -0.5134066939353943, -0.01935732178390026, 0.07714313268661499, 0.010081867687404156, -0.2798413932323456, 0.551866888999939, -0.6733757853507996, -0.5091002583503723, -0.5153247714042664, 0.2721717655658722, -0.26124313473701477, 0.5605431199073792, 0.0021660246420651674, 1.2661970853805542, 0.2210703045129776, -0.5266425013542175, 0.1429661363363266, 0.3619438707828522, -0.41309410333633423, 0.2962943911552429, -0.6452565789222717, 0.14720876514911652, -0.026812808588147163, -0.07285585254430771, -0.6675216555595398, -0.4739603102207184, 0.13831762969493866, -0.18419523537158966, 0.24714073538780212, -0.061156339943408966, -0.7869049906730652, 0.02483941614627838, -0.012219591066241264, 0.17615340650081635, 0.5522642731666565, -0.4962794780731201, 0.3268490135669708, 0.6971485018730164, -0.4184529185295105, -0.39032888412475586, -0.8135955333709717, 0.4245651364326477, 0.03395156189799309, -0.5009898543357849, 0.6784499287605286, -0.05177408456802368, -0.26344504952430725, 0.1513345092535019, 0.059199679642915726, -0.2697906792163849, 0.30223023891448975, 0.18829262256622314, 0.03504527360200882, -0.30678561329841614, 0.3774441182613373, 0.20519904792308807, -0.03590221703052521, -0.2868650555610657, -0.3937196433544159, 0.451413631439209, -0.47640717029571533, -0.049634262919425964, -0.43439656496047974, 0.5166018009185791, 0.6431217789649963, -0.10215189307928085, 0.867450475692749, 0.5795183777809143, -0.4272761344909668, 0.016195455566048622, -0.24858777225017548, -0.17470678687095642, -0.46899881958961487, 0.16826432943344116, -0.4043688178062439, -0.6656849980354309, 0.5579961538314819, -0.08802620321512222, 0.02903743088245392, 0.3997804522514343, 0.25644952058792114, -0.40293100476264954, 1.1293045282363892, 0.9449790120124817, 0.23509228229522705, 0.8333069682121277, -0.23987619578838348, -0.06730002164840698, -0.9879662990570068, 0.05184313654899597, 0.07967319339513779, -0.4866834878921509, -0.5796589255332947, -0.6448559165000916, 0.736009955406189, 0.25948625802993774, 0.19938962161540985, 0.38253673911094666, -0.4680585265159607, 0.4936113953590393, 0.8574426770210266, 0.3211440443992615, 0.24769292771816254, -0.14144793152809143, 0.12769444286823273, -0.07937484979629517, -0.7474841475486755, -0.7129039168357849, 0.8772128820419312, 0.11847571283578873, 0.8031948208808899, 0.12546072900295258, 0.6851842999458313, 0.5341178178787231, 0.3481030762195587, -1.0035136938095093, 0.50838702917099, -0.7328137755393982, -0.32561177015304565, -0.41071122884750366, -0.13108967244625092, -0.7505333423614502, 0.06694333255290985, -0.2200666069984436, -0.5211183428764343, 0.29690226912498474, 0.37169793248176575, -0.5159320831298828, -0.09744854271411896, -0.8343075513839722, 0.7402506470680237, -0.41626545786857605, -0.43747758865356445, -0.2889361083507538, -0.6639299392700195, 0.13890604674816132, -0.2458767294883728, -0.08702731877565384, -0.06404908001422882, -0.2918354868888855, 0.7303054332733154, -0.4007928669452667, 0.7556905150413513, -0.1587875932455063, -0.27897152304649353, -0.030858708545565605, -0.188276007771492, 0.5273007750511169, -0.10934300720691681, -0.15511639416217804, 0.2298918217420578, -0.1285540908575058, -0.5475441813468933, -0.5144230723381042, 0.6714721322059631, -0.7448067665100098, -0.5324490070343018, -0.3292516767978668, -0.8748506307601929, -0.3093208372592926, 0.1684262752532959, 0.13602475821971893, 0.26440396904945374, -0.10535167157649994, 0.21772600710391998, 0.7660598754882812, -0.17755593359470367, 0.5355961322784424, 0.3979092836380005, 0.0616862028837204, -0.4050244688987732, 0.8243924975395203, 0.2334146797657013, 0.5743675231933594, 0.40320202708244324, -0.10195745527744293, -0.09964899718761444, -0.7291364073753357, -0.6041882634162903, 0.34615352749824524, -0.7930788993835449, -0.0313333198428154, -0.815245509147644, -0.20640234649181366, -0.3355361521244049, -0.2468959540128708, -0.48788726329803467, -0.6619707345962524, -0.44723379611968994, 0.18934346735477448, 0.3633483052253723, 0.9664474129676819, -0.31999027729034424, 0.7451028227806091, -0.8745371699333191, 0.2752160131931305, 0.14268505573272705, 0.17763462662696838, -0.1461305320262909, -0.425898939371109, -0.9193076491355896, 0.06023448333144188, 0.15872439742088318, -0.4663434326648712, 0.6042677164077759, 0.3682011365890503, 0.48375317454338074, 0.16227930784225464, 0.12730929255485535, 0.6876237988471985, -0.555861234664917, 0.6286918520927429, -0.2128017693758011, -1.1683598756790161, 0.4297764301300049, -0.29511216282844543, 0.6927953958511353, 0.8066887855529785, 0.23590593039989471, -0.5898951888084412, -0.6258552670478821, -0.4570183753967285, -1.0968362092971802, 1.1357148885726929, 0.05663937330245972, 0.12886062264442444, 0.03273368254303932, 0.3186604082584381, -0.018063275143504143, 0.1837882548570633, -0.6343174576759338, -0.05076748505234718, -0.034227777272462845, -0.4497720003128052, -0.1352778673171997, -0.22169768810272217, -0.18101190030574799, -0.09603552520275116, 0.8277056217193604, -0.44416025280952454, 0.30611085891723633, 0.005426955875009298, -0.4910372793674469, 0.05399684980511665, 0.18315407633781433, 0.5713200569152832, 0.385471373796463, -0.4017443060874939, 0.3341350257396698, 0.2044447958469391, -0.5189640522003174, -0.19783371686935425, 0.3864642381668091, -0.24629901349544525, -0.08451984077692032, 0.15231487154960632, 0.8178858757019043, 0.3831239342689514, -0.5789387822151184, 0.4227672517299652, -0.05721254646778107, 0.29539403319358826, -0.2680419087409973, -0.11892502754926682, 0.1280006319284439, 0.2337016761302948, 0.2859048545360565, 0.13240863382816315, 0.14451058208942413, -0.4827696681022644, 0.26705262064933777, 0.28203284740448, -0.5700333118438721, -0.41427740454673767, 0.7046447396278381, 0.4521825313568115, 0.04191845282912254, 0.5012927651405334, -0.18132717907428741, -0.3297862708568573, 0.41297101974487305, 0.3811831474304199, 0.8698818683624268, -0.01291999313980341, 0.024899832904338837, 0.22911562025547028, 0.37842386960983276, 0.09387281537055969, 0.1280311942100525, -0.3371076285839081, -0.3932754099369049, -0.3056774139404297, -0.7673230767250061, -0.5596894025802612, 0.15516801178455353, -0.5937843322753906, 0.09255954623222351, -0.3731008768081665, -0.07889746874570847, 0.014859962277114391, -0.26294541358947754, -0.3867797255516052, 0.09467799216508865, 0.5567788481712341, 0.6663575172424316, -0.6362695693969727, 0.9728734493255615, 0.5493186712265015, -0.6727783679962158, -0.2780923545360565, 0.5795562863349915, -0.49900171160697937, -0.8420448899269104, 0.941484272480011, -0.03241533786058426, -0.34710583090782166, 0.10926844924688339, -0.5535923838615417, -1.3048323392868042, 0.999839186668396, 0.4164733290672302, -0.43097254633903503, -0.28349748253822327, 0.16730907559394836, 0.6811037063598633, -0.27559491991996765, 0.147827610373497, 0.5013728141784668, 0.42910036444664, -0.2299860566854477, -1.3335658311843872, 0.11016741394996643, -0.3134436309337616, 0.1609988808631897, 0.1681441366672516, -0.5470721125602722, 1.0483078956604004, -0.025411469861865044, -0.6424073576927185, 0.10836157947778702, 0.7045074701309204, -0.41790497303009033, -0.023715587332844734, 0.4326966404914856, 0.26464036107063293, 0.7090290188789368, -0.05267203971743584, 1.2093093395233154, -0.7753928899765015, 0.1343650370836258, 1.3347458839416504, -0.08992762863636017, 0.8014046549797058, 0.5631706714630127, 0.23590458929538727, 0.32961180806159973, 0.48938649892807007, 0.2734125256538391, 0.8061707615852356, -0.0630851686000824, -0.5497331619262695, -0.2946990728378296, -0.5174200534820557, -0.0951065942645073, 0.4234253168106079, 0.7633744478225708, -0.5644831657409668, -0.19839425384998322, 0.25304895639419556, -0.053561121225357056, 0.05090071260929108, -0.3434930145740509, 1.028198480606079, 0.08338980376720428, -0.7531276345252991, 0.8509750962257385, -0.04278828203678131, 0.9252230525016785, -0.5084578990936279, -0.13194015622138977, -0.26137346029281616, 0.4097210168838501, -0.14088334143161774, -0.8618512749671936, 0.3568766713142395, 0.16351568698883057, -0.2525172531604767, -0.5863767266273499, 0.47886428236961365, -0.6558839082717896, -0.15092647075653076, 0.46587133407592773, 0.5266799926757812, 0.32854294776916504, 0.0069405571557581425, -0.6377813220024109, -0.2128223180770874, -0.11255479604005814, 0.05804712697863579, 0.20520098507404327, 0.3288448452949524, -0.19381722807884216, 0.3289763331413269, 0.3487169146537781, 0.11898154020309448, 0.34961915016174316, 0.0657687559723854, 0.9006748795509338, -0.6343224048614502, -0.45433858036994934, -0.4011116921901703, 0.25341084599494934, -0.2599220871925354, -0.11361946165561676, 0.7132517695426941, 0.5831618905067444, 0.7222343683242798, -0.16706985235214233, 0.9507526755332947, -0.09947885572910309, 0.3024572432041168, -0.6682668924331665, 0.8543708920478821, -0.5846529006958008, 0.14876973628997803, 0.11579586565494537, -0.7760012149810791, -0.17387256026268005, 0.38101083040237427, -0.43397849798202515, -0.43221357464790344, 0.6399387121200562, 0.5650742053985596, -0.44047826528549194, -0.3853074908256531, 0.3815598487854004, 0.1749567836523056, 0.178221195936203, 0.5042353868484497, 0.7028732895851135, -0.5629698038101196, 0.6395933628082275, -0.44788113236427307, -0.2539782226085663, -0.4534895718097687, -0.5461415648460388, -0.5501991510391235, -0.6792876720428467, -0.1526963710784912, -0.21960009634494781, 0.21092283725738525, 0.9718179702758789, 0.698824942111969, -0.9840407967567444, -0.2898767292499542, -0.1766800582408905, -0.23225976526737213, -0.12210879474878311, -0.24165812134742737, 0.20645034313201904, -0.6282680034637451, -1.267337679862976, 0.731727659702301, 0.3375576436519623, 0.28836140036582947, -0.2657679319381714, -0.0002373219031142071, -0.324331670999527, 0.2640789747238159, 0.6283470988273621, 0.23434537649154663, -0.8029149174690247, -0.3029090166091919, -0.06447795778512955, -0.5562559962272644, 0.26250380277633667, 0.46493950486183167, -0.6973713636398315, 0.41811996698379517, 0.3964332640171051, 0.6301894783973694, 0.7544213533401489, 0.03134723752737045, 0.7466762065887451, -0.9162407517433167, 0.22979314625263214, 0.5344341993331909, 0.3636559844017029, 0.5639681220054626, -0.4610554277896881, 0.6581565737724304, -0.06850378960371017, -0.41959473490715027, -0.6455835700035095, 0.05594230443239212, -1.091970682144165, -0.09531135857105255, 1.0264815092086792, -0.36987200379371643, -0.3471940755844116, 0.009549364447593689, 0.0445941798388958, 0.35948681831359863, -0.5568397641181946, 0.8227325081825256, 0.6176393032073975, -0.2563135623931885, 0.03517981618642807, -0.5964376926422119, 0.6888102293014526, 0.4427795112133026, -1.109952688217163, 0.20292630791664124, 0.5420702695846558, -0.04533529281616211, 0.5330848097801208, 0.6215212345123291, 0.014156559482216835, 0.25483134388923645, -0.011499390937387943, 0.3340395987033844, 0.22200925648212433, -0.234437957406044, -0.39812639355659485, -0.1214912086725235, -0.00944532174617052, -0.18814879655838013 ]
http://arxiv.org/abs/2403.08187v1
http://arxiv.org/pdf/2403.08187v1
Automatic Speech Recognition (ASR) for the Diagnosis of pronunciation of Speech Sound Disorders in Korean children
2024-03-13T02:20:05
2024-03-13T02:20:05
Taekyung Ahn, Yeonjung Hong, Younggon Im, Do Hyung Kim, Dayoung Kang, Joo Won Jeong, Jae Won Kim, Min Jung Kim, Ah-ra Cho, Dae-Hyun Jang, Hosung Nam
cs.CL
cs.CL, cs.SD, eess.AS, I.2.7
This study presents a model of automatic speech recognition (ASR) designed to diagnose pronunciation issues in children with speech sound disorders (SSDs) to replace manual transcriptions in clinical procedures. Since ASR models trained for general purposes primarily predict input speech into real words, employing a well-known high-performance ASR model for evaluating pronunciation in children with SSDs is impractical. We fine-tuned the wav2vec 2.0 XLS-R model to recognize speech as pronounced rather than as existing words. The model was fine-tuned with a speech dataset from 137 children with inadequate speech production pronouncing 73 Korean words selected for actual clinical diagnosis. The model's predictions of the pronunciations of the words matched the human annotations with about 90% accuracy. While the model still requires improvement in recognizing unclear pronunciation, this study demonstrates that ASR models can streamline complex pronunciation error diagnostic procedures in clinical fields.
[ 0.07702065259218216, -0.27215033769607544, 0.21334798634052277, 0.05698255077004433, -0.2682414650917053, 0.11900141835212708, -0.10400643199682236, -0.5104703307151794, -0.07297684252262115, 0.5083475708961487, -0.33514901995658875, -0.35042378306388855, -0.7184526920318604, 0.11058348417282104, -0.3836285471916199, 0.47711217403411865, -0.08986137807369232, 0.657809853553772, 0.1641222983598709, -0.014897664077579975, -0.4460371732711792, -0.25896745920181274, -1.2333641052246094, -0.4097122251987457, 0.11290621757507324, 0.5542262196540833, 0.7127439975738525, 1.1472724676132202, 0.5780932307243347, 0.3566839396953583, -0.2853007912635803, -0.06707914173603058, -0.2072003334760666, 0.2634313106536865, 0.0874180719256401, 0.040010035037994385, -0.564356803894043, -0.09452162683010101, 0.5399033427238464, 0.9364007711410522, -0.24470631778240204, -0.0339445099234581, 0.050617821514606476, 0.5501953363418579, -0.07623176276683807, -0.007650664076209068, -0.22171980142593384, 0.3030953109264374, -0.0661257728934288, 0.023354241624474525, -0.031173555180430412, -0.265953004360199, 0.34833434224128723, -0.5764656066894531, 0.5402891635894775, -0.28795069456100464, 0.614793598651886, 0.5098217725753784, -0.4008104205131531, -0.7280357480049133, -1.0899075269699097, 0.40438568592071533, -0.5299455523490906, 0.6819404363632202, 0.5576971173286438, 0.485259473323822, -0.032210879027843475, -0.5225825309753418, -0.4917011260986328, -0.20851561427116394, 0.14996932446956635, 0.14059828221797943, -0.1979469656944275, 0.3539249897003174, 0.3812246322631836, 0.11778639256954193, -0.9717702269554138, 0.24661089479923248, -0.7392927408218384, -0.4098304212093353, 0.7131766676902771, 0.1936674416065216, 0.612825870513916, -0.3193507790565491, -0.1016746461391449, -0.0808965265750885, -0.28406792879104614, 0.3203035593032837, 0.2355155348777771, 0.7656446099281311, -0.01888243295252323, 0.3961356282234192, -0.38717105984687805, 0.5376067757606506, 0.2400139421224594, -0.4284757673740387, 0.3448372185230255, -0.07826541364192963, -0.15483024716377258, 0.6354929208755493, 0.5565785765647888, 0.11111975461244583, 0.23699022829532623, -0.047796763479709625, -0.39682525396347046, 0.3832970857620239, 0.2206926941871643, -0.5007917284965515, -0.6269901990890503, 0.15627217292785645, -0.7208356857299805, -0.2069467455148697, -0.009866022504866123, -0.44553592801094055, -0.3995048403739929, -0.6873627305030823, 0.7952501773834229, -0.3323709964752197, -0.42703452706336975, 0.08651313185691833, -0.3620242178440094, -0.3217439651489258, -0.14252124726772308, -0.6052786111831665, 0.5519111752510071, 0.17316637933254242, 0.40012678503990173, -0.016576025635004044, 0.10617875307798386, -0.461404412984848, -0.025854820385575294, -0.39419299364089966, 0.872943103313446, -0.5717974901199341, -0.9264217615127563, -0.12436151504516602, 0.16050751507282257, -0.34503403306007385, -0.9977739453315735, 0.652604341506958, -0.08426835387945175, -0.41243237257003784, -0.2210894227027893, -0.6268703937530518, 0.007598403375595808, -0.524664044380188, -0.4870467483997345, 0.6916689276695251, 0.303567111492157, -0.11306487768888474, 0.626558780670166, -0.5279080271720886, -0.5604429244995117, 0.24999210238456726, 0.0358818843960762, -0.32487204670906067, 0.0029664631001651287, 0.004401980899274349, 0.24600276350975037, 0.020813781768083572, 0.09898331016302109, 0.16252464056015015, -0.32781338691711426, 0.06651479005813599, -0.4547993838787079, 0.5328739285469055, 0.5037587285041809, 0.017910506576299667, 0.06938696652650833, -1.1237716674804688, 0.5199046730995178, -0.09754014015197754, -0.4831872582435608, -0.19083115458488464, -0.0916450172662735, 0.08528608083724976, 0.2687819302082062, 0.08432802557945251, -0.4684480130672455, -0.1294931024312973, -0.5848087668418884, 0.31575942039489746, -0.007335782982409, 0.04820358008146286, 0.1839422583580017, -0.3106246590614319, 0.6303071975708008, 0.151447132229805, 0.15209604799747467, 0.023528102785348892, -0.4277687668800354, -0.6647168397903442, -0.4550696015357971, 0.4602656066417694, 0.7226759791374207, -0.5065528750419617, 0.4176473617553711, -0.06846511363983154, -0.4382089674472809, -0.9659563899040222, -0.12132994830608368, 0.7742464542388916, 0.7590555548667908, 0.3779573440551758, -0.16670852899551392, -1.0247403383255005, -0.7053783535957336, -0.22343340516090393, -0.1854047030210495, -0.19074377417564392, 0.43070217967033386, 0.15278251469135284, -0.4552667438983917, 0.4720221161842346, -0.014747126959264278, -0.5001753568649292, -0.0056704930029809475, 0.16203418374061584, -0.11212294548749924, 0.4654560089111328, -0.0974072590470314, -0.6766992807388306, -0.6765757203102112, 0.12532645463943481, -0.5362420082092285, -0.35981157422065735, 0.5841529965400696, 0.6016607880592346, 0.19601655006408691, 0.7817254066467285, -0.40633660554885864, 0.579194962978363, 0.3955652415752411, -0.5473682284355164, 0.5441252589225769, -0.38534924387931824, 0.2251322716474533, -0.47668883204460144, -0.09140864759683609, -0.14982537925243378, -0.2760249376296997, -0.8189404010772705, -0.3665444254875183, 0.05563588812947273, -0.3421876132488251, -0.15566101670265198, 0.28491848707199097, -0.32852092385292053, -0.045574843883514404, -0.4702307879924774, 0.17867223918437958, 0.0014667910290881991, -0.3624826967716217, 0.06917820125818253, 0.662452220916748, 0.7042283415794373, -0.8260553479194641, 0.5437356233596802, 0.12659481167793274, -0.09856097400188446, 0.6157740354537964, -0.8165491819381714, 0.04341976344585419, 0.04415089264512062, 0.05938980355858803, -1.0476258993148804, -0.41569700837135315, 0.14949461817741394, -0.8438869714736938, 0.723414957523346, -0.2431531399488449, -0.0849367082118988, -0.8115066289901733, 0.3751107156276703, 0.323713093996048, 0.499335378408432, -0.6010433435440063, 0.433959424495697, 0.6714674234390259, -0.44325539469718933, -0.16679541766643524, -0.36923643946647644, -0.1220938190817833, -0.16072873771190643, -0.5114473104476929, 0.3752218782901764, 0.1438581645488739, -0.19768409430980682, 0.08209273219108582, -0.2112802267074585, -0.5298153162002563, -0.22434186935424805, 0.2363249659538269, 0.09797947108745575, -0.5927296280860901, 0.2115582823753357, 0.09949254989624023, -0.4312363862991333, -0.2658821940422058, 0.0592447854578495, 0.35941314697265625, 0.0776764377951622, -0.1311403214931488, -0.7938164472579956, 0.1551152914762497, 0.4566101133823395, 0.2604554295539856, -0.04481729120016098, 0.44665348529815674, -0.8489024043083191, -0.1036190390586853, -0.5604240894317627, -0.03480338305234909, -0.4988740384578705, 0.35935989022254944, -0.6278983354568481, -0.30042868852615356, 0.6625247001647949, -0.06565462052822113, -0.7479708790779114, 0.4430307447910309, 0.19495877623558044, -0.40379661321640015, 1.4231812953948975, 0.31479835510253906, 0.14379557967185974, -0.07175315171480179, -0.0036587987560778856, 0.23033127188682556, -0.9160369038581848, -0.1778363436460495, -0.6795231103897095, -0.04730600491166115, -0.5187650918960571, -0.22470378875732422, 0.288368284702301, 0.17799580097198486, -0.12932467460632324, 0.08201277256011963, -0.8351368308067322, 0.5046391487121582, 0.32945704460144043, 0.02274424023926258, 0.15432001650333405, -0.27630940079689026, -0.17114698886871338, -0.4289495348930359, -0.5789955854415894, -0.680566132068634, 0.9542378783226013, 0.2678961753845215, 0.3645112216472626, -0.10059495270252228, 0.3977854549884796, 0.4124501049518585, -0.14363543689250946, -1.130162239074707, 0.2276526838541031, -0.8122966885566711, -0.2926015853881836, -0.6076218485832214, -0.24672450125217438, -0.9926965236663818, 0.07647368311882019, 0.1211467981338501, -0.6307655572891235, 0.39843812584877014, 0.23018549382686615, -0.8778590559959412, -0.109471395611763, -0.609081506729126, 0.7615772485733032, -0.16903115808963776, 0.40098774433135986, -0.12990377843379974, -0.5862661004066467, 0.21042370796203613, 0.011437855660915375, 0.10787833482027054, 0.07875953614711761, 0.2120131254196167, 0.926155149936676, -0.5292096138000488, 0.37335479259490967, -0.645739734172821, 0.17820443212985992, 0.11820469051599503, -0.127333402633667, 0.33889099955558777, -0.32470273971557617, -0.047777026891708374, -0.020339779555797577, 0.1241263896226883, 0.15933479368686676, -0.46816474199295044, 0.5551254749298096, -0.8733962774276733, -0.09764336049556732, -0.43282783031463623, -0.24070484936237335, -0.4046342372894287, 0.032355256378650665, 0.42898789048194885, 0.6687785983085632, -0.20854970812797546, -0.05643504858016968, 0.7728872895240784, -0.16741611063480377, 0.13426010310649872, 0.7382259368896484, 0.08864683657884598, -0.4270600378513336, 1.0921645164489746, 0.6649340987205505, 0.07295811921358109, -0.35400351881980896, 0.2464057058095932, -0.43861544132232666, -0.6137502193450928, -0.4734530746936798, 0.18351560831069946, -0.6002631783485413, -0.026616787537932396, -0.6247549653053284, -0.7970103621482849, -0.628883957862854, -0.09829387068748474, -0.5690736770629883, -0.4506078362464905, -0.5417748093605042, -0.0650104284286499, 0.3187218904495239, 0.9902656078338623, -0.43815767765045166, 0.3253825008869171, -0.5901771783828735, 0.9286995530128479, 0.18932978808879852, 0.366325318813324, 0.013084686361253262, -1.1486027240753174, -0.057081595063209534, 0.23793171346187592, -0.24083642661571503, -0.502942681312561, 0.8292045593261719, 0.40802109241485596, 0.2499711960554123, 0.5869466662406921, 0.14717592298984528, 1.2492183446884155, -0.7031548023223877, 0.6843635439872742, 0.05933316424489021, -0.9116332530975342, 0.6437790989875793, -0.22225967049598694, 0.06099061667919159, 0.27395129203796387, 0.2629660367965698, -0.7620269656181335, -0.25164616107940674, -0.7309705018997192, -0.8993242979049683, 0.8270722031593323, -0.19690236449241638, -0.3036733865737915, 0.12881380319595337, 0.32870373129844666, 0.17235396802425385, -0.10373542457818985, 0.167334645986557, -0.2952865660190582, -0.17602728307247162, -0.4915735423564911, -0.07697799056768417, -0.4805741310119629, -0.014919607900083065, -0.6716486215591431, 0.7850929498672485, 0.23854151368141174, 0.34142136573791504, 0.3885873556137085, -0.014865219593048096, -0.6296899318695068, -0.047533322125673294, 0.4537103474140167, 0.3794780671596527, 0.10458216071128845, -0.06974481046199799, 0.06456569582223892, -0.7731159329414368, 0.2560734152793884, 0.45566341280937195, -0.05529934912919998, 0.30961400270462036, -0.10823872685432434, 0.9291435480117798, 0.2747802138328552, -0.6742991805076599, 0.5270152688026428, -0.24348479509353638, -0.3979395031929016, -0.6390235424041748, 0.2531401216983795, 0.10132542997598648, 0.4724496603012085, 0.365048885345459, 0.17707617580890656, 0.4313424527645111, -0.2675008177757263, 0.36781519651412964, 0.3660919666290283, -0.757724404335022, -0.36022239923477173, 0.7620648741722107, 0.1337711215019226, -0.83174067735672, 0.8011787533760071, -0.23904648423194885, -0.6343635320663452, 0.8529403209686279, 0.6988958120346069, 0.6904011368751526, -0.7406514286994934, 0.19442451000213623, 0.3447805941104889, 0.012143164873123169, -0.47080162167549133, 0.5318661332130432, 0.15004052221775055, -0.7315986752510071, 0.10520115494728088, -0.4270727038383484, -0.21580542623996735, 0.5234178900718689, -1.0153330564498901, 0.4914880394935608, -0.25227102637290955, -0.374725341796875, 0.3012928366661072, 0.07882986962795258, -0.45740363001823425, 0.7319391369819641, 0.3458091616630554, 0.1687324196100235, -0.6920038461685181, 0.7649931311607361, 0.6125527024269104, -0.15920957922935486, -0.8819575309753418, 0.06449277698993683, 0.153590589761734, -0.6120244264602661, 0.7612491250038147, 0.04505771026015282, -0.18376991152763367, 0.3575502634048462, -0.18282374739646912, -1.16824471950531, 0.827463686466217, -0.0011723601492121816, -0.6372804045677185, 0.31598854064941406, 0.19462613761425018, 0.7637596726417542, -0.2564331889152527, 0.06808390468358994, 0.8029151558876038, 0.4194973111152649, 0.10568874329328537, -1.616509199142456, -0.229093998670578, -0.2431069165468216, 0.06862042099237442, -0.06577404588460922, -0.18425971269607544, 0.5563626885414124, -0.46761569380760193, -0.49210113286972046, 0.2235623002052307, 0.36259764432907104, 0.3998996913433075, 0.7515600323677063, 0.402254194021225, 0.4169518053531647, 1.1340858936309814, 0.045533597469329834, 0.7410862445831299, -0.38542914390563965, -0.11637803912162781, 0.7267946004867554, -0.21819746494293213, 0.870242714881897, -0.0011468532029539347, -0.19945238530635834, -0.2362755835056305, 0.601452648639679, 0.21316438913345337, 0.551832914352417, 0.13941283524036407, -0.2868174910545349, -0.02551361173391342, -0.21654397249221802, -0.2968887984752655, 0.5858588218688965, 0.8647560477256775, -0.34249651432037354, 0.3718908727169037, 0.25850674510002136, -0.08108857274055481, 0.25206926465034485, -0.4855251610279083, 0.9521879553794861, 0.1515134871006012, -0.3047879636287689, 0.8221142888069153, -0.09737368673086166, 0.4832149147987366, -0.35688072443008423, 0.03212101012468338, 0.33940520882606506, 0.30891677737236023, -0.24497847259044647, -0.3277425467967987, 0.4722228944301605, -0.027625558897852898, -0.5933107733726501, 0.003710020100697875, 0.8220240473747253, -0.6514750719070435, -0.5927114486694336, 0.19785389304161072, 0.24788765609264374, 0.4659823775291443, 0.1674887239933014, -0.524535596370697, 0.14088645577430725, -0.19697043299674988, 0.11028920859098434, 0.12130501866340637, 0.535950779914856, -0.029495969414711, 0.6682419180870056, 0.4904537498950958, 0.562097430229187, 0.1066652312874794, 0.4495280385017395, 0.2851529121398926, -0.4994909465312958, -0.35626012086868286, -0.4275534749031067, 0.433380663394928, 0.16358232498168945, -0.35256704688072205, 0.2658570408821106, 0.41472959518432617, 0.5917729735374451, -0.16457499563694, 0.9191384315490723, 0.26935523748397827, 1.353914737701416, -0.2880989611148834, 1.051831841468811, -0.49421432614326477, -0.015597266145050526, -0.1994120180606842, -0.25226184725761414, -0.40543293952941895, 1.0518684387207031, -0.04232732579112053, 0.11752437055110931, 0.6360344290733337, 0.8622819781303406, -0.04973572865128517, 0.25648945569992065, 0.5100420117378235, 0.5120717883110046, -0.09723934531211853, -0.020912090316414833, 0.6278265118598938, -0.5498769879341125, 0.33863717317581177, -0.3177591860294342, -0.08991649746894836, -0.4266829490661621, -0.2083757370710373, -0.28731319308280945, -0.5039564371109009, -0.5750730633735657, -0.2169003039598465, 0.5764749050140381, 1.0184416770935059, 0.5741177797317505, -0.9080311059951782, -0.17852149903774261, 0.051140595227479935, -0.1351657211780548, -0.6149775385856628, -0.25630247592926025, 0.44999390840530396, -0.06641047447919846, -0.5759015679359436, 0.9206993579864502, -0.009691319428384304, 0.2458650916814804, 0.14095379412174225, -0.1677081435918808, 0.5866813063621521, -0.030490994453430176, 0.37558430433273315, 0.49710097908973694, -0.746701717376709, -0.24329295754432678, -0.21454869210720062, -0.23925122618675232, 0.0771498829126358, 0.4966428577899933, -0.7377748489379883, 0.6714496612548828, 0.23079149425029755, 0.20315678417682648, -0.08096714317798615, 0.2072087824344635, 0.49573665857315063, -0.26777273416519165, -0.08038700371980667, 0.5494150519371033, 0.07648477703332901, 0.4873673915863037, -0.3902917206287384, 0.2064719796180725, 0.21846383810043335, -0.6532044410705566, -1.1632976531982422, -0.09490679204463959, -0.580445408821106, 0.1214112937450409, 1.1886074542999268, 0.0181738194078207, 0.07775719463825226, -0.8785421848297119, -0.2871749997138977, 0.545058012008667, -0.5564022660255432, 0.7011561989784241, 0.38214370608329773, -0.34761810302734375, 0.12995174527168274, -0.6901021599769592, 0.8573054671287537, -0.0753791481256485, 0.08542211353778839, 0.016529807820916176, 0.3879634141921997, 0.3979601263999939, -0.18228663504123688, 0.6043866276741028, -0.18260395526885986, 0.5061354637145996, 0.2865366041660309, 0.0864986851811409, 0.09654045850038528, -0.35430988669395447, -0.6724560856819153, -0.24716304242610931, 0.08668386936187744, -0.298152893781662 ]
http://arxiv.org/abs/2403.08174v1
http://arxiv.org/pdf/2403.08174v1
Rethinking Loss Functions for Fact Verification
2024-03-13T01:56:32
2024-03-13T01:56:32
Yuta Mukobara, Yutaro Shigeto, Masashi Shimbo
cs.CL
cs.CL, cs.AI
We explore loss functions for fact verification in the FEVER shared task. While the cross-entropy loss is a standard objective for training verdict predictors, it fails to capture the heterogeneity among the FEVER verdict classes. In this paper, we develop two task-specific objectives tailored to FEVER. Experimental results confirm that the proposed objective functions outperform the standard cross-entropy. Performance is further improved when these objectives are combined with simple class weighting, which effectively overcomes the imbalance in the training data. The souce code is available at https://github.com/yuta-mukobara/RLF-KGAT
[ 0.02063732221722603, -0.2529647648334503, 0.6831229329109192, 0.28744858503341675, -0.29029902815818787, -0.18029053509235382, -0.0948626920580864, -0.2863888740539551, 0.19939300417900085, 0.3040504455566406, -0.704310953617096, -0.29352903366088867, -0.9348737001419067, 0.02353178896009922, -0.5451179146766663, 1.4121506214141846, -0.210042342543602, 0.015580819919705391, -0.7777209281921387, -0.25517764687538147, -0.33463042974472046, -0.5071825981140137, -0.3145464062690735, -0.9476248621940613, 0.7171123623847961, 0.6514841914176941, 0.7723602056503296, 0.412857323884964, 0.5171298384666443, 0.12874065339565277, 0.4477994740009308, 0.02346671372652054, -0.7218459844589233, 0.08172997087240219, -0.15126696228981018, -0.8247970342636108, 0.1615883708000183, 0.08985905349254608, 0.34909170866012573, 0.30508357286453247, -0.22833706438541412, 0.2237614542245865, 0.016811015084385872, 0.570720374584198, -1.0659034252166748, 0.22070756554603577, -0.3249313235282898, 0.495400995016098, -0.2230641096830368, -0.5047237277030945, -0.5044063925743103, -0.2595895826816559, 0.22336465120315552, -0.4301799237728119, 0.4881974458694458, 0.1332017481327057, 0.9996751546859741, 0.5189334154129028, -0.6294198036193848, -0.06514821946620941, -0.7409653663635254, 0.8445794582366943, -0.13731373846530914, 0.657443642616272, 0.27195653319358826, 0.10253843665122986, -0.03760974854230881, -0.5692199468612671, -0.3090354800224304, 0.021321354433894157, -0.12672927975654602, 0.14274628460407257, -0.04709729924798012, -0.23610098659992218, -0.01235897745937109, 0.3224712908267975, -0.30772361159324646, -0.6892250180244446, -0.29359710216522217, -0.5874857306480408, 0.9646968245506287, 0.4053574800491333, 0.2405831217765808, 0.13338474929332733, -0.46676698327064514, 0.08378476649522781, -0.6369669437408447, 0.250835120677948, 0.09847249835729599, 0.22064842283725739, -0.3841569721698761, 0.4654037356376648, -0.22150097787380219, 0.5424138307571411, 0.16318386793136597, -0.4718857407569885, 0.38146117329597473, -0.20734646916389465, -0.20587031543254852, 0.3603324294090271, 0.2182459533214569, 0.7395537495613098, -0.07875865697860718, -0.3427366316318512, -0.2173040360212326, -0.497487872838974, 0.07940524071455002, -0.9084709286689758, -0.30793890357017517, -0.015200864523649216, -0.6518499851226807, -0.42637187242507935, -0.022549651563167572, -0.47259843349456787, -0.7847257256507874, -0.2662336230278015, 0.8171432018280029, -0.4131937623023987, -0.14707393944263458, 0.23846228420734406, -0.564119279384613, 0.13784515857696533, 0.32134661078453064, -0.47449055314064026, 0.20341047644615173, 0.6038350462913513, 0.7975645661354065, -0.07855338603258133, -0.31444817781448364, -0.8004743456840515, -0.20068518817424774, 0.010099181905388832, 0.7188296318054199, -0.744775652885437, -0.17943134903907776, -0.06605049222707748, -0.32181093096733093, -0.38273361325263977, -0.20133765041828156, 0.6103699803352356, -0.3998621702194214, 0.17715072631835938, -0.6177127361297607, -0.36310452222824097, -0.45024389028549194, 0.24142226576805115, -0.28671467304229736, 0.7127575278282166, -0.021969905123114586, -1.256640911102295, 0.7148060202598572, -0.21480946242809296, -0.8927860856056213, -0.34422850608825684, -0.05832093954086304, -0.9313728213310242, 0.19549991190433502, -0.15876196324825287, 0.5756640434265137, -0.547362208366394, 0.2895162105560303, -0.4946819841861725, -0.5352292656898499, 0.20575067400932312, -0.05336447060108185, 0.7360267639160156, 0.43377721309661865, -0.4491591453552246, 0.10673654079437256, -0.6938662528991699, 0.0011367467232048512, 0.10652977228164673, -0.4482528567314148, -0.4209620952606201, 0.16670122742652893, -0.08839214593172073, -0.3417414426803589, -0.09759450703859329, -0.8666825890541077, 0.08108397573232651, -0.002967746462672949, 0.013918940909206867, 0.22422659397125244, 0.018017956987023354, 0.205412819981575, -0.6967159509658813, 0.38526949286460876, 0.024027429521083832, 0.3291763365268707, 0.5558702349662781, -0.4392538070678711, -0.5106884837150574, -0.6354227662086487, 0.4199029207229614, 0.802591860294342, -0.8328343033790588, 0.0685238242149353, 0.16104213893413544, -0.6866177916526794, -0.22190049290657043, -0.12941521406173706, 0.267423540353775, 0.39468351006507874, 0.3637659549713135, -0.0778549313545227, -0.9982967972755432, -0.7060759663581848, -0.5755672454833984, -0.07581114023923874, 0.22696296870708466, 0.031742941588163376, 0.38317322731018066, -0.38081124424934387, 0.9000348448753357, -0.5378778576850891, -0.32560762763023376, -0.5293483138084412, 0.15077917277812958, 0.30567145347595215, 0.47452160716056824, 0.6978516578674316, -0.8820232152938843, -0.314346581697464, -0.20227870345115662, -0.773098886013031, -0.26129916310310364, -0.035514649003744125, 0.24941383302211761, 0.17885522544384003, 0.40877172350883484, -0.35113513469696045, 0.9276320934295654, 0.48995235562324524, -0.5600911974906921, 0.5137566328048706, 0.05316071957349777, 0.5053406953811646, -0.449874609708786, -0.10134050250053406, 0.021032612770795822, -0.40043628215789795, -0.7207832932472229, 0.0032021033111959696, -0.004213633947074413, 0.13768433034420013, -0.4865855276584625, 0.2364131212234497, -0.2268953025341034, 0.0843590721487999, -0.35837677121162415, -0.5421756505966187, 0.05481379106640816, 0.2978008985519409, 0.031933046877384186, 0.31596750020980835, 0.9408798813819885, -0.7601698637008667, 0.44973522424697876, -0.31249839067459106, -0.04060724377632141, 0.5559191107749939, -0.6776903867721558, -0.3419610559940338, -0.4533088803291321, 0.24763990938663483, -0.6134923696517944, -0.12234935164451599, 0.7642025947570801, -0.42498263716697693, 0.383683443069458, -0.13496887683868408, 0.002801518188789487, -0.13519808650016785, -0.4536580443382263, 0.62281334400177, 0.360969603061676, -0.3225729167461395, 0.9300440549850464, 0.33887791633605957, 0.37507620453834534, -0.8999265432357788, -0.6786904335021973, -0.24694043397903442, -0.36228299140930176, -0.6200666427612305, 0.39862653613090515, 0.04145216569304466, -0.38771504163742065, 0.08495891094207764, -0.43897587060928345, 0.11999339610338211, 0.1629687398672104, 0.5348904728889465, 0.03400840237736702, -0.11562935262918472, 0.34581252932548523, -0.16611245274543762, 0.1761111170053482, 0.20499427616596222, -0.28679245710372925, 0.45554542541503906, -0.13091899454593658, -0.3262598216533661, -0.28836750984191895, 0.4264500141143799, 0.1691025346517563, -0.07749072462320328, 0.8057528734207153, 0.7762049436569214, -0.4873776137828827, -0.1104314848780632, -0.5353491902351379, -0.15680746734142303, -0.38646864891052246, 0.3030387759208679, -0.6679649353027344, -0.6748653650283813, 0.6802801489830017, 0.3551291227340698, 0.1430341750383377, 0.8189407587051392, 0.644741952419281, 0.019713887944817543, 0.5646705627441406, 0.9895386695861816, 0.17397530376911163, 0.348359078168869, -0.08479392528533936, 0.22869530320167542, -0.42062726616859436, -0.6615074276924133, -0.5861350893974304, -0.30319827795028687, -0.08057496696710587, -0.44281652569770813, 0.6239222288131714, -0.1282932311296463, 0.03279184177517891, -0.025298144668340683, -0.3748539984226227, 0.40597033500671387, 0.8247899413108826, 0.5210592746734619, 0.06251854449510574, -0.0672125518321991, 0.0553906075656414, 0.27158817648887634, -0.9721560478210449, 0.017231734469532967, 1.2731142044067383, 0.33521953225135803, 1.0227599143981934, -0.12583541870117188, 1.4991415739059448, 0.6174049377441406, 0.482208788394928, -0.7485295534133911, 0.32976359128952026, -0.1709921956062317, -0.7905244827270508, -0.6577675938606262, -0.6251243352890015, -0.8106979131698608, 0.23632830381393433, -0.27702417969703674, -0.5284256935119629, 0.5347995162010193, 0.39439335465431213, -0.4584890305995941, 0.3821749687194824, -0.5483742952346802, 0.9008969068527222, 0.06467089056968689, -0.4682294726371765, -0.4399711489677429, -0.6323041915893555, 0.6217781901359558, 0.107948437333107, 0.244929239153862, -0.16819117963314056, 0.17854538559913635, 1.1500167846679688, -0.7685441374778748, 0.9073742032051086, -0.40827676653862, 0.09574580937623978, 0.5736085176467896, -0.15313927829265594, 0.27039679884910583, 0.37361228466033936, -0.4279312193393707, 0.09535663574934006, 0.4148622751235962, -0.320099800825119, -0.2880866229534149, 0.36872947216033936, -0.8618312478065491, -0.8013666868209839, -0.9597588777542114, -0.5585299134254456, 0.05395786836743355, 0.12477603554725647, 0.6441641449928284, 0.6577997207641602, 0.01901509054005146, 0.31171292066574097, 0.8543835282325745, -0.09702908247709274, 0.06172133609652519, 0.44087499380111694, -0.11858536303043365, -0.18061749637126923, 1.0145503282546997, 0.013536425307393074, -0.02476499229669571, 0.5863763689994812, 0.6456835269927979, -0.011158034205436707, -0.6194101572036743, -0.3014567792415619, 0.0066175321117043495, -0.8751155734062195, -0.5953608751296997, -0.64739590883255, -0.1512228399515152, -0.7542243003845215, 0.13721689581871033, -0.18818175792694092, -0.21074368059635162, -0.14549115300178528, 0.14791527390480042, 0.4246915578842163, 0.46451032161712646, -0.7366746068000793, 0.0759914368391037, -0.8326385021209717, 0.35194313526153564, 0.2050757110118866, 0.3206322491168976, -0.4067167043685913, -0.6678500771522522, -0.4285321533679962, 0.16962988674640656, -0.1279565393924713, -0.8964529037475586, 0.07553958892822266, 0.5366328954696655, 0.8172565698623657, 0.3060128688812256, 0.6938701272010803, 0.37635648250579834, -0.0557268001139164, 0.42378470301628113, 0.46782436966896057, -1.0783641338348389, 0.3036700189113617, 0.2652131915092468, -0.005526067689061165, 0.5533434748649597, 0.385980486869812, -0.6370044350624084, -0.42280423641204834, -0.4471687972545624, -0.25888991355895996, 1.0268219709396362, 0.11391002684831619, -0.2013883888721466, 0.36938753724098206, 0.37369996309280396, 0.2711503505706787, -0.022026579827070236, -0.6314255595207214, -0.5287973880767822, -0.6122410893440247, -0.31982898712158203, -0.048015423119068146, -0.3376341462135315, -0.4326830506324768, -0.35491782426834106, 0.9356409311294556, -0.03077627345919609, 0.2416519969701767, 0.782541811466217, -0.05854552611708641, -0.5458282232284546, 0.062112681567668915, 0.6622496247291565, 0.36930444836616516, -0.4485844671726227, 0.4451737105846405, 0.19381392002105713, -0.574671745300293, 0.2801787257194519, 0.18581832945346832, -0.2153984010219574, 0.06835946440696716, 0.79847651720047, 0.595797598361969, 0.024749837815761566, -0.451977014541626, 0.7123776078224182, -0.3601303696632385, -0.511857807636261, 0.1414494812488556, 0.25755393505096436, -0.17041662335395813, 0.5404795408248901, 0.339668333530426, 0.4728565216064453, 0.6847232580184937, -0.9272785186767578, 0.5055792927742004, 0.33021876215934753, -0.39344486594200134, -0.17603693902492523, 0.5619018077850342, 0.21178153157234192, 0.08700127899646759, 0.357673704624176, -0.42452186346054077, -1.0008379220962524, 0.7309289574623108, 0.32838308811187744, 0.8567150235176086, -0.10747525840997696, 0.3894153833389282, 0.15886268019676208, 0.323897123336792, -0.19426047801971436, 0.5640954971313477, 0.053069036453962326, -0.7349969148635864, -0.08994004875421524, -0.6041756868362427, -0.39466556906700134, -0.43677449226379395, -0.48573192954063416, 0.2745555639266968, -0.33798933029174805, -0.24148546159267426, 0.1194739118218422, 0.06889553368091583, -0.8283823728561401, 0.4942052364349365, 0.12755073606967926, 0.6790935397148132, -1.0445225238800049, 0.7126004695892334, 0.6874375939369202, -0.27490341663360596, -0.8392477631568909, 0.1697651743888855, 0.19435922801494598, -1.0385907888412476, 0.840225338935852, 0.06622524559497833, -0.17536383867263794, -0.639417827129364, -0.5592693090438843, -1.053856372833252, 0.7540237307548523, 0.3938586115837097, -0.355150043964386, 0.17087583243846893, -0.01651259884238243, 0.11222217231988907, -0.4223651885986328, -0.1241965964436531, 0.4696562588214874, 0.5901885032653809, 0.6176210641860962, -0.9326685667037964, 0.22797060012817383, -0.0026994263753294945, -0.5512337684631348, 0.2400732934474945, -0.5775211453437805, 1.032759189605713, -0.7780359983444214, -0.22360318899154663, -0.3237026035785675, 0.8850612044334412, -0.05533403903245926, 1.3515247106552124, 0.7671141624450684, 0.4587130844593048, 0.7312405109405518, -0.2596531808376312, 1.1085479259490967, -0.004736036062240601, 0.4628373682498932, 1.040045976638794, -0.2385987937450409, 0.29802069067955017, 0.5814126133918762, -0.07018588483333588, 0.208111971616745, 0.5587127208709717, -0.030354181304574013, 0.8068246841430664, 0.5806726813316345, 0.003422811394557357, -0.6703866720199585, -0.19619034230709076, -0.45212656259536743, 0.396935373544693, 0.05647160857915878, -0.12881776690483093, -0.1759059727191925, 0.32202720642089844, 0.0759897530078888, -0.21353836357593536, -0.4500153064727783, 0.3828514814376831, -0.09901012480258942, -0.7959592342376709, 0.6894165277481079, 0.1950211226940155, 0.566203773021698, -0.24987593293190002, 0.16184790432453156, -0.13994117081165314, 0.34633001685142517, -0.6481831073760986, -0.6717361211776733, 0.669939398765564, -0.40600430965423584, -0.2624804675579071, -0.00982619822025299, 1.037290096282959, -0.4698793590068817, -0.5446560978889465, -0.14324474334716797, 0.21939441561698914, 0.1890781670808792, -0.2610442042350769, -0.4209999740123749, 0.46770045161247253, 0.3094719350337982, -0.1252572387456894, -0.1741069108247757, 0.5331711769104004, 0.07841178774833679, 0.8819366693496704, 0.01113495696336031, -0.13312263786792755, 0.020645499229431152, -0.04118833690881729, 0.5179196000099182, -0.5443597435951233, -0.22307871282100677, -0.843599259853363, 0.12064995616674423, 0.0787874087691307, -0.2577432692050934, 0.6178791522979736, 0.6868199110031128, 0.5875486731529236, -0.35050687193870544, 0.752543032169342, -0.47597798705101013, 0.3989942669868469, -0.537930428981781, 0.6320325136184692, -0.9219735264778137, 0.08819379657506943, 0.024854334071278572, -0.42796531319618225, -0.5308783650398254, 0.3263500928878784, -0.2320774793624878, -0.1722460687160492, 0.7533103823661804, 0.6369056701660156, 0.05417395383119583, 0.12325873225927353, 0.3848040699958801, -0.2431369125843048, 0.2121327966451645, 0.7228775024414062, 0.8301738500595093, -0.7240259647369385, 0.6347136497497559, -0.5599021911621094, -0.5141252875328064, -0.8287394642829895, -0.809403121471405, -1.159897804260254, -0.5059170722961426, -1.0080190896987915, -0.36430805921554565, 0.5109598636627197, 1.142521858215332, 0.9490856528282166, -0.892673671245575, -0.03566338121891022, 0.39135000109672546, 0.6367493867874146, -0.6111623048782349, -0.1341715008020401, 0.26391318440437317, -0.43697038292884827, -0.3636242151260376, -0.013229956850409508, 0.014430215582251549, -0.15333643555641174, 0.25559648871421814, -0.36517471075057983, -0.2649245858192444, 0.27258649468421936, 0.44652262330055237, 0.2687796652317047, -0.4725176990032196, -0.6179063320159912, -0.29349398612976074, -0.09036065638065338, -0.2432762086391449, 1.1126075983047485, -0.736511766910553, -0.002702160505577922, 0.8003039956092834, 0.7026543617248535, 0.36762621998786926, -0.4268420338630676, 0.6695809960365295, -0.6957445740699768, -0.21002653241157532, 0.13767023384571075, 0.6134998798370361, 0.08516225963830948, -0.5714999437332153, 0.565166175365448, 0.6678841710090637, -0.3446950316429138, -1.1101213693618774, 0.07248888164758682, -0.9221525192260742, -0.20896731317043304, 0.9570814371109009, -0.1354905068874359, -0.3747836947441101, -0.11927755922079086, -0.08818649500608444, 0.5458102226257324, -0.43654128909111023, 1.015332818031311, 0.5387370586395264, -0.26388266682624817, -0.14874407649040222, 0.15890765190124512, 0.8260458111763, 0.5633766055107117, -0.5776423215866089, 0.17788879573345184, 0.302742600440979, 0.6006153225898743, 0.2796642482280731, 0.48676827549934387, 0.3225192129611969, 0.6753914952278137, 0.0804489403963089, 0.2136719524860382, -0.14681968092918396, -0.5859992504119873, 0.16115137934684753, 0.3981879651546478, -0.03146471828222275, -0.38638806343078613 ]
http://arxiv.org/abs/2403.08167v2
http://arxiv.org/pdf/2403.08167v2
MolBind: Multimodal Alignment of Language, Molecules, and Proteins
2024-03-13T01:38:42
2024-04-03T01:00:53
Teng Xiao, Chao Cui, Huaisheng Zhu, Vasant G. Honavar
cs.LG
cs.LG, cs.CL, q-bio.QM
Recent advancements in biology and chemistry have leveraged multi-modal learning, integrating molecules and their natural language descriptions to enhance drug discovery. However, current pre-training frameworks are limited to two modalities, and designing a unified network to process different modalities (e.g., natural language, 2D molecular graphs, 3D molecular conformations, and 3D proteins) remains challenging due to inherent gaps among them. In this work, we propose MolBind, a framework that trains encoders for multiple modalities through contrastive learning, mapping all modalities to a shared feature space for multi-modal semantic alignment. To facilitate effective pre-training of MolBind on multiple modalities, we also build and collect a high-quality dataset with four modalities, MolBind-M4, including graph-language, conformation-language, graph-conformation, and conformation-protein paired data. MolBind shows superior zero-shot learning performance across a wide range of tasks, demonstrating its strong capability of capturing the underlying semantics of multiple modalities.
[ -0.22244329750537872, -0.37193605303764343, 0.12463714182376862, -0.08897236734628677, -0.15443088114261627, 0.027145635336637497, -0.03451205790042877, -0.17239387333393097, 0.4745243191719055, 0.1493261158466339, -0.47374606132507324, -0.40168297290802, -0.5630623698234558, 0.07239644974470139, 0.12489710003137589, 1.0659171342849731, -0.11655960232019424, 0.44674861431121826, -0.21948134899139404, -0.6115484237670898, -0.1968034952878952, -0.05645489692687988, 0.03348616510629654, -0.4304196238517761, 0.8791465759277344, 0.08348162472248077, 0.47120898962020874, 0.5257763862609863, 0.9128108620643616, 0.24672596156597137, 0.4034651815891266, 0.2574525475502014, -0.5199782848358154, 0.2308470606803894, -0.3552434742450714, -0.2796010375022888, -0.5757683515548706, 0.004281793255358934, 0.3543964624404907, 0.777914822101593, 0.014532682485878468, -0.06678922474384308, -0.17262275516986847, 0.5416701436042786, -0.9036847949028015, 0.1933339536190033, -0.3219994604587555, 0.1772780865430832, -0.48971909284591675, -0.291617751121521, 0.01994454674422741, 0.06054084748029709, 0.1221129521727562, -0.936046838760376, 0.25064218044281006, 0.04841535538434982, 1.1105023622512817, 0.3006007969379425, -1.048439860343933, -0.30819013714790344, 0.08397990465164185, 0.5667454600334167, -0.5100310444831848, 0.6787155866622925, 0.0635237768292427, 0.3586167097091675, -0.1226699948310852, -0.4124200940132141, -0.6474565863609314, 0.009975079447031021, -0.24083906412124634, 0.46608665585517883, 0.4129031002521515, 0.38494977355003357, -0.08046413958072662, 0.48403429985046387, -0.817640483379364, -0.09905027598142624, -0.5290986895561218, -0.6316184997558594, 0.08426422625780106, 0.09952770918607712, 0.14094151556491852, -0.2548154592514038, -0.5651051998138428, -0.2190013974905014, -0.5426800847053528, -0.27247154712677, 0.21921105682849884, 0.4550826847553253, -0.10724104940891266, 0.6875561475753784, -0.013820112682878971, 0.8183936476707458, 0.1595785915851593, -0.24389635026454926, 0.8123313784599304, -0.9225607514381409, -0.3298165798187256, 0.09501913189888, 0.9190122485160828, 0.34370896220207214, -0.43030285835266113, 0.08920109272003174, -0.07939401268959045, 0.21695229411125183, 0.029862545430660248, -1.0315237045288086, -0.3370903432369232, 0.21583615243434906, -0.4557126760482788, -0.17145058512687683, 0.0074797640554606915, -0.8912060856819153, -0.6589714288711548, -0.2588757574558258, 0.6444220542907715, -0.7864423394203186, -0.2782277464866638, 0.26893675327301025, -0.3261018395423889, 0.2565903663635254, 0.10163524746894836, -1.0685350894927979, -0.2007369101047516, 0.25745609402656555, 0.734623908996582, -0.21160347759723663, -0.38056066632270813, -0.528198778629303, 0.7533612251281738, -0.15216423571109772, 0.5575641393661499, -0.7656630873680115, -0.26480039954185486, -0.14118120074272156, -0.045115627348423004, -0.23191766440868378, -0.38953229784965515, 0.08427388966083527, -0.3753524720668793, 0.30970248579978943, -0.15826860070228577, -0.4001750349998474, -0.32172611355781555, 0.49898257851600647, -0.684766411781311, 0.32691630721092224, -0.01212971843779087, -0.6754231452941895, 0.4906843304634094, -0.937568724155426, -0.580805242061615, -0.05042189359664917, -0.7680258750915527, -0.05834196135401726, 0.21144765615463257, 0.23296383023262024, 0.2478172779083252, -0.16602112352848053, 0.19251824915409088, -0.1973259449005127, -0.03473735228180885, 0.23059335350990295, -0.29776448011398315, 0.6185889840126038, 0.35123106837272644, -0.07007119059562683, 0.13231681287288666, -0.7568845748901367, -0.036803264170885086, -0.47970375418663025, -0.5352362394332886, -0.009445731528103352, -0.5629905462265015, 0.10227677971124649, 0.29476815462112427, 0.2560241222381592, -0.5555021166801453, 0.2937479317188263, -0.2587665319442749, 0.42581403255462646, 0.6588476896286011, -0.09579788893461227, 0.5917375683784485, -0.20161820948123932, 0.4642193615436554, 0.6642846465110779, -0.1302860677242279, -0.45630311965942383, -0.05545971915125847, -0.6305476427078247, -0.6402079463005066, 0.39017805457115173, 0.23523005843162537, -0.885920524597168, 0.20814739167690277, -0.546119213104248, -0.2628954350948334, -0.5608770251274109, 0.3580613434314728, 0.6685663461685181, 0.4596560001373291, 0.5056068897247314, -0.5632301568984985, -0.38338136672973633, -1.1048420667648315, 0.09973926842212677, 0.07952679693698883, 0.07474254071712494, 0.3055832087993622, 0.5428861975669861, -0.8189986944198608, 0.6776032447814941, -0.308027446269989, -0.7217379212379456, 0.06272347271442413, 0.40993672609329224, 0.18409106135368347, 0.6879860758781433, 0.34026017785072327, -1.0069562196731567, -0.2703910171985626, 0.34548303484916687, -0.867293119430542, -0.044678185135126114, -0.12327950447797775, -0.517341673374176, -0.13352841138839722, 0.4887460470199585, -0.38861143589019775, 0.004042497836053371, 0.8165491819381714, -0.111301489174366, 0.11541727185249329, -0.08899369090795517, 0.4533008933067322, -1.3053309917449951, 0.26300325989723206, -0.06552539765834808, 0.055847346782684326, -0.44846513867378235, -0.12144658714532852, 0.2080514132976532, -0.24985848367214203, -0.43821981549263, 0.4946941137313843, -0.7089211940765381, 0.29323267936706543, 0.04239622503519058, -0.024419264867901802, 0.3661506474018097, 0.6490356922149658, -0.12814787030220032, 0.6948424577713013, 0.6410399079322815, -0.41691386699676514, 0.35926225781440735, 0.4396046996116638, -0.1301129162311554, 0.8917350769042969, -0.3553706109523773, -0.2837429642677307, -0.14657734334468842, 0.19889973104000092, -0.726707935333252, -0.6565963625907898, 0.3373262882232666, -0.41530218720436096, 0.5836828947067261, 0.179977685213089, 0.005220837891101837, 0.11518712341785431, -0.41692230105400085, 0.8297899961471558, -0.10453660786151886, -0.2949707806110382, 1.1126056909561157, 0.3679278492927551, 0.24694566428661346, -0.7382240891456604, -0.7914907932281494, -0.22198334336280823, 0.1766311079263687, -0.5648350715637207, 0.39799779653549194, -0.03798647224903107, 0.2138063758611679, 0.06353794783353806, -0.41207894682884216, -0.21812960505485535, -0.35481879115104675, 0.5571924448013306, 0.08115999400615692, -0.3267911374568939, 0.4118575155735016, -0.0719640925526619, -0.211317241191864, -0.5017486214637756, -0.3033474385738373, 0.400987446308136, -0.23586928844451904, -0.5757678151130676, -0.10992681980133057, 0.3515360355377197, 0.6313570737838745, -0.4394550919532776, 0.5455270409584045, 0.6533592343330383, -0.15717025101184845, 0.32177677750587463, -0.2559261918067932, -0.11262495070695877, -0.47449225187301636, 0.5243062376976013, -0.4011986553668976, -0.7476323246955872, 0.16689136624336243, -0.15481746196746826, -0.13554447889328003, 0.05747739225625992, 0.46036985516548157, -0.134159654378891, 0.8481162786483765, 0.7625681161880493, 0.20535939931869507, 0.49277353286743164, -0.1517036110162735, 0.5833582282066345, -0.8965519070625305, -0.46801266074180603, -0.01436995156109333, -0.6729505062103271, -0.2192048728466034, -0.6641230583190918, 0.48848822712898254, 0.12757624685764313, -0.2613048255443573, 0.31531134247779846, -0.27502545714378357, 0.5480598211288452, 0.5135038495063782, 0.21738947927951813, -0.06873157620429993, 0.139942929148674, -0.4049616754055023, -0.15966905653476715, -0.4332650303840637, -0.10502439737319946, 1.101532220840454, -0.16420194506645203, 1.0442839860916138, 0.3653143048286438, 0.5421972870826721, -0.04680190235376358, 0.19680437445640564, -0.6306303143501282, 0.40361231565475464, -0.03740330785512924, -0.83000648021698, 0.002943541621789336, -0.4604066014289856, -0.8108803629875183, 0.4492710530757904, -0.5852822661399841, -0.17092320322990417, 0.5919649600982666, 0.21575327217578888, -0.33563271164894104, 0.02201991342008114, -0.7385402321815491, 1.0899055004119873, -0.617588460445404, -0.4371511936187744, -0.15793265402317047, -0.9948389530181885, 0.27814731001853943, -0.15008731186389923, 0.09078580886125565, -0.1641278862953186, -0.22970275580883026, 0.5303635597229004, -0.20375864207744598, 0.7274541854858398, -0.008587602525949478, 0.06265507638454437, -0.2517468333244324, 0.21435177326202393, -0.2942611873149872, -0.11328436434268951, 0.08634490519762039, 0.1724310964345932, 0.05600380152463913, -0.6129577159881592, -0.5378908514976501, 0.6584462523460388, -0.5740288496017456, -0.27435266971588135, -0.5415592789649963, -0.7664497494697571, -0.3029487431049347, 0.544008195400238, 0.3958677053451538, 0.7545486092567444, -0.015846600756049156, 0.4942626655101776, 0.6312943696975708, -0.058711834251880646, 0.13947291672229767, 0.42936721444129944, -0.22172139585018158, -0.7040265798568726, 1.199404239654541, -0.030688868835568428, 0.31235453486442566, 0.7973925471305847, -0.05326472222805023, -0.1183803379535675, -0.4215530455112457, -0.1790565550327301, 0.36142468452453613, -0.7504907250404358, -0.46417391300201416, -0.5758535861968994, -0.005270970985293388, -0.6242946982383728, -0.5315032005310059, -0.31211575865745544, -0.24388596415519714, 0.05551193282008171, -0.1754627227783203, -0.00297391414642334, 0.13533486425876617, -0.4071659743785858, 0.10989587754011154, -0.9606161117553711, 0.4961189031600952, 0.27704209089279175, 0.23520180583000183, -0.5287498235702515, -0.1241699680685997, -0.42878592014312744, 0.27463075518608093, -0.42992544174194336, -0.7126591205596924, 0.23536063730716705, 0.7183035612106323, 0.7104869484901428, 0.7640273571014404, -0.263192743062973, 0.7819859385490417, -0.3069336414337158, 0.6820005774497986, 0.7944873571395874, -0.7126280069351196, 0.5315433144569397, -0.28105953335762024, 0.37328672409057617, 0.8642419576644897, 0.5760323405265808, -0.5725820064544678, -0.01821470633149147, -0.08387023955583572, -0.8575447797775269, 0.21791595220565796, -0.0645543560385704, -0.057857852429151535, -0.052585817873477936, -0.13690489530563354, 0.5130664110183716, 0.6303060054779053, -0.8029333353042603, -0.07250966131687164, -0.7185318470001221, -0.6913427114486694, -0.06391901522874832, 0.055645909160375595, -0.7264087200164795, -0.174066424369812, 0.596520721912384, -0.4999723732471466, 0.27639079093933105, -0.08143220096826553, -0.5901380181312561, 0.24362169206142426, 0.2412724643945694, 0.6015208959579468, 0.5495401620864868, -0.28363218903541565, 0.5562691688537598, -0.3881210684776306, -0.5251713991165161, 0.2541615962982178, 0.09036000072956085, 0.18132072687149048, -0.2686934769153595, 0.5284174084663391, 0.829529345035553, 0.21194103360176086, -0.9049525856971741, 0.6985332369804382, 0.18855337798595428, -0.1852579265832901, 0.3622712790966034, 0.025993572548031807, -0.011780211701989174, 0.31360331177711487, -0.09918226301670074, 0.3691871166229248, 0.14574724435806274, -0.6227822303771973, 0.14844219386577606, 0.40186071395874023, -0.5324631929397583, -0.4305708110332489, 0.6159529089927673, 0.4534483253955841, 0.11248856037855148, 0.569903552532196, 0.052363596856594086, -0.3727276027202606, 0.2217080146074295, 0.41611358523368835, 0.6304286122322083, -0.06438087671995163, 0.1296912431716919, 0.22255657613277435, -0.08721697330474854, 0.3579302132129669, 0.0754285603761673, -0.1605377495288849, -0.9660950303077698, 0.1514759510755539, -0.6776960492134094, -0.140056312084198, -0.2565270960330963, -0.5635950565338135, 0.3008812963962555, -0.2684919834136963, -0.09019044786691666, 0.1324901431798935, -0.2669137716293335, -0.6042780876159668, -0.07138685137033463, 0.11834852397441864, 0.6187913417816162, -0.7927713394165039, 0.8381802439689636, 0.8606083989143372, -0.9469303488731384, -0.31244030594825745, -0.21175788342952728, 0.34366390109062195, -0.719854474067688, 0.9034213423728943, 0.5270678400993347, -0.35912445187568665, -0.2687259614467621, -0.479425311088562, -0.7812386155128479, 1.2277848720550537, 0.2842646837234497, -0.49181067943573, 0.056565020233392715, 0.00887025985866785, 0.4309157729148865, -0.4683307409286499, 0.19730564951896667, 0.2688361704349518, 0.4447841942310333, 0.1775309443473816, -0.7777273654937744, -0.14413702487945557, -0.6393735408782959, -0.16093844175338745, 0.366333931684494, -0.5563542246818542, 1.0276577472686768, 0.010732618160545826, -0.256175696849823, -0.280241996049881, 0.4686431586742401, 0.1401919275522232, 0.009167962707579136, 0.16391649842262268, 0.5969290137290955, 0.7551076412200928, -0.06872522830963135, 0.659355103969574, -0.2766416370868683, -0.034219756722450256, 1.0018385648727417, -0.5356892943382263, 0.5015963315963745, 0.8529619574546814, 0.1919538527727127, 0.42989081144332886, 0.42506837844848633, -0.10477268695831299, 0.9191445708274841, 0.035515196621418, -0.2336297184228897, -0.3842253088951111, -0.25838521122932434, -0.5599964261054993, 0.3218633532524109, 0.519819438457489, -0.006980137899518013, -0.4349926710128784, 0.517827033996582, -0.37025579810142517, -0.07750799506902695, -0.1003180593252182, 0.5495237708091736, -0.1799883097410202, -0.07899545133113861, 0.40964773297309875, -0.38637635111808777, 0.9301614761352539, -0.9560989141464233, -0.12312236428260803, -0.2923349142074585, 0.2590811550617218, -0.2621099352836609, -0.4640442728996277, -0.19961853325366974, -0.7337396144866943, -0.3368016481399536, -0.06502531468868256, 0.26020047068595886, -0.736017107963562, -0.22520677745342255, 0.2872098982334137, 0.3219476640224457, -0.030505044385790825, 0.42877528071403503, -0.5343155860900879, 0.023683082312345505, 0.0394795760512352, -0.06941954046487808, 0.4489971995353699, 0.6063565015792847, 0.26315683126449585, 0.5729801058769226, 0.4419880211353302, -0.06487342715263367, 0.14315038919448853, -0.1751069277524948, 0.9902623891830444, -0.6886202692985535, -0.17103512585163116, -0.5076950192451477, 0.49705904722213745, -0.1723027527332306, -0.43741005659103394, 0.5642721652984619, 0.8679381012916565, 0.97803795337677, -0.0565447174012661, 0.6677614450454712, -0.24598848819732666, 0.11197546869516373, -0.6398438811302185, 0.434520423412323, -0.7758904099464417, -0.006913569290190935, 0.2983013093471527, -0.7771092057228088, -0.4350723326206207, 0.7691978216171265, 0.0644216313958168, -0.10703432559967041, 0.9623582363128662, 1.394696831703186, -0.3590216338634491, -0.22068621218204498, 0.2618914842605591, 0.19010905921459198, 0.6293092966079712, 0.7558417320251465, 0.518556535243988, -0.46538227796554565, 0.6031759977340698, -0.0309648085385561, -0.15050889551639557, -0.3473260700702667, -0.8987367153167725, -0.8098535537719727, -0.6652352809906006, -0.19014416635036469, -0.2481202781200409, -0.10941917449235916, 1.073811650276184, 0.8121146559715271, -0.9854474067687988, -0.2058788239955902, 0.17759712040424347, -0.23489119112491608, -0.14104235172271729, -0.14000627398490906, 0.22502155601978302, -0.36250773072242737, -0.6425268650054932, 0.5694336295127869, 0.7230430841445923, 0.13919292390346527, -0.11379905045032501, -0.2665712535381317, -0.5624462366104126, -0.0876501053571701, 0.2872960567474365, 0.4559847116470337, -0.5347640514373779, -0.11060165613889694, -0.05801650136709213, -0.564203143119812, 0.24542416632175446, 1.0174989700317383, -0.6059837937355042, 0.9755114912986755, 0.6709802746772766, 0.825412929058075, 0.327574223279953, -0.2306360900402069, 0.8978300094604492, -0.6316129565238953, 0.37604328989982605, 0.2683326005935669, 0.43195202946662903, 0.33791857957839966, 0.024624649435281754, 0.6023032665252686, 0.24655787646770477, -0.39834555983543396, -0.6604140400886536, 0.41892877221107483, -1.2677806615829468, -0.3632621169090271, 0.8862835168838501, 0.16920939087867737, -0.2660452425479889, -0.08883034437894821, -0.3492164611816406, 0.17837904393672943, -0.3472321629524231, 0.40553948283195496, 0.6244775652885437, -0.22789596021175385, 0.11070497334003448, -0.3101036846637726, 0.35974371433258057, 0.3658902049064636, -0.5778263211250305, -0.18472354114055634, 0.9420512318611145, 0.0669161006808281, 0.5121782422065735, 0.629719614982605, -0.2584286332130432, 0.11486183851957321, 0.21580643951892853, 0.23456844687461853, -0.41327160596847534, -0.4698810279369354, -0.3125598430633545, 0.2456253170967102, -0.41947370767593384, -0.32563650608062744 ]
http://arxiv.org/abs/2403.08140v2
http://arxiv.org/pdf/2403.08140v2
BAGEL: Bootstrapping Agents by Guiding Exploration with Language
2024-03-12T23:59:15
2024-06-09T01:12:26
Shikhar Murty, Christopher Manning, Peter Shaw, Mandar Joshi, Kenton Lee
cs.CL
cs.CL
Following natural language instructions by executing actions in digital environments (e.g. web-browsers and REST APIs) is a challenging task for language model (LM) agents. Unfortunately, LM agents often fail to generalize to new environments without human demonstrations. This work presents BAGEL, a method for bootstrapping LM agents without human supervision. BAGEL converts a seed set of randomly explored trajectories or synthetic instructions, into demonstrations, via round-trips between two noisy LM components: an LM labeler which converts a trajectory into a synthetic instruction, and a zero-shot LM agent which maps the synthetic instruction into a refined trajectory. By performing these round-trips iteratively, BAGEL quickly converts the initial distribution of trajectories towards those that are well-described by natural language. We use BAGEL demonstrations to adapt a zero shot LM agent at test time via in-context learning over retrieved demonstrations, and find improvements of over 2-13% absolute on ToolQA and MiniWob++, with up to 13x reduction in execution failures.
[ -0.2410789579153061, -0.7254481911659241, 0.6106991171836853, 0.169378861784935, 0.3211827576160431, 0.4211931824684143, -0.36836645007133484, -0.40056827664375305, 0.13173992931842804, 0.28342223167419434, -0.6447545289993286, -0.6448141932487488, -0.274532675743103, -0.24887622892856598, -0.5624918341636658, 1.198646068572998, -0.16299471259117126, -0.13195811212062836, -0.112233966588974, 0.3984580636024475, -0.29256317019462585, -0.12247245758771896, -0.6894224286079407, -0.4317936301231384, 0.6069402694702148, 0.4375440180301666, 0.47344526648521423, 0.42483606934547424, -0.06263036280870438, 0.27191516757011414, 0.28723207116127014, 0.1818317174911499, -0.4609387218952179, 0.11379136890172958, -0.29968202114105225, -0.47490057349205017, -0.1066511869430542, -0.066456638276577, 0.42821550369262695, 0.8208840489387512, -0.1381770521402359, 0.11768689006567001, -0.02848079800605774, 0.5488722920417786, -0.7396766543388367, 0.2120540291070938, -0.37785986065864563, -0.12042400985956192, 0.18869967758655548, -0.2842671573162079, -0.5262505412101746, -0.35964351892471313, 0.002907412126660347, -0.8308536410331726, 0.3490256667137146, 0.33417636156082153, 0.7493108510971069, -0.06547027826309204, -0.16998068988323212, -0.6402543187141418, -1.1190489530563354, 0.8339753150939941, -0.3896370232105255, 0.14719213545322418, 0.6079572439193726, 0.6765260100364685, -0.4261802136898041, -0.6975390911102295, -0.5663402080535889, -0.3482823967933655, -0.1985873132944107, -0.28461411595344543, -0.11683621257543564, -0.12708450853824615, 0.08906646072864532, -0.16699744760990143, -0.5525989532470703, 0.04710732027888298, -0.4493753910064697, -0.31913745403289795, 0.7080371975898743, 0.005470454227179289, 0.37063682079315186, 0.22738035023212433, -0.40315377712249756, -0.6896364092826843, -0.5497726798057556, 0.3466373383998871, 0.28271183371543884, 0.5134376883506775, -0.1877603381872177, 0.0662556141614914, -0.18891307711601257, 0.7930354475975037, 0.050561387091875076, -0.01725604757666588, 0.12892785668373108, -0.12321612983942032, -0.092039555311203, 0.1803521066904068, 0.5778502821922302, 0.2687910199165344, 0.17676019668579102, -0.42997467517852783, -0.5527506470680237, -0.2062603086233139, 0.4810900390148163, -0.8233217597007751, -0.38829755783081055, 0.3038017749786377, 0.03456888347864151, -0.3694424629211426, -0.05945412069559097, -0.9243179559707642, -0.5454659461975098, -0.03553535416722298, 0.6212433576583862, -0.4724849760532379, -0.03205885738134384, 0.0702044889330864, -0.2897581458091736, 0.48674476146698, 0.37547844648361206, -0.9769768118858337, 0.7171949148178101, 0.5432311296463013, 0.8791942596435547, 0.16267529129981995, -0.2388194501399994, -0.7712144255638123, 0.36674636602401733, -0.6023845076560974, 1.033176064491272, -0.6179138422012329, -0.44040408730506897, 0.2457098811864853, 0.1071084663271904, -0.06607939302921295, -0.40963584184646606, 0.3856007158756256, -0.3270638883113861, 0.282819539308548, -0.11343586444854736, -0.46827152371406555, -0.4099777638912201, 0.3899516463279724, -0.32578375935554504, 0.7500999569892883, 0.1428699791431427, -0.11835426837205887, 0.1813926100730896, -1.1390867233276367, -0.6306303143501282, 0.1157858669757843, -0.299913227558136, 0.05324915796518326, -0.12160897254943848, 0.4476955235004425, 0.333513081073761, 0.1671494096517563, -0.23168820142745972, -0.03908606618642807, -0.6818251609802246, 0.13150626420974731, -0.04534177482128143, 0.592246949672699, -0.12665146589279175, -0.5320562720298767, 0.2060975879430771, -0.7849184274673462, 0.15992502868175507, 0.4415596127510071, -0.20920602977275848, -0.42644691467285156, 0.12853001058101654, 0.2517288625240326, -0.03947688266634941, -0.09974750131368637, -0.33983924984931946, 0.7592545747756958, -0.641968309879303, 0.14229002594947815, 0.8605033755302429, 0.0984422117471695, 0.8726277947425842, -0.5940021276473999, 0.771996021270752, -0.36968040466308594, -0.09467189759016037, -0.5890620946884155, -0.3387848734855652, -1.0034945011138916, -0.1122099757194519, 0.2807775139808655, 0.45665115118026733, -0.7418966889381409, 0.1736152321100235, -0.3394003212451935, -0.43538203835487366, -0.6804631948471069, 0.18602746725082397, 0.17158903181552887, 0.1473679542541504, 0.3436901867389679, 0.07800562679767609, -0.3587181270122528, -0.8121237754821777, -0.07226400822401047, -0.132953479886055, -0.4430100917816162, -0.07683439552783966, 0.4033223092556, -0.2624552845954895, 0.738743007183075, -0.2820972800254822, -0.0980108305811882, -0.44070082902908325, 0.5448321104049683, -0.06751827150583267, 0.4817556142807007, 0.5168218612670898, -0.3625577986240387, -0.4636724293231964, 0.16888836026191711, -0.32016119360923767, -0.24279208481311798, -0.5496688485145569, -0.17586390674114227, 0.16115249693393707, 0.2678549587726593, -0.42320019006729126, 0.530468761920929, 0.42172732949256897, -0.11625315248966217, 0.45095062255859375, -0.17058603465557098, 0.11200210452079773, -0.7165402770042419, -0.05323851853609085, -0.12714903056621552, -0.6083426475524902, -0.7688129544258118, 0.2123338133096695, 0.05533211678266525, -0.06887076795101166, -0.39243873953819275, 0.928535521030426, -0.612855851650238, -0.04892534390091896, -0.5194608569145203, 0.3587700426578522, 0.0822094976902008, 0.6545098423957825, 0.07125471532344818, 0.7321286201477051, 0.7261580228805542, -0.8368101119995117, 0.2610526382923126, -0.08090833574533463, -0.20296591520309448, 0.26525208353996277, -0.4399629533290863, 0.528691291809082, -0.10696359723806381, 0.3140610456466675, -0.8853784799575806, -0.07097649574279785, 0.5079182982444763, -0.3473588526248932, 0.2939976751804352, -0.15114961564540863, -0.5839424133300781, -0.077195905148983, -0.4708501696586609, 0.018145836889743805, 0.6729095578193665, -0.49442344903945923, 0.41753339767456055, -0.11580691486597061, 0.15278148651123047, -0.2817685306072235, -0.5324104428291321, 0.1095450296998024, 0.02867610566318035, -0.2870703339576721, 0.26242613792419434, -0.3629228472709656, -0.36737632751464844, -0.20516625046730042, 0.0024102162569761276, 0.05039995163679123, -0.008495700545608997, 0.3583469092845917, -0.0802273228764534, 0.04305030032992363, 0.2635272145271301, -0.06097349151968956, 0.09904412925243378, 0.06617658585309982, -0.3412986397743225, 0.7574238181114197, -0.11880490183830261, -0.3725806176662445, -0.5170519948005676, 0.4013785421848297, 0.32792332768440247, 0.1595875471830368, 0.6101511716842651, 0.7151772379875183, -0.49015969038009644, -0.6571858525276184, -0.2760995626449585, -0.5204549431800842, -0.54637610912323, 0.06258104741573334, -0.27116355299949646, -0.2937677502632141, 0.2529968023300171, -0.21147520840168, 0.23707939684391022, -0.1512581706047058, 0.26416662335395813, -0.4647130072116852, 0.6650971174240112, 0.8061205744743347, 0.029478153213858604, 0.24516889452934265, -0.37734249234199524, 0.3914090096950531, -0.33652716875076294, -0.17663884162902832, -0.39450064301490784, -0.780925452709198, -0.37015530467033386, -0.4730341136455536, 0.3340584933757782, -0.00463394820690155, 0.022718288004398346, 0.40985041856765747, -0.2963530123233795, 0.6853910684585571, 0.6303021907806396, -0.13216152787208557, 0.17092552781105042, 0.13170641660690308, -0.2454022914171219, 0.18279409408569336, -0.7355789542198181, -0.7173068523406982, 0.9457221627235413, 0.1499260663986206, 0.8845444917678833, 0.03447609767317772, 0.9071075320243835, 0.5962342023849487, 0.390818327665329, -0.7540403604507446, 0.6454987525939941, 0.67755526304245, -0.5652463436126709, -0.30188268423080444, -0.11599383503198624, -1.0145424604415894, -0.034390706568956375, -0.0477372445166111, -1.0973302125930786, -0.11540506035089493, 0.20316308736801147, -0.386344850063324, 0.21775822341442108, -0.8238220810890198, 0.8416876792907715, -0.3708588480949402, -0.43190163373947144, -0.10120334476232529, -0.4942897856235504, 0.1475464552640915, 0.159462571144104, 0.6248306035995483, 0.15601646900177002, -0.1265629380941391, 0.5253977179527283, -0.2368411123752594, 1.0412780046463013, -0.24741417169570923, -0.3375532031059265, 0.23977555334568024, 0.6466143727302551, 0.8458200693130493, -0.30806586146354675, 0.22263631224632263, -0.1763879954814911, 0.09973052144050598, -0.6756203770637512, -1.1628440618515015, 0.6951092481613159, -0.43633171916007996, -0.5517327785491943, -0.3430594503879547, -0.5191020369529724, -0.24311229586601257, -0.01787145622074604, -0.13154861330986023, 0.22004608809947968, -0.1624167412519455, -0.08583453297615051, 0.1345311999320984, -0.17839238047599792, 0.841526210308075, 0.7147194743156433, -0.8334389925003052, 0.14821259677410126, 0.8780291080474854, -0.16401232779026031, 0.3928363621234894, 0.5740566849708557, 0.18992352485656738, -0.19809767603874207, -0.35568180680274963, -0.685222864151001, -0.1007365956902504, -0.6312461495399475, 0.12821322679519653, -0.44881683588027954, -0.056297287344932556, -0.3300917446613312, -0.5380305051803589, -0.4480516016483307, -0.4687631130218506, 0.10182344913482666, -0.1310349851846695, 0.10251305252313614, 0.7849244475364685, -0.02113584242761135, 0.5365675687789917, -0.6015238165855408, -0.12157335132360458, 0.1902109980583191, -0.09556359052658081, 0.04921705648303032, -0.395516037940979, -0.4030626118183136, 0.17148907482624054, -0.4512949585914612, -1.0547187328338623, 0.3867757320404053, 0.10722498595714569, 0.3484482765197754, 0.5883294939994812, 0.1601668745279312, 0.8042199015617371, -0.521774411201477, 0.7547866702079773, -0.07034900784492493, -0.8533250093460083, 0.7499000430107117, -0.39491507411003113, 0.3381344974040985, 0.2592442035675049, 0.5745834708213806, -0.6727581024169922, -0.4148273468017578, -0.3819783627986908, -0.6124584078788757, 0.47510117292404175, 0.2712923288345337, 0.25258809328079224, 0.23284852504730225, 0.02464146725833416, 0.21114251017570496, 0.19401521980762482, -0.8683598637580872, -0.027399398386478424, 0.0003981849586125463, 0.041251085698604584, -0.027451124042272568, 0.2098124921321869, -0.3435584008693695, -0.324099063873291, 0.7959182262420654, -0.20586135983467102, 0.30277109146118164, 0.06677226722240448, -0.318481981754303, -0.15245507657527924, 0.47336268424987793, 0.864130437374115, 0.7248218655586243, -0.26280397176742554, 0.3534509241580963, -0.006175112910568714, 0.025350788608193398, 0.2445642650127411, -0.049730535596609116, -0.39463940262794495, 0.035873692482709885, 0.5714856386184692, 0.7237737774848938, 0.41615378856658936, -0.983351469039917, 0.5313199758529663, 0.020260434597730637, -0.016228007152676582, -0.4418187439441681, 0.2319057285785675, 0.16551117599010468, 0.20622071623802185, 0.4811655879020691, -0.04945801943540573, 0.07095719873905182, -0.6370179057121277, 0.22494389116764069, 0.3232327401638031, -0.37606915831565857, -0.4808119833469391, 0.31220442056655884, 0.19656416773796082, -0.9176748394966125, 0.18640075623989105, -0.8506798148155212, -0.2924860119819641, 0.2657338082790375, 0.6997261643409729, 0.9509714245796204, -0.11283370107412338, 0.49892616271972656, 0.22676371037960052, 0.6731650233268738, 0.21835577487945557, -0.18435561656951904, -0.37460362911224365, -0.6243880391120911, -0.14409585297107697, -0.5825499296188354, -0.25983917713165283, 0.2855722904205322, -0.3135782778263092, 0.24110007286071777, -0.5881384015083313, 0.3274945616722107, -0.2855665981769562, -0.18276941776275635, -0.6944109201431274, -0.22334074974060059, 0.14912745356559753, 0.7731020450592041, -0.7413000464439392, 0.6984996199607849, 0.7967870831489563, -0.4342552423477173, -0.4957411587238312, 0.4603078365325928, 0.05437174439430237, -0.8649731874465942, 0.4843268394470215, 0.3388153314590454, -0.3905784487724304, -0.08101358264684677, -0.7810809016227722, -0.31343507766723633, 0.9827909469604492, 0.18880793452262878, -0.6002715826034546, -0.20946857333183289, 0.10763732343912125, 0.4246315062046051, -0.43445470929145813, 0.3728332221508026, 0.16984309256076813, 0.5470157265663147, 0.08227191865444183, -0.6632885336875916, 0.039481859654188156, -0.07372993975877762, -0.1806117743253708, -0.01620379649102688, -0.4701143801212311, 0.28539586067199707, -0.30402785539627075, -0.4695696234703064, 0.0380074679851532, 0.5235171914100647, -0.028258072212338448, 0.4265629053115845, 0.5412575602531433, 0.09918273240327835, 0.6537741422653198, 0.19250674545764923, 1.1263197660446167, -0.19286507368087769, 0.18252789974212646, 1.1478625535964966, -0.3668253421783447, 0.9019600749015808, 0.6792548298835754, -0.07946252077817917, 1.0041230916976929, 0.49898815155029297, 0.29610881209373474, 0.5191227197647095, 0.45503172278404236, -0.44079169631004333, -0.28249436616897583, -0.051449622958898544, 0.06356240808963776, 0.45733943581581116, 0.3032630980014801, -0.19326139986515045, -0.49934741854667664, 0.07962974160909653, 0.16264589130878448, 0.5028513669967651, -0.14212164282798767, 0.5268771052360535, -0.17921289801597595, -0.5189443826675415, 0.8330466747283936, 0.1256878525018692, 0.37907254695892334, -0.6655715703964233, -0.43296802043914795, -0.21413938701152802, 0.060801662504673004, 0.08607834577560425, -0.28401458263397217, 0.12564796209335327, -0.0060140169225633144, 0.1165316253900528, -0.5916587710380554, 0.6730754375457764, -0.4068993926048279, -0.7257756590843201, 0.3922576308250427, 0.4288640022277832, 0.3793070614337921, 0.06946148723363876, -0.35030171275138855, 0.08427908271551132, -0.09477970749139786, -0.34034407138824463, 0.3791571855545044, 0.04770604521036148, 0.11984498798847198, 0.9643594026565552, 0.5110313892364502, 0.01524276938289404, 0.12066203355789185, -0.08915220201015472, 0.737082302570343, -0.6054282188415527, -0.3243961036205292, -0.7852885127067566, 0.568734884262085, -0.2562844455242157, 0.27976956963539124, 0.5743234157562256, 0.5129517912864685, 1.1061244010925293, -0.3019182085990906, 0.9117814898490906, -0.03523080423474312, 0.3382062017917633, -0.6922794580459595, 0.8353154063224792, -0.4549635946750641, 0.3743789792060852, 0.1282825917005539, -0.760517418384552, -0.012447498738765717, 0.7987346053123474, -0.24979406595230103, 0.06365814059972763, 0.811660647392273, 1.0718295574188232, -0.32249051332473755, -0.2314012050628662, 0.461254358291626, 0.08033759891986847, 0.49555107951164246, 0.6261702179908752, 0.7431988716125488, -0.33285048604011536, 0.6212782859802246, -0.3553319275379181, -0.2405761182308197, -0.015087252482771873, -0.8781346678733826, -1.076219081878662, -0.5719680190086365, -0.3042353689670563, -0.08832669258117676, 0.2979956865310669, 1.2251988649368286, 1.0883911848068237, -0.8657066226005554, -0.5361508727073669, -0.057014863938093185, 0.15842939913272858, -0.5030615925788879, -0.31641846895217896, -0.06277230381965637, -0.7123121023178101, -0.9569284319877625, 0.9979448914527893, 0.16348692774772644, 0.033358942717313766, -0.6147168278694153, -0.2391759306192398, -0.2501331865787506, 0.1892029196023941, 0.28657829761505127, 0.46126440167427063, -0.6853987574577332, -0.4670576751232147, -0.10954726487398148, 0.11090588569641113, 0.06506803631782532, 0.8016297817230225, -0.8881343007087708, 0.5900872349739075, 0.07083569467067719, 0.8669105172157288, 0.6711711287498474, -0.21119245886802673, 0.7458341121673584, -1.150368332862854, 0.17124609649181366, 0.19503091275691986, -0.05360318347811699, 0.33870261907577515, -0.05997799336910248, 0.3537912368774414, 0.21387675404548645, -0.40055227279663086, -0.7635130882263184, 0.2928566038608551, -0.8557219505310059, -0.283161461353302, 1.357848882675171, -0.00943412259221077, -0.45805254578590393, 0.20624525845050812, -0.33831164240837097, -0.06594865024089813, -0.5910772681236267, 1.0176770687103271, 0.7038467526435852, -0.08208116888999939, -0.29427337646484375, -0.8532909750938416, 0.4212436079978943, 0.1228872612118721, -0.8404262065887451, 0.056574832648038864, 0.27655091881752014, 0.24876201152801514, 0.32001402974128723, 0.589629054069519, 0.4046207666397095, -0.06392411142587662, -0.04788287729024887, 0.39932242035865784, -0.0028439336456358433, -0.387909859418869, -0.16844429075717926, 0.05498873442411423, 0.0013474919833242893, -0.586406946182251 ]
http://arxiv.org/abs/2403.08137v1
http://arxiv.org/pdf/2403.08137v1
From Paper to Card: Transforming Design Implications with Generative AI
2024-03-12T23:47:28
2024-03-12T23:47:28
Donghoon Shin, Lucy Lu Wang, Gary Hsieh
cs.HC
cs.HC, cs.AI, cs.CL, H.5.2; I.2.7
Communicating design implications is common within the HCI community when publishing academic papers, yet these papers are rarely read and used by designers. One solution is to use design cards as a form of translational resource that communicates valuable insights from papers in a more digestible and accessible format to assist in design processes. However, creating design cards can be time-consuming, and authors may lack the resources/know-how to produce cards. Through an iterative design process, we built a system that helps create design cards from academic papers using an LLM and text-to-image model. Our evaluation with designers (N=21) and authors of selected papers (N=12) revealed that designers perceived the design implications from our design cards as more inspiring and generative, compared to reading original paper texts, and the authors viewed our system as an effective way of communicating their design implications. We also propose future enhancements for AI-generated design cards.
[ -0.18869277834892273, -0.29771503806114197, 0.741409957408905, 0.15507327020168304, -0.6565498113632202, 0.026363102719187737, -0.018688833341002464, -0.7878501415252686, 0.36677324771881104, 0.18243616819381714, -0.36400216817855835, -0.5174042582511902, -0.5051403045654297, 0.02014857530593872, -0.30042892694473267, 1.0912330150604248, -0.44137921929359436, -0.320444256067276, -0.727444589138031, 0.22187362611293793, -0.5354956388473511, -0.05540021136403084, -0.6760748028755188, -0.5068552494049072, 0.696183443069458, 0.4234836995601654, 0.6533172726631165, 0.693794310092926, 0.7230210304260254, 0.2261553853750229, -0.0006855030078440905, 0.05302465334534645, -0.23343709111213684, 0.03194066509604454, -0.013228964991867542, -0.6142249703407288, -0.6483554244041443, 0.19792798161506653, 0.3351605534553528, 0.37038493156433105, 0.03944934904575348, 0.39249739050865173, 0.3002946078777313, 0.8367655873298645, -0.4023335874080658, 0.46627646684646606, -0.1095806211233139, 0.21644224226474762, -0.49023252725601196, -0.52513188123703, -0.7751923203468323, -0.25423482060432434, -0.38259458541870117, -0.9465538263320923, -0.021652447059750557, -0.14089184999465942, 0.6565121412277222, 0.2784608006477356, 0.09208604693412781, -0.5980392694473267, -1.1608381271362305, 0.2135738879442215, -0.5122202038764954, 0.12102748453617096, -0.08675213158130646, 0.3785400092601776, -0.10816964507102966, -0.712348461151123, -0.6760171055793762, 0.20689424872398376, -0.3032468855381012, 0.5014529824256897, -0.05622453615069389, 0.03459431976079941, 0.17959028482437134, 0.35842615365982056, -0.3341827094554901, -0.06158751994371414, -0.2640138566493988, 0.32446616888046265, 1.02918541431427, 0.2268257439136505, 0.32888686656951904, 0.005225908476859331, 0.05530327185988426, -0.4444308876991272, -0.48541054129600525, -0.03576178848743439, 0.40939784049987793, 0.05363893136382103, -0.38343364000320435, 0.489473432302475, 0.30934542417526245, 0.5970971584320068, 0.09457205981016159, -0.10266980528831482, 0.14766953885555267, -0.04485591873526573, -0.018816381692886353, -0.13728009164333344, 0.6254376769065857, 0.25860607624053955, -0.31066831946372986, -0.29831549525260925, -0.16739137470722198, -0.0033420573454350233, 0.5738832950592041, -0.6626192331314087, -0.19474729895591736, 0.33491799235343933, -1.0606642961502075, -0.28766271471977234, 0.22899828851222992, -1.048041820526123, -0.5003902316093445, -0.6572667360305786, 0.09411969780921936, 0.24071452021598816, -0.4107896089553833, -0.30397361516952515, -0.508637011051178, 0.21021385490894318, 0.6594253182411194, -0.8365546464920044, -0.3861568570137024, 0.5168484449386597, 0.5987415909767151, -0.4612164795398712, 0.11364905536174774, -0.24289970099925995, 0.5155317187309265, -0.6204384565353394, 1.0149680376052856, -0.4014512598514557, -0.9964434504508972, 0.19440457224845886, -0.4357784390449524, 0.31186988949775696, -0.5384930372238159, 0.8622356057167053, -0.280164510011673, -0.09346113353967667, -0.1675870418548584, -0.14592300355434418, 0.29739028215408325, 0.22667917609214783, -0.8045619130134583, 0.4082891345024109, -0.12358537316322327, -0.6581496000289917, 0.4404769837856293, -0.9151790142059326, -0.6540769934654236, 0.45908015966415405, -0.7384818196296692, -0.7152071595191956, 0.5949826240539551, -0.01280816551297903, 0.14696311950683594, -0.5120488405227661, 0.2806496322154999, -0.2810696065425873, -0.21810388565063477, 0.06844078004360199, -0.2987161874771118, 0.6409994959831238, 0.4278971254825592, -0.18940414488315582, 0.24161088466644287, -0.7644428014755249, 0.0749506950378418, 0.13835979998111725, -0.8592236042022705, -0.05993298441171646, 0.16804596781730652, 0.4251517951488495, 0.13598597049713135, 0.07740885019302368, -0.398021936416626, 0.18433983623981476, 0.09504690766334534, 0.3862403333187103, 0.6432106494903564, -0.2756864130496979, 0.7573357820510864, -0.6468530297279358, 0.5002584457397461, -0.18806028366088867, 0.30042076110839844, -0.26438960433006287, -0.6372982859611511, -0.7796759009361267, -0.06864934414625168, 0.09288834035396576, 0.3296027183532715, -0.8561197519302368, 0.3002956807613373, -0.42048540711402893, -0.6192066669464111, -0.6061288118362427, -0.04657014086842537, 0.03503319248557091, 0.3239210247993469, 0.17271947860717773, -0.13354666531085968, -0.1458238959312439, -0.7186771035194397, -0.1998770534992218, -0.5406848192214966, -0.3586709797382355, 0.3975529074668884, 0.46556445956230164, -0.47971266508102417, 0.5504403710365295, -0.4200066030025482, -0.54173743724823, 0.02384834550321102, 0.6434422731399536, 0.1824319064617157, 0.5178868770599365, 0.28985875844955444, -0.7933164238929749, -0.6538205742835999, 0.21251550316810608, -1.0406235456466675, -0.010387441143393517, -0.9285658597946167, -0.41501104831695557, 0.156754732131958, 0.47980085015296936, -0.6431636810302734, 1.0068682432174683, 0.08881843090057373, -0.10414359718561172, 0.18546468019485474, -0.3298163414001465, 0.053222257643938065, -0.9760497808456421, 0.5077418684959412, -0.15357504785060883, 0.4413057267665863, -0.3902098834514618, 0.29154449701309204, 0.015434208326041698, -0.47347214818000793, 0.0434899665415287, 0.8677461743354797, -0.6734111309051514, 0.040286194533109665, -0.33287274837493896, -0.10068777948617935, 0.44054970145225525, 0.1726069152355194, 0.337088018655777, 0.6785939931869507, 0.0467585027217865, -0.3372885286808014, -0.02624364197254181, 0.507610023021698, -0.17459924519062042, 0.9922677278518677, -0.652468204498291, 0.2098095417022705, -0.5898086428642273, 0.16823537647724152, -0.8886563181877136, -0.0880417600274086, 0.5086835026741028, -0.3753242790699005, 0.6047354936599731, 0.1610570251941681, -0.6975845098495483, -0.6945995688438416, -0.12067911773920059, 0.4497493803501129, 0.49417373538017273, -0.864597499370575, 1.1314036846160889, 0.3568984568119049, -0.04308495298027992, 0.10989399254322052, -0.8469938635826111, 0.401197224855423, -0.24196714162826538, -0.6282708048820496, 1.0074913501739502, -0.3773941099643707, -0.36534467339515686, 0.16731654107570648, 0.14389173686504364, 0.24935756623744965, -0.05405201390385628, 0.5438448786735535, 0.2941090762615204, 0.000451988133136183, 0.41382211446762085, 0.14726106822490692, -0.25372514128685, 0.167705237865448, -0.13489317893981934, -0.07301869243383408, 0.14906850457191467, -0.3470994532108307, -0.7583154439926147, 0.8835327625274658, 0.6075109243392944, -0.21955041587352753, 0.4288504719734192, 0.45206689834594727, -0.34434565901756287, -0.06265862286090851, -0.4052990674972534, 0.15041501820087433, -0.424568772315979, -0.3638158142566681, -0.6220831274986267, -0.09564930945634842, 0.4624006748199463, -0.2435922622680664, 0.5746192932128906, 0.5703677535057068, 0.2575075030326843, -0.5301929116249084, 0.9219886064529419, 0.7284042835235596, 0.12808293104171753, 0.6527069807052612, -0.2558152675628662, 0.22400929033756256, -0.8512460589408875, -0.5116081833839417, -0.6712467670440674, -0.5060837268829346, -0.5555785298347473, -0.20922233164310455, 0.41932380199432373, -0.03226339817047119, 0.03547964245080948, 0.016160273924469948, -0.8468008041381836, 0.2538517713546753, 0.6504632234573364, 0.21617233753204346, 0.3520427942276001, 0.4375969469547272, 0.3436475396156311, 0.04787074774503708, -0.5308904051780701, -0.6514672040939331, 0.8434178233146667, 0.38755080103874207, 1.0546977519989014, 0.04311296343803406, 1.113722801208496, 0.3903502821922302, 1.135288953781128, -0.6492947340011597, 0.26424640417099, -0.33247295022010803, -0.37042921781539917, -0.04985671490430832, 0.013376275077462196, -0.737243115901947, -0.13482466340065002, -0.6609222292900085, -0.3401123285293579, 0.49064213037490845, 0.053181201219558716, -0.2758767902851105, 0.31745877861976624, -0.5407939553260803, 0.4949829876422882, -0.5125126242637634, -0.7496933937072754, -0.236846923828125, -0.3746376633644104, 0.07877817004919052, -0.020857345312833786, 0.21781273186206818, 0.3150947690010071, 0.258745938539505, 0.8053311705589294, -0.33030086755752563, 0.9443476796150208, 0.1742822229862213, -0.30486205220222473, 0.6954965591430664, -0.26794567704200745, 0.44428443908691406, 0.17367513477802277, -0.45567288994789124, 0.27410975098609924, -0.14519110321998596, -0.3072472810745239, -0.6389294266700745, 0.3492380380630493, -0.786520779132843, -0.8397301435470581, -0.21533934772014618, -0.5037251710891724, 0.27060508728027344, 0.1856655776500702, 0.29509979486465454, 0.15824057161808014, -0.24371881783008575, -0.07842780649662018, 0.24412012100219727, -0.2696557939052582, 0.5144345760345459, 0.04287799447774887, 0.12290265411138535, -0.37242618203163147, 0.6029132604598999, -0.12573416531085968, -0.24777357280254364, 0.5224025845527649, 0.24909691512584686, -0.4128480553627014, -0.4872625172138214, -0.8396209478378296, 0.3065555989742279, -0.7068767547607422, -0.11075214296579361, -0.07938896864652634, -0.3170829713344574, -0.45436450839042664, -0.45648032426834106, -0.0534922294318676, 0.0014381574001163244, -0.8207188248634338, 0.21389524638652802, -0.14643988013267517, 0.9629782438278198, -0.30513542890548706, 0.36678773164749146, -0.7174433469772339, 0.06518936902284622, 0.3710276484489441, 0.40860655903816223, 0.03189415484666824, -0.28298303484916687, -0.015146350488066673, 0.06885644793510437, -0.585611879825592, -0.7875733971595764, 0.16017144918441772, 0.016471588984131813, 0.6703463792800903, 0.6921164989471436, 0.03320825845003128, 0.6884265542030334, -0.4938182532787323, 0.3278397023677826, 0.4241598844528198, -0.5666928291320801, 0.7440349459648132, -0.43052607774734497, 0.28364506363868713, 0.47045791149139404, 0.3038736581802368, -0.3978082835674286, 0.105157770216465, -0.784585177898407, -0.551405131816864, 0.1812986582517624, 0.0586090125143528, 0.31076014041900635, 0.02609463967382908, 0.8689693808555603, 0.19030484557151794, 0.10653581470251083, -0.5116482377052307, -0.1651417315006256, -0.1651068925857544, -0.16275480389595032, 0.039999306201934814, -0.5110399127006531, -0.3504212498664856, -0.12727844715118408, 0.27941203117370605, -0.10325981676578522, 0.7413961887359619, -0.06766774505376816, 0.520663321018219, -0.15578320622444153, 0.18890692293643951, 0.686998188495636, 0.6175693869590759, 0.2607726454734802, 0.05588173121213913, -0.5063589811325073, -0.018705379217863083, -0.03663283959031105, 0.14843295514583588, -0.4991251826286316, -0.0026620980352163315, 0.43732690811157227, 0.6438317894935608, -0.6147322058677673, -0.1852065920829773, 0.16663748025894165, -0.20088417828083038, -0.31731411814689636, -0.4003792405128479, -0.15452875196933746, 0.12390176951885223, 0.16454890370368958, 0.08013994991779327, 0.03935886546969414, 0.09087992459535599, -0.6739585399627686, 0.16364042460918427, 0.3463023602962494, 0.01774928905069828, -0.24585244059562683, 1.2208367586135864, 0.7951486706733704, -0.9261357188224792, 0.7204846739768982, -0.044503264129161835, 0.12740904092788696, 0.6024577617645264, 0.7571435570716858, 0.9026238918304443, 0.06694287806749344, 0.646658718585968, 0.45261967182159424, -0.11097806692123413, 0.10166623443365097, 0.17969472706317902, -0.5128117799758911, -0.14722250401973724, -0.0738539919257164, -0.23244968056678772, -0.33945149183273315, 0.03606612980365753, -0.8389407396316528, 0.25301116704940796, -0.44599881768226624, -0.333176851272583, -0.025417517870664597, -0.27581560611724854, -0.6475850343704224, 0.17959271371364594, 0.2640050947666168, 0.7051543593406677, -0.7736133933067322, 0.40934234857559204, 0.8752023577690125, -0.7694435119628906, -0.3937217891216278, 0.17958593368530273, -0.03393852710723877, -0.6811798214912415, 0.5938334465026855, -0.00397450989112258, 0.15781773626804352, -0.2123458981513977, -0.4054741859436035, -0.4357092082500458, 1.113219141960144, -0.09069415181875229, -0.7178719639778137, -0.07328449934720993, 0.5211274027824402, 0.820870578289032, -0.3816739022731781, 0.14254984259605408, 0.15214551985263824, 0.4768528342247009, 0.34174060821533203, -0.2762937545776367, 0.03200933337211609, -0.6759994626045227, 0.08525324612855911, 0.08698774874210358, -0.4426516592502594, 0.5191856026649475, -0.34447693824768066, -0.58490389585495, 0.17698557674884796, 0.772066593170166, 0.21066506206989288, 0.518234133720398, 0.11938921362161636, 0.4555530846118927, 0.8581019043922424, 0.07901947945356369, 0.9723221063613892, -0.19157014787197113, -0.42251232266426086, 1.0351941585540771, 0.19387362897396088, 0.797184407711029, 0.8564273715019226, 0.12787768244743347, 0.49624502658843994, 0.5974273085594177, 0.028143543750047684, 0.3860573470592499, 0.4454827606678009, -0.45561325550079346, -0.2123490273952484, -0.48777908086776733, -0.41772910952568054, 0.2675054669380188, 0.6028374433517456, -0.35065510869026184, -0.18611660599708557, 0.007557959295809269, -0.191630020737648, 0.35639530420303345, -0.160627081990242, 0.7094200849533081, 0.12086479365825653, -0.8039448857307434, 0.04260101914405823, -0.13652335107326508, 0.3576717972755432, 0.071942038834095, -0.46240130066871643, -0.38291212916374207, 0.230180025100708, -0.24278156459331512, -1.0913348197937012, 0.763353168964386, -0.2423250377178192, -0.27304404973983765, -0.7715466022491455, 0.5832818150520325, -0.16319072246551514, -0.6815197467803955, 0.11506768316030502, 0.5651106834411621, 0.2172033190727234, 0.19890569150447845, -0.7469207048416138, 0.4645611345767975, -0.13534334301948547, 0.2844351828098297, 0.024771282449364662, 0.34161707758903503, -0.19898435473442078, 0.39928343892097473, 0.34999018907546997, 0.09551424533128738, -0.4017140567302704, -0.008073833771049976, 0.6451953649520874, -0.2591739296913147, -0.360507607460022, -0.5456531643867493, 0.8473740220069885, -0.27812227606773376, -0.33713892102241516, 0.08114694058895111, 0.5296071171760559, 0.6551858186721802, -0.19038930535316467, 1.0614197254180908, -0.18322154879570007, -0.14712072908878326, -0.33819544315338135, 0.962995707988739, -0.7240753769874573, 0.2610408067703247, -0.13238288462162018, -0.6599953174591064, -0.5596709251403809, 0.6173465251922607, -0.19246765971183777, -0.20507675409317017, 0.3861761689186096, 0.3920387029647827, 0.28616032004356384, -0.01160482969135046, 0.15866857767105103, -0.4460700750350952, 0.8932794332504272, 0.4530894160270691, 0.5581701397895813, -0.4990294277667999, 0.6039329171180725, -0.26629284024238586, -0.28985127806663513, -0.047802433371543884, -1.083701491355896, -1.1818830966949463, -0.9235756397247314, -0.534747302532196, -0.29558855295181274, -0.041614849120378494, 0.21662965416908264, 0.6094303131103516, -0.38856226205825806, -0.23114614188671112, -0.2534843683242798, 0.1857343167066574, 0.06769295781850815, -0.1466241180896759, 0.5335759520530701, -0.025264598429203033, -0.5568748712539673, -0.1504756510257721, 0.23139595985412598, 0.45225006341934204, -0.020967446267604828, 0.014877344481647015, 0.4561678171157837, -0.22007502615451813, 0.7057390213012695, 0.49880385398864746, -0.5517554879188538, -0.20561343431472778, -0.16956840455532074, -0.08561477065086365, 0.37105488777160645, 0.9708380699157715, -0.3861171305179596, 0.460841566324234, 0.764353334903717, 0.9736655354499817, 0.47976022958755493, 0.0473313108086586, 0.6230761408805847, -0.04917497932910919, -0.19384190440177917, -0.06394446641206741, 0.05204456299543381, 0.19996854662895203, -0.5420806407928467, 0.5962036848068237, 0.07056570798158646, -0.43759921193122864, -0.3502935767173767, 0.27059146761894226, -0.840379536151886, -0.1678692102432251, 0.9364019632339478, 0.01794012077152729, -0.37059712409973145, 0.2294027954339981, -0.27361464500427246, 0.18425773084163666, -0.21837638318538666, 1.2916781902313232, 0.40420424938201904, -0.36005568504333496, -0.14038342237472534, -0.388130784034729, 0.4680115580558777, 0.010347801260650158, -1.596069097518921, -0.06633241474628448, 0.23719124495983124, -0.23219254612922668, 0.6665152907371521, 0.8484363555908203, -0.2182018756866455, 0.2273261994123459, 0.38285031914711, 0.3372388482093811, 0.14771081507205963, -0.46777454018592834, 0.12739267945289612, -0.1405061036348343, 0.3186524510383606, -0.247101292014122 ]
http://arxiv.org/abs/2403.08115v2
http://arxiv.org/pdf/2403.08115v2
Legally Binding but Unfair? Towards Assessing Fairness of Privacy Policies
2024-03-12T22:53:32
2024-05-08T14:47:39
Vincent Freiberger, Erik Buchmann
cs.CY
cs.CY, cs.AI, cs.CL, K.4.m
Privacy policies are expected to inform data subjects about their data protection rights and should explain the data controller's data management practices. Privacy policies only fulfill their purpose, if they are correctly interpreted, understood, and trusted by the data subject. This implies that a privacy policy is written in a fair way, e.g., it does not use polarizing terms, does not require a certain education, or does not assume a particular social background. We outline our approach to assessing fairness in privacy policies. We identify from fundamental legal sources and fairness research, how the dimensions informational fairness, representational fairness and ethics / morality are related to privacy policies. We propose options to automatically assess policies in these fairness dimensions, based on text statistics, linguistic methods and artificial intelligence. We conduct initial experiments with German privacy policies to provide evidence that our approach is applicable. Our experiments indicate that there are issues in all three dimensions of fairness. This is important, as future privacy policies may be used in a corpus for legal artificial intelligence models.
[ -0.398832768201828, -0.6022464036941528, 0.7037925124168396, 0.3819151222705841, -0.06239304319024086, -0.39685001969337463, -0.1626964509487152, -0.4325231909751892, -0.2599617540836334, 0.456567645072937, -0.3485443890094757, -0.4149129390716553, -0.5761796832084656, -0.15300162136554718, -0.05878550931811333, 1.1924878358840942, 0.1759398728609085, 0.6201589107513428, -0.6041789054870605, -0.3274397850036621, -0.34135159850120544, -0.518388032913208, -0.31262242794036865, -0.2010325789451599, 0.30844563245773315, 0.0744110718369484, 1.0791226625442505, 0.6415405869483948, 0.5790110230445862, 0.38030704855918884, -0.4412110149860382, -0.5835320353507996, -0.33862894773483276, -0.3868376612663269, -0.5528622269630432, -0.5452926754951477, -0.5698263049125671, 0.4601449966430664, 0.5497251152992249, 0.8855533599853516, -0.33445215225219727, 0.369854211807251, 0.05787082016468048, 0.8299791812896729, -0.7710473537445068, -0.08265765756368637, -0.19112780690193176, 0.6402928829193115, -0.11259439587593079, 0.01282686460763216, -0.21926023066043854, -0.8556327223777771, -0.09791315346956253, -0.042973097413778305, 0.25655683875083923, 0.17291845381259918, 0.6156674027442932, 0.24357746541500092, -0.7601752877235413, -0.23725968599319458, -0.5615120530128479, 0.7262214422225952, -0.5664218068122864, 0.6417965888977051, 0.5483995079994202, 0.47302281856536865, -0.11643274873495102, -0.5868197679519653, -0.6973351836204529, -0.2642776370048523, -0.19790376722812653, 0.0607437789440155, -0.2452903836965561, 0.2523265480995178, 0.76523756980896, 0.24412594735622406, -0.40200451016426086, 0.20238617062568665, -0.5008999705314636, -0.3866320550441742, 0.9140208959579468, 0.07044582068920135, 0.013947893865406513, -0.20911338925361633, 0.11082145571708679, 0.1523643136024475, -0.31209397315979004, 0.4280756413936615, 1.2213987112045288, 0.031474966555833817, -0.19550733268260956, 0.5284345149993896, -0.14166876673698425, 0.5826967358589172, 0.21500319242477417, -0.060959767550230026, 0.48562556505203247, 0.02336217276751995, 0.0265307929366827, 0.17211078107357025, 0.5826190114021301, 0.7425614595413208, 0.3025550842285156, -0.5312994718551636, -0.15847963094711304, -0.2015034556388855, 0.2520361840724945, -0.5072604417800903, 0.3202867805957794, 0.4108503460884094, -0.9917318820953369, -0.45853403210639954, 0.41696566343307495, -0.7828003168106079, -0.5438574552536011, -0.42427530884742737, 0.17715786397457123, 0.3642849326133728, 0.10415798425674438, 0.17645995318889618, -0.1699475646018982, 0.33800971508026123, 0.08239787817001343, -0.7407329678535461, 0.5216255784034729, 0.6666523814201355, 0.10357970744371414, 0.10848105698823929, -0.22948043048381805, -0.49317270517349243, 0.1505003571510315, -0.09891936182975769, 0.20229698717594147, -0.43300923705101013, -0.16519948840141296, 0.20390087366104126, 0.26316362619400024, 0.4642173647880554, -0.24242377281188965, 0.6645370721817017, -0.5738247036933899, 0.779564619064331, -0.37829622626304626, -0.6655282974243164, -0.47978612780570984, 0.03927085921168327, -0.8724233508110046, 0.21184812486171722, 0.04083649441599846, -0.8465936779975891, 0.8870218992233276, -0.8299449682235718, -0.6618114113807678, -0.16686980426311493, -0.33230748772621155, -0.28575751185417175, 0.09870781749486923, -0.1461854875087738, 0.3659234046936035, -0.11178088188171387, 0.6935312747955322, -0.7885473370552063, -0.020596714690327644, 0.5204195380210876, -0.6464655995368958, 1.3040779829025269, 0.3438947796821594, -0.7315694093704224, -0.21846668422222137, -0.6610015630722046, 0.188820019364357, -0.034612733870744705, -0.04448087140917778, 0.2674497365951538, 0.09024389088153839, 0.07381656765937805, 0.3659956455230713, 0.6213955879211426, -0.5792936682701111, -0.24846932291984558, -0.23218263685703278, 0.23435711860656738, 1.0912681818008423, -0.4107036888599396, 0.932294487953186, -0.26417094469070435, 0.5883846879005432, -0.1323813796043396, 0.702358067035675, 0.7886990308761597, -0.3260669410228729, -0.05550319701433182, 0.2440289556980133, 0.7528645992279053, 0.6850118637084961, 0.03578227758407593, 0.6844447255134583, -0.1945941150188446, -0.06196749955415726, -0.5679160952568054, -0.09314867854118347, 0.36107829213142395, 0.4462578594684601, -0.14502570033073425, -0.43562692403793335, -0.0288506131619215, -1.1622403860092163, -0.6186485886573792, -0.13983482122421265, 0.27856025099754333, 0.6719294786453247, 0.5671406388282776, 0.1358906775712967, 1.1363457441329956, -0.23337945342063904, -0.23851117491722107, 0.14944249391555786, -0.3127007484436035, 0.1367470622062683, 0.3303844630718231, 0.6124491095542908, -1.375253677368164, -0.1224687322974205, -0.10609011352062225, -1.098839282989502, -0.06964484602212906, 0.2965524196624756, 0.1076454296708107, 0.26063674688339233, 0.05477285012602806, -0.19162693619728088, 0.8185685276985168, 0.1313238888978958, -0.8396875858306885, -0.06891529262065887, -0.4039558172225952, 0.4364359676837921, -0.15837524831295013, 0.03228820487856865, -0.2087322324514389, -0.6893338561058044, -0.4597257971763611, 0.025544073432683945, 0.004990866873413324, -0.158786803483963, -0.8348215818405151, 0.6384884119033813, 0.09160592406988144, -0.5253154039382935, -0.2900276482105255, -0.09751381725072861, -0.0322512723505497, 0.4597155451774597, -0.4272695481777191, 0.28679248690605164, 0.32407745718955994, -0.5618107914924622, 0.11143559217453003, 0.050251755863428116, 0.03455290570855141, 1.0200941562652588, -0.1585635542869568, 0.10878603160381317, -0.44563642144203186, 0.30474209785461426, -0.04869770258665085, -0.23001135885715485, 0.623683750629425, -0.4773755669593811, -0.2682274878025055, -0.06720218062400818, -0.5261139273643494, -0.2583359479904175, -0.2058364450931549, 0.5505161881446838, 0.5406153798103333, -0.44454425573349, 0.8880655169487, 1.0143415927886963, 0.03312632068991661, -0.5858139395713806, -0.7748964428901672, -0.007228853181004524, -0.6625739336013794, -0.512044370174408, 0.30331629514694214, -0.030182750895619392, -0.5491960644721985, 0.4205268621444702, 0.05321879684925079, -0.4462459087371826, 0.19867834448814392, 0.40426111221313477, -0.18128466606140137, 0.3214036524295807, -0.3827664852142334, 0.09848032146692276, -0.2011134922504425, 0.2971983850002289, -0.19875673949718475, 0.19892455637454987, -0.38775816559791565, -0.3533361852169037, -0.7837612628936768, 0.3382199704647064, 0.1706455498933792, 0.13376924395561218, 0.2844659984111786, 0.32429376244544983, -0.5475848913192749, 0.28510159254074097, -0.6369460821151733, 0.1125572919845581, -0.42117205262184143, -0.17023450136184692, -0.20071959495544434, -0.6317206025123596, 0.8627949953079224, 0.2746630907058716, 0.09157516062259674, 0.40220704674720764, 0.529938817024231, -0.076945960521698, 1.1783912181854248, 0.9492220878601074, -0.03418358042836189, 0.20433232188224792, 0.2111590951681137, 0.35408324003219604, 0.04108509421348572, -0.39456644654273987, -0.7001992464065552, -0.36479252576828003, -1.278582215309143, 0.3544948399066925, 0.07334735989570618, 0.11688388884067535, -0.3597763478755951, -0.04534492269158363, -0.35725247859954834, 0.6267795562744141, 0.6891379356384277, 0.3691627085208893, 0.3652195930480957, -0.12565378844738007, 0.1734558492898941, -0.03317873924970627, -0.47651809453964233, -0.6329401731491089, 1.1310679912567139, 0.47564008831977844, 0.5710992217063904, 0.22305828332901, 0.7913455367088318, 0.7420852184295654, -0.011036938056349754, -0.37252575159072876, 0.5057167410850525, -0.4048381447792053, -0.6295198202133179, -0.1897318959236145, -0.7472348213195801, -0.9388154745101929, -0.11199302226305008, -0.08801101893186569, -0.7733408808708191, 0.6084268093109131, 0.2203146368265152, -0.026141347363591194, 0.20886382460594177, -0.7907028198242188, 0.846289873123169, -0.49913498759269714, -0.5581870675086975, -0.38339763879776, -0.8687074184417725, 0.2574726641178131, 0.04831460118293762, 0.5440210103988647, -0.3232395648956299, -0.009527506306767464, 0.800423800945282, -0.435424268245697, 0.40386489033699036, -0.8012766242027283, 0.03547808900475502, 0.10696991533041, -0.10772132128477097, 0.11159887909889221, -0.006161354947835207, -0.25000110268592834, 0.49165961146354675, 0.2086714804172516, -0.48715105652809143, -0.7843034863471985, 0.5832739472389221, -0.5096395015716553, -0.25620317459106445, -0.6282517910003662, -0.41207435727119446, -0.08928465843200684, 0.3556140661239624, -0.06200997158885002, -0.01269693672657013, -0.3865495026111603, -0.017918860539793968, 0.365021675825119, -0.14037321507930756, 0.15257476270198822, 0.6754158735275269, -0.2852693796157837, -0.18803063035011292, 0.9148229956626892, 0.31485024094581604, -0.24996381998062134, -0.24363189935684204, 0.3033917248249054, -0.6346041560173035, -0.164363831281662, -0.16869668662548065, -0.13292253017425537, -0.9475405812263489, -0.02053092233836651, -0.4405567944049835, -0.05014415085315704, -0.512529730796814, -0.08936499804258347, 0.11080854386091232, -0.7069585919380188, 0.16892336308956146, -0.024606140330433846, 0.4510557949542999, 0.6657997369766235, -0.7696874737739563, 0.13621433079242706, -0.21413972973823547, 0.6851528286933899, 0.06543172895908356, 0.6349349617958069, -0.37766510248184204, -0.31588730216026306, 0.35099002718925476, 0.044094279408454895, -0.15843424201011658, -0.6934002041816711, -0.19117504358291626, -0.14769135415554047, 0.5336394906044006, 0.2446134239435196, -0.18548116087913513, 0.1567656546831131, -0.859310507774353, 0.5606520175933838, 0.053330905735492706, -0.9739266633987427, 0.33171308040618896, -0.051930978894233704, -0.372283011674881, 1.0030543804168701, 0.3553611934185028, -0.2063596546649933, -0.5353322625160217, -1.2413718700408936, -0.5961765050888062, 0.6303724646568298, 0.1914791315793991, 0.24582026898860931, 0.47263479232788086, 0.4746406376361847, 0.16013267636299133, 0.6087242364883423, -0.9173367619514465, -0.35945889353752136, -0.09403946250677109, -0.3362840414047241, 0.2860254645347595, 0.17598335444927216, -0.3393573462963104, -0.15283556282520294, 0.3642330765724182, 0.25421586632728577, 0.15616437792778015, -0.30484747886657715, 0.042457465082407, 0.20825202763080597, 0.37637951970100403, 0.3032733201980591, 0.9305667877197266, -0.23046645522117615, -0.19175726175308228, 0.10018705576658249, -0.31925007700920105, 0.3229011297225952, 0.545109212398529, -0.6210653781890869, -0.09972764551639557, -0.26937925815582275, 0.3562373220920563, -0.1669367402791977, -0.376411110162735, 1.0219483375549316, -0.44298869371414185, -0.412691205739975, -0.48912522196769714, 0.17760595679283142, -0.434560090303421, 0.17266623675823212, -0.22316943109035492, -0.037388574331998825, 0.6758584976196289, -0.3944339454174042, 0.4389500319957733, 0.33228060603141785, -0.5201323628425598, 0.1827860325574875, 0.782974123954773, 0.13156253099441528, -0.5606526136398315, 0.26218315958976746, -0.5180078744888306, -0.34053120017051697, 0.5154923796653748, -0.03922221437096596, 0.625231146812439, 0.10579162836074829, 0.14335298538208008, -0.2854645252227783, 0.1872103214263916, -0.1965717375278473, 0.433536171913147, -0.07839719206094742, -0.35828134417533875, -0.028071939945220947, -0.22515952587127686, -0.3575997054576874, -0.33636730909347534, -1.046230673789978, 0.13863816857337952, -0.6020102500915527, -0.3255128562450409, -0.08208150416612625, 0.22654204070568085, -1.1223894357681274, 0.3843442499637604, -0.18939398229122162, 0.7582660913467407, -0.7934141755104065, 0.2359578162431717, 0.26655563712120056, -0.42554572224617004, -0.4014788568019867, 0.12147838622331619, 0.18709008395671844, -0.8796690702438354, 0.35648226737976074, 0.06171419471502304, 0.049378640949726105, -0.4442036747932434, -0.7700582146644592, -0.2746993899345398, 0.6776419878005981, 0.7659409642219543, -0.5202741026878357, 0.04728090390563011, 0.6270711421966553, 0.42666420340538025, 0.06933526694774628, 0.11221978068351746, 0.7547721266746521, 0.7470031976699829, -0.4474300146102905, -0.9300597310066223, -0.10150596499443054, 0.04787486791610718, -0.32624733448028564, -0.01494080200791359, -0.5488404631614685, 0.33232465386390686, -0.06419872492551804, -0.05805078521370888, -0.31485515832901, 0.7880794405937195, 0.016528353095054626, 0.745034396648407, 0.6438189148902893, 0.6576986312866211, 1.1051470041275024, -0.031823545694351196, 1.3203909397125244, -0.441094309091568, 0.46841347217559814, 1.0400093793869019, -0.5883532166481018, 0.25195276737213135, 0.4137642979621887, -0.20093759894371033, 0.2557814121246338, 0.6161932945251465, -0.2188640981912613, 0.6132319569587708, 0.38913872838020325, -0.13115452229976654, 0.25873956084251404, -0.43660691380500793, -0.31158727407455444, 0.46995124220848083, -0.17180363833904266, -0.1974223405122757, -0.3238992989063263, 0.43239274621009827, 0.03212793916463852, 0.4120026230812073, -0.5682520270347595, 0.8186442255973816, 0.044146578758955, -0.4316789507865906, -0.41782641410827637, 0.45429375767707825, 0.3477700650691986, -0.20315083861351013, -0.035126786679029465, -0.07138221710920334, 0.0707307830452919, -0.44936829805374146, -1.228306770324707, 0.2584088444709778, 0.4327106773853302, -0.28657057881355286, -0.4105358421802521, 0.5290505886077881, 0.016173232346773148, -0.35819482803344727, 0.29108014702796936, 0.32693907618522644, 0.40926870703697205, 0.4444800913333893, -1.228993535041809, -0.15410877764225006, -0.0712369903922081, -0.13260342180728912, 0.3581468462944031, 0.48615720868110657, -0.16682441532611847, 0.5286431908607483, 0.2897529900074005, 0.17747855186462402, 0.18283769488334656, 0.27969950437545776, 0.38213610649108887, -0.8555209040641785, -0.8638014197349548, -0.6006191968917847, 0.4837763011455536, -0.24471545219421387, -0.1644252985715866, 0.5563235878944397, 0.5770136713981628, 0.9126461744308472, 0.6119036078453064, 0.7415726780891418, -0.44176480174064636, 0.4442357122898102, -0.8623982071876526, 0.6984719634056091, -0.45014289021492004, -0.012599820271134377, 0.14418046176433563, -1.0151869058609009, -0.2158135026693344, 0.6826896071434021, -0.5474250316619873, 0.6493858695030212, 0.25835496187210083, 0.5452134013175964, -0.08896093815565109, 0.1533605456352234, 0.03520523011684418, -0.07388444989919662, 0.22456087172031403, 0.20456244051456451, 0.4728666841983795, -0.42588964104652405, 0.3063816428184509, -0.4598958492279053, -0.25828585028648376, 0.35145142674446106, -1.070023536682129, -0.5496559143066406, -0.12958283722400665, -0.0955270454287529, -0.6541464328765869, 0.031988345086574554, 0.5743300318717957, 0.5209077596664429, -0.5902441143989563, -0.16260991990566254, 0.018495110794901848, 0.4474334716796875, 0.10844344645738602, -0.31283777952194214, 0.3440885841846466, -0.08747461438179016, -0.505466878414154, -0.19361555576324463, -0.05855831503868103, -0.04927757382392883, -0.19257546961307526, -0.17452669143676758, 0.3467743992805481, -0.28567084670066833, 0.1856801062822342, 0.40727943181991577, -0.34163612127304077, -0.32000985741615295, -0.6083788871765137, -0.336397647857666, 0.12459734827280045, 0.9078647494316101, -0.3997451961040497, 0.2543465197086334, 0.4929913580417633, 0.598608672618866, 0.09961721301078796, -0.10745704174041748, 0.44144687056541443, -0.2058006376028061, 0.4875178337097168, 0.6377477645874023, 0.3109959661960602, -0.07622473686933517, -0.5744550228118896, 0.3542291224002838, -0.27040761709213257, -0.6732470393180847, -0.9550142288208008, 0.1535055935382843, -0.6618496179580688, -0.2826252579689026, 0.7210724353790283, 0.08076038956642151, -0.4778723120689392, -0.17353275418281555, 0.11213624477386475, -0.2246752232313156, -0.3287719488143921, 0.8115629553794861, 0.4592626392841339, -0.10546299815177917, 0.4364888668060303, -1.0215891599655151, 0.5560442209243774, 0.17969408631324768, -0.8299919366836548, -0.11789926141500473, 0.5443045496940613, 0.09567814320325851, -0.10294273495674133, 0.9222861528396606, -0.509912371635437, 0.5227181315422058, -0.5299758315086365, -0.1486268937587738, 0.3995850384235382, -0.30934664607048035, -0.7900675535202026, 0.04306655749678612, -0.12895983457565308, 0.20498797297477722 ]
http://arxiv.org/abs/2403.08111v1
http://arxiv.org/pdf/2403.08111v1
AI-Assisted Causal Pathway Diagram for Human-Centered Design
2024-03-12T22:36:27
2024-03-12T22:36:27
Ruican Zhong, Donghoon Shin, Rosemary Meza, Predrag Klasnja, Lucas Colusso, Gary Hsieh
cs.HC
cs.HC, cs.AI, cs.CL, H.5.2; I.2.7
This paper explores the integration of causal pathway diagrams (CPD) into human-centered design (HCD), investigating how these diagrams can enhance the early stages of the design process. A dedicated CPD plugin for the online collaborative whiteboard platform Miro was developed to streamline diagram creation and offer real-time AI-driven guidance. Through a user study with designers (N=20), we found that CPD's branching and its emphasis on causal connections supported both divergent and convergent processes during design. CPD can also facilitate communication among stakeholders. Additionally, we found our plugin significantly reduces designers' cognitive workload and increases their creativity during brainstorming, highlighting the implications of AI-assisted tools in supporting creative work and evidence-based designs.
[ -0.6191243529319763, -0.6098796129226685, 0.7352331876754761, 0.42756175994873047, -0.7501697540283203, -0.0034831471275538206, 0.2842775285243988, -0.6387951374053955, 0.25698336958885193, 0.25605663657188416, -0.9259778261184692, -0.5423120856285095, -0.28929638862609863, -0.04829610884189606, 0.16954787075519562, 0.6084798574447632, -0.039881639182567596, 0.2126486897468567, -0.19545838236808777, 0.19717097282409668, -0.9531478881835938, -0.09794091433286667, -0.9803946018218994, -0.3157142996788025, 1.0161925554275513, 0.673210620880127, 0.728852391242981, 0.4614320695400238, 0.5958114862442017, 0.16639339923858643, -0.04224501922726631, -0.06179267168045044, -0.14477777481079102, 0.21275390684604645, -0.20623581111431122, -0.15295544266700745, -0.7143775224685669, 0.05139290913939476, -0.11565890908241272, 0.929979145526886, -0.15258662402629852, 0.24314633011817932, 0.36617788672447205, 0.9031370282173157, -0.5506106615066528, 0.42863479256629944, 0.16747890412807465, 0.25833597779273987, -0.302636057138443, -0.2061740607023239, -0.47660136222839355, -0.29006335139274597, 0.20151035487651825, -0.9912086129188538, -0.09088381379842758, 0.03152651712298393, 0.3402845859527588, 0.5314275622367859, -0.4399842321872711, -0.3225390613079071, -0.9242691993713379, 0.2225920557975769, -0.6202226281166077, 0.2060653418302536, 0.04185597971081734, 0.3875027894973755, -0.2598436772823334, -0.6467026472091675, -0.23725026845932007, 0.11138385534286499, -0.2961825430393219, 0.037486232817173004, 0.010603869333863258, 0.49023115634918213, 0.392300546169281, -0.21188004314899445, -0.5294572710990906, 0.36800694465637207, -0.45829451084136963, -0.0884312316775322, 0.9002375602722168, 0.3333989083766937, 0.585771381855011, -0.09313468635082245, -0.2937191128730774, 0.024846574291586876, -0.7743883728981018, -0.018794341012835503, 0.10726950317621231, 0.15468236804008484, -0.22101663053035736, 0.4169713258743286, 0.025082705542445183, 0.7263200283050537, 0.019267920404672623, 0.03515084087848663, -0.13503967225551605, -0.1704951971769333, -0.09467887878417969, 0.10197161138057709, 0.6382262110710144, 0.46791812777519226, 0.06773173063993454, -0.18928781151771545, 0.1986461877822876, -0.11394797265529633, 0.5939403176307678, -0.6304313540458679, -0.5354391932487488, 0.17054827511310577, -0.6145349144935608, -0.18771278858184814, 0.23872168362140656, -0.6001108288764954, -0.4370739161968231, -0.9113894104957581, 0.33549490571022034, -0.018472889438271523, -0.06082824990153313, -0.20943796634674072, -0.44986167550086975, 0.07274259626865387, 0.6200487613677979, -0.48441624641418457, 0.08427638560533524, 0.7149157524108887, 0.9068846106529236, -0.17821897566318512, -0.0768897756934166, -0.24701428413391113, 0.3046899139881134, -0.46945613622665405, 0.8333876729011536, -0.12831853330135345, -0.6987925171852112, -0.3294955790042877, -0.2874763309955597, 0.2744445502758026, -0.4132026135921478, 0.9482851028442383, -0.4695740342140198, 0.21884584426879883, -0.4528909921646118, -0.3969876766204834, -0.29460686445236206, -0.1473502814769745, -0.8089982271194458, 0.1754412204027176, 0.013656504452228546, -0.9816761612892151, 0.724619448184967, -0.9686112999916077, -0.7200892567634583, 0.27071982622146606, -0.5782634615898132, -0.4774138927459717, -0.022395670413970947, 0.07304207980632782, 0.43217629194259644, -0.37137946486473083, 0.5005594491958618, -0.5464113354682922, -0.4321576654911041, -0.1900385618209839, -0.12275152653455734, 1.3163045644760132, 0.3766767978668213, -0.5603466033935547, 0.6874025464057922, -0.7868378758430481, -0.1558275669813156, -0.09709766507148743, -0.07549235224723816, -0.3092455267906189, 0.2149564027786255, 0.18164999783039093, 0.6326430439949036, -0.19289667904376984, -0.14872989058494568, 0.19855384528636932, 0.14057466387748718, 0.2403407096862793, 1.1779711246490479, 0.3102620840072632, 0.46936967968940735, -0.5602781176567078, 0.6051920056343079, -0.06260378658771515, 0.478630006313324, -0.056093260645866394, -1.1703318357467651, -0.7027240991592407, -0.23565664887428284, -0.3466625213623047, 0.3393956422805786, -0.4909214675426483, 0.9104841947555542, 0.21797172725200653, -0.5932143330574036, -0.3958657681941986, -0.039955031126737595, 0.15285052359104156, 0.7609518766403198, 0.10552288591861725, -0.5078189969062805, -0.3246298134326935, -0.7900429964065552, 0.20684948563575745, -0.4186173379421234, -0.4245515763759613, 0.46186563372612, 0.19088956713676453, -0.2941902279853821, 0.8405137062072754, -0.7830044627189636, -0.49719202518463135, -0.005905881989747286, 0.7051258683204651, 0.16699258983135223, 0.653571605682373, 0.5742062330245972, -0.7415412664413452, -0.7759930491447449, -0.31049397587776184, -0.726518452167511, -0.3800092339515686, -0.49509990215301514, -0.696520984172821, -0.09849759191274643, 0.3825867474079132, -0.654644250869751, 0.8078322410583496, -0.09795580804347992, -0.7968723177909851, 0.6117004752159119, -0.2884403467178345, 0.35960474610328674, -0.9505866765975952, 0.5430842041969299, -0.23773087561130524, 0.3568461239337921, -0.7248673439025879, -0.020040199160575867, -0.060629379004240036, -0.32424506545066833, -0.49814701080322266, 0.2585415244102478, -0.20357410609722137, 0.025487145408988, -0.08420874923467636, 0.11381757259368896, 0.14722104370594025, 0.6753687858581543, -0.07827705144882202, 0.4797539710998535, 0.5262327790260315, -0.6375962495803833, 0.06948476284742355, 0.4443473219871521, 0.01889909617602825, 0.9609334468841553, -0.8238812685012817, 0.23978619277477264, -0.2908894419670105, 0.2633644640445709, -0.8647226691246033, -0.14619043469429016, 0.5105958580970764, -0.3281737267971039, 0.10021151602268219, 0.08531051874160767, -0.44510817527770996, -0.5365574955940247, -0.3687240481376648, 0.6011923551559448, 0.4110899865627289, -0.6086862087249756, 0.5503854751586914, 0.3825409710407257, -0.07659981399774551, 0.16310222446918488, -0.5697596073150635, 0.02172013372182846, -0.3545358180999756, -1.192236304283142, 0.5711134672164917, -0.5616915225982666, -0.41448256373405457, -0.13273712992668152, 0.44124698638916016, 0.004433488007634878, 0.46840018033981323, 0.6720542907714844, 0.5942777991294861, -0.16037699580192566, 0.011300353333353996, 0.10222761332988739, -0.351211279630661, 0.4646528661251068, -0.21987049281597137, 0.320751816034317, 0.4859595000743866, -0.7601925730705261, -1.39837646484375, 0.6521365642547607, 1.1644562482833862, 0.10947597771883011, 0.7449156045913696, 0.6272613406181335, -0.4443505108356476, 0.15013664960861206, -0.2259124368429184, -0.05956924706697464, -0.41977888345718384, -0.4199543297290802, 0.02923029474914074, -0.700514554977417, 0.6564579010009766, -0.13888564705848694, 0.18601419031620026, 0.5363566875457764, 0.39682769775390625, -0.20837441086769104, 1.395524024963379, 0.7903187274932861, -0.262930303812027, 0.5351485013961792, -0.21403059363365173, 0.2231365144252777, -1.0363221168518066, -0.4936521649360657, -0.4758565425872803, -0.5018948316574097, -0.45782285928726196, -0.2043420970439911, 0.5298876762390137, 0.3670875132083893, -0.6115778088569641, 0.008946161717176437, -0.8057681918144226, 0.06507690995931625, 0.7146801948547363, 0.18279875814914703, 0.3012302815914154, -0.4819785952568054, -0.20866255462169647, -0.1551085263490677, -0.8051960468292236, -0.2525428235530853, 0.8687211275100708, 0.1222185492515564, 0.8282843828201294, 0.034680355340242386, 0.6994492411613464, 0.5532014966011047, 0.7232494354248047, -0.5961613655090332, 0.2176571637392044, 0.4640760123729706, -0.619500458240509, -0.2861877977848053, -0.020626865327358246, -0.7813163995742798, 0.06107860431075096, -0.542595624923706, -0.7487315535545349, 0.5427970290184021, 0.37732359766960144, -0.48314425349235535, 0.1409451961517334, -1.0519074201583862, 0.7517168521881104, -0.3163549304008484, -0.7347293496131897, -0.5899637937545776, -0.6821545362472534, 0.5762789845466614, -0.20757177472114563, 0.1683170199394226, 0.09990180283784866, 0.515525221824646, 0.9254538416862488, -0.6527578234672546, 0.8228674530982971, -0.10434585809707642, 0.15662781894207, 0.5354506969451904, 0.0033345790579915047, 0.495407372713089, 0.011828488670289516, 0.09474015980958939, -0.11783129721879959, -0.5073562264442444, -0.2983474135398865, -0.5954126119613647, 0.6161232590675354, -0.6236602663993835, -0.7609911561012268, -0.12687107920646667, -0.19116830825805664, 0.2020757496356964, 0.34016451239585876, 0.06850317865610123, 0.2017633616924286, -0.2508888840675354, -0.05840982496738434, 0.05068977177143097, -0.19571757316589355, 0.3718099594116211, 0.09064659476280212, 0.09998518973588943, -0.4033207595348358, 0.3294713497161865, -0.18304914236068726, 0.2334812581539154, -0.02148265764117241, 0.27770060300827026, -0.08122798800468445, -0.1143050268292427, -0.48219776153564453, 0.09792865067720413, -0.6723748445510864, -0.014106698334217072, -0.16601696610450745, -0.22077450156211853, -0.5143306851387024, -0.7721035480499268, -0.03532303869724274, -0.4720156192779541, -0.8337299823760986, -0.10229410231113434, 0.13124831020832062, 1.1398175954818726, -0.26270604133605957, -0.04046974331140518, -0.6241978406906128, 0.27033641934394836, 0.4432218074798584, 0.27630919218063354, 0.5859473347663879, 0.18635761737823486, -0.25032585859298706, -0.1565018892288208, -0.7262367606163025, -0.8631786704063416, 0.2058035284280777, -0.3310876190662384, 0.6102756857872009, 1.057175636291504, 0.18314866721630096, 0.7553613781929016, -0.6500620245933533, 0.6918524503707886, 0.5321803689002991, -0.5492104291915894, 0.8000783324241638, -0.38267621397972107, 0.31398633122444153, 0.25457414984703064, 0.7547745704650879, -0.6501871943473816, -0.10889388620853424, -0.7664496898651123, -0.7722764015197754, 0.4667394757270813, 0.23123016953468323, -0.6283806562423706, 0.09364638477563858, 0.3955242335796356, -0.024120911955833435, -0.2464386224746704, -0.11029233038425446, -0.2712007462978363, 0.04748936742544174, -0.10127027332782745, 0.24109339714050293, -0.01220250315964222, -0.3471798300743103, -0.48497381806373596, 0.34574973583221436, 0.05503126606345177, 0.3066677451133728, 0.366160124540329, 0.2180587351322174, -0.4226098358631134, -0.019794438034296036, 0.7264596223831177, 0.880086362361908, 0.007523152511566877, 0.08819395303726196, -0.29032018780708313, -0.12324357777833939, -0.08501371741294861, 0.026639223098754883, -0.21045657992362976, -0.44871652126312256, 0.6030946373939514, 0.48443371057510376, 0.05238480120897293, -0.3357815444469452, 0.2753203809261322, -0.2851255536079407, -0.04482497274875641, -0.004182714503258467, 0.31635862588882446, 0.09015747159719467, 0.5160479545593262, 0.37597978115081787, 0.16773691773414612, 0.4326745569705963, -0.4077235460281372, 0.6090301871299744, 0.4271993637084961, -0.39913293719291687, -0.4053287208080292, 1.3306565284729004, 0.591582179069519, -1.0586762428283691, 0.766428530216217, 0.030882269144058228, -0.36497750878334045, 0.7670966386795044, 0.3812270760536194, 1.1198819875717163, 0.1378210335969925, 0.3915258049964905, 0.4556836783885956, -0.08244795352220535, 0.36694732308387756, 0.04563528671860695, -0.562971830368042, -0.08685582876205444, -0.3355690836906433, -0.06144047901034355, -0.5177628397941589, -0.4385235011577606, -0.724747896194458, 0.5850760340690613, -0.546221137046814, -0.2656327784061432, -0.062468864023685455, -0.17741736769676208, -0.5581357479095459, 0.04265882819890976, 0.22534023225307465, 0.5920358896255493, -0.7808927893638611, 0.27650827169418335, 0.4444969594478607, -0.7296791672706604, -0.6292974352836609, -0.14346128702163696, 0.44145017862319946, -0.31986570358276367, 0.7340947389602661, -0.1284581869840622, -0.221575528383255, -0.03483021631836891, -0.44044017791748047, -0.5351644158363342, 1.6504640579223633, -0.050766974687576294, -0.2599068284034729, 0.057140741497278214, 0.10714849829673767, 0.6354614496231079, -0.4096808135509491, 0.16141986846923828, 0.06229393184185028, 0.3855535089969635, 0.3112884759902954, -0.5416385531425476, 0.37489035725593567, -0.27400532364845276, -0.1958068609237671, -0.029486067593097687, -0.5964590907096863, 0.6757778525352478, -0.5643300414085388, -0.4908584654331207, -0.02655559964478016, 0.5757503509521484, 0.43888387084007263, 0.35524502396583557, 0.43502098321914673, 0.44348400831222534, 0.7065131068229675, 0.26291730999946594, 0.7386220097541809, -0.5862208008766174, 0.08146145939826965, 0.8568050861358643, 0.24585546553134918, 0.5226796269416809, 0.5618294477462769, 0.1349370926618576, 0.6520941257476807, 0.5677065253257751, 0.3861798942089081, 0.5520890951156616, 0.13800711929798126, -0.29932257533073425, -0.10637316852807999, -0.23968994617462158, -0.21720153093338013, -0.32256239652633667, 0.15364862978458405, -0.19534389674663544, -0.06375782191753387, -0.15368196368217468, -0.06458866596221924, -0.1528807282447815, -0.09803088754415512, 0.6108275651931763, 0.13550683856010437, -0.7546046376228333, 0.1764877438545227, -0.2606653869152069, 0.24838301539421082, -0.11785051971673965, -0.3924437165260315, -0.20654985308647156, 0.1055871769785881, -0.14612726867198944, -0.9163456559181213, 0.4196210205554962, -0.2777599096298218, 0.2589644193649292, -0.4722194969654083, 0.6228030920028687, -0.04518173262476921, -0.2089419662952423, 0.3598870635032654, 0.4190081059932709, -0.29179853200912476, 0.013208208605647087, -0.7324709892272949, 0.03177148476243019, -0.26107168197631836, 0.1715688556432724, -0.006543000228703022, 0.5279204249382019, -0.25133854150772095, 0.8148482441902161, 0.7147604823112488, -0.3086305558681488, -0.2729761600494385, 0.41245225071907043, 1.0241130590438843, -0.7599483728408813, -0.5816460251808167, -0.7397948503494263, 0.9842351675033569, -0.17119888961315155, -0.3754110336303711, 0.3987126648426056, 0.40804150700569153, 0.7346702814102173, -0.06941314041614532, 0.38660457730293274, -0.09479232132434845, -0.047607313841581345, -0.38903817534446716, 1.1136635541915894, -0.47451773285865784, 0.14475490152835846, -0.6766495704650879, -0.5718004703521729, -0.8745220303535461, 0.6396107077598572, 0.18663367629051208, -0.3052060604095459, 0.7316268682479858, 0.6048951148986816, 0.03773096203804016, 0.12795186042785645, -0.010250936262309551, -0.12251555174589157, 0.9882873296737671, 0.3826141357421875, 0.8252267241477966, 0.03345246985554695, 0.030281320214271545, -0.5687210559844971, -0.4495834410190582, -0.3827929198741913, -0.7829076647758484, -0.9922858476638794, -0.8490469455718994, -0.3552098572254181, 0.04095549136400223, -0.27048784494400024, 0.7461470365524292, 0.8476080298423767, -0.394340842962265, -0.3401646614074707, -0.6020200252532959, 0.5923926830291748, -0.0006398137775249779, -0.2678411602973938, 0.5486575961112976, -0.1458398997783661, -0.13347649574279785, -0.10105469822883606, 0.5439102053642273, 0.06294721364974976, -0.52762770652771, -0.31098389625549316, -0.20266225934028625, -0.1409670114517212, 0.7609608173370361, 0.1251431256532669, -0.43354901671409607, -0.4312129616737366, -0.1755864918231964, 0.031069327145814896, 0.10079026967287064, 1.3578391075134277, -0.5705727338790894, 0.4690264165401459, 0.9258114695549011, 0.32972368597984314, 0.2923026382923126, 0.13476310670375824, 0.8184571862220764, -0.015441573224961758, 0.10131094604730606, 0.057654302567243576, 0.27214938402175903, 0.05615974962711334, -0.5754026770591736, 0.5488881468772888, 0.46745985746383667, -0.7557215690612793, -0.24047546088695526, 0.0950099527835846, -1.026485800743103, -0.2676091194152832, 0.48247188329696655, 0.07286964356899261, -0.22770389914512634, -0.35554784536361694, -0.6025567650794983, 0.2682647109031677, -0.176986962556839, 1.1074272394180298, 0.5060649514198303, -0.9595152139663696, 0.23959431052207947, -0.29856231808662415, 0.478415310382843, -0.08066719025373459, -1.0731176137924194, -0.10799634456634521, 0.765923798084259, -0.10496831685304642, 0.3030957579612732, 0.7973834872245789, 0.13334758579730988, 0.4007548689842224, -0.15824492275714874, -0.03189928084611893, 0.20829342305660248, -0.5850300788879395, 0.036637209355831146, -0.1438288688659668, 0.2828531265258789, 0.00013893702998757362 ]
http://arxiv.org/abs/2403.08103v2
http://arxiv.org/pdf/2403.08103v2
Contextual Clarity: Generating Sentences with Transformer Models using Context-Reverso Data
2024-03-12T22:23:08
2024-03-14T10:47:32
Ruslan Musaev
cs.CL
cs.CL, cs.AI
In the age of information abundance, the ability to provide users with contextually relevant and concise information is crucial. Keyword in Context (KIC) generation is a task that plays a vital role in and generation applications, such as search engines, personal assistants, and content summarization. In this paper, we present a novel approach to generating unambiguous and brief sentence-contexts for given keywords using the T5 transformer model, leveraging data obtained from the Context-Reverso API. The code is available at https://github.com/Rusamus/word2context/tree/main .
[ -0.15867048501968384, -0.38744592666625977, 0.5218039751052856, 0.04861665144562721, -0.5505706667900085, -0.32372570037841797, -0.19321128726005554, -0.10483800619840622, -0.09423539787530899, 0.7294742465019226, -0.8210054039955139, -0.7331704497337341, -0.31701600551605225, 0.13492630422115326, -0.6960507035255432, 1.1222610473632812, 0.21600918471813202, -0.4773919880390167, -0.11721537262201309, -0.307122141122818, -0.8744363188743591, 0.0721932053565979, -0.30417656898498535, -0.3760615885257721, 0.24238376319408417, 0.958867609500885, 0.5311603546142578, 0.2134680300951004, 0.14936785399913788, 0.21466052532196045, 0.04592016339302063, -0.011289723217487335, -0.5404626727104187, 0.6113066077232361, -0.35733628273010254, -0.38136282563209534, 0.07413043826818466, -0.4137355387210846, 0.4923572540283203, 0.8407320976257324, 0.051080744713544846, 0.14098167419433594, 0.17556218802928925, 0.45351433753967285, -0.6990911960601807, 0.020815175026655197, -1.3018105030059814, -0.11027596145868301, -0.03563854098320007, -0.2509399652481079, -0.5510249137878418, -0.031206956133246422, 0.21291491389274597, -0.5371130704879761, 0.599860668182373, -0.061783578246831894, 1.1589070558547974, 0.22109003365039825, -0.7514877915382385, -0.4785422384738922, -0.7375090718269348, 0.5877915024757385, -0.8564993143081665, 0.40320271253585815, 0.07318640500307083, 0.31612589955329895, -0.04254944249987602, -1.3104201555252075, -0.7597306966781616, 0.10227295756340027, -0.30401161313056946, 0.27213889360427856, 0.12220199406147003, -0.013662145473062992, 0.05030219629406929, 0.2680177092552185, -0.3317469358444214, -0.286965012550354, -0.4430898427963257, -0.004361626226454973, 0.370504230260849, 0.2534749507904053, 0.17343638837337494, -0.5750651955604553, -0.13817812502384186, 0.09784793853759766, -0.7988441586494446, 0.1425415277481079, 0.24424277245998383, 0.3929139971733093, -0.049057699739933014, 0.7130719423294067, -0.3336600959300995, 0.4355272948741913, -0.016913726925849915, -0.21368396282196045, 0.10505971312522888, -0.6882274150848389, -0.10344287753105164, 0.09501082450151443, 0.6626931428909302, 0.6009865999221802, 0.005857808515429497, -0.6347581744194031, -0.32332560420036316, 0.181574746966362, 0.6168949007987976, -1.1179457902908325, -0.1996181458234787, 0.2277814894914627, -0.5074176788330078, -0.6964351534843445, 0.24871672689914703, -0.6715574264526367, 0.10227572172880173, 0.03185597062110901, 0.38165196776390076, -0.13905544579029083, 0.06843257695436478, -0.09971244633197784, -0.2782554030418396, 0.45072656869888306, -0.22065110504627228, -0.716234028339386, 0.015206348150968552, 0.46519243717193604, 0.7424045205116272, 0.10292373597621918, 0.008126835338771343, -0.23467998206615448, 0.3088706135749817, -0.20973969995975494, 0.5477671027183533, -0.5962913632392883, -0.8882585763931274, 0.12811444699764252, 0.10154803097248077, 0.1638554334640503, -0.34576958417892456, 0.8058266043663025, -0.5568509101867676, 0.628088116645813, -0.07010161876678467, -0.46269235014915466, -0.1645391881465912, 0.17278103530406952, -0.4273979365825653, 0.7275031805038452, 0.07481271028518677, -0.7990546226501465, 0.5319734811782837, -0.9055343270301819, -0.7970576882362366, 0.2520599663257599, -0.2377789467573166, -0.6052199006080627, 0.3152943551540375, 0.1567646861076355, 0.35437750816345215, -0.16062447428703308, 0.5188459157943726, -0.1390451043844223, -0.0375189483165741, 0.26912152767181396, -0.33261004090309143, 0.37363457679748535, 0.435291051864624, -0.3683326244354248, 0.12397553771734238, -0.6250486969947815, 0.04753929749131203, 0.14449068903923035, -0.16726413369178772, -0.2234574854373932, 0.09609145671129227, 0.34002137184143066, 0.23719798028469086, 0.2073100060224533, -0.4508717656135559, 0.20131975412368774, -0.5574775338172913, 0.8574779033660889, 0.25484126806259155, 0.2528957426548004, 0.5149425268173218, 0.09771057963371277, 0.30933642387390137, 0.24261587858200073, -0.051360685378313065, -0.7104191184043884, -0.41903185844421387, -0.5797396302223206, 0.27227213978767395, 0.4256833791732788, 0.2760322690010071, -0.8797927498817444, 0.5704855918884277, -0.7090566754341125, -0.28785440325737, -0.38223162293434143, -0.04651345685124397, 0.23600256443023682, 1.1075358390808105, 0.16451556980609894, 0.02607402205467224, -0.5707128643989563, -1.063237190246582, -0.361031174659729, 0.1276475340127945, -0.2090698480606079, 0.6421985030174255, 0.4241567850112915, -0.4369443953037262, 1.4918622970581055, -0.7891556024551392, -0.19005991518497467, -0.4756399095058441, 0.3051983118057251, 0.08463027328252792, 0.35339903831481934, 0.31797876954078674, -1.2935539484024048, -0.27064719796180725, -0.22948022186756134, -0.49598923325538635, -0.3429563641548157, -0.12535567581653595, -0.09501958638429642, 0.13092848658561707, 0.7430063486099243, -0.5899441838264465, 0.41414302587509155, 0.38316088914871216, -0.45748576521873474, 0.01676402986049652, -0.08771630376577377, 0.045825473964214325, -2.016213893890381, 0.7565714120864868, -0.4426034688949585, -0.29170840978622437, -0.8833397030830383, -0.1131552904844284, 0.12205479294061661, -0.35341089963912964, -0.3146941363811493, 0.43791529536247253, -0.2129603922367096, 0.06160383298993111, -0.4739561080932617, 0.4010937213897705, 0.22702957689762115, 0.23214852809906006, -0.09101276099681854, 0.6953877806663513, 0.17937175929546356, -0.5729163885116577, -0.09653598815202713, 0.2769106924533844, -0.23414945602416992, 0.27650925517082214, -0.7942655682563782, 0.012209027074277401, -0.21182845532894135, 0.36275389790534973, -1.355768084526062, -0.5806865096092224, -0.10174807906150818, -0.5762345790863037, 0.04781436175107956, 0.03800959512591362, -0.5339242815971375, -0.29435691237449646, -0.15422120690345764, 0.7170232534408569, 0.5944916605949402, -0.5904731154441833, 0.5393310189247131, 0.32379865646362305, 0.07534848153591156, -0.4564112722873688, -0.6630931496620178, 0.313711941242218, -0.4644608795642853, -0.6546039581298828, 0.7685166001319885, 0.11338828504085541, 0.08375141769647598, 0.11989718675613403, -0.07086652517318726, 0.0362299308180809, 0.2584091126918793, 0.384278804063797, 0.09415724128484726, 0.1399490088224411, 0.33816373348236084, 0.30453330278396606, 0.08493076264858246, -0.10739827156066895, -0.30340486764907837, 0.6375946998596191, -0.05652862414717674, 0.06754699349403381, -0.21980616450309753, 0.30179208517074585, 0.5399489402770996, -0.039974868297576904, 0.5189512968063354, 0.5161986351013184, -0.36207878589630127, -0.23061855137348175, -0.19661836326122284, -0.4159603714942932, -0.46140244603157043, 0.2523888945579529, -0.5097917914390564, -0.8480771780014038, 0.6404860615730286, -0.2884199619293213, 0.2072470635175705, 0.6224027872085571, 0.3599165380001068, 0.04277804493904114, 1.059893012046814, 0.7344072461128235, 0.1528148353099823, 0.42754611372947693, -0.08303233236074448, 0.6555289626121521, -0.7031221985816956, -0.29330533742904663, -0.3923355042934418, -0.4737716019153595, -0.8012481331825256, 0.2543504536151886, 0.42479178309440613, 0.4650585353374481, 0.06826236099004745, 0.49751678109169006, -0.6489114165306091, 0.3707381784915924, 0.5064207315444946, -0.1184600368142128, 0.2509562373161316, -0.18864557147026062, -0.12399893254041672, 0.11891183257102966, -0.6746090650558472, -0.6868453025817871, 1.0490672588348389, 0.05123188719153404, 0.5085487365722656, 0.03199702128767967, 0.6088841557502747, 0.04419282078742981, 0.14956296980381012, -0.8694786429405212, 0.5349932312965393, -0.24478031694889069, -0.48748934268951416, -0.015291624702513218, -0.20350350439548492, -1.2273519039154053, -0.0002615138073451817, -0.23604492843151093, -0.7148798704147339, -0.07655858993530273, 0.14450277388095856, -0.40407678484916687, 0.04174238443374634, -0.6829769015312195, 1.1276153326034546, 0.23233333230018616, -0.10454460233449936, -0.037216413766145706, -1.151261568069458, 0.30200138688087463, 0.01139671728014946, -0.1009453684091568, 0.11900588124990463, -0.1937609761953354, 0.5567074418067932, -0.5738388895988464, 0.6698497533798218, -0.13229678571224213, 0.11046203970909119, 0.49188101291656494, -0.030037298798561096, 0.4792037308216095, 0.2902074456214905, 0.4453526437282562, -0.10572240501642227, -0.223790243268013, 0.009256702847778797, -0.5335361361503601, 0.6812739372253418, -0.33421170711517334, -0.2523716986179352, 0.22597606480121613, -0.6677325367927551, -0.19828416407108307, 0.5420551300048828, 0.7512542605400085, 0.4707701802253723, -0.1946868896484375, 0.6035488247871399, 0.4240350127220154, 0.026267116889357567, 0.7640189528465271, 0.36159729957580566, -0.0752098336815834, -0.48338961601257324, 0.5925855040550232, -0.024151813238859177, 0.021983405575156212, 0.46825599670410156, 0.26944074034690857, -0.5596592426300049, -0.26596125960350037, -0.294213205575943, -0.007275242358446121, -0.530529797077179, -0.33132919669151306, -0.6926547884941101, -0.09633272886276245, -0.7118118405342102, -0.3407346308231354, -0.1216326504945755, -0.4938182234764099, -0.31451964378356934, 0.03205569460988045, 0.04528214409947395, 0.7008310556411743, 0.44901585578918457, 0.6645386815071106, -0.7039188742637634, 0.4444754123687744, 0.18588808178901672, 0.009786691516637802, -0.3103387951850891, -0.49292096495628357, -0.04366631433367729, 0.062063418328762054, -0.567105770111084, -0.9655370116233826, 0.388796865940094, 0.13985346257686615, 0.11281609535217285, 0.49825623631477356, 0.19535619020462036, 0.5641782879829407, -0.4681088328361511, 1.1605039834976196, 0.2068893015384674, -1.1462901830673218, 0.9398188591003418, -0.1874801516532898, 0.8424910306930542, 0.7993240356445312, -0.1080339327454567, -0.8314036130905151, -0.3304065763950348, -0.9658448100090027, -1.3958663940429688, 0.5475296378135681, 0.493831068277359, 0.2257857620716095, 0.05880127474665642, 0.486056387424469, 0.17334818840026855, 0.5569389462471008, -0.715188205242157, -0.07925992459058762, -0.5831019878387451, -0.7104396224021912, -0.0076826466247439384, -0.22748558223247528, -0.12950803339481354, 0.3240836560726166, 0.6067962646484375, -0.42891567945480347, 0.09113384038209915, 0.26232385635375977, -0.24774320423603058, 0.21344499289989471, 0.6297554969787598, 1.0640007257461548, 0.2831474244594574, 0.05698174610733986, 0.3319244682788849, 0.22287732362747192, -0.47019028663635254, -0.25182995200157166, -0.09188326448202133, -0.541890561580658, 0.24377305805683136, 0.29132404923439026, 0.839841365814209, 0.37082573771476746, -0.7341204881668091, 0.6684183478355408, -0.09931548684835434, -0.11739714443683624, -0.2935626804828644, -0.04343396797776222, 0.1481095552444458, 0.14831815659999847, 0.297093003988266, 0.04352268576622009, 0.36005139350891113, -0.45355767011642456, 0.1520295888185501, 0.4749472141265869, -0.1559453308582306, -0.49393418431282043, 0.7800687551498413, 0.3375965356826782, -0.1928681582212448, 0.8419852256774902, -0.0832674652338028, -0.4563634693622589, 0.4214446544647217, 0.6897434592247009, 1.2904653549194336, 0.07067006826400757, -0.17691296339035034, 0.3460097014904022, 0.036459751427173615, 0.09223205596208572, 0.22962254285812378, -0.5879054069519043, -0.7704451084136963, -0.08537191897630692, -0.35420235991477966, -0.024838093668222427, 0.27561521530151367, -0.6016098260879517, 0.3783378601074219, -0.03507380932569504, -0.2556518614292145, -0.1598484069108963, -0.23779165744781494, -0.5813215374946594, 0.3315300941467285, 0.037024058401584625, 0.7825398445129395, -0.8569019436836243, 0.8367390632629395, 0.6755884289741516, -0.3438686430454254, -0.8641692996025085, 0.2723388671875, -0.5574193000793457, -0.4928536117076874, 0.5611850023269653, 0.489053338766098, -0.16575603187084198, -0.027225786820054054, -0.778120219707489, -0.4779880940914154, 1.5398590564727783, 0.0752185806632042, -0.4194532036781311, -0.40023669600486755, 0.5070679783821106, 0.4992977976799011, -0.7256233096122742, 0.07441804558038712, 0.3891688287258148, 0.4292517602443695, 0.3175472319126129, -0.7650764584541321, 0.08947286754846573, -0.13621273636817932, 0.43520495295524597, 0.15354791283607483, -0.4065462052822113, 0.5110710263252258, -0.24252326786518097, -0.714759349822998, 0.08902588486671448, 0.8130822777748108, 0.005997353699058294, 0.378348708152771, 0.5806577801704407, 0.6974256038665771, 0.42033350467681885, -0.1444714516401291, 0.7083213925361633, -0.8606311678886414, 0.5553987622261047, 1.2668267488479614, -0.04238042235374451, 0.7322660684585571, 0.6862654685974121, 0.4726725220680237, 0.3827302157878876, 0.35837340354919434, 0.12541359663009644, 0.9281061887741089, -0.25623106956481934, -0.3471432030200958, -0.06979405134916306, -0.3437131345272064, -0.11393525451421738, 0.5161753296852112, 0.2514592111110687, -0.7125675082206726, -0.38124436140060425, -0.08184383809566498, 0.06730134785175323, 0.05399071052670479, -0.25115349888801575, 0.9284948110580444, 0.15080499649047852, -0.8784493803977966, 0.1626269817352295, 0.12481812387704849, 0.6853650808334351, -0.4532659351825714, 0.050411272794008255, -0.24241113662719727, 0.21116292476654053, -0.39676937460899353, -1.0142700672149658, 0.5490040183067322, -0.07787295430898666, -0.3100202977657318, -0.2108510434627533, 0.9457199573516846, -0.7608413696289062, -0.3062163293361664, -0.18274252116680145, 0.13338883221149445, -0.08011620491743088, 0.06287922710180283, -0.4042830467224121, -0.1319822371006012, 0.033397942781448364, -0.10306650400161743, -0.40653616189956665, 0.41825732588768005, 0.10382190346717834, 0.45496228337287903, 0.2850061357021332, -0.38224929571151733, -0.09295767545700073, 0.27449992299079895, 0.6201854348182678, -0.7342124581336975, -0.4796454906463623, -0.7688822150230408, 0.6597386598587036, -0.13179051876068115, -0.6213729977607727, 0.5756980776786804, 0.6993849277496338, 0.7902972102165222, -0.155042365193367, 0.7873090505599976, -0.33423539996147156, 0.2854582369327545, -0.2192114293575287, 0.7261842489242554, -0.6489095687866211, -0.00582535145804286, 0.025667918846011162, -0.7734822630882263, -0.2328496277332306, 0.16254407167434692, -0.09959091991186142, 0.1488010585308075, 0.6237853169441223, 0.8589462637901306, -0.2184719294309616, 0.10975911468267441, 0.27423471212387085, 0.1978805959224701, 0.4856397807598114, 0.3899662494659424, 0.3022347390651703, -0.9086248278617859, 0.7073029279708862, -0.2033473402261734, 0.34478679299354553, -0.2653082311153412, -0.8085823655128479, -0.751605212688446, -0.9930142760276794, -0.09698738157749176, -0.5743682384490967, -0.2257249802350998, 0.6604906916618347, 0.5336582064628601, -0.7425203323364258, 0.03207871690392494, -0.7175527811050415, -0.025656523182988167, 0.16652540862560272, -0.3324210047721863, 0.21047930419445038, -0.5497744083404541, -0.7265001535415649, 0.3640361726284027, 0.013708843849599361, 0.058578070253133774, -0.05692727491259575, 0.05537646636366844, 0.17116603255271912, 0.11022458225488663, 0.6708815693855286, 0.0386057011783123, -0.7436798810958862, -0.5026887059211731, -0.07178229093551636, -0.17866955697536469, -0.03283553943037987, 1.1151742935180664, -0.9460265636444092, 0.4486118257045746, 0.8044719099998474, 0.41330549120903015, 0.4206942617893219, 0.24737806618213654, 0.5033653378486633, -0.9947578310966492, -0.08587465435266495, 0.14550469815731049, 0.3086082339286804, 0.4072599411010742, -0.17148061096668243, 0.4943219721317291, 0.34353727102279663, -0.45541146397590637, -0.883536696434021, 0.5151366591453552, -1.0863605737686157, -0.4094206392765045, 1.1378434896469116, 0.2804790139198303, -0.25863340497016907, 0.1579170972108841, -0.16203564405441284, 0.5650171041488647, -0.2865607738494873, 0.7526043653488159, 0.4498482644557953, 0.19079919159412384, 0.033414654433727264, -0.22479945421218872, 0.45135417580604553, 0.4698029160499573, -0.7378389835357666, -0.0485708974301815, 0.32172927260398865, 0.5217246413230896, 0.22891899943351746, 0.18176352977752686, -0.07264028489589691, -0.029421502724289894, 0.009162881411612034, 0.1985737681388855, 0.11004937440156937, -0.3636687994003296, -0.2162238210439682, 0.5713050365447998, -0.18427956104278564, -0.2347421944141388 ]
http://arxiv.org/abs/2403.09728v1
http://arxiv.org/pdf/2403.09728v1
Simulating Weighted Automata over Sequences and Trees with Transformers
2024-03-12T21:54:34
2024-03-12T21:54:34
Michael Rizvi, Maude Lizaire, Clara Lacroce, Guillaume Rabusseau
cs.CL
cs.CL, cs.AI, cs.CC
Transformers are ubiquitous models in the natural language processing (NLP) community and have shown impressive empirical successes in the past few years. However, little is understood about how they reason and the limits of their computational capabilities. These models do not process data sequentially, and yet outperform sequential neural models such as RNNs. Recent work has shown that these models can compactly simulate the sequential reasoning abilities of deterministic finite automata (DFAs). This leads to the following question: can transformers simulate the reasoning of more complex finite state machines? In this work, we show that transformers can simulate weighted finite automata (WFAs), a class of models which subsumes DFAs, as well as weighted tree automata (WTA), a generalization of weighted automata to tree structured inputs. We prove these claims formally and provide upper bounds on the sizes of the transformer models needed as a function of the number of states the target automata. Empirically, we perform synthetic experiments showing that transformers are able to learn these compact solutions via standard gradient-based training.
[ -0.3921229839324951, -0.6637601256370544, 0.7734857797622681, 0.14704222977161407, 0.11364404857158661, 0.1366177797317505, -0.08237339556217194, -0.3071647882461548, -0.015424561686813831, 0.10513745993375778, -0.6749441623687744, 0.040351707488298416, -0.5166913270950317, 0.3810215890407562, -0.8914809823036194, 0.6865391731262207, -0.10647045820951462, -0.06680997461080551, -0.16917763650417328, -0.1806032955646515, -0.2319657951593399, -0.3633153736591339, -0.5305617451667786, -0.679492712020874, 0.4169994592666626, -0.007257037330418825, 0.9053752422332764, 0.3480452299118042, 0.43864092230796814, 0.5277588367462158, 0.054486144334077835, -0.1656530201435089, -0.04304961860179901, 0.12332921475172043, 0.007589186541736126, -0.7536847591400146, -0.04229646548628807, 0.2999877333641052, 0.6753717064857483, 0.7084273099899292, -0.3811556100845337, 0.27314987778663635, -0.30490514636039734, 0.42426878213882446, -0.4421673119068146, 0.12449605762958527, -0.5687174797058105, 0.381704181432724, 0.14772170782089233, -0.1859809309244156, -0.7730557322502136, -0.27460792660713196, 0.061357684433460236, -0.6258218288421631, 0.1638401746749878, -0.023660704493522644, 0.7663090825080872, 0.830564022064209, -0.45932796597480774, -0.11998830735683441, -1.3317416906356812, 0.8477274775505066, -0.7793242335319519, 0.2443631887435913, 0.0596698597073555, 0.5125871896743774, -0.19351324439048767, -0.8776606321334839, -0.7759726047515869, -0.20860780775547028, -0.4781256318092346, 0.03412036970257759, -0.6379141807556152, 0.19760584831237793, 0.8704748749732971, 0.4100925922393799, -0.45495665073394775, 0.12885892391204834, 0.050698693841695786, 0.13784092664718628, 0.4962190091609955, 0.21771714091300964, 0.14156848192214966, -0.10520858317613602, -0.2956942021846771, -0.44335588812828064, -0.09753190726041794, 0.11531487107276917, 0.2803635895252228, -0.06088807061314583, -0.0894254520535469, 0.5794753432273865, -0.03998503461480141, 0.7502751350402832, 0.2548350691795349, -0.19951218366622925, 0.04826345667243004, 0.024341732263565063, -0.6497989296913147, -0.27591705322265625, 0.8510246872901917, 0.03541204333305359, 0.6695113778114319, -0.26205089688301086, -0.22430196404457092, 0.2312736213207245, 0.3402267098426819, -0.8959554433822632, -0.0838804766535759, 0.25212955474853516, -0.5780726671218872, -0.21985985338687897, -0.19914016127586365, -0.45189833641052246, 0.024629943072795868, -0.5066602230072021, 0.5394132137298584, -0.36364123225212097, -0.090957410633564, 0.26669514179229736, -0.2762500047683716, 0.40030598640441895, 0.16169129312038422, -0.9299484491348267, 0.6994551420211792, 0.6671664118766785, 0.5984094738960266, 0.13031308352947235, -0.1915963590145111, -0.3621808588504791, -0.2527548372745514, -0.27698466181755066, 0.46390435099601746, -0.5265730023384094, -0.2745344340801239, -0.10423842817544937, -0.3167831599712372, -0.17267385125160217, -0.36940306425094604, 0.32183316349983215, -0.5328646898269653, 0.2771944999694824, -0.07691207528114319, -0.4502128064632416, -0.16068437695503235, 0.09328646212816238, -0.7923668026924133, 0.9746313095092773, 0.4069613218307495, -0.8350043892860413, 0.4345853626728058, -0.5277250409126282, -0.7917517423629761, -0.2512170076370239, -0.07633420079946518, -0.3285258710384369, 0.38495951890945435, 0.0059648179449141026, 0.31708577275276184, -0.5039080381393433, 0.5147116184234619, -0.23938174545764923, -0.5456321239471436, 0.1269499659538269, -0.6534439921379089, 0.8278277516365051, 0.335222989320755, -0.6135096549987793, 0.10251963138580322, -0.53704434633255, -0.09713164716959, 0.24798539280891418, 0.030891990289092064, -0.32143324613571167, 0.1826411783695221, -0.17339564859867096, 0.37774351239204407, -0.023523883894085884, -0.7898167967796326, 0.5258156657218933, -0.3545539677143097, 0.46876978874206543, 0.4566987454891205, -0.206577330827713, 0.7393652200698853, -0.3375035524368286, 0.5457490682601929, -0.031075946986675262, 0.20591089129447937, 0.0816265270113945, -0.49349135160446167, -0.8232656717300415, -0.13024753332138062, 0.43076154589653015, 0.5000829100608826, -0.8158240914344788, 0.4592064917087555, -0.255653977394104, -0.5414990782737732, -0.39628109335899353, -0.4836181104183197, -0.07360098510980606, 0.3960174322128296, 0.47026127576828003, -0.27166512608528137, -0.6069720387458801, -0.8572428226470947, -0.15706130862236023, -0.17284533381462097, -0.3860361874103546, 0.02492322400212288, 0.5952606201171875, 0.0003627215337473899, 1.364762544631958, -0.4819415211677551, -0.2307506650686264, -0.19741781055927277, 0.3618490397930145, 0.20151233673095703, 0.37798362970352173, 0.6169242858886719, -0.6823546290397644, -0.22161617875099182, -0.40357401967048645, -0.6739239692687988, 0.20312201976776123, -0.5276746153831482, 0.2845725119113922, -0.05652252212166786, 0.39122921228408813, -0.9371240139007568, 0.46851810812950134, 0.6188934445381165, -0.2796004116535187, 0.35607683658599854, -0.1762896627187729, -0.14264772832393646, -0.9938912391662598, 0.13618966937065125, 0.00207244954071939, -0.41539376974105835, -0.48065659403800964, 0.059405844658613205, -0.31181779503822327, -0.02167344279587269, -0.009040292352437973, 0.40171241760253906, -0.07107055187225342, -0.35668498277664185, -0.35026785731315613, -0.2513161599636078, -0.11748058348894119, 0.712518572807312, 0.05762000381946564, 0.7559527158737183, 0.5335065126419067, -0.5388765335083008, 0.15506401658058167, 0.03173540160059929, -0.3575284481048584, 0.45478737354278564, -0.8567368984222412, -0.3867422342300415, -0.33626070618629456, 0.7402157783508301, -0.670576810836792, 0.14093898236751556, -0.25168099999427795, -0.2364392727613449, 0.14671027660369873, 0.013132249936461449, -0.7136361002922058, -0.6276313066482544, 0.007350176107138395, 0.4367000162601471, 1.017503261566162, -0.48609107732772827, 1.183266043663025, 0.2213945984840393, 0.5032118558883667, -0.6273359060287476, -0.6307652592658997, -0.16829529404640198, -0.20887142419815063, -0.17217589914798737, 0.4428819417953491, -0.09890001267194748, -0.36650925874710083, 0.040257129818201065, -0.04325011000037193, 0.055254872888326645, 0.5575293302536011, 0.4261164665222168, -0.231783926486969, -0.02186555415391922, 0.05829915776848793, -0.163583442568779, -0.1773172914981842, 0.13237370550632477, -0.541837751865387, 0.7179021239280701, -0.2590811252593994, -0.5272278785705566, -0.617994487285614, 0.2561112940311432, 0.6911755204200745, -0.32698220014572144, 0.7181095480918884, 0.6559839248657227, -0.6727325320243835, -0.43370115756988525, -0.17843353748321533, -0.503179132938385, -0.5227857828140259, 0.10273221135139465, -0.5096492171287537, -0.7208923101425171, 0.4062075614929199, -0.10575973242521286, 0.5943552851676941, 0.6762005686759949, 0.6642095446586609, -0.1845027357339859, 1.2307642698287964, 0.6308354139328003, -0.09807990491390228, 0.3197094798088074, -0.5302339792251587, 0.17672282457351685, -0.46487197279930115, -0.007060360163450241, -0.5877276062965393, -0.8253019452095032, -0.6287498474121094, -0.6161865592002869, 0.17028047144412994, -0.22252888977527618, -0.41281381249427795, 0.6235384941101074, -0.31939685344696045, 0.36389264464378357, 0.5956287980079651, -0.2873537540435791, 0.34174811840057373, -0.09762853384017944, -0.3577767014503479, 0.2256491333246231, -0.7149989008903503, -0.30327901244163513, 0.47587814927101135, 0.3803981840610504, 0.6460586190223694, -0.22155334055423737, 0.532089114189148, 0.26083308458328247, 0.6971210837364197, -1.0041332244873047, 0.5338279604911804, -0.2617102563381195, -0.5754384994506836, -0.40200167894363403, -0.7348456382751465, -0.954910159111023, 0.13231346011161804, -0.09243452548980713, -0.3529168367385864, 0.18269257247447968, 0.05455164983868599, -0.4038921892642975, 0.7108268141746521, -0.35553109645843506, 0.5237970352172852, 0.13698488473892212, 0.3493334650993347, -0.3359067440032959, -0.4753635823726654, 0.4185592830181122, 0.03988960012793541, 0.19688226282596588, -0.11133569478988647, 0.1362767368555069, 0.5205131769180298, -0.6351524591445923, 0.8200968503952026, -0.3357907235622406, -0.3732755184173584, 0.5295506715774536, 0.33599355816841125, 0.3779362142086029, -0.10993869602680206, -0.10214293003082275, -0.06968417763710022, -0.14930766820907593, -0.28938454389572144, -0.8666008710861206, 0.3206009268760681, -0.5666054487228394, -0.42982587218284607, -0.43661484122276306, -0.721167802810669, -0.28029319643974304, 0.012995125725865364, -0.01240104902535677, 0.41688472032546997, -0.014093801379203796, 0.07214239984750748, 0.37642207741737366, 0.07477982342243195, 0.8028505444526672, 0.44591638445854187, -0.05401747673749924, 0.02935786359012127, 0.4644775688648224, 0.10982579737901688, 0.173212930560112, 0.6081334948539734, 0.32994821667671204, -0.12128553539514542, -0.3309977948665619, -0.5369278788566589, -0.11910045146942139, -0.4242591857910156, -0.29879167675971985, -0.6305001378059387, -0.25723615288734436, 0.2034902125597, -0.03747716173529625, -0.29291075468063354, -0.8283727169036865, 0.16795200109481812, -0.24357591569423676, 0.5217704176902771, 0.8517377376556396, 0.08466632664203644, 0.4111178517341614, -0.501573383808136, 0.3474029004573822, 0.5807910561561584, 0.6031227707862854, 0.5268531441688538, -0.37536463141441345, 0.07737483084201813, 0.0009137533488683403, -0.10068737715482712, -0.5723522901535034, 0.19290493428707123, 0.12475095689296722, 0.30321067571640015, 0.17443889379501343, -0.009334402158856392, 0.6317751407623291, -0.9717283248901367, 0.5728498101234436, -0.015401589684188366, -0.8006545901298523, -0.13283568620681763, -0.1769419014453888, 0.35322433710098267, 0.5575321912765503, 0.5309234261512756, -0.37676292657852173, -0.43618088960647583, -0.8078302145004272, -0.3142571449279785, 0.35981032252311707, 0.39690807461738586, 0.204182431101799, -0.11793269217014313, 0.2787957191467285, -0.2756415903568268, -0.023294171318411827, -0.6586527228355408, -0.3488338887691498, -0.1309254914522171, -0.6263180375099182, 0.038672130554914474, 0.2077014148235321, 0.09557607769966125, -0.19770707190036774, 0.4932129383087158, -0.21324849128723145, 0.07854368537664413, 0.3026805818080902, 0.01800868846476078, -0.2218339443206787, -0.02658795937895775, 0.3821275234222412, 0.00597430719062686, 0.11312646418809891, 0.19278927147388458, 0.3247103691101074, -0.40888074040412903, 0.4769492447376251, 0.026309428736567497, -0.5526045560836792, 0.028277521952986717, 0.2800869345664978, 0.640881359577179, 0.47637611627578735, -0.6985828876495361, 0.3623531758785248, -0.4421547055244446, -0.33818015456199646, -0.3408733010292053, 0.018041566014289856, 0.32362598180770874, 0.15726208686828613, 0.5546730160713196, 0.4519962966442108, 0.028791088610887527, -0.5037230253219604, 0.5619778633117676, 0.581782877445221, -0.4442049562931061, -0.2770976424217224, 0.8218875527381897, 0.03758568316698074, -0.4164429008960724, 0.6352670192718506, -0.2284466028213501, -0.4713647663593292, 0.825556218624115, 0.4240318834781647, 0.7911707758903503, -0.025807105004787445, 0.13727492094039917, 0.6144384741783142, 0.4602482318878174, -0.2451097071170807, 0.12552186846733093, -0.1896628588438034, -0.6312007308006287, -0.7988190650939941, -1.0387567281723022, -0.36752912402153015, -0.1950981765985489, -0.45005515217781067, 0.035196755081415176, -0.5898340940475464, -0.36809074878692627, -0.0285987239331007, -0.09478408098220825, -0.7019246220588684, 0.2099093198776245, 0.1078549399971962, 1.2408618927001953, -0.8816084861755371, 0.8201116323471069, 0.13276787102222443, -0.27257299423217773, -1.015735149383545, 0.13438916206359863, -0.3508313000202179, -0.5887491106987, 0.45684561133384705, 0.19784696400165558, -0.12328663468360901, 0.2327548861503601, -0.3076639473438263, -0.9555832743644714, 1.0161046981811523, 0.33729174733161926, -0.46121662855148315, -0.29607605934143066, 0.14586155116558075, 0.7367537021636963, -0.09418371319770813, 0.5316309332847595, 0.7138566970825195, 0.5178930759429932, 0.01602560095489025, -0.9755434393882751, -0.022469010204076767, 0.033402279019355774, -0.15430289506912231, 0.23508292436599731, -0.6033602356910706, 0.9353582262992859, -0.2914610803127289, -0.34707576036453247, 0.270113468170166, 0.8734576106071472, 0.11224886029958725, -0.16871050000190735, 1.0280778408050537, 0.9956599473953247, 0.48199331760406494, -0.16393236815929413, 1.367167592048645, -0.17248252034187317, 0.35330480337142944, 0.9973035454750061, -0.5429453253746033, 0.7255467176437378, 0.19623258709907532, -0.4642256498336792, 1.0933469533920288, 0.33029618859291077, -0.22661417722702026, 0.00990361999720335, 0.46993640065193176, -0.14722004532814026, -0.2819102108478546, -0.04931339994072914, 0.08561807125806808, 0.783632218837738, 0.088874451816082, -0.09930051863193512, -0.36732032895088196, -0.03479594737291336, -0.16878272593021393, 0.27827513217926025, -0.2336329221725464, 0.7066683173179626, 0.08398771286010742, -0.6752021908760071, 0.4898374080657959, 0.3579600155353546, 0.7702601552009583, -0.6641401648521423, -0.018221020698547363, 0.039698731154203415, 0.050628576427698135, -0.174949049949646, -0.48084959387779236, 0.5085816979408264, 0.05865953862667084, -0.16028302907943726, -0.5414428114891052, 0.41577088832855225, -0.29302096366882324, -0.6464981436729431, 0.15537744760513306, 0.24637046456336975, -0.07522191852331161, 0.11237411201000214, -0.42685553431510925, -0.5043338537216187, -0.41639038920402527, -0.3809107840061188, 0.20495133101940155, 0.2872055172920227, -0.19735807180404663, 0.8255331516265869, 0.5338512063026428, -0.1543443650007248, 0.10306695103645325, 0.349577397108078, 0.5257295966148376, -0.42747142910957336, -0.27686479687690735, -0.9100301861763, 0.3193073868751526, 0.01237366534769535, 0.12164416909217834, 0.682864248752594, 0.545869767665863, 0.7104861736297607, -0.22184817492961884, 0.4313841164112091, -0.2447255253791809, 0.2020687460899353, -0.3171037435531616, 0.5606508255004883, -0.5019471645355225, -0.30042147636413574, -0.04748949781060219, -0.7829598188400269, -0.1883964091539383, 0.6452089548110962, 0.0107806995511055, 0.28056952357292175, 0.5609965324401855, 0.16683226823806763, -0.13608349859714508, 0.20121954381465912, 0.23911380767822266, 0.25574377179145813, 0.2780643701553345, 0.6976121068000793, 0.5932838916778564, -0.4901631772518158, 0.42132481932640076, -0.4362763464450836, -0.1129768043756485, 0.15715977549552917, -0.8478554487228394, -0.7627135515213013, -0.6627910137176514, 0.07740069925785065, -0.05271327868103981, -0.6893714070320129, 0.7950177192687988, 0.7488346695899963, -0.7913493514060974, -0.11529365181922913, -0.397430419921875, 0.32840070128440857, -0.4299943149089813, -0.20329540967941284, 0.08223041146993637, -0.30114853382110596, -0.9227086901664734, 0.3795666992664337, 0.057545486837625504, 0.3081284165382385, -0.6691504716873169, 0.1394375115633011, -0.15314997732639313, 0.40430712699890137, 0.6505768299102783, 0.16620533168315887, -0.48171189427375793, -0.23463226854801178, 0.02051130123436451, -0.12242771685123444, -0.17834973335266113, 1.15432608127594, -1.4754154682159424, -0.1066766083240509, 0.4821362793445587, 0.5651558041572571, 0.3591406047344208, 0.13361366093158722, 0.7323033213615417, -0.8758729696273804, 0.32869595289230347, 0.44377246499061584, 0.6387698650360107, 0.13708393275737762, 0.013633178547024727, 0.43614766001701355, 0.08780408650636673, -0.22843040525913239, -0.7112799882888794, 0.6772593855857849, -0.6591084599494934, -0.28368210792541504, 0.7833391427993774, 0.07490803301334381, -0.021700184792280197, 0.06173446774482727, 0.16128821671009064, 0.31022289395332336, 0.1322934925556183, 0.6603742837905884, 0.3410096764564514, 0.10844790190458298, 0.22654518485069275, -0.36261284351348877, 0.7614603638648987, 0.5938625931739807, -0.7067238688468933, 0.1179945319890976, 0.04777922108769417, 0.2235945463180542, 0.3500874638557434, 0.47624289989471436, -0.02524547278881073, 0.12945877015590668, -0.033424727618694305, -0.03283751383423805, 0.11264598369598389, -0.5543068051338196, -0.3755835294723511, 0.3109213411808014, -0.06338296830654144, 0.27239271998405457 ]
http://arxiv.org/abs/2403.08081v1
http://arxiv.org/pdf/2403.08081v1
Mechanics of Next Token Prediction with Self-Attention
2024-03-12T21:15:38
2024-03-12T21:15:38
Yingcong Li, Yixiao Huang, M. Emrullah Ildiz, Ankit Singh Rawat, Samet Oymak
cs.LG
cs.LG, cs.AI, cs.CL, math.OC
Transformer-based language models are trained on large datasets to predict the next token given an input sequence. Despite this simple training objective, they have led to revolutionary advances in natural language processing. Underlying this success is the self-attention mechanism. In this work, we ask: $\textit{What}$ $\textit{does}$ $\textit{a}$ $\textit{single}$ $\textit{self-attention}$ $\textit{layer}$ $\textit{learn}$ $\textit{from}$ $\textit{next-token}$ $\textit{prediction?}$ We show that training self-attention with gradient descent learns an automaton which generates the next token in two distinct steps: $\textbf{(1)}$ $\textbf{Hard}$ $\textbf{retrieval:}$ Given input sequence, self-attention precisely selects the $\textit{high-priority}$ $\textit{input}$ $\textit{tokens}$ associated with the last input token. $\textbf{(2)}$ $\textbf{Soft}$ $\textbf{composition:}$ It then creates a convex combination of the high-priority tokens from which the next token can be sampled. Under suitable conditions, we rigorously characterize these mechanics through a directed graph over tokens extracted from the training data. We prove that gradient descent implicitly discovers the strongly-connected components (SCC) of this graph and self-attention learns to retrieve the tokens that belong to the highest-priority SCC available in the context window. Our theory relies on decomposing the model weights into a directional component and a finite component that correspond to hard retrieval and soft composition steps respectively. This also formalizes a related implicit bias formula conjectured in [Tarzanagh et al. 2023]. We hope that these findings shed light on how self-attention processes sequential data and pave the path toward demystifying more complex architectures.
[ -0.23222889006137848, -0.4798722565174103, 0.632481038570404, 0.0381617471575737, -0.0029933792538940907, 0.03872642293572426, 0.002100614132359624, -0.3629476726055145, 0.25790876150131226, 0.4510555863380432, -1.0219253301620483, -0.3236805498600006, -0.5009159445762634, 0.10209470987319946, -0.6030622720718384, 1.2099841833114624, -0.03037986159324646, -0.19546601176261902, -0.22938238084316254, -0.0502764917910099, -0.5383222699165344, -0.6571926474571228, -0.6775163412094116, -0.2809024751186371, 0.7328575253486633, 0.25861600041389465, 0.4939747154712677, 1.1427851915359497, 0.5464510321617126, 0.41838717460632324, 0.06364352256059647, -0.6231375932693481, -0.4857276380062103, 0.3447611629962921, -0.15580157935619354, -0.5266997218132019, -0.3160945475101471, 0.18313489854335785, 0.6789313554763794, 0.7037643194198608, 0.14250481128692627, 0.25375857949256897, 0.19945894181728363, 0.5980783700942993, -0.404069185256958, 0.3537156581878662, -0.5206475257873535, 0.42179134488105774, -0.3286867141723633, -0.14240965247154236, -0.23611712455749512, 0.2961292862892151, 0.10346472263336182, -0.3587176501750946, 0.48734161257743835, 0.051517244428396225, 0.4819057881832123, 0.6664530038833618, -0.38868895173072815, -0.023970263078808784, -0.6268321871757507, 0.6169036030769348, -0.288909912109375, 0.47003594040870667, 0.27965909242630005, 0.26321616768836975, -0.044369082897901535, -1.0844086408615112, -0.46242713928222656, -0.20403870940208435, -0.046494010835886, 0.27025800943374634, 0.0894133448600769, 0.26849421858787537, 0.23767518997192383, 0.3433179557323456, -0.5353190302848816, 0.2053869664669037, -0.3775423467159271, -0.35927724838256836, 0.3323402404785156, 0.3378651440143585, 0.03732140734791756, -0.22539477050304413, -0.8177965879440308, -0.13462308049201965, -0.5123720765113831, 0.08407115936279297, 0.23829643428325653, 0.2417629063129425, -0.0756186693906784, 0.5601617097854614, -0.2164938598871231, 0.4118659198284149, 0.5293197631835938, 0.15247228741645813, 0.33731240034103394, -0.4326428771018982, -0.20331671833992004, 0.10405715554952621, 0.8844385147094727, -0.015692828223109245, 0.23896563053131104, -0.23966853320598602, -0.3073788583278656, -0.09947879612445831, 0.39780139923095703, -0.6244866251945496, -0.2261093109846115, 0.2842124104499817, -0.640530526638031, -0.37808993458747864, -0.08988235890865326, -0.392940491437912, -0.060726363211870193, -0.5213149785995483, 0.36087965965270996, -0.10121852159500122, -0.20765627920627594, -0.06980708986520767, 0.3308296501636505, 0.17749419808387756, -0.09699393808841705, -1.1072098016738892, 0.28770163655281067, 0.7508248090744019, 0.9060236215591431, -0.37488678097724915, -0.6089518666267395, -0.7400466203689575, 0.10653073340654373, -0.18586039543151855, 0.9148657917976379, -0.43065571784973145, -0.08633863925933838, -0.04236156493425369, 0.07249850034713745, -0.2278396189212799, -0.21029803156852722, 0.504635751247406, -0.48754972219467163, 0.3017394542694092, -0.22133874893188477, -0.5275202989578247, -0.04829525947570801, 0.011467133648693562, -0.7189506888389587, 1.08402419090271, -0.03977126255631447, -0.8450452089309692, 0.27544206380844116, -0.6673583984375, -0.7817431688308716, -0.012270395644009113, -0.19551454484462738, -0.3532669246196747, 0.17401055991649628, -0.017483243718743324, 0.7027567028999329, -0.1278902292251587, 0.11801067739725113, -0.5383924841880798, -0.2658611834049225, 0.21701756119728088, -0.5220355987548828, 0.4903181493282318, 0.013025892898440361, -0.8016408085823059, 0.20036551356315613, -0.6478726267814636, -0.23768077790737152, 0.08811358362436295, -0.032768040895462036, 0.1367155760526657, -0.07168586552143097, -0.2971128821372986, 0.7246184945106506, 0.3585124611854553, -0.40216541290283203, 0.02135450951755047, -0.6153039932250977, 0.4337499439716339, 1.315826416015625, -0.14405615627765656, 0.6492071151733398, 0.30725425481796265, 0.6057243943214417, 0.03295690193772316, 0.40430477261543274, -0.4267965853214264, -0.12975071370601654, -0.8062400817871094, 0.1929607093334198, 0.2673700153827667, 0.14927150309085846, -0.36226531863212585, 0.33629852533340454, -0.03166140243411064, -0.021956440061330795, -0.291069895029068, 0.08028759062290192, 0.5836766362190247, 0.7975983023643494, 0.36410853266716003, -0.40176957845687866, -0.4056991636753082, -0.859901487827301, -0.16740812361240387, -0.3060886561870575, 0.2631537914276123, 0.3271767199039459, 0.2636503279209137, -0.0641695186495781, 0.9129953384399414, -0.5066947340965271, -0.5606158971786499, -0.1099400743842125, 0.25771254301071167, 0.23973801732063293, 0.45209231972694397, 0.4357348084449768, -0.5048999190330505, -0.44499269127845764, -0.14615774154663086, -0.6746240258216858, 0.0511995330452919, -0.07950901985168457, -0.2498086541891098, 0.28200963139533997, 0.9480360746383667, -0.5183331370353699, 0.39090225100517273, 0.4225243926048279, -0.27249935269355774, 0.42554813623428345, 0.02640753984451294, -0.4633965492248535, -0.95384681224823, 0.13528014719486237, -0.09851721674203873, -0.18105380237102509, -0.4974638819694519, -0.22690235078334808, -0.15249845385551453, 0.019829878583550453, -0.4351741671562195, 0.6971589922904968, -0.5530552864074707, -0.4862549602985382, -0.47574734687805176, -0.04191945120692253, -0.3306419253349304, 0.9727792739868164, -0.01953214779496193, 0.7243512272834778, 0.7631050944328308, -0.6852851510047913, 0.26559942960739136, 0.03851570934057236, 0.08414389938116074, 0.27543905377388, -0.8786417841911316, 0.35048118233680725, -0.313300758600235, 0.2230670005083084, -1.3135697841644287, -0.04904213547706604, 0.2730100750923157, -0.5588370561599731, 0.4714873433113098, -0.22659529745578766, -0.368621826171875, -0.8104063272476196, -0.09330336004495621, 0.5797045826911926, 0.1513623148202896, -0.6313953399658203, 0.7633882164955139, 0.41791224479675293, -0.20541119575500488, -0.9108628034591675, -0.6156781911849976, 0.018489403650164604, 0.18429528176784515, -0.34018072485923767, 0.1121453195810318, -0.22870567440986633, 0.22679805755615234, 0.10448964685201645, -0.20843137800693512, 0.1646668016910553, 0.21456895768642426, 0.36566779017448425, 0.1488776057958603, -0.03891044482588768, 0.23777201771736145, -0.011283034458756447, -0.5992390513420105, 0.4711279273033142, -0.8667874932289124, 0.7501055598258972, -0.10826169699430466, -0.4517821669578552, -0.5512605905532837, 0.12142059952020645, 0.7005791068077087, -0.48998212814331055, 0.37395527958869934, 0.9384147524833679, -0.19028545916080475, 0.09282512217760086, -0.5644797682762146, -0.5065932273864746, -0.5245003700256348, 0.5205069184303284, -0.6027176976203918, -0.754867672920227, 0.7705402970314026, 0.24959540367126465, -0.1139257475733757, 0.8436636328697205, 0.7242897748947144, -0.17809319496154785, 1.3839174509048462, 0.6775637269020081, -0.41347965598106384, 0.7820965647697449, -0.477783203125, 0.05512761324644089, -0.7872371673583984, -0.42688432335853577, -0.36399132013320923, -0.4870331585407257, -0.5990130305290222, -0.14446809887886047, 0.3660055696964264, -0.34091925621032715, -0.2976905405521393, 0.3665177524089813, -0.5073866248130798, 0.42646169662475586, 0.7335271835327148, -0.15847419202327728, -0.08568892627954483, 0.038075558841228485, -0.5330058336257935, 0.022467011585831642, -0.7956615090370178, 0.16053564846515656, 1.1464271545410156, 0.5081313252449036, 0.7268624901771545, -0.34035199880599976, 0.8183112144470215, 0.20214639604091644, 0.1972326934337616, -0.780212938785553, 0.5284177660942078, -0.0111729446798563, -0.6206115484237671, -0.4106164276599884, -0.27354738116264343, -1.0906833410263062, 0.07409705221652985, 0.10228613764047623, -0.6022199988365173, 0.21199312806129456, 0.22457487881183624, -0.3556014895439148, 0.0753401443362236, -0.5168009400367737, 1.0785945653915405, -0.31298333406448364, -0.5435194969177246, -0.2998073995113373, -1.1139150857925415, 0.20126867294311523, 0.1491282731294632, -0.06249529868364334, -0.07475880533456802, 0.13712741434574127, 0.7327605485916138, -0.3131498694419861, 1.0656923055648804, -0.1858968436717987, -0.14072473347187042, 0.3717016279697418, 0.16080287098884583, 0.5913837552070618, -0.001863335957750678, 0.23999908566474915, 0.0013754963874816895, -0.5226413607597351, -0.30800893902778625, -0.63935786485672, 0.5864168405532837, -0.7743755578994751, -0.6629749536514282, -0.39388057589530945, -0.191947340965271, -0.03054407238960266, 0.4355209767818451, 0.1878882348537445, 0.733439564704895, 0.10422451049089432, 0.09723877161741257, 0.4935306906700134, 0.41165652871131897, 0.7869042754173279, 0.3238348066806793, 0.08762093633413315, -0.35090914368629456, 0.9531022906303406, 0.11306028068065643, 0.07239066064357758, 0.35665687918663025, 0.18939709663391113, -0.7555578947067261, -0.32856088876724243, -0.28403839468955994, 0.38018473982810974, -0.7489128112792969, -0.39793410897254944, -1.0104743242263794, -0.3675629794597626, -0.48508691787719727, 0.21239778399467468, -0.54375159740448, -0.4035618305206299, -0.501201331615448, -0.36922815442085266, -0.025519337505102158, 0.9468654990196228, -0.12073858082294464, 0.05131106451153755, -0.5578967332839966, 0.26893672347068787, 0.5030459761619568, 0.5968565344810486, 0.24674507975578308, -0.5697399377822876, -0.5163464546203613, -0.34528231620788574, -0.14747962355613708, -0.5196815133094788, 0.1715477854013443, 0.004261497873812914, 0.7318011522293091, 0.5300589203834534, -0.15684981644153595, 0.4208697974681854, -0.7523674964904785, 0.5261491537094116, 0.3200100064277649, -0.8534542918205261, 0.44451114535331726, -0.25838807225227356, 0.23385366797447205, 0.6824900507926941, 0.15761055052280426, -0.5650290250778198, -0.47791895270347595, -0.8004613518714905, -0.7306426167488098, 0.9863448739051819, 0.06254325807094574, 0.21059609949588776, -0.2686239778995514, 0.5712133646011353, 0.12826645374298096, 0.2462446689605713, -0.8444565534591675, -0.4941243827342987, -0.30434584617614746, -0.3397092819213867, -0.11450963467359543, -0.3726676404476166, 0.14578737318515778, -0.16293425858020782, 0.41729736328125, -0.45314091444015503, 0.6318466067314148, 0.2491540014743805, 0.024958284571766853, -0.210553377866745, -0.37862691283226013, 0.46502652764320374, 0.23385655879974365, 0.10599838197231293, 0.07491528242826462, -0.0707552507519722, -0.455983966588974, 0.13485267758369446, 0.13667021691799164, -0.05458175018429756, -0.23927105963230133, 0.3435620665550232, 1.0953551530838013, 0.30928727984428406, -0.20618179440498352, 0.7117592692375183, -0.07292937487363815, -0.17028377950191498, -0.34988299012184143, -0.05345862731337547, -0.37692853808403015, 0.3272305130958557, 0.5984078645706177, 0.1599983125925064, 0.47703638672828674, -0.3860875964164734, 0.332923948764801, 0.44051358103752136, -0.706279456615448, -0.6830321550369263, 1.0397043228149414, 0.20668058097362518, -0.16322408616542816, 0.3283992111682892, -0.02596251852810383, -0.9078249931335449, 0.7430514097213745, 0.5000336766242981, 1.378187894821167, -0.34081363677978516, 0.17921875417232513, 0.40816816687583923, 0.08322836458683014, 0.0021342586260288954, 0.00962908286601305, -0.4005138576030731, -0.44235679507255554, -0.6729174852371216, -0.5464571118354797, -0.08045025169849396, -0.11964274197816849, -0.43129879236221313, 0.14778833091259003, -0.43793874979019165, -0.21077166497707367, -0.2646488845348358, -0.07080696523189545, -0.8174765706062317, 0.4103250503540039, 0.22816716134548187, 0.3876505494117737, -0.6687729954719543, 0.49646326899528503, 0.474807471036911, -0.36005455255508423, -0.9082413911819458, 0.34199002385139465, -0.21851840615272522, -0.9796141386032104, 0.9183337092399597, 0.4626307189464569, -0.32053837180137634, 0.20951874554157257, -0.37552616000175476, -1.5608736276626587, 0.9679375886917114, 0.2801576256752014, -0.43364831805229187, -0.2467004507780075, 0.023587893694639206, 0.5353668332099915, -0.23682801425457, 0.37486621737480164, 0.24908976256847382, 0.2920052707195282, 0.14073970913887024, -0.6484540700912476, 0.0932697132229805, -0.1788325309753418, -0.15675871074199677, 0.0799565240740776, -1.0402252674102783, 1.0571261644363403, -0.24863672256469727, -0.3452877402305603, -0.15693877637386322, 1.1782324314117432, -0.25968846678733826, 0.1391734629869461, 0.6430088877677917, 0.47925519943237305, 0.5388435125350952, 0.1390082836151123, 1.2245477437973022, -0.7572427988052368, 0.5403510332107544, 1.127842903137207, -0.07330503314733505, 0.49740833044052124, 0.35806694626808167, -0.21907220780849457, 0.7796140313148499, 0.5722164511680603, 0.18644873797893524, 0.6208644509315491, -0.08865545690059662, 0.056474268436431885, -0.2018692046403885, -0.06565927714109421, -0.2577172815799713, 0.6739944815635681, 0.01851075328886509, -0.4418277144432068, 0.06555845588445663, 0.11298759281635284, -0.3058416247367859, -0.2487121820449829, -0.38719436526298523, 0.9656211137771606, -0.04702560231089592, -0.9007234573364258, 0.453592449426651, -0.2721470296382904, 0.2751190960407257, -0.25273460149765015, 0.2231605052947998, -0.27280721068382263, 0.1960384100675583, 0.03433609381318092, -0.8523266911506653, 0.019469035789370537, -0.45457854866981506, -0.24313966929912567, -0.1730891615152359, 0.8662002682685852, -0.4030047357082367, -0.4213707745075226, 0.44723576307296753, 0.37926602363586426, -0.09119649976491928, -0.0721593052148819, -0.8374625444412231, -0.1609693467617035, -0.18618395924568176, -0.5065882802009583, 0.18869154155254364, 0.4037229120731354, 0.17073024809360504, 0.857864499092102, 0.6003073453903198, -0.2923150658607483, 0.30396953225135803, 0.3173042833805084, 0.9843626022338867, -0.622370183467865, -0.7538122534751892, -0.8629140257835388, 0.3840547502040863, 0.12330383062362671, -0.2861785590648651, 0.49160274863243103, 0.4559652507305145, 0.7673484683036804, 0.12402503937482834, 0.5476606488227844, 0.3276740610599518, 0.29936525225639343, -0.5564524531364441, 0.2830633223056793, -0.6108946204185486, -0.19218352437019348, -0.19102811813354492, -0.9473810195922852, -0.14688146114349365, 0.48689427971839905, -0.27785560488700867, 0.34420761466026306, 0.8663046956062317, 0.4322698414325714, -0.03237172216176987, -0.32411831617355347, 0.1396714597940445, 0.4610309302806854, 0.08671731501817703, 0.4414200782775879, 0.5216196775436401, -0.3780900537967682, 0.7070023417472839, -0.2257111519575119, 0.0822402611374855, -0.3568081855773926, -0.5104525685310364, -1.0559420585632324, -0.770370364189148, -0.04460357502102852, -0.43171337246894836, -0.08929581195116043, 0.7466244697570801, 0.7518296837806702, -0.6903761625289917, 0.05428621545433998, -0.5990168452262878, 0.09142618626356125, -0.11109156161546707, -0.28516969084739685, 0.4769380986690521, -0.8440058827400208, -0.8345804214477539, 0.26597583293914795, 0.5102244019508362, 0.19404828548431396, -0.6631168723106384, 0.016551325097680092, 0.09741611033678055, -0.20366814732551575, 0.5230716466903687, 0.40441250801086426, -0.5885880589485168, -0.26076027750968933, 0.2765718698501587, -0.312309205532074, 0.1742098331451416, 1.0390373468399048, -1.0453728437423706, 0.355234295129776, 0.3022089898586273, 0.8143588304519653, 0.9678282141685486, -0.034222859889268875, 0.624238133430481, -0.7909488677978516, 0.13410815596580505, 0.16612091660499573, 0.46106594800949097, 0.1491558849811554, -0.6682630777359009, 0.44315117597579956, 0.49443894624710083, -0.5366060733795166, -0.5687060952186584, 0.41317179799079895, -0.6856679320335388, 0.03189266473054886, 1.0343542098999023, 0.09375941753387451, -0.6272963881492615, 0.009046873077750206, -0.11037888377904892, 0.3624551594257355, -0.31850466132164, 0.7764900922775269, 0.4509749412536621, -0.18661241233348846, -0.21164457499980927, -0.0942641869187355, 0.5228467583656311, 0.9442798495292664, -0.36564087867736816, 0.18508575856685638, 0.17666824162006378, 0.16025154292583466, 0.18966738879680634, 0.6479302048683167, 0.013180694542825222, 0.34442201256752014, -0.25672978162765503, 0.020950665697455406, -0.11762942373752594, -0.7596951127052307, -0.49250999093055725, 0.1671287715435028, -0.1779051572084427, -0.33956998586654663 ]
http://arxiv.org/abs/2403.09727v1
http://arxiv.org/pdf/2403.09727v1
Investigating the performance of Retrieval-Augmented Generation and fine-tuning for the development of AI-driven knowledge-based systems
2024-03-12T21:06:31
2024-03-12T21:06:31
Robert Lakatos, Peter Pollner, Andras Hajdu, Tamas Joo
cs.CL
cs.CL, cs.AI, cs.LG
The development of generative large language models (G-LLM) opened up new opportunities for the development of new types of knowledge-based systems similar to ChatGPT, Bing, or Gemini. Fine-tuning (FN) and Retrieval-Augmented Generation (RAG) are the techniques that can be used to implement domain adaptation for the development of G-LLM-based knowledge systems. In our study, using ROUGE, BLEU, METEOR scores, and cosine similarity, we compare and examine the performance of RAG and FN for the GPT-J-6B, OPT-6.7B, LlaMA, LlaMA-2 language models. Based on measurements shown on different datasets, we demonstrate that RAG-based constructions are more efficient than models produced with FN. We point out that connecting RAG and FN is not trivial, because connecting FN models with RAG can cause a decrease in performance. Furthermore, we outline a simple RAG-based architecture which, on average, outperforms the FN models by 16% in terms of the ROGUE score, 15% in the case of the BLEU score, and 53% based on the cosine similarity. This shows the significant advantage of RAG over FN in terms of hallucination, which is not offset by the fact that the average 8% better METEOR score of FN models indicates greater creativity compared to RAG.
[ -0.5740560293197632, -0.8254178762435913, 0.4156718850135803, -0.0824233740568161, -0.12302843481302261, 0.23320835828781128, -0.3463160991668701, -0.6151280403137207, -0.03781506419181824, 0.5082167983055115, -0.14445821940898895, -0.2704445719718933, -0.3513711988925934, 0.060711819678545, -0.454679936170578, 0.9971994757652283, 0.2551251947879791, -0.2679107189178467, -0.0013131126761436462, -0.09852252900600433, -0.4753223657608032, -0.40335121750831604, -0.8351632356643677, -0.3498823940753937, 0.5029929876327515, 0.1387043595314026, 0.9423736929893494, 0.5607045292854309, 0.64292973279953, 0.2571026384830475, -0.17591160535812378, 0.5300630331039429, -0.6692399978637695, 0.007148591335862875, -0.5942307114601135, -0.32820644974708557, -0.4570647180080414, -0.1465250700712204, 0.2953754961490631, 0.3240538239479065, -0.007672633044421673, 0.3187040388584137, 0.11839888989925385, 0.9140626788139343, -0.6721349358558655, 0.16901899874210358, -0.8771091103553772, -0.36916759610176086, -0.21022973954677582, -0.39554187655448914, -0.4888221025466919, -0.3111898601055145, -0.017140191048383713, -0.8130199909210205, 0.41722920536994934, 0.3705105185508728, 0.9611985683441162, 0.5348426699638367, -0.05748018994927406, -0.4935350716114044, -0.9153803586959839, 0.728944718837738, -0.5782893300056458, 0.4938187897205353, 0.23540790379047394, 0.3052310645580292, -0.37072229385375977, -0.4586140811443329, -0.5419317483901978, -0.29300281405448914, -0.10614575445652008, 0.1576952189207077, 0.05223396047949791, -0.08355233818292618, 0.308703750371933, 0.5577864646911621, -0.680647611618042, 0.2564389407634735, -0.36707642674446106, -0.052953604608774185, 0.9532774686813354, 0.217167466878891, -0.08591244369745255, -0.30308571457862854, -0.1377560943365097, -0.14617691934108734, -0.8795824646949768, -0.31719306111335754, 0.19105158746242523, 0.465861052274704, 0.022890077903866768, 0.6063337326049805, -0.3227112591266632, 0.8521967530250549, 0.3081333637237549, -0.18612533807754517, 0.046219948679208755, -0.2099180966615677, -0.32365432381629944, -0.469062477350235, 0.5942634344100952, 0.3602346181869507, 0.5461099147796631, -0.4718377888202667, -0.48542141914367676, 0.1031445786356926, 0.38972797989845276, -0.5811777114868164, -0.2742284834384918, -0.21925264596939087, -0.45652949810028076, -0.23096609115600586, -0.28605571389198303, -0.3990572392940521, -0.4961974024772644, -0.7362582087516785, 0.7789567708969116, -0.5557329654693604, -0.14329023659229279, -0.0269464123994112, -0.28163230419158936, 0.40574735403060913, 0.43300771713256836, -0.7558283805847168, 0.3207477033138275, 0.9033822417259216, 0.7040629982948303, -0.3150673508644104, -0.16710719466209412, -0.4173804819583893, -0.027477772906422615, -0.5678892135620117, 0.7326310873031616, -0.4585311710834503, -0.44862100481987, -0.13883255422115326, -0.3734927773475647, -0.18320778012275696, -0.9684776663780212, 0.4274306893348694, -0.938225269317627, -0.07157932966947556, -0.11440039426088333, -0.6729059815406799, -0.28339630365371704, 0.19127647578716278, -0.5639899373054504, 0.9216961860656738, 0.4433523416519165, -0.46165305376052856, 0.443998783826828, -0.5217125415802002, -0.3916013538837433, 0.13295969367027283, -0.11603536456823349, -0.1510331630706787, 0.4573310911655426, 0.013796164654195309, 0.4416862428188324, -0.6942934989929199, 0.1793656349182129, -0.09366799890995026, -0.6646332740783691, -0.09926298260688782, -0.35533320903778076, 0.24359293282032013, 0.392577201128006, -0.3185979425907135, -0.19419369101524353, -0.8849748969078064, 0.11279883980751038, -0.008974332362413406, -0.5854597091674805, -0.47640565037727356, 0.10989134013652802, -0.05190107598900795, -0.028357021510601044, 0.17081868648529053, -0.04504881426692009, 0.20784415304660797, -0.5563690662384033, -0.1269834041595459, 0.6990246176719666, -0.11106850951910019, 0.3798510432243347, -0.6715612411499023, 0.2750351130962372, -0.13721124827861786, -0.06771621108055115, 0.04998581111431122, -0.3658960163593292, -0.9432173371315002, 0.008648457936942577, 0.47980573773384094, 0.523912787437439, -0.9686429500579834, 0.18672075867652893, -0.3071586489677429, -0.5818330645561218, -0.5351563096046448, 0.015383286401629448, 0.5994747281074524, 0.4795626103878021, 0.485461950302124, -0.289276123046875, -0.2771775424480438, -0.8771176338195801, -0.5423945188522339, -0.012867884710431099, 0.07032463699579239, 0.7398461699485779, 0.426329106092453, -0.12440670281648636, 0.5700262784957886, -0.34913650155067444, -0.03918125107884407, -0.044911619275808334, -0.007038240786641836, 0.3017272353172302, 0.29525282979011536, 0.7192761898040771, -0.7863833904266357, -0.7259858846664429, 0.4264400899410248, -0.5546486377716064, 0.017513016238808632, 0.0657716616988182, 0.04783295467495918, 0.6363931894302368, 0.24318942427635193, -0.5496793389320374, 0.5988733768463135, 0.4823407232761383, -0.3418649733066559, 0.802514910697937, -0.24175754189491272, 0.33359649777412415, -1.0261900424957275, 0.27115723490715027, -0.13586363196372986, -0.11418631672859192, -0.6502038240432739, 0.3583734333515167, -0.10153839737176895, 0.1716524213552475, -0.26090505719184875, 0.8171431422233582, -0.43074506521224976, -0.18058092892169952, -0.33351001143455505, 0.2033671736717224, -0.04657924920320511, 0.48316770792007446, -0.2575709819793701, 1.169424057006836, 0.3620227575302124, -1.0378549098968506, 0.09271756559610367, 0.10888886451721191, -0.5456437468528748, 0.3866022527217865, -0.50807785987854, 0.26158472895622253, -0.016660040244460106, -0.28542089462280273, -0.4180997312068939, -0.27139776945114136, -0.056458331644535065, -0.3734256327152252, 0.3946479856967926, -0.16368238627910614, -0.4201655685901642, -0.1850219964981079, 0.05211981013417244, 0.3656421899795532, 0.635022759437561, -0.6280482411384583, 0.5614633560180664, 0.1638680398464203, 0.004395290277898312, -0.438016414642334, -0.27147001028060913, -0.09010984748601913, -0.36033913493156433, -0.5687339901924133, 0.4631982147693634, -0.04693972319364548, -0.410248726606369, -0.0038462048396468163, -0.016446733847260475, 0.3098198175430298, 0.24923698604106903, 0.11478225141763687, 0.08803464472293854, -0.41427865624427795, 0.2045169174671173, 0.01184794120490551, 0.03380551561713219, -0.30636563897132874, -0.2099633663892746, 0.737899124622345, -0.010371631942689419, -0.3025051951408386, -0.05554821714758873, -0.009227958507835865, 0.4737546741962433, -0.2921544015407562, 0.7863544821739197, 0.3611826002597809, -0.18365556001663208, -0.39127618074417114, -0.73649001121521, -0.038502249866724014, -0.48367008566856384, 0.21311970055103302, -0.6221182942390442, -0.9822856783866882, 0.5935437083244324, -0.22347785532474518, -0.026607032865285873, 0.7244736552238464, 0.5173367261886597, 0.07486510276794434, 0.7008950114250183, 0.509763240814209, -0.2259276807308197, 0.3923599123954773, -0.38953807950019836, 0.006104263477027416, -0.9791949391365051, -0.07287851721048355, -0.5458605289459229, -0.33888930082321167, -0.8922151923179626, -0.5666878819465637, 0.3577427566051483, 0.40629151463508606, -0.4257791042327881, 0.18808621168136597, -0.4397938549518585, 0.44402214884757996, 0.6524527668952942, -0.04798289015889168, 0.3625181019306183, 0.10686773806810379, -0.11507879942655563, 0.2920849621295929, -0.7758804559707642, -0.41306549310684204, 1.2053298950195312, -0.05374488979578018, 0.8144444227218628, 0.25741779804229736, 0.7015219330787659, 0.27547118067741394, 0.38198184967041016, -0.6587463021278381, 0.5145831108093262, -0.6916264891624451, -0.4549140930175781, -0.30634263157844543, -0.5180994868278503, -0.9180343151092529, 0.14682631194591522, -0.22301331162452698, -0.6219351291656494, 0.12518900632858276, 0.17007997632026672, -0.294301301240921, 0.12325795739889145, -0.7188234925270081, 0.41858622431755066, -0.15267471969127655, -0.39214983582496643, -0.5337044596672058, -0.16337119042873383, 0.2027778923511505, -0.17673803865909576, 0.22923356294631958, 0.09120073169469833, 0.3029022812843323, 0.5432015657424927, -0.12936392426490784, 0.3423422574996948, -0.1813424825668335, -0.028563808649778366, 0.4249159097671509, 0.2211376428604126, 0.5407918095588684, 0.006202523596584797, -0.48404014110565186, -0.1385636329650879, -0.3091430366039276, -0.024569706991314888, -0.7557610869407654, 0.8629032969474792, -0.8605300188064575, -0.9760234355926514, -0.03814367204904556, -0.7212173342704773, -0.17859689891338348, 0.2730619013309479, 0.051444195210933685, 0.5812011957168579, -0.22081810235977173, 0.23192495107650757, 0.6076847910881042, -0.31351473927497864, 0.25917601585388184, 0.6076473593711853, -0.41229256987571716, -0.3050890862941742, 1.0231226682662964, 0.2498188018798828, 0.38935497403144836, 0.4639333188533783, 0.13819348812103271, -0.08237158507108688, -0.6531175374984741, -0.6106171011924744, 0.22201567888259888, -0.3015754818916321, -0.4905351400375366, -0.23827359080314636, -0.4574984610080719, -0.27532893419265747, -0.07391675561666489, -0.2701195478439331, -0.5774451494216919, -0.23452208936214447, 0.24978332221508026, 0.6604951024055481, 1.0098274946212769, -0.08886267989873886, 0.15916754305362701, -0.6221852898597717, 0.5133110284805298, 0.0916326716542244, 0.5080676078796387, 0.16318365931510925, -0.672556459903717, -0.5429475903511047, 0.11115147173404694, -0.399190753698349, -0.48944610357284546, 0.2318139225244522, 0.3090344965457916, 0.4109969735145569, 0.0685434490442276, -0.167732372879982, 0.782914400100708, -0.49361082911491394, 0.609220564365387, -0.4002079963684082, -0.6444112658500671, 0.44150564074516296, -0.6049472093582153, 0.14624957740306854, 0.43151554465293884, 0.15329526364803314, -0.2719448506832123, -0.32633042335510254, -0.6004437208175659, -0.5859029293060303, 0.7646487355232239, 0.0689980536699295, -0.14263539016246796, 0.08225597441196442, 0.8474957942962646, 0.1853449046611786, 0.14164750277996063, -0.11667923629283905, -0.2969021201133728, 0.09368794411420822, -0.03567206859588623, -0.4024640619754791, -0.016994545236229897, 0.03463037684559822, -0.08385249227285385, 0.6358026266098022, -0.169773131608963, 0.12387950718402863, 0.06958454102277756, -0.1399298906326294, -0.04038926213979721, 0.1265910267829895, 0.5807640552520752, 0.5450136065483093, -0.0004315603291615844, -0.14759725332260132, 0.24364301562309265, -0.4477277398109436, -0.03192313760519028, 0.1486063450574875, -0.5781205296516418, -0.2203274667263031, 0.21712695062160492, 1.0434691905975342, -0.11861088126897812, -0.23652587831020355, 0.0015507349744439125, 0.13646253943443298, -0.04077176749706268, 0.030362192541360855, 0.7757859826087952, 0.007626303471624851, 0.4822813868522644, 0.30266809463500977, 0.24316014349460602, 0.24051670730113983, -0.6095252633094788, 0.02226215787231922, 0.5495370626449585, 0.1408475935459137, -0.25152865052223206, 0.46510154008865356, -0.04448350891470909, -0.6179971694946289, 0.5313117504119873, -0.32079994678497314, -0.33864349126815796, 0.5871444940567017, 0.589815080165863, 0.6023043394088745, -0.26351627707481384, 0.14252255856990814, 0.46930134296417236, 0.10820690542459488, -0.12349187582731247, 0.3896859586238861, 0.04181810840964317, -0.6726033687591553, -0.5054710507392883, -1.0491465330123901, -0.25302815437316895, 0.2639833092689514, -0.5692327618598938, 0.13874542713165283, -0.249937504529953, -0.1472456455230713, -0.12472793459892273, 0.24421820044517517, -1.0142673254013062, 0.5003288388252258, -0.22864215075969696, 0.9793636202812195, -0.4465583562850952, 0.5870018601417542, 0.7412205338478088, -0.24283766746520996, -1.2260584831237793, 0.0452248752117157, -0.2400771826505661, -0.6193828582763672, 0.5553192496299744, -0.19783438742160797, -0.1613474041223526, 0.13659566640853882, -0.13036008179187775, -1.0800025463104248, 1.228119969367981, 0.3097754716873169, -0.6626004576683044, -0.1828523874282837, 0.21717001497745514, 0.9356772899627686, -0.23732657730579376, 0.09236199408769608, 0.7147846221923828, 0.37723633646965027, -0.07315891981124878, -1.3876835107803345, -0.18796999752521515, 0.011135728098452091, 0.10944247990846634, 0.3500162661075592, -0.9542191624641418, 0.7889305353164673, -0.21622861921787262, -0.25078243017196655, 0.3819948136806488, 0.43386730551719666, 0.3801940977573395, 0.26717695593833923, 0.2114889770746231, 0.7335890531539917, 0.7223349809646606, -0.19535169005393982, 1.135682463645935, -0.4357783794403076, 0.33250054717063904, 0.996056854724884, -0.060988083481788635, 0.944914698600769, 0.20165564119815826, -0.11622986197471619, 0.4887382984161377, 0.2080598622560501, 0.01574454829096794, 0.540256679058075, 0.2669302821159363, -0.030486933887004852, -0.07315504550933838, 0.013610473833978176, -0.3945649564266205, 0.627606213092804, 0.549061119556427, -0.2704697251319885, -0.024860676378011703, -0.16469700634479523, -0.22647583484649658, 0.1431107521057129, -0.5644282102584839, 1.0884737968444824, 0.19475014507770538, -0.989717423915863, 0.9000993967056274, -0.03446226939558983, 0.5320017337799072, -0.20249798893928528, 0.037890154868364334, -0.4169789254665375, 0.29133108258247375, -0.17550648748874664, -0.6597984433174133, 0.47233256697654724, 0.11355195939540863, -0.3385806977748871, 0.1632263958454132, 0.9415555596351624, -0.14958420395851135, -0.40447738766670227, 0.37395966053009033, 0.6582467555999756, 0.13936424255371094, 0.13363872468471527, -0.40205201506614685, 0.10993365198373795, -0.10909801721572876, -0.3069624900817871, 0.36103111505508423, 0.5967416763305664, -0.1975480616092682, 0.7002301216125488, 0.5091853737831116, 0.21192939579486847, 0.12085343897342682, 0.26647889614105225, 0.9189053773880005, -0.6613189578056335, -0.02547173574566841, -0.6722701787948608, 0.35175859928131104, 0.18087351322174072, -0.190644770860672, 0.7147773504257202, 0.7269040942192078, 0.9705294370651245, -0.24375343322753906, 0.7291547060012817, -0.20138132572174072, 0.7973642945289612, -0.6541351079940796, 0.8685866594314575, -0.7856831550598145, 0.17171522974967957, -0.31398651003837585, -1.1610753536224365, -0.16375768184661865, 0.366639643907547, -0.3020510673522949, 0.25712719559669495, 0.29547059535980225, 1.0787041187286377, -0.11132216453552246, -0.10526934266090393, 0.3888031542301178, 0.208628848195076, 0.3192344605922699, 0.4493260085582733, 0.829917311668396, -0.5859717130661011, 0.17912429571151733, -0.061705488711595535, -0.05740595608949661, -0.26352658867836, -0.5073859095573425, -0.8759993314743042, -0.550084114074707, 0.026996340602636337, -0.20459403097629547, 0.4135631322860718, 0.44778597354888916, 0.4107736349105835, -0.8058034777641296, -0.1352338343858719, -0.09398315846920013, 0.1193775087594986, -0.0035885281395167112, -0.22351810336112976, 0.45640718936920166, -0.44116151332855225, -0.6370531320571899, 0.5098121166229248, 0.22194434702396393, -0.1275070160627365, -0.1373252421617508, -0.2993643581867218, -0.02800634689629078, 0.15790913999080658, 0.7471819519996643, 0.10096509009599686, -0.7356936931610107, -0.607956051826477, 0.22116166353225708, 0.019891059026122093, -0.11161492019891739, 0.47066184878349304, -1.09694504737854, 0.18435260653495789, 0.4517726004123688, 0.6659557223320007, 0.42158129811286926, 0.2312190681695938, 0.4875589907169342, -0.43942007422447205, -0.10956542938947678, 0.10151831805706024, 0.049509283155202866, 0.36025097966194153, -0.2580867409706116, 0.6428920030593872, -0.03327937796711922, -0.9823268055915833, -0.5892063975334167, 0.23837587237358093, -0.6152343153953552, 0.06190098449587822, 1.1987038850784302, 0.23186315596103668, 0.04718506708741188, -0.08154913038015366, -0.2785232663154602, 0.2722192406654358, -0.16935132443904877, 1.0311142206192017, 0.417620450258255, -0.24951504170894623, 0.15416255593299866, -0.3559902012348175, 0.80348140001297, 0.38777956366539, -0.5874530076980591, -0.03208472207188606, 0.46821367740631104, 0.20912639796733856, 0.47767916321754456, 0.42777177691459656, 0.1210973933339119, 0.4573311507701874, -0.07122842967510223, -0.22726956009864807, -0.12014017254114151, -0.5722826719284058, -0.06777293235063553, 0.09148366749286652, 0.4019099771976471, 0.31587356328964233 ]
http://arxiv.org/abs/2403.08059v2
http://arxiv.org/pdf/2403.08059v2
FluoroSAM: A Language-aligned Foundation Model for X-ray Image Segmentation
2024-03-12T20:11:38
2024-03-28T00:59:37
Benjamin D. Killeen, Liam J. Wang, Han Zhang, Mehran Armand, Russell H. Taylor, Dave Dreizin, Greg Osgood, Mathias Unberath
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Automated X-ray image segmentation would accelerate research and development in diagnostic and interventional precision medicine. Prior efforts have contributed task-specific models capable of solving specific image analysis problems, but the utility of these models is restricted to their particular task domain, and expanding to broader use requires additional data, labels, and retraining efforts. Recently, foundation models (FMs) -- machine learning models trained on large amounts of highly variable data thus enabling broad applicability -- have emerged as promising tools for automated image analysis. Existing FMs for medical image analysis focus on scenarios and modalities where objects are clearly defined by visually apparent boundaries, such as surgical tool segmentation in endoscopy. X-ray imaging, by contrast, does not generally offer such clearly delineated boundaries or structure priors. During X-ray image formation, complex 3D structures are projected in transmission onto the imaging plane, resulting in overlapping features of varying opacity and shape. To pave the way toward an FM for comprehensive and automated analysis of arbitrary medical X-ray images, we develop FluoroSAM, a language-aligned variant of the Segment-Anything Model, trained from scratch on 1.6M synthetic X-ray images. FluoroSAM is trained on data including masks for 128 organ types and 464 non-anatomical objects, such as tools and implants. In real X-ray images of cadaveric specimens, FluoroSAM is able to segment bony anatomical structures based on text-only prompting with 0.51 and 0.79 DICE with point-based refinement, outperforming competing SAM variants for all structures. FluoroSAM is also capable of zero-shot generalization to segmenting classes beyond the training set thanks to its language alignment, which we demonstrate for full lung segmentation on real chest X-rays.
[ -0.2903706431388855, -0.7469476461410522, 0.3258618712425232, -0.04460923373699188, -0.5078147649765015, -0.09937647730112076, 0.12753522396087646, -0.5642566680908203, 0.12216406315565109, 0.5086809992790222, -0.3723216950893402, -0.4352516829967499, -0.5736026167869568, 0.17021608352661133, -0.7258871793746948, 0.8168601393699646, -0.05764970928430557, 0.26658910512924194, 0.08425941318273544, -0.2686101496219635, -0.19835396111011505, -0.020275231450796127, -0.6904300451278687, -0.2576550245285034, 0.2520335018634796, 0.15091118216514587, 1.152045488357544, 1.216528058052063, 0.562147855758667, 0.34287703037261963, 0.2660941183567047, -0.27339881658554077, -0.1830095797777176, -0.3137763440608978, -0.02488134428858757, -0.4753863215446472, -0.20422884821891785, -0.21038272976875305, 0.6173912882804871, 0.972166895866394, 0.02356204390525818, -0.28048163652420044, -0.6721107959747314, 0.625204861164093, -0.44239550828933716, -0.17285841703414917, -0.3371027410030365, 0.352398157119751, -0.14208519458770752, -0.1186068207025528, 0.21066588163375854, -0.26927733421325684, 0.6130949854850769, -0.5308651924133301, 0.16080957651138306, -0.2128789871931076, 1.1535999774932861, 0.2685280442237854, -0.35330119729042053, -0.34932902455329895, -0.18715421855449677, 0.6872219443321228, -0.13094370067119598, 0.6317989230155945, 0.05827130749821663, 0.554918110370636, 0.009259562939405441, -0.83507239818573, 0.05283817648887634, -0.08715054392814636, -0.19548329710960388, -0.28478410840034485, -0.1358109712600708, 0.2584688067436218, -0.24007777869701385, 0.7909314036369324, -0.7594988942146301, -0.08874744921922684, -0.5265890955924988, -0.08304440975189209, 0.7169449925422668, 0.06208610534667969, 0.48365023732185364, -0.13547049462795258, -0.8626948595046997, -0.07960556447505951, -0.6507778763771057, -0.3321774899959564, -0.2664283215999603, -0.15947915613651276, -0.044161226600408554, 0.14392182230949402, -0.10576646029949188, 1.1174641847610474, 0.09750721603631973, -0.3182419538497925, 0.10606206953525543, 0.011399340815842152, -0.8569273352622986, 0.25563156604766846, 0.7869372963905334, 0.010806478559970856, 0.12938474118709564, 0.1646500527858734, -0.3083304464817047, 0.08028747141361237, 0.035974085330963135, -0.7817871570587158, -0.3953239619731903, 0.2999284863471985, -0.5756219625473022, -0.755348801612854, 0.1718074530363083, -0.351544052362442, -0.2871299088001251, -0.1571970134973526, 0.5043694376945496, -0.5809491872787476, -0.13220568001270294, 0.46653491258621216, -0.01625095307826996, 0.06833647191524506, 0.22502762079238892, -0.7747418284416199, 0.4447360336780548, 0.5380096435546875, 0.9592333436012268, 0.008932714350521564, 0.12970399856567383, -0.5153371691703796, 0.06329898536205292, -0.5282647013664246, 0.8181728720664978, -0.7297518253326416, -0.7089134454727173, -0.31809762120246887, 0.2181173413991928, -0.09064606577157974, -0.5921178460121155, 0.11926600337028503, -0.3333256244659424, 0.2301175594329834, 0.0028976595494896173, -0.4444988965988159, -0.3912496566772461, 0.36350324749946594, -0.8136857748031616, 0.5218037962913513, 0.5871334671974182, -0.2548774480819702, 0.44873684644699097, -0.626227080821991, -0.4576263427734375, -0.13763190805912018, -0.8826568126678467, -0.36191338300704956, 0.015388929285109043, 0.24303479492664337, 0.44865885376930237, -0.5401631593704224, 0.5017246007919312, -0.020791415125131607, -0.2017546147108078, 0.288705974817276, -0.26349499821662903, 0.8392226099967957, 0.21613089740276337, -0.479085773229599, 0.36576199531555176, -0.8518849611282349, 0.002470756648108363, 0.20804080367088318, -0.0024653642904013395, -0.20210912823677063, -0.3033188283443451, 0.10199398547410965, 0.25331804156303406, -0.026115726679563522, -0.6462134718894958, 0.1754569113254547, -0.44266894459724426, 0.2501295804977417, 0.4641902446746826, -0.06314816325902939, 0.18729794025421143, -0.5493738651275635, 0.7877376675605774, -0.02714160457253456, 0.1838892698287964, -0.429205983877182, -0.47495827078819275, -0.5463842153549194, -0.7264828085899353, 0.46283310651779175, 0.42803388833999634, -0.14772972464561462, 0.28358960151672363, -0.13264380395412445, -0.4279000163078308, -0.4191366136074066, -0.06690530478954315, 0.4297899603843689, 0.6525313258171082, 0.128479465842247, -0.533481240272522, -0.7757512331008911, -1.015467643737793, 0.33195120096206665, 0.09667673707008362, -0.005030496511608362, 0.007051792927086353, 0.3113517761230469, -0.31473177671432495, 0.8848468065261841, -0.9072510600090027, -0.5975791215896606, 0.18663613498210907, 0.00951007567346096, -0.007777647115290165, 0.6495343446731567, 0.7473662495613098, -1.1707006692886353, -0.7161205410957336, 0.432935893535614, -0.7707359790802002, -0.12748368084430695, -0.20293886959552765, -0.19790415465831757, 0.03480121120810509, 0.5622419118881226, -0.17046457529067993, 0.34431472420692444, 0.3134204149246216, -0.05699270963668823, 0.30413031578063965, 0.13986660540103912, 0.1957961469888687, -0.727895200252533, 0.414294958114624, 0.17226409912109375, -0.45886966586112976, -0.6206662058830261, 0.17732349038124084, 0.10206195712089539, -0.2325107902288437, -0.37644630670547485, 0.7132803797721863, -0.5262097120285034, -0.08684055507183075, -0.2530446946620941, -0.16279128193855286, 0.2043704092502594, 0.14384803175926208, 0.7442162036895752, 0.43565836548805237, 0.65755295753479, -0.17223571240901947, 0.013417534530162811, 0.1805289387702942, -0.3769325911998749, 0.7772888541221619, -0.6465114951133728, -0.03772607445716858, 0.2831449508666992, 0.09551157057285309, -0.7525700330734253, -0.42600059509277344, 0.20626726746559143, -0.15687288343906403, 0.36924082040786743, -0.0799388438463211, 0.025608208030462265, 0.06098847836256027, -0.30209535360336304, 0.4521889090538025, 0.3939260244369507, -0.4166530966758728, 0.43210551142692566, 0.40799885988235474, 0.05710715055465698, -0.5292105078697205, -0.5913485884666443, -0.17327576875686646, -0.00043957759044133127, -0.9327811002731323, 0.7500910758972168, 0.03271742910146713, -0.3305647075176239, 0.1736060231924057, -0.2938079535961151, -0.6498374342918396, 0.07009926438331604, 0.2912645936012268, 0.18133626878261566, -0.4596661329269409, -0.11051810532808304, 0.272626668214798, -0.3911210894584656, -0.08137544244527817, -0.3864942193031311, 0.26624879240989685, -0.14585958421230316, -0.23679693043231964, -0.25033724308013916, 0.3585285544395447, 0.5963682532310486, -0.10879573971033096, 0.1086374819278717, 0.38406604528427124, -0.7780719995498657, 0.18700151145458221, -0.37849682569503784, 0.12658163905143738, -0.4713079035282135, 0.46959710121154785, -0.35829198360443115, -0.7271081805229187, 0.16085787117481232, 0.2018245905637741, 0.1962897926568985, 0.2816503345966339, 0.3222050964832306, 0.029858214780688286, 1.2617290019989014, 0.7039810419082642, 0.11534390598535538, 0.3957246243953705, -0.3505323827266693, -0.11162606626749039, -0.5408550500869751, -0.1492059826850891, -0.3057537078857422, -0.1738184094429016, 0.03760800510644913, -0.21278761327266693, 0.4012417793273926, -0.1403300166130066, 0.20246689021587372, -0.02997557446360588, -0.6799750328063965, 0.5664148330688477, -0.09111631661653519, -0.06937527656555176, 0.18011847138404846, 0.16307415068149567, 0.03141878545284271, 0.29266658425331116, -0.5082641243934631, -0.3756331503391266, 0.9235842227935791, 0.2836933135986328, 0.568421483039856, -0.31506335735321045, 0.776709794998169, 0.30600497126579285, 0.44331854581832886, -0.88429856300354, 0.33069756627082825, -0.3406829535961151, -0.9263818264007568, -0.18342545628547668, -0.0802651047706604, -1.1681694984436035, 0.40787726640701294, 0.06527913361787796, -0.4587278366088867, 0.43938031792640686, 0.11992102116346359, -0.7877786159515381, 0.17362290620803833, -0.4861096143722534, 0.9072003960609436, -0.4303329288959503, 0.06164032965898514, -0.030740218237042427, -0.8885744214057922, 0.4193952977657318, -0.4138806462287903, 0.34819120168685913, -0.08871051669120789, -0.18020470440387726, 0.6056411862373352, -0.7150191068649292, 0.7228412628173828, -0.08531858026981354, -0.3504181206226349, 0.06798996776342392, 0.09959909319877625, -0.1505601406097412, 0.05172749236226082, -0.09488213062286377, 0.03821723535656929, 0.5830015540122986, -0.3106519877910614, -0.5970612168312073, 0.5348129868507385, -0.5075013637542725, -0.5058076977729797, -0.4123653769493103, -0.44691580533981323, 0.03500593826174736, 0.3996357321739197, 0.3595389425754547, 0.6307487487792969, -0.44840410351753235, 0.2063102275133133, 0.5578789710998535, 0.21313482522964478, -0.13960058987140656, 0.29989635944366455, -0.35893115401268005, -0.6513079404830933, 0.9481586217880249, 0.2651589512825012, 0.019686955958604813, 0.7478681206703186, 0.4037295877933502, -0.07087092101573944, -0.5315877795219421, -0.6391121745109558, 0.1363876610994339, -0.7528800368309021, -0.3588795065879822, -0.4485803544521332, -0.05098646879196167, -0.0834418535232544, -0.8660513758659363, -0.14356650412082672, -0.4611496031284332, -0.20732316374778748, 0.0871976986527443, 0.1437583565711975, 0.3314827084541321, -0.19373077154159546, 0.4616413712501526, -0.9899591207504272, 0.2830568552017212, 0.018521904945373535, 0.17388522624969482, -0.30393725633621216, -0.11613935232162476, -0.2922545075416565, -0.26025986671447754, -0.017790233716368675, -0.8665124177932739, 0.1886027753353119, 0.3269602954387665, 0.34510505199432373, 0.905203104019165, -0.2752652168273926, 0.7455129623413086, -0.014885308220982552, 0.3359997272491455, 0.24429762363433838, -0.863961935043335, 0.4941168427467346, -0.2349855899810791, 0.1259148120880127, 0.5182034373283386, 0.3291301131248474, -0.454997181892395, 0.001167098875157535, -0.6389914751052856, -0.4746089577674866, 0.6245859265327454, -0.0063591692596673965, -0.3362100422382355, -0.28210315108299255, 0.3567551076412201, 0.5315625071525574, 0.273298054933548, -0.37004518508911133, 0.12782591581344604, -0.14863884449005127, -0.6097389459609985, 0.4888431131839752, 0.0979406088590622, -0.41800519824028015, -0.18423062562942505, 0.6169009208679199, -0.24913617968559265, 0.07004965096712112, 0.3671714663505554, -0.5259398818016052, -0.2701418399810791, -0.14610211551189423, 0.6011040210723877, 0.49460095167160034, -0.15160639584064484, -0.01018273364752531, -0.16634659469127655, -0.6128915548324585, 0.45847633481025696, 0.21184919774532318, -0.012726415880024433, -0.06260266155004501, 0.2462008148431778, 0.4370516836643219, 0.3797420859336853, -0.818623960018158, 0.349626749753952, -0.031517814844846725, -0.3660757839679718, -0.2606229782104492, 0.5053407549858093, -0.28709957003593445, 0.08253330737352371, 0.36647069454193115, 0.2089632898569107, 0.21238629519939423, -0.2607955038547516, 0.5254805684089661, 0.4350968897342682, -0.6662676930427551, -0.2578026354312897, 0.34636959433555603, 0.27568289637565613, 0.06027804687619209, 0.546665608882904, 0.15505053102970123, -0.2095923274755478, 0.9460555911064148, 0.3254730999469757, 0.843473494052887, -0.44013017416000366, 0.2169814556837082, 0.018890036270022392, 0.208902046084404, 0.18253448605537415, 0.3620245158672333, -0.1771061271429062, -0.5309592485427856, -0.037586942315101624, -0.5024730563163757, -0.10190065205097198, 0.1312912553548813, -0.5904148817062378, 0.4849061965942383, -0.8897703289985657, -0.03736337646842003, 0.14519883692264557, -0.033775445073843, -0.185852512717247, 1.0308870077133179, 0.0064908224157989025, 1.1599663496017456, -0.7260390520095825, 0.824435293674469, 0.7664212584495544, -0.27115878462791443, -0.3039538264274597, -0.25147557258605957, 0.2515977919101715, -0.9122766256332397, 0.1153968796133995, 0.527381420135498, -0.07891112565994263, 0.16162842512130737, -0.17940464615821838, -0.9120816588401794, 1.117147445678711, 0.3967546820640564, -0.4332151412963867, -0.10926826298236847, 0.11999978125095367, 0.2591162323951721, -0.6401280164718628, -0.06700961291790009, 0.8496707677841187, 0.3773850202560425, 0.05359579622745514, -0.6325596570968628, 0.31288444995880127, -0.2942230701446533, -0.15287892520427704, 0.5766796469688416, -0.41002845764160156, 0.6481484174728394, -0.1535581350326538, -0.23037661612033844, 0.31741446256637573, 0.5457181930541992, 0.18221616744995117, 0.1370953768491745, 0.8186047673225403, 0.4147467017173767, 0.7316803932189941, -0.168196901679039, 0.7940919995307922, -0.3133195638656616, -0.00955311581492424, 0.423944354057312, -0.2011345475912094, 0.19022969901561737, 0.33212926983833313, -0.01751215010881424, 0.5321499109268188, 0.8285954594612122, -0.32680147886276245, 0.47613292932510376, -0.0940980315208435, -0.18208229541778564, -0.19376637041568756, 0.0699843317270279, -0.49317196011543274, 0.5401300191879272, 0.7756182551383972, -0.596851110458374, -0.1890808343887329, 0.12494407594203949, 0.041708219796419144, -0.3834058940410614, -0.18667292594909668, 0.4905196726322174, 0.1191876009106636, -0.3638685345649719, 0.7865007519721985, 0.18214382231235504, 0.4771219491958618, -1.0152896642684937, -0.013415772467851639, 0.002874455414712429, -0.012753704562783241, -0.6417109966278076, -0.4607298672199249, 0.6890310049057007, -0.2923811376094818, 0.024643216282129288, 0.4457549750804901, 0.5642722845077515, -0.22433814406394958, -0.4634671211242676, -0.00980380829423666, 0.008365367539227009, 0.11262920498847961, -0.0007951658917590976, -0.8212129473686218, 0.359608918428421, 0.1730974316596985, -0.06596031785011292, 0.3347029685974121, 0.17677977681159973, -0.4616166651248932, 0.4503494203090668, 0.44441893696784973, -0.2846049666404724, -0.24464136362075806, -0.35413774847984314, 0.7160618901252747, -0.40838104486465454, -0.6542103290557861, -0.5796937942504883, 0.5487735867500305, -0.0449252650141716, -0.31661874055862427, 0.04776078462600708, 0.571906566619873, 0.8347620368003845, 0.06417682021856308, 0.7766324877738953, -0.10986993461847305, -0.11729557067155838, -0.5953552722930908, 0.5829763412475586, -0.8535983562469482, -0.06429210305213928, -0.24825213849544525, -0.48471108078956604, -0.7267204523086548, 1.0262000560760498, -0.1618172973394394, 0.09968402236700058, 0.7441732883453369, 0.769569456577301, -0.36163029074668884, 0.04651434347033501, 0.40060076117515564, -0.2000521421432495, 0.2831074595451355, 0.19548925757408142, 0.41452306509017944, -0.26172569394111633, 0.5656500458717346, -0.4874306321144104, -0.5603827834129333, -0.3510236442089081, -0.4736904799938202, -0.5849476456642151, -0.5543860197067261, -0.6889516115188599, 0.05245274677872658, 0.035534974187612534, 0.8170135021209717, 1.1249163150787354, -0.642276406288147, -0.38128429651260376, -0.08513767272233963, 0.010527562350034714, -0.32140353322029114, -0.1738465279340744, 0.681735098361969, -0.05369366332888603, -0.7018696665763855, 0.5659478902816772, 0.6838268041610718, 0.12442148476839066, -0.3400774598121643, -0.0046716053038835526, -0.010796708054840565, 0.20331355929374695, 0.2762453556060791, 0.6737826466560364, -0.5929029583930969, -0.049183424562215805, 0.12326043099164963, -0.031518206000328064, 0.5715233683586121, 0.7478755712509155, -0.7239440083503723, 0.6557927131652832, 0.39594149589538574, 0.47856318950653076, 0.16905967891216278, -0.12753571569919586, 0.7742153406143188, -0.5860939025878906, 0.1419326663017273, 0.10579134523868561, 0.5905076265335083, 0.400714248418808, -0.5245442390441895, 0.5958623290061951, 0.11965131014585495, -0.2535153329372406, -0.9166436195373535, 0.2373145967721939, -0.6218292117118835, -0.4727430045604706, 0.6299583911895752, -0.05749158188700676, -0.6010245084762573, -0.19972895085811615, -0.5088711380958557, 0.19497595727443695, -0.005617741961032152, 0.5996145606040955, 0.29762476682662964, -0.3116084039211273, -0.22003374993801117, 0.10375877469778061, 0.471608430147171, 0.39320695400238037, -0.7764703631401062, -0.41283419728279114, 0.5227547883987427, 0.5674191117286682, 0.25619253516197205, 0.8506416082382202, -0.5582293272018433, 0.8035666942596436, -0.23270201683044434, -0.13800832629203796, -0.22532503306865692, -0.3209793269634247, -0.6088238954544067, 0.4965205192565918, -0.05798919126391411, -0.4093140661716461 ]
http://arxiv.org/abs/2403.08058v2
http://arxiv.org/pdf/2403.08058v2
CHAI: Clustered Head Attention for Efficient LLM Inference
2024-03-12T20:10:04
2024-04-27T22:45:39
Saurabh Agarwal, Bilge Acun, Basil Hosmer, Mostafa Elhoushi, Yejin Lee, Shivaram Venkataraman, Dimitris Papailiopoulos, Carole-Jean Wu
cs.LG
cs.LG, cs.CL
Large Language Models (LLMs) with hundreds of billions of parameters have transformed the field of machine learning. However, serving these models at inference time is both compute and memory intensive, where a single request can require multiple GPUs and tens of Gigabytes of memory. Multi-Head Attention is one of the key components of LLMs, which can account for over 50% of LLMs memory and compute requirement. We observe that there is a high amount of redundancy across heads on which tokens they pay attention to. Based on this insight, we propose Clustered Head Attention (CHAI). CHAI combines heads with a high amount of correlation for self-attention at runtime, thus reducing both memory and compute. In our experiments, we show that CHAI is able to reduce the memory requirements for storing K,V cache by up to 21.4% and inference time latency by up to 1.73x without any fine-tuning required. CHAI achieves this with a maximum 3.2% deviation in accuracy across 3 different models (i.e. OPT-66B, LLAMA-7B, LLAMA-33B) and 5 different evaluation datasets.
[ -0.4154319763183594, -0.7908406257629395, 0.6549482345581055, 0.5634788870811462, -0.19751064479351044, -0.12347947806119919, -0.3434222936630249, -0.3670586943626404, 0.2723064124584198, 0.5182948112487793, -0.6155771017074585, -0.420083224773407, -0.5386146903038025, -0.23880434036254883, -0.34543925523757935, 0.6640023589134216, 0.44475606083869934, -0.13811510801315308, -0.3948233127593994, -0.1856931447982788, -0.5124125480651855, -0.3465704023838043, -0.8970781564712524, -0.2626328766345978, 1.018998146057129, 0.3017132580280304, 0.3900534510612488, 0.9296702742576599, 0.6214916706085205, 0.2792414128780365, 0.0009092674590647221, 0.3352646231651306, -0.6694174408912659, 0.07422598451375961, -0.13110396265983582, -0.4929627478122711, -0.7083671689033508, -0.12639249861240387, 0.601473867893219, 0.6798588633537292, -0.15346689522266388, 0.07441017031669617, -0.02897639200091362, 0.8128174543380737, -1.3078001737594604, 0.09104380756616592, -0.8086984753608704, -0.10678454488515854, -0.3114590644836426, -0.0696391686797142, -0.4820910394191742, 0.11416663229465485, 0.11221383512020111, -0.47938966751098633, 0.37755274772644043, 0.03760671615600586, 0.5260079503059387, 0.7070024609565735, -0.16801424324512482, 0.3370782434940338, -0.39488860964775085, 1.286800503730774, -0.6750168800354004, 0.4999818801879883, 0.35289767384529114, 0.1669410914182663, -0.02270890213549137, -0.5292875170707703, -0.6182762384414673, 0.17224472761154175, -0.04713491350412369, 0.40333977341651917, -0.09138382226228714, 0.005034499801695347, 0.11338701844215393, 0.23663708567619324, -0.4433080852031708, 0.19916172325611115, 0.03543875738978386, -0.035569630563259125, 0.5740380883216858, 0.1673911064863205, -0.07029516994953156, 0.3259415626525879, -0.1907479465007782, -0.16030223667621613, -0.6358740925788879, -0.5129574537277222, -0.047897908836603165, 0.388705849647522, -0.2290724515914917, 0.23756518959999084, -0.26961129903793335, 1.0673691034317017, 0.3164055645465851, -0.31287920475006104, 0.06454510986804962, -0.3188665211200714, -0.4297487437725067, -0.017371678724884987, 0.8194546699523926, 0.22254832088947296, 0.35602933168411255, -0.34888777136802673, 0.0557435005903244, 0.2549470067024231, 0.4830523729324341, -0.687092125415802, -0.0963045135140419, 0.5617008805274963, -0.2639347314834595, -0.1700868457555771, -0.1870063990354538, -0.8733857870101929, -0.37949666380882263, -0.33549681305885315, -0.18494239449501038, -0.2133604884147644, 0.009758793748915195, 0.01878751814365387, 0.1097414568066597, 0.4927516579627991, 0.3888578712940216, -0.8706655502319336, 0.20514275133609772, 0.6905344128608704, 0.8949266076087952, -0.7773013710975647, -0.4264677166938782, -0.7489401698112488, 0.6514162421226501, -0.0937022939324379, 0.9656974673271179, -0.6452720165252686, -0.3301221430301666, -0.26697298884391785, -0.1523989737033844, -0.4072616696357727, -0.6288537383079529, 0.3954698443412781, -0.5881836414337158, -0.34339383244514465, -0.16248095035552979, -0.4469415545463562, -0.1725505143404007, 0.049528561532497406, -0.6101511120796204, 0.8722754716873169, -0.007865450344979763, -0.9126924276351929, -0.020087281242012978, -0.2561268210411072, -0.5837905406951904, -0.013384796679019928, -0.23723651468753815, -0.679927408695221, 0.19640254974365234, 0.5582533478736877, 0.6913309097290039, -0.5933564901351929, 0.24986931681632996, -0.7046419978141785, -0.3422345817089081, 0.053660549223423004, -0.054286688566207886, 0.47049587965011597, 0.26992267370224, -0.36262401938438416, 0.18278668820858002, -0.7638435363769531, -0.020104428753256798, 0.04116860777139664, 0.10307571291923523, -0.41983893513679504, 0.12037433683872223, 0.11878050863742828, -0.005378689616918564, 0.2764279842376709, -0.3169095814228058, -0.1227610632777214, -0.1673182249069214, 0.5217971205711365, 0.5993062853813171, -0.004308043047785759, 0.19930116832256317, -0.1281111091375351, 0.28635236620903015, 0.4198872148990631, -0.174784317612648, -0.1503058820962906, -0.2469216138124466, -1.1419413089752197, -0.5363098382949829, 0.08569911867380142, 0.48711249232292175, -0.16733643412590027, 0.5376448035240173, -0.26517435908317566, -0.5147364139556885, -0.6356810331344604, 0.16188393533229828, 0.5312958359718323, 0.550589382648468, 0.15982015430927277, -0.13695590198040009, -0.48727327585220337, -1.2011135816574097, -0.2239866554737091, 0.020794443786144257, 0.0496755950152874, 0.5049185156822205, 0.2591060996055603, -0.4084465801715851, 0.9798531532287598, -0.5243691205978394, -0.2856476306915283, -0.18265247344970703, -0.06432496011257172, 0.05792921036481857, 0.366089791059494, 0.3763909637928009, -0.5823918581008911, -0.5012710094451904, 0.2344977855682373, -0.6535109281539917, -0.38303297758102417, -0.26933372020721436, -0.3989007771015167, 0.04851304739713669, 0.44184011220932007, -0.6402794122695923, 0.2104804813861847, 0.4417279064655304, 0.15601278841495514, 0.25898751616477966, 0.12446253001689911, 0.03922013193368912, -0.9242630004882812, 0.20156234502792358, 0.290961891412735, -0.3230811059474945, -0.5564886331558228, 0.167311429977417, 0.26174837350845337, 0.1123114600777626, -0.4960877597332001, 0.7206779718399048, -0.5927549004554749, -0.2239995151758194, -0.4515988528728485, 0.4593808054924011, -0.17507418990135193, 0.8713592886924744, 0.2319391965866089, 1.1365768909454346, 0.7156025171279907, -1.032644271850586, 0.05136384069919586, 0.05593918636441231, -0.053443796932697296, 0.7365520000457764, -0.853249728679657, 0.4829976260662079, -0.0033416382502764463, 0.11472510546445847, -0.9028077125549316, -0.3665735721588135, -0.035892389714717865, -0.20825988054275513, 0.28145939111709595, 0.25514495372772217, -0.19084355235099792, -0.2745929956436157, -0.26253029704093933, 0.6408329606056213, 0.2186359167098999, -0.6261951923370361, 0.5814818143844604, 0.9248416423797607, 0.0230206660926342, -0.5892265439033508, -0.8834524750709534, -0.08318542689085007, -0.4201928675174713, -0.3876146674156189, 0.33450397849082947, 0.050651662051677704, -0.23468512296676636, -0.12036221474409103, -0.11710144579410553, -0.20192860066890717, -0.16765791177749634, 0.16280433535575867, 0.10219553858041763, -0.0828598365187645, 0.06281132996082306, -0.09810727089643478, -0.29479920864105225, -0.2366165667772293, -0.41658642888069153, 0.5690271258354187, -0.09381068497896194, -0.3837951719760895, -0.6748532652854919, 0.5320741534233093, 0.870717465877533, -0.460534006357193, 0.7107259035110474, 0.6684826612472534, -0.4025537669658661, -0.03922788426280022, -1.0577279329299927, -0.13430088758468628, -0.4218076765537262, 0.5127229690551758, -0.4286637604236603, -1.0097324848175049, 0.6065524816513062, 0.0864824503660202, 0.008136679418385029, 0.4655970633029938, 0.9972838163375854, -0.042067140340805054, 0.8496042490005493, 0.31931206583976746, -0.6868948936462402, 0.3876553177833557, -0.07109145075082779, 0.2370012402534485, -1.0008422136306763, -0.037048228085041046, -0.39228785037994385, -0.32582634687423706, -0.3413250148296356, -0.5998143553733826, 0.3627232611179352, -0.24662961065769196, -0.19345620274543762, 0.16961440443992615, -0.45810848474502563, 0.5601823329925537, 0.6518446803092957, 0.2952001988887787, 0.11047245562076569, 0.050604887306690216, 0.2691662311553955, -0.014756186865270138, -0.7697670459747314, -0.13568559288978577, 0.8926587700843811, 0.19219085574150085, 0.8789571523666382, -0.18064549565315247, 0.4209691882133484, 0.2431221902370453, -0.023393291980028152, -0.7493340969085693, 0.6668784618377686, -0.10980399698019028, -0.18959619104862213, -0.2442268580198288, -0.39958369731903076, -1.0768592357635498, 0.43513837456703186, 0.2767580449581146, -0.6638897061347961, 0.04365890845656395, 0.35223284363746643, -0.473620742559433, 0.1152961403131485, -0.793053150177002, 0.7287534475326538, 0.06132447347044945, -0.6502702236175537, -0.7251663208007812, -0.5993266701698303, 0.6230157613754272, -0.22008463740348816, 0.0109044024720788, 0.03892022743821144, -0.20515675842761993, 0.7420669198036194, -0.27048930525779724, 1.189237356185913, 0.09848859906196594, 0.03304562345147133, 0.5256929397583008, -0.34057092666625977, 0.756740152835846, -0.04256565868854523, 0.1878339946269989, 0.32854074239730835, -0.19936427474021912, -0.6605305075645447, -0.6372140645980835, 1.1189148426055908, -0.8540100455284119, -0.681155264377594, -0.30218952894210815, -0.8022210597991943, -0.3638092875480652, 0.17407122254371643, -0.16265438497066498, 0.03557589650154114, 0.0815482810139656, 0.12149089574813843, 0.8562974333763123, 0.01322745718061924, 0.4347517192363739, 0.2664444148540497, 0.13201592862606049, -0.5302448272705078, 0.8715028762817383, -0.10981889069080353, 0.2517319321632385, 0.4682207703590393, 0.11658509075641632, -0.15752960741519928, -0.5981400012969971, -0.1648804396390915, 0.7509461045265198, -0.38417866826057434, -0.17210111021995544, -1.072728157043457, -0.16919776797294617, -0.5471258759498596, 0.03057216852903366, -0.6777715086936951, -0.278788685798645, -0.25498613715171814, 0.2940729856491089, 0.3334820866584778, 0.2863524854183197, 0.3645883798599243, 0.9681257605552673, -0.6402742266654968, 0.3722555339336395, 0.41392678022384644, 0.2501928210258484, 0.360357403755188, -0.40209221839904785, -0.43461066484451294, -0.2803723216056824, -0.19792069494724274, -0.6454268097877502, 0.440481960773468, 0.08752500265836716, 0.5825686454772949, 0.7500985860824585, -0.09084539115428925, 1.2173192501068115, -0.48727819323539734, 0.3995310068130493, 0.0569818876683712, -0.7868995666503906, 0.5015712380409241, -0.4688850939273834, 0.7045309543609619, 0.5719477534294128, 0.07022735476493835, -0.4338253438472748, -0.49074217677116394, -0.40128204226493835, -0.5845736265182495, 0.7594868540763855, 0.057310789823532104, -0.3830075263977051, -0.1890440136194229, 0.494657039642334, -0.0811372920870781, 0.20858751237392426, -0.541869044303894, -0.3352791666984558, 0.3932171165943146, -0.12261962890625, -0.0936511754989624, -0.40696248412132263, -0.024769648909568787, -0.21574831008911133, 0.7656648755073547, -0.1722596138715744, 0.45373213291168213, 0.0946037769317627, -0.15500600636005402, 0.10105212032794952, -0.13672403991222382, 0.5629070997238159, 0.5592016577720642, 0.029809337109327316, 0.35635167360305786, 0.37168586254119873, -0.5438260436058044, -0.17302362620830536, -0.4413260817527771, -0.0993606448173523, -0.35970446467399597, 0.420894056558609, 0.906484842300415, 0.2849165201187134, -0.6621928811073303, 0.1589401811361313, 0.05985471233725548, 0.12482790648937225, -0.23561185598373413, 0.17070336639881134, 0.3636617064476013, 0.15954558551311493, -0.09766140580177307, -0.07533577084541321, 0.02935107611119747, -0.14662855863571167, 0.24771130084991455, 0.6401621103286743, -0.3171986937522888, -0.17754152417182922, 0.6288448572158813, 0.17146001756191254, -0.044981587678194046, 0.5034999847412109, 0.11265022307634354, -0.263395220041275, 0.510612964630127, 0.5698010325431824, 1.1710412502288818, -0.42077895998954773, -0.2800212502479553, 0.4900034964084625, 0.11768932640552521, 0.04476774111390114, -0.07016360759735107, -0.16549740731716156, -0.6757630705833435, -0.5472842454910278, -0.5953091979026794, -0.4005512595176697, 0.3295343816280365, -0.6546947360038757, 0.1972895860671997, -0.3193514049053192, -0.16318157315254211, -0.012345593422651291, -0.15186920762062073, -0.45927366614341736, 0.23640131950378418, 0.11824272572994232, 0.5368999242782593, -0.7410938739776611, 1.0953259468078613, 0.4720544219017029, 0.11996084451675415, -0.12558665871620178, 0.03591896593570709, -0.08227314054965973, -0.9312662482261658, 0.4077354669570923, 0.2851904630661011, -0.5620235800743103, 0.18388094007968903, -0.47616687417030334, -0.9927843809127808, 0.8986971974372864, 0.39727655053138733, -0.9567088484764099, 0.09850285202264786, -0.02977128140628338, 0.20677712559700012, -0.5666927099227905, 0.41663655638694763, 0.9058879613876343, 0.4642404019832611, 0.22171691060066223, -0.5111042857170105, -0.22336386144161224, -0.04042091965675354, 0.22420987486839294, 0.07561272382736206, -1.2227704524993896, 0.7025539875030518, -0.27530503273010254, -0.3394099175930023, -0.30837661027908325, 1.115315556526184, 0.6176159977912903, 0.31801027059555054, 0.6984373927116394, 0.7819414734840393, 0.7958936095237732, 0.11259707808494568, 1.1511056423187256, -0.5118743181228638, 0.2250344306230545, 1.2780121564865112, -0.3454524874687195, 0.8697772026062012, 0.8427708148956299, -0.34186631441116333, 0.053819719702005386, 0.9000254273414612, 0.26060375571250916, 0.6310817003250122, 0.053247880190610886, -0.3378494083881378, -0.6159555315971375, -0.15689069032669067, -0.12377206981182098, 0.34143945574760437, 0.36512425541877747, 0.014379548840224743, -0.04767381772398949, -0.14581574499607086, -0.0064161098562181, -0.07777781784534454, -0.3079114556312561, 0.5912577509880066, 0.21335674822330475, -0.8896492719650269, 0.52616947889328, -0.1430458426475525, 0.5586649179458618, -0.5522607564926147, 0.25138524174690247, -0.3289025127887726, 0.6202155351638794, -0.05872006714344025, -0.1408059298992157, 0.3992050290107727, -0.17596064507961273, -0.4454220235347748, 0.20501258969306946, 0.6513375639915466, -0.559533953666687, -0.690040647983551, 0.4025748670101166, 0.42163944244384766, 0.2348690927028656, -0.4321954548358917, -0.5836889743804932, 0.347574919462204, -0.023716242983937263, -0.3569931983947754, 0.49181124567985535, 0.2562572956085205, -0.21618333458900452, 0.9926441311836243, 0.457821249961853, 0.07851006835699081, 0.24152155220508575, 0.26351654529571533, 0.8248005509376526, -0.7373806834220886, -0.6773127317428589, -1.113084077835083, 0.013118582777678967, -0.1446092426776886, -0.029331045225262642, 0.7374072074890137, 0.5801982879638672, 0.5501663684844971, -0.23861470818519592, 0.8623232245445251, 0.30937057733535767, 0.5253099799156189, -0.442859411239624, 0.5763295292854309, -0.5712148547172546, 0.055365968495607376, -0.14129148423671722, -1.0897271633148193, -0.5300806760787964, 0.6791796684265137, -0.14968439936637878, 0.2158893644809723, 0.8818736672401428, 0.8032941818237305, -0.22626610100269318, -0.09652620553970337, 0.4146644175052643, 0.20335210859775543, 0.15471799671649933, 0.828140377998352, 0.3762136995792389, -0.19563888013362885, 0.12018902599811554, -0.16989994049072266, -0.27782848477363586, -0.031645823270082474, -0.7832509875297546, -1.1420871019363403, -0.32851147651672363, -0.7176747918128967, 0.04640353098511696, 0.03537096083164215, 0.5240746736526489, 0.967193067073822, -1.086739420890808, -0.5000224709510803, -0.21700797975063324, -0.052121903747320175, -0.44757723808288574, -0.18251709640026093, 0.6371164917945862, -0.7210963368415833, -1.1007293462753296, 0.3771107792854309, 0.5473876595497131, -0.28179556131362915, -0.43735140562057495, 0.020850805565714836, -0.3336145877838135, 0.04642442613840103, 0.6853097677230835, 0.0753883644938469, -1.0631023645401, -0.1821981519460678, -0.09612435102462769, -0.1876552850008011, 0.06197460740804672, 0.8496384620666504, -0.8236179947853088, 0.30586326122283936, 0.28518107533454895, 1.1415239572525024, 0.9674986600875854, 0.021250931546092033, 0.5402818918228149, -0.6418246626853943, 0.43099603056907654, -0.006774252280592918, 0.2670817971229553, 0.17780563235282898, -0.4605827331542969, 0.6558769345283508, 0.485939085483551, -0.6263195872306824, -0.6661098003387451, 0.09407927095890045, -1.5454727411270142, -0.0337916761636734, 1.1691107749938965, -0.06383710354566574, -0.7325634956359863, 0.12491049617528915, -0.013865546323359013, 0.3248597979545593, -0.33939769864082336, 0.7863774299621582, 0.7033061385154724, -0.2450399249792099, -0.5290322303771973, -0.5719400644302368, 0.058676306158304214, 0.8079326152801514, -0.8072364926338196, 0.4441983997821808, 0.18312881886959076, -0.1546170860528946, 0.10890600085258484, 0.5212785601615906, 0.05986250191926956, 0.08630803972482681, 0.04672614857554436, 0.24871517717838287, 0.12860023975372314, -0.41813820600509644, -0.13622932136058807, 0.17092984914779663, -0.33361926674842834, -0.5080472230911255 ]
http://arxiv.org/abs/2403.08053v1
http://arxiv.org/pdf/2403.08053v1
Generating Clarification Questions for Disambiguating Contracts
2024-03-12T19:57:39
2024-03-12T19:57:39
Anmol Singhal, Chirag Jain, Preethu Rose Anish, Arkajyoti Chakraborty, Smita Ghaisas
cs.CL
cs.CL
Enterprises frequently enter into commercial contracts that can serve as vital sources of project-specific requirements. Contractual clauses are obligatory, and the requirements derived from contracts can detail the downstream implementation activities that non-legal stakeholders, including requirement analysts, engineers, and delivery personnel, need to conduct. However, comprehending contracts is cognitively demanding and error-prone for such stakeholders due to the extensive use of Legalese and the inherent complexity of contract language. Furthermore, contracts often contain ambiguously worded clauses to ensure comprehensive coverage. In contrast, non-legal stakeholders require a detailed and unambiguous comprehension of contractual clauses to craft actionable requirements. In this work, we introduce a novel legal NLP task that involves generating clarification questions for contracts. These questions aim to identify contract ambiguities on a document level, thereby assisting non-legal stakeholders in obtaining the necessary details for eliciting requirements. This task is challenged by three core issues: (1) data availability, (2) the length and unstructured nature of contracts, and (3) the complexity of legal text. To address these issues, we propose ConRAP, a retrieval-augmented prompting framework for generating clarification questions to disambiguate contractual text. Experiments conducted on contracts sourced from the publicly available CUAD dataset show that ConRAP with ChatGPT can detect ambiguities with an F2 score of 0.87. 70% of the generated clarification questions are deemed useful by human evaluators.
[ -0.5424075126647949, -0.8795916438102722, 0.6571464538574219, 0.1791827529668808, -0.5304875373840332, -0.016880089417099953, 0.03203972801566124, -0.61049884557724, 0.26535600423812866, 0.7876880168914795, -0.5367688536643982, -0.500129759311676, -0.6002960205078125, -0.04611368477344513, -0.2893578112125397, 0.9509172439575195, -0.09671667218208313, -0.6383187174797058, -0.1329413801431656, -0.30138516426086426, -0.6913145184516907, -0.29511985182762146, -0.4411821961402893, -0.33176612854003906, 0.3754797577857971, 0.7893404364585876, 0.884780764579773, 0.13360673189163208, 0.16032855212688446, 0.3059796988964081, -0.2600668668746948, 0.47538378834724426, 0.14102576673030853, 0.30983930826187134, -0.3269655108451843, -0.35469165444374084, -0.0039032294880598783, -0.06481847167015076, 0.14250445365905762, 0.9113803505897522, -0.3043575882911682, 0.5120143890380859, 0.04772193357348442, 0.8287444710731506, -0.7646355032920837, 0.11266869306564331, -0.8842395544052124, -0.06987642496824265, -0.0482136569917202, -0.4165005385875702, -0.3262443244457245, -0.12967173755168915, 0.18910501897335052, -0.8191530108451843, 0.3299895226955414, 0.13179589807987213, 1.3424758911132812, 0.5376340746879578, -0.8010621666908264, -0.9297437071800232, -0.3073536157608032, 0.3086603879928589, -0.3765389919281006, 0.28843507170677185, 0.41353461146354675, 0.13796158134937286, -0.2316889613866806, -0.9255408048629761, -0.43014687299728394, -0.39028021693229675, -0.406858891248703, 0.23474296927452087, -0.33074307441711426, 0.26001086831092834, 0.5327563285827637, 0.11621459573507309, -0.49155497550964355, -0.11661326140165329, -0.5295491814613342, -0.07800740748643875, 0.6706435680389404, -0.18094545602798462, 0.22743795812129974, -0.34717676043510437, -0.20622065663337708, 0.48926839232444763, -0.5097812414169312, 0.26173391938209534, 0.6719011664390564, -0.09585289657115936, -0.06814564764499664, 0.6822589635848999, -0.25042402744293213, 0.5637337565422058, 0.3016119599342346, 0.33417272567749023, 0.29022490978240967, -0.17543067038059235, -0.21961989998817444, 0.19876165688037872, 0.3116515278816223, 0.22498799860477448, 0.2060086578130722, -0.21781419217586517, 0.01731874980032444, -0.19481968879699707, 0.3618384301662445, -0.15675722062587738, -0.057032715529203415, 0.8444080948829651, -0.07388588786125183, 0.21811211109161377, -0.0006158935138955712, -0.48693832755088806, -0.4600871205329895, -0.6792054176330566, 0.07234770059585571, -0.3268742561340332, -0.20167770981788635, 0.36466535925865173, -0.39394131302833557, 0.391074001789093, 0.2763597369194031, -0.8252594470977783, -0.20420238375663757, 0.5584644079208374, 0.4178306758403778, 0.7273810505867004, -0.026323268190026283, -0.5732951760292053, 0.261061429977417, -0.1598074585199356, 0.4359033703804016, -0.26465722918510437, -0.23712009191513062, 0.12420845031738281, -0.24484851956367493, -0.03598661348223686, -0.4794965386390686, 0.3938765227794647, -0.41246217489242554, 0.035144031047821045, -0.03757941722869873, -0.4137038588523865, -0.08689212054014206, 0.577864408493042, -0.5791545510292053, 0.7080934643745422, 0.1455295830965042, -0.8360965251922607, 0.6707838177680969, -0.6588040590286255, -0.24990801513195038, 0.6424767374992371, -0.6517464518547058, -0.5811194181442261, 0.14165782928466797, 0.02788158692419529, 0.16019949316978455, -0.33848288655281067, 0.4631047248840332, 0.17881381511688232, 0.07063725590705872, 0.5059120655059814, -0.002276734448969364, 0.8166311383247375, 0.433229923248291, -0.3911306858062744, -0.010484466329216957, -0.7144787907600403, 0.17128296196460724, -0.2550898790359497, -0.47639578580856323, -0.1795748621225357, -0.18509197235107422, -0.40565067529678345, 0.10830720514059067, 0.48991167545318604, -0.3255068361759186, -0.1534082591533661, -0.3789077401161194, 0.5731167197227478, 0.3089354336261749, 0.6131373047828674, 0.3418748378753662, -0.2154334932565689, 0.7696979641914368, -0.05440421774983406, 0.18800599873065948, -0.01567348837852478, -0.5599406957626343, -0.6448947787284851, -0.17996220290660858, 0.47776731848716736, 0.46372079849243164, -0.9533098340034485, 0.1347438097000122, 0.09612151980400085, -0.438331663608551, -0.8047446608543396, 0.2708102762699127, 0.47220778465270996, 0.3194430470466614, 0.38547465205192566, 0.3825688660144806, -0.673480212688446, -1.0466172695159912, -0.43215128779411316, -0.3552666902542114, -0.0032742831390351057, 0.15286828577518463, 0.5313789248466492, 0.0009056070703081787, 0.8733265399932861, -0.45432940125465393, -0.15800966322422028, -0.3817136883735657, 0.37724897265434265, 0.3436180353164673, 0.34296560287475586, 0.38074374198913574, -1.2334356307983398, -0.48102015256881714, 0.11990521103143692, -0.5041738748550415, -0.08599377423524857, -0.5340116620063782, -0.17630895972251892, -0.0389358326792717, 0.779013991355896, -0.9311825037002563, 0.29508647322654724, 0.06094760075211525, -0.5698712468147278, 0.5556008219718933, -0.631436824798584, -0.0746447965502739, -0.792521059513092, 0.4208410382270813, -0.22148557007312775, -0.32434704899787903, -0.4636969566345215, 0.4085865914821625, 0.030599374324083328, 0.010177381336688995, -0.5874359011650085, 0.0983717143535614, -0.583793044090271, 0.2569315731525421, 0.06553322076797485, 0.4865824580192566, 0.33417725563049316, 0.33102652430534363, -0.23465847969055176, 0.3422453701496124, 0.24850629270076752, -1.0238826274871826, 0.19358313083648682, 0.550818681716919, -0.27244269847869873, 0.6381351351737976, -0.538195013999939, -0.06716299057006836, -0.3301941156387329, -0.07402963191270828, -0.45011475682258606, -0.15140751004219055, 0.3532892167568207, -0.40634992718696594, 0.040378838777542114, -0.6015491485595703, -0.5777175426483154, -0.2774321138858795, 0.06451773643493652, 0.30088332295417786, 0.3255200684070587, -0.20977148413658142, 0.40834641456604004, 0.6002533435821533, 0.22261564433574677, -0.8765118718147278, -0.7918347716331482, 0.11337979137897491, -0.42059728503227234, -0.5623525381088257, 0.17089083790779114, 0.335054486989975, -0.2657873034477234, -0.01421473827213049, -0.222731351852417, -0.20646409690380096, 0.46667706966400146, 0.4669684171676636, -0.1850970834493637, 0.20018038153648376, 0.19236591458320618, 0.20829308032989502, -0.13179557025432587, 0.42843762040138245, -0.10602419078350067, 0.23933956027030945, 0.13652564585208893, -0.29784542322158813, 0.07926961779594421, 0.5422535538673401, 0.37336400151252747, -0.4937264025211334, 0.10495906323194504, 0.22581136226654053, -0.41668379306793213, -0.5641070008277893, -0.4120379090309143, 0.32247427105903625, -0.4901054799556732, 0.017444375902414322, -0.5522997975349426, -0.8037217259407043, 0.5106740593910217, -0.2715682089328766, 0.11371172964572906, 0.29766416549682617, 0.5123394131660461, -0.18917779624462128, 0.33428338170051575, 0.3954389691352844, 0.655206024646759, 0.10838957875967026, -0.24707970023155212, 0.157892107963562, -0.43240106105804443, -0.5919955372810364, -0.6649760603904724, -0.28056150674819946, -0.7810681462287903, -0.200089231133461, 0.3183302581310272, 0.07480891793966293, 0.19612260162830353, 0.5098226070404053, -0.563478946685791, 0.4658757448196411, 0.6240795254707336, 0.13316400349140167, 0.25582221150398254, -0.3652566373348236, -0.3853689730167389, 0.27418872714042664, -0.4229480028152466, -0.6366549730300903, 0.5385861396789551, 0.16576986014842987, 0.2070486694574356, 0.36992204189300537, 0.8131043910980225, 0.3969936966896057, -0.2628158628940582, -0.49433425068855286, 0.4848952293395996, 0.03908277302980423, -0.9872546195983887, -0.3044200539588928, -0.2636058032512665, -1.6207889318466187, 0.2114250659942627, -0.3276787996292114, -0.5453324317932129, 0.48215627670288086, 0.36062175035476685, -0.41838324069976807, -0.21114212274551392, -0.6667594909667969, 1.0001777410507202, -0.07075755298137665, -0.23473772406578064, -0.22626054286956787, -0.8576055765151978, 0.15940912067890167, -0.11342315375804901, 0.3272897005081177, -0.4112273156642914, -0.2528248131275177, 0.2971000373363495, -0.7134829163551331, 0.5116257667541504, -0.47492867708206177, -0.04349745437502861, 0.8826308250427246, 0.03148911893367767, 0.2739284932613373, 0.5143612027168274, -0.20401406288146973, -0.43293070793151855, 0.3581179976463318, -0.4013425409793854, -0.5507717728614807, 0.346439003944397, -0.32673364877700806, -0.5891567468643188, -0.33418717980384827, -0.5523073673248291, -0.340955525636673, 0.19937622547149658, 0.16632142663002014, -0.014802267774939537, 0.1525777131319046, 0.035965610295534134, 0.38447049260139465, -0.2295401692390442, 0.20410092175006866, 0.7016935348510742, 0.10382869094610214, -0.008442875929176807, 0.38817688822746277, 0.3435201048851013, 0.02098936028778553, 0.2001059204339981, -0.09373024851083755, -0.5934805274009705, -0.7658660411834717, -0.27459290623664856, 0.33846113085746765, -0.9127448201179504, -0.327141672372818, -0.3133929371833801, -0.03742232918739319, -0.07063228636980057, -0.26077625155448914, 0.13416558504104614, -0.510357141494751, -0.19895075261592865, -0.35242071747779846, 0.37440216541290283, 0.6236554384231567, 0.11433521658182144, -0.029551008716225624, -0.8016921281814575, 0.4638862907886505, -0.07046988606452942, 0.12781710922718048, -0.6501390337944031, -0.25034600496292114, -0.3415874242782593, -0.017815764993429184, -0.35003551840782166, -1.0610023736953735, 0.1153787150979042, -0.04836625978350639, 0.6022855639457703, -0.0021018506959080696, 0.6171584129333496, 0.6267234683036804, -0.273425817489624, 0.7869740128517151, 0.16573378443717957, -1.066260814666748, 0.6978812217712402, -0.15186992287635803, 0.2835465967655182, 0.9370025396347046, 0.2663498520851135, -0.42621445655822754, -0.8557458519935608, -1.0882266759872437, -1.3282760381698608, 0.38802412152290344, 0.4421500563621521, 0.19440820813179016, -0.16817428171634674, 0.936709463596344, 0.04774231091141701, 0.5246363282203674, -0.4617578387260437, -0.19211852550506592, 0.24850143492221832, -0.07812241464853287, 0.41879740357398987, -0.23236727714538574, -0.1323772817850113, 0.2618686258792877, 0.5928142666816711, 0.08015595376491547, -0.23620757460594177, 0.4469883143901825, -0.3105888068675995, 0.256722092628479, 0.6896704435348511, 0.43947094678878784, 1.0144100189208984, -0.055744100362062454, 0.3999353349208832, 0.1593024879693985, -0.251230925321579, 0.22963795065879822, 0.09118203818798065, -0.39260733127593994, 0.5949432849884033, 0.03245003521442413, 0.4234223961830139, -0.11063957214355469, -0.73003751039505, 0.40183576941490173, 0.23576833307743073, -0.7122512459754944, -0.7182547450065613, -0.19110020995140076, 0.07432933151721954, 0.34927916526794434, 0.17945747077465057, -0.1706743836402893, 0.14816083014011383, -0.18226248025894165, 0.4853326678276062, 0.35566315054893494, -0.1890944093465805, 0.20123150944709778, 0.6699544191360474, 0.27610403299331665, 0.01658954657614231, 0.5418499708175659, -0.37168529629707336, -0.07821665704250336, 0.6643667221069336, 0.05770313739776611, 0.5758827924728394, 0.3723721504211426, 0.4249151945114136, 0.3274027407169342, 0.49019166827201843, 0.17243294417858124, 0.540867269039154, -0.09006182849407196, -0.2860942482948303, -0.585788369178772, -0.11165038496255875, -0.5397660136222839, 0.1032184585928917, -0.7292457222938538, 0.5866678357124329, -0.5525060892105103, -0.36072516441345215, 0.17064404487609863, 0.007268156390637159, -0.7023279666900635, 0.27202022075653076, -0.04190686345100403, 0.882659912109375, -0.5244578719139099, 0.6931880116462708, 0.8627444505691528, -1.0476055145263672, -0.89680415391922, -0.0841417908668518, -0.42059436440467834, -0.4198239743709564, 0.4614669978618622, -0.039546649903059006, 0.061455804854631424, -0.11186748743057251, -0.5603437423706055, -0.2680738568305969, 1.1801259517669678, 0.8010507225990295, -0.5533552169799805, -0.35801735520362854, 0.7019047737121582, 0.5307229161262512, 0.22376881539821625, 0.04549538716673851, 0.508822500705719, 0.6070055961608887, 0.02192314900457859, -0.6751476526260376, 0.38139504194259644, -0.16672897338867188, -0.47132039070129395, 0.3313150107860565, -0.31001248955726624, 0.4094301760196686, -0.08904697746038437, -0.3256385028362274, -0.146962970495224, 0.45992207527160645, 0.3724766969680786, 0.731195330619812, 0.5563777089118958, 0.27041512727737427, 1.0564422607421875, -0.010528981685638428, 0.8473004698753357, -0.44520071148872375, 0.17676688730716705, 1.241776466369629, 0.16767293214797974, 0.5682544112205505, 1.0192508697509766, 0.03663088008761406, 0.4008549153804779, 0.5816984176635742, -0.052306316792964935, -0.043682996183633804, 0.8128407001495361, -0.0010254575172439218, -0.3586141765117645, -0.27587053179740906, -0.25103235244750977, 0.2359894961118698, 0.3707946836948395, -0.2293241024017334, -0.36477401852607727, -0.21850259602069855, 0.11900535970926285, 0.481357604265213, -0.13091979920864105, 0.7220231294631958, 0.2550636827945709, -0.9711964130401611, 0.397588849067688, 0.2641138732433319, 0.16357500851154327, -0.8155774474143982, -0.11500510573387146, -0.13236762583255768, 0.04476607218384743, -0.5684698820114136, -0.9244934320449829, 0.673014223575592, 0.0893154889345169, -0.028892673552036285, -0.21138505637645721, 0.14864297211170197, -0.512393057346344, -0.07982181757688522, 0.1563611924648285, 0.38505131006240845, 0.330098420381546, -0.20253853499889374, -1.132830262184143, -0.27885010838508606, 0.1556432843208313, 0.11743537336587906, -0.07579193264245987, 1.0434396266937256, -0.10046730190515518, 0.5507062077522278, 0.39510974287986755, 0.02255486324429512, 0.2989896237850189, -0.013553779572248459, 0.6766009330749512, -0.34729674458503723, -0.5614646673202515, -0.5788392424583435, 1.0375334024429321, -0.09243758022785187, -0.4634137749671936, 0.7194088101387024, 0.6816457509994507, 0.6215486526489258, -0.07167308777570724, 0.6626189947128296, -0.2917008697986603, 0.31066465377807617, -0.8358342051506042, 0.3519459366798401, -0.47035786509513855, 0.5809850096702576, 0.031955353915691376, -0.5180125832557678, -0.4076799750328064, 0.2086932212114334, -0.07945648580789566, -0.3763306438922882, 0.7616957426071167, 0.4983169436454773, -0.03863950073719025, -0.2524709403514862, 0.1279321163892746, -0.138240247964859, 0.38763415813446045, 0.530003547668457, 0.7739166617393494, -0.5135085582733154, 1.1094778776168823, -0.09673354774713516, 0.16145378351211548, -0.13919873535633087, -0.895833432674408, -0.5682109594345093, -0.767859935760498, -0.9728778600692749, -0.6706451177597046, -0.10736209899187088, 0.8797667026519775, 0.36524540185928345, -0.6158269643783569, -0.1384565681219101, -0.3879212439060211, 0.35517263412475586, -0.08568423241376877, -0.15601341426372528, 0.2772178053855896, -0.8540394306182861, -0.5446560382843018, 0.1319684386253357, -0.038645654916763306, 0.038914140313863754, 0.06624608486890793, -0.125733882188797, -0.5223366022109985, 0.2902023494243622, -0.01668466627597809, 0.42493653297424316, -0.5337684750556946, -0.18383467197418213, -0.5620079040527344, 0.004436205606907606, -0.19869978725910187, 1.0093536376953125, -0.18319156765937805, 0.3886162042617798, 0.464068740606308, 0.5772523283958435, 0.6375494599342346, 0.12249460816383362, 0.4260607063770294, -1.2489666938781738, 0.3108800947666168, 0.3039426803588867, 0.44039011001586914, 0.09176160395145416, -0.5680965781211853, 0.618556797504425, -0.2052428424358368, -0.5128865838050842, -0.552740752696991, 0.49279168248176575, -1.0480403900146484, -0.411737859249115, 1.0505419969558716, -0.1566932201385498, -0.07696250081062317, -0.8224183320999146, -0.43090131878852844, 0.20553508400917053, -0.28350403904914856, 0.5998166799545288, 0.5336484909057617, -0.0030159284360706806, -0.027450839057564735, -0.6759741306304932, 0.7629187703132629, 0.4398294687271118, -0.5777314901351929, 0.1272251456975937, 0.5697953701019287, 0.013712973333895206, 0.31953904032707214, 0.5741581916809082, -0.05840504169464111, 0.36633849143981934, -0.005367306526750326, -0.03897138312458992, -0.20843838155269623, 0.19254636764526367, 0.10678114742040634, 0.550652801990509, 0.5083245038986206, -0.4962329864501953 ]
http://arxiv.org/abs/2403.08046v1
http://arxiv.org/pdf/2403.08046v1
Big City Bias: Evaluating the Impact of Metropolitan Size on Computational Job Market Abilities of Language Models
2024-03-12T19:40:18
2024-03-12T19:40:18
Charlie Campanella, Rob van der Goot
cs.CL
cs.CL, I.2.7
Large language models (LLMs) have emerged as a useful technology for job matching, for both candidates and employers. Job matching is often based on a particular geographic location, such as a city or region. However, LLMs have known biases, commonly derived from their training data. In this work, we aim to quantify the metropolitan size bias encoded within large language models, evaluating zero-shot salary, employer presence, and commute duration predictions in 384 of the United States' metropolitan regions. Across all benchmarks, we observe negative correlations between the metropolitan size and the performance of the LLMS, indicating that smaller regions are indeed underrepresented. More concretely, the smallest 10 metropolitan regions show upwards of 300% worse benchmark performance than the largest 10.
[ -0.5299028158187866, -0.5576282143592834, 1.0704816579818726, 0.07113688439130783, 0.14903967082500458, -0.19687463343143463, -0.23559696972370148, -0.7191739678382874, 0.4165383577346802, 0.4311651587486267, -0.3653465807437897, -0.33211907744407654, -0.5830575227737427, 0.019373632967472076, -0.4009879529476166, 0.3901863396167755, 0.37466374039649963, 0.38438454270362854, -0.280337929725647, 0.17896313965320587, -0.6101387739181519, -0.6261704564094543, -0.41308996081352234, -0.5254101157188416, 0.26423224806785583, 0.4902411103248596, 0.8623441457748413, 0.9483591318130493, 0.39886173605918884, 0.2567276060581207, -0.021149294450879097, -0.4062090218067169, -0.4462369978427887, -0.14602136611938477, -0.21182017028331757, -0.6412858366966248, -0.29958099126815796, 0.13154691457748413, 0.6051290035247803, 1.1095927953720093, -0.16274285316467285, 0.301478773355484, -0.24649330973625183, 0.5931764841079712, -0.7445512413978577, -0.015814775601029396, -0.8176001310348511, -0.00300524546764791, -0.48386022448539734, -0.10325190424919128, -0.09388434141874313, -0.45735791325569153, 0.16575458645820618, -0.1782330870628357, 0.43170613050460815, 0.27650541067123413, 0.5802294015884399, 0.31942713260650635, -0.6827149987220764, -0.11262685805559158, -0.8225328326225281, 0.9964838624000549, -0.5035431385040283, 0.35284149646759033, 0.60918128490448, 0.5698323249816895, -0.10632912814617157, 0.034226033836603165, -0.4062725007534027, 0.01961337774991989, -0.12410762906074524, -0.04825025796890259, -0.16643178462982178, 0.09068363904953003, 0.5695690512657166, 0.44755542278289795, -0.4590455889701843, 0.5687425136566162, -0.5885322093963623, 0.1316661238670349, 0.5459190607070923, 0.5196735858917236, 0.04403838515281677, 0.18734101951122284, 0.1341356337070465, 0.04225078225135803, -0.8933469653129578, -0.18682317435741425, 0.43134257197380066, 0.24965590238571167, -0.08514586836099625, 0.5870608687400818, -0.32309797406196594, 0.6145327091217041, -0.01816128008067608, -0.22474601864814758, 0.20894800126552582, -0.2882029414176941, -0.37837398052215576, 0.08488421142101288, 0.7559508681297302, 0.375645250082016, 0.30406954884529114, -0.12928271293640137, -0.16701966524124146, -0.19918031990528107, 0.2603675425052643, -0.6439518928527832, 0.16993001103401184, 0.2291211485862732, -0.35384929180145264, 0.04889388382434845, -0.2240218073129654, -0.8596011400222778, -0.7922831177711487, -0.25989457964897156, -0.13887295126914978, 0.3716863989830017, 0.08564929664134979, 0.06768789887428284, -0.3465891480445862, 0.2930614948272705, 0.18974773585796356, -1.0757615566253662, 0.1125808134675026, 0.6241661310195923, 0.7473494410514832, 0.07126971334218979, -0.4006866216659546, -0.1275390386581421, 0.08984425663948059, -0.5525557994842529, 0.7508947253227234, -0.6175214052200317, -0.34115612506866455, 0.14959187805652618, -0.2444143146276474, -0.09254691004753113, -0.9880449175834656, 0.3085760474205017, -0.3576616048812866, -0.19759774208068848, -0.4043734669685364, -0.06808219105005264, 0.1458565592765808, 0.288492351770401, -0.6079253554344177, 0.884452223777771, 0.24402564764022827, -0.6546766757965088, 0.5763474106788635, -0.6458103060722351, -0.3690859377384186, -0.23444700241088867, -0.3200288414955139, -0.29591137170791626, 0.3614617586135864, 0.38690322637557983, 0.3409980237483978, -0.5853770971298218, 0.18105104565620422, -0.6781333684921265, -0.6558425426483154, 0.42903590202331543, -0.2738996148109436, 0.787472665309906, 0.13738366961479187, -0.3398769497871399, -0.24045152962207794, -0.6094465851783752, -0.44407519698143005, 0.05569285526871681, -0.21024952828884125, -0.4253728985786438, -0.018063917756080627, -0.322343111038208, 0.3787482678890228, 0.18841233849525452, -0.9745870232582092, 0.19943134486675262, -0.5453972816467285, 0.2484857439994812, 0.5797474384307861, -0.20896080136299133, 0.8808499574661255, -0.300902783870697, 0.7485352158546448, 0.0519537553191185, 0.08195409178733826, 0.30322128534317017, -0.11398191004991531, -0.544572114944458, -0.2516930103302002, 0.03718893975019455, 0.3012211322784424, -0.7188811302185059, -0.01339240837842226, -0.5503025650978088, -0.6807782649993896, -0.35091432929039, -0.18244725465774536, -0.16162793338298798, 0.12431512027978897, 0.02793407440185547, 0.07023709267377853, -0.8653755784034729, -1.2832181453704834, -0.26630958914756775, 0.3685738742351532, -0.35131320357322693, 0.2757662534713745, 0.6255540251731873, -0.2400779277086258, 1.157573938369751, -0.6344727277755737, -0.42071640491485596, -0.1898423284292221, -0.47904691100120544, 0.6653181910514832, 0.13667377829551697, 0.7555252909660339, -0.1002863347530365, -0.5344362258911133, -0.28428685665130615, -0.37276723980903625, -0.3912096917629242, 0.15003003180027008, -0.034887298941612244, -0.03090541623532772, 0.5285205841064453, -0.5837985873222351, 0.4180680215358734, 1.012363076210022, -0.3612053692340851, 0.7794749140739441, -0.07631043344736099, -0.042809560894966125, -0.8414621949195862, 0.09685327857732773, 0.4150528609752655, -0.18210646510124207, -0.487919420003891, -0.33096691966056824, -0.3961304724216461, -0.3843216300010681, -0.14730843901634216, 0.6595538258552551, -0.5018804669380188, -0.7725666165351868, -0.35914885997772217, 0.27873295545578003, -0.20227406919002533, 0.12638019025325775, 0.14795473217964172, 0.8281297087669373, 0.33559849858283997, -0.32170483469963074, 0.08109981566667557, -0.007020412012934685, -0.8317127227783203, 0.5262335538864136, -0.5661396980285645, -0.06592495739459991, -0.1523473709821701, 0.7866058349609375, -0.6779443621635437, -0.09290524572134018, -0.3930280804634094, -0.10457140952348709, -0.304573655128479, -0.18872636556625366, -0.7540448904037476, -0.6363571882247925, -0.17275667190551758, 0.49566027522087097, 0.2616283893585205, -0.39443206787109375, 0.09751194715499878, 0.6005089282989502, -0.1504511684179306, -0.48030030727386475, -1.2426222562789917, 0.1505700647830963, -0.17447660863399506, -0.3444378077983856, -0.013349350541830063, 0.02056601457297802, -0.5858845114707947, -0.42852792143821716, 0.3323533236980438, -0.5414390563964844, 0.1393931359052658, 0.3741726875305176, 0.1785326600074768, 0.089240163564682, -0.27507609128952026, -0.308437317609787, -0.10995815694332123, 0.24788694083690643, -0.11769431829452515, 0.5483530759811401, 0.37010329961776733, -0.31729114055633545, -0.08230981230735779, 0.18315304815769196, 0.8865430355072021, 0.03913555666804314, 0.9261180758476257, 0.4681333601474762, -0.22875072062015533, -0.1437501609325409, -0.5024408102035522, -0.21248368918895721, -0.45081475377082825, 0.3748965859413147, -0.1057438775897026, -1.0171239376068115, 0.5163145065307617, 0.22553130984306335, -0.010023160837590694, 0.44916975498199463, 0.7267194390296936, 0.18731389939785004, 1.0136817693710327, 0.5615086555480957, -0.2853988707065582, 0.4819343090057373, -0.05471616983413696, 0.40563732385635376, -0.7104502320289612, 0.05496518686413765, -0.8810951113700867, -0.5941484570503235, -0.6699930429458618, -0.4861415922641754, 0.5160061717033386, -0.28870663046836853, -0.5002641677856445, 0.12578535079956055, -0.3697896897792816, 0.6828349828720093, 0.8637572526931763, -0.35328152775764465, 0.06190633401274681, 0.07160180062055588, -0.00042941764695569873, -0.16541986167430878, -0.7952644228935242, -0.186958447098732, 1.2266688346862793, 0.5996513962745667, 0.4965057373046875, 0.2597173750400543, 0.28498539328575134, 0.1407446712255478, 0.18985262513160706, -0.6348608136177063, 0.32833126187324524, -0.2223931849002838, -0.9257319569587708, -0.21791663765907288, -0.5420967936515808, -1.1194145679473877, 0.2684333622455597, -0.4595244824886322, -0.9510458707809448, 0.44473177194595337, -0.1055789366364479, -0.31251874566078186, 0.2765938937664032, -0.5106400847434998, 0.5640634894371033, 0.09563054889440536, -0.005108899436891079, -0.3196076452732086, 0.007309585344046354, 0.3956843316555023, -0.40343719720840454, 0.7511007785797119, -0.255534291267395, 0.1460782289505005, 0.47611746191978455, -0.4467580020427704, 0.8154255151748657, -0.17540350556373596, -0.04500724375247955, -0.062334585934877396, 0.11244646459817886, 0.4949921667575836, -0.33602413535118103, -0.5621635913848877, 0.8187904953956604, 0.2187356799840927, -0.5538961887359619, -0.24447710812091827, 0.8180794715881348, -0.7779677510261536, -0.22827047109603882, -0.3321642577648163, -0.8528643250465393, -0.42023077607154846, 0.2505408823490143, 0.32085344195365906, 0.47785302996635437, 0.009886919520795345, 0.21920576691627502, 0.215217724442482, -0.3274466395378113, 0.4309792220592499, 0.6954800486564636, -0.41104748845100403, -0.3111495077610016, 0.44728702306747437, 0.4413158595561981, -0.05145011842250824, 0.12511663138866425, 0.252191960811615, -0.3690611720085144, -0.5453671216964722, -0.08211236447095871, 0.20501254498958588, -0.3761313855648041, -0.04892214760184288, -0.2191815972328186, -0.03195079416036606, -0.48771706223487854, -0.44777119159698486, -0.5058289766311646, -0.059779755771160126, 0.16946639120578766, 0.09969216585159302, -0.33334118127822876, 1.164136290550232, -0.00134859059471637, 0.4582672119140625, -0.4122973680496216, -0.1855681836605072, 0.08246563374996185, 0.60844886302948, 0.1440756916999817, -0.34331944584846497, -0.9855439066886902, 0.2520096004009247, -0.1536387950181961, -0.4512314200401306, 0.3589235544204712, -0.41843754053115845, 0.46820926666259766, 0.3033615052700043, -0.09044835716485977, 0.6209642291069031, -0.5063093900680542, 0.9451490044593811, 0.2630730867385864, -0.5612422823905945, 0.21516157686710358, -0.6882572770118713, 0.8544617295265198, 0.47013550996780396, 0.20699453353881836, -0.44955766201019287, -0.47661319375038147, -0.4632994532585144, -0.3744524121284485, 0.6511699557304382, 0.06559150665998459, 0.055176880210638046, -0.3146519958972931, 0.3161503076553345, -0.11860089749097824, 0.34439530968666077, -0.6748670339584351, -0.45733729004859924, 0.3673335313796997, 0.023383205756545067, -0.2669790983200073, -0.5929548144340515, 0.0003699050866998732, -0.2532055974006653, 0.3671817183494568, 0.13564583659172058, 0.43945860862731934, 0.05483388900756836, 0.14727506041526794, -0.19748638570308685, 0.3372078239917755, 0.8654555678367615, 0.9139545559883118, -0.13746561110019684, 0.2230413556098938, 0.48218005895614624, -0.36615437269210815, -0.06735065579414368, -0.16369420289993286, -0.19475358724594116, 0.1574738472700119, 0.4478978216648102, 0.4155852794647217, -0.022527744993567467, -0.7840424180030823, 0.6697960495948792, 0.030729109421372414, -0.3968379497528076, -0.6709462404251099, -0.22563695907592773, -0.037526294589042664, 0.4404064118862152, 0.5347760915756226, -0.12005190551280975, 0.1537606418132782, -0.6995028257369995, -0.34156298637390137, 0.5321646332740784, -0.5831395983695984, -0.10003958642482758, 0.5127609968185425, 0.18423232436180115, 0.10391610115766525, 0.5202479362487793, -0.11617793142795563, -0.6009126901626587, 0.7137818932533264, 0.5163429975509644, 0.6621384620666504, 0.01217644102871418, -0.3703591823577881, 0.4964657425880432, 0.5125497579574585, -0.15148916840553284, -0.255672812461853, 0.4669477343559265, -0.7598927617073059, -0.658425509929657, -0.5872278809547424, -0.22668489813804626, 0.1871054768562317, -0.28754130005836487, 0.22820116579532623, -0.5776503682136536, -0.41619452834129333, -0.1567135602235794, 0.08730234950780869, -0.8879644274711609, 0.26735538244247437, 0.45072123408317566, 0.7989648580551147, -0.8905502557754517, 0.8005598187446594, 0.8323560357093811, 0.025702042505145073, -0.5741857290267944, 0.11529722809791565, 0.2518492043018341, -0.7134985327720642, 0.7086520195007324, 0.13781897723674774, 0.14124435186386108, -0.3768225312232971, -0.3379337787628174, -1.117111086845398, 1.105699062347412, 0.5575041174888611, -0.8236668705940247, 0.014767252840101719, 0.6933541297912598, 0.5255077481269836, -0.48189371824264526, 0.6439759731292725, 0.7343986630439758, 0.25539013743400574, -0.14067983627319336, -1.4654426574707031, -0.15692280232906342, 0.41661229729652405, 0.13588888943195343, 0.17869466543197632, -0.5706437826156616, 0.7373737692832947, 0.12951089441776276, -0.04588602855801582, -0.32645556330680847, 0.04434036836028099, 0.09156065434217453, 0.2661624848842621, 0.36795103549957275, 0.7370895147323608, 0.6284966468811035, -0.1082206442952156, 1.1889102458953857, -0.4861961007118225, 0.5165595412254333, 1.018511414527893, -0.19961915910243988, 0.7842051386833191, 0.22464007139205933, -0.3271034359931946, 0.6214839816093445, 0.43870729207992554, -0.05823339521884918, 0.23954807221889496, 0.40787577629089355, 0.04219433292746544, -0.1524008810520172, -0.34835758805274963, -0.08561652898788452, 0.6320647597312927, 0.08808492869138718, -0.19177256524562836, -0.36191245913505554, -0.06188305839896202, 0.05214031785726547, 0.09127988666296005, -0.6598412394523621, 0.4771307706832886, 0.09969253838062286, -0.4741807281970978, 0.3347083032131195, 0.0503292977809906, 0.6893181204795837, -0.28012147545814514, 0.17167335748672485, -0.3439136743545532, 0.23780222237110138, -0.33204150199890137, -0.8880753517150879, 0.6299259066581726, -0.12563493847846985, -0.538428544998169, -0.11151925474405289, 0.5038273930549622, -0.3491542637348175, -0.23714235424995422, 0.24807719886302948, 0.24147620797157288, 0.23658041656017303, -0.43055033683776855, -0.5995079874992371, 0.328379362821579, -0.07527337223291397, -0.026865212246775627, 0.6197364926338196, 0.27654746174812317, 0.14063940942287445, 0.8343300223350525, 0.6133442521095276, 0.2156955599784851, -0.22868044674396515, 0.08531288057565689, 0.2838280200958252, -0.6802389025688171, -0.6040300726890564, -0.9769599437713623, 0.09558090567588806, -0.1480800062417984, 0.0520600900053978, 0.9385607242584229, 0.7253202795982361, 0.5034080147743225, 0.07808699458837509, 0.7558527588844299, 0.14211581647396088, 0.7652478814125061, -0.2312309592962265, 0.4203612804412842, -0.366056889295578, 0.4708647131919861, -0.11224471032619476, -1.3421181440353394, -0.0628657341003418, 0.42741256952285767, -1.1182612180709839, 0.29760614037513733, 0.748818039894104, 0.791317343711853, -0.08702386170625687, -0.4166507124900818, 0.6524184346199036, 0.3083430528640747, 0.13233694434165955, 0.4512043595314026, 0.577655017375946, -0.10069228708744049, 0.4192507565021515, -0.2521648108959198, -0.03261234983801842, -0.5433750152587891, -0.6987498998641968, -0.916184663772583, -0.1562272310256958, -0.1154894158244133, -0.4327087700366974, -0.3466509282588959, 0.6183347105979919, 0.8874789476394653, -0.4270778298377991, -0.5364931225776672, 0.18557485938072205, 0.07680574804544449, 0.16516904532909393, -0.2875523865222931, 0.020184215158224106, 0.17190611362457275, -0.7195141315460205, 0.4117293953895569, 0.25415298342704773, -0.020679138600826263, -0.6122981309890747, 0.22655877470970154, 0.05447281524538994, 0.2717801034450531, 0.6735667586326599, -0.028080688789486885, -0.4352046549320221, -0.3457416296005249, -0.17223230004310608, -0.5956381559371948, -0.14148400723934174, 0.769787073135376, -0.5294669270515442, 0.1937538981437683, 0.22019170224666595, 0.3055422604084015, 0.44680893421173096, 0.03561745211482048, 0.7844956517219543, -0.7861610054969788, 0.26978302001953125, -0.2415437400341034, 0.3997122049331665, 0.2821734547615051, -0.1627514511346817, 0.5293292999267578, 0.1539476066827774, -0.9917342066764832, -0.45945361256599426, 0.0859978124499321, -0.5669922828674316, -0.511624276638031, 1.414903163909912, 0.4805727005004883, -0.16584253311157227, -0.24932318925857544, 0.13137651979923248, -0.31354498863220215, -0.31664639711380005, 0.7884202599525452, 0.6355375051498413, 0.20547984540462494, -0.07266806811094284, -1.2163456678390503, 0.12706413865089417, 0.15630388259887695, -0.4021162688732147, 0.1847200244665146, 0.8775417804718018, 0.4003848433494568, 0.04139799624681473, 0.805290162563324, 0.2715170979499817, 0.15332689881324768, 0.3018617630004883, 0.26394137740135193, 0.10507336258888245, 0.1156994178891182, -0.49263617396354675, -0.0005079437396489084, 0.45323657989501953, 0.1136162057518959 ]
http://arxiv.org/abs/2403.08043v1
http://arxiv.org/pdf/2403.08043v1
Authorship Style Transfer with Policy Optimization
2024-03-12T19:34:54
2024-03-12T19:34:54
Shuai Liu, Shantanu Agarwal, Jonathan May
cs.CL
cs.CL
Authorship style transfer aims to rewrite a given text into a specified target while preserving the original meaning in the source. Existing approaches rely on the availability of a large number of target style exemplars for model training. However, these overlook cases where a limited number of target style examples are available. The development of parameter-efficient transfer learning techniques and policy optimization (PO) approaches suggest lightweight PO is a feasible approach to low-resource style transfer. In this work, we propose a simple two step tune-and-optimize technique for low-resource textual style transfer. We apply our technique to authorship transfer as well as a larger-data native language style task and in both cases find it outperforms state-of-the-art baseline models.
[ 0.017875492572784424, -0.5604320168495178, 0.5696821808815002, 0.10941627621650696, -0.22836044430732727, -0.10289780795574188, -0.6036409139633179, -0.33682358264923096, 0.3547917604446411, 0.8651559948921204, -0.724510133266449, 0.021334266290068626, -0.5578176975250244, 0.21346883475780487, 0.016373157501220703, 1.305319905281067, -0.143084317445755, -0.45703864097595215, -0.11497456580400467, 0.09616082906723022, -0.367963045835495, 0.11753097921609879, -0.9679204821586609, -0.24495068192481995, 0.46214357018470764, 0.8183770179748535, 0.6450104117393494, 0.7015179991722107, 0.682885468006134, 0.19380739331245422, -0.00918587762862444, 0.217218279838562, -0.8234109878540039, -0.05178514122962952, -0.3524284064769745, -0.2739236056804657, -0.6542578935623169, 0.056499287486076355, 0.4618337154388428, 0.5594326257705688, -0.011659876443445683, 0.42161640524864197, 0.12293734401464462, 0.6838548183441162, -1.0878260135650635, -0.03629916533827782, -0.6256804466247559, -0.13952629268169403, -0.08795256912708282, -0.4042556583881378, -0.7449246048927307, -0.6898470520973206, 0.1998298317193985, -0.9441447257995605, 0.011509411036968231, 0.16194559633731842, 0.5371480584144592, -0.04487396776676178, -0.3954637348651886, -0.1666387915611267, -0.7042929530143738, 1.1249933242797852, -0.5302674174308777, -0.1757446527481079, 0.4187507629394531, 0.09918385744094849, 0.2525424063205719, -0.6201736330986023, -0.5554190874099731, -0.19895337522029877, -0.2922036945819855, -0.029478326439857483, -0.0012060279259458184, -0.08420848846435547, 0.03224373981356621, 0.09873861074447632, -0.4442150890827179, 0.12070387601852417, -0.4654361605644226, -0.16014185547828674, 0.9616973400115967, -0.14043080806732178, 0.12344593554735184, -0.2020357847213745, -0.5480150580406189, -0.2903232276439667, -0.43341168761253357, 0.28742074966430664, 0.45492658019065857, 0.541720986366272, -0.12016334384679794, 0.10460267215967178, -0.19200389087200165, 0.5093671679496765, 0.09478511661291122, -0.4921170473098755, 0.006474114488810301, -0.7260279059410095, 0.200443297624588, 0.18287762999534607, 0.7067446112632751, 0.3686184585094452, 0.43782442808151245, -0.24653005599975586, -0.24405743181705475, -0.47074753046035767, 0.39486223459243774, -0.6493326425552368, 0.00812724232673645, -0.43306389451026917, -0.5813275575637817, -0.5567498207092285, 0.06281924247741699, -1.0844806432724, -0.31151798367500305, -0.7387900352478027, 0.6630455255508423, -0.35303109884262085, -0.15668386220932007, 0.0721166729927063, -0.06542740017175674, 0.4450833797454834, 0.507196843624115, -1.1688952445983887, 0.33564212918281555, 0.5843291878700256, 0.8373886942863464, -0.4636615216732025, -0.1615511178970337, -0.864413857460022, 0.28783658146858215, -0.550979495048523, 0.4002053439617157, -0.3874518871307373, -0.37707850337028503, 0.06631885468959808, 0.018620073795318604, -0.20666499435901642, 0.04033161699771881, 0.4884718954563141, -0.14767742156982422, 0.08362817019224167, -0.44579437375068665, -0.1847430169582367, 0.28771713376045227, -0.352436900138855, -0.5345767736434937, 0.9152257442474365, 0.334335595369339, -0.25131332874298096, 0.3926145136356354, -0.6690086722373962, -0.9508577585220337, -0.1531585156917572, 0.44245028495788574, -0.49330681562423706, 0.15653611719608307, 0.12207625806331635, 0.47730642557144165, -0.2426176220178604, -0.08115951716899872, -0.23036201298236847, -0.5710582733154297, -0.07041121274232864, 0.13809669017791748, 0.8298520445823669, 0.5005828142166138, -0.2439841330051422, -0.1308501660823822, -0.6093153357505798, 0.014041697606444359, 0.13848671317100525, -0.26831746101379395, -0.5350607633590698, -0.3376465141773224, 0.3597947061061859, -0.15200397372245789, 0.49852022528648376, -0.5145717859268188, 0.7336026430130005, -0.025736143812537193, 0.4517267346382141, 0.7488541603088379, 0.096822090446949, 0.9977718591690063, -0.5718504190444946, 0.6006371974945068, -1.0972130298614502, 0.2761603593826294, 0.26448774337768555, -0.17870411276817322, -0.35802337527275085, -0.2392992377281189, 0.03897324204444885, 0.7391051054000854, -0.8162570595741272, 0.2949300706386566, -0.39813175797462463, -0.4829331040382385, -0.5478914976119995, 0.46544069051742554, 0.534940779209137, 0.5167863965034485, 0.4292762577533722, -0.1554161161184311, -0.1916314661502838, -0.9071246385574341, -0.7028025388717651, -0.07112821936607361, 0.21020875871181488, 0.12060851603746414, 0.4607822299003601, 0.4368646740913391, 0.727384626865387, -0.6144037842750549, -0.4178190231323242, -0.6149637699127197, 0.4320654273033142, -0.011983778327703476, 0.9152200222015381, 0.9181234836578369, -0.603935718536377, -0.7756624221801758, 0.20329000055789948, -0.4184055030345917, -0.2278888076543808, -0.5216806530952454, -0.5290659666061401, 0.09530040621757507, 0.8683030009269714, -0.15709878504276276, 0.1596505492925644, 0.37406042218208313, -0.2246406227350235, 0.4628552198410034, -0.1395329087972641, 0.3015792667865753, -1.211225152015686, 0.2904197871685028, -0.08722478151321411, -0.17705358564853668, -0.5809826254844666, -0.008135734125971794, -0.004841510206460953, -0.35943472385406494, -0.3599228858947754, 0.6980029344558716, -0.6930622458457947, 0.11945746839046478, -0.1345805674791336, -0.14235837757587433, 0.1500006914138794, 0.6854164600372314, -0.04935261607170105, 0.8268862962722778, 0.4006016254425049, -0.186191588640213, 0.1419903039932251, 0.28212085366249084, -0.32190099358558655, 1.1358256340026855, -0.49774599075317383, 0.6768690943717957, -0.3070259988307953, 0.014835180714726448, -1.054713487625122, 0.01790769398212433, 0.11698087304830551, 0.06300035119056702, 0.8405821323394775, -0.5751582980155945, -0.5025357007980347, 0.11716783791780472, -0.4190695583820343, 0.2675931453704834, 0.753284215927124, -0.22916963696479797, 0.4727628827095032, -0.04684245586395264, -0.4930064380168915, -0.36255499720573425, -0.5507670640945435, 0.033311571925878525, -0.40013405680656433, -0.399778813123703, 0.8843062520027161, 0.25883468985557556, -0.057496052235364914, 0.034394457936286926, -0.041981201618909836, -0.15416771173477173, 0.03127565234899521, -0.4920729994773865, 0.21793869137763977, -0.16470561921596527, -0.21962328255176544, 0.38768768310546875, 0.13499636948108673, -0.204557865858078, -0.08606381714344025, -0.02562102861702442, 0.13035038113594055, 0.11815318465232849, -0.7631884217262268, 0.35020023584365845, 0.6322242617607117, -0.30541229248046875, 0.8328673839569092, 0.7375005483627319, 0.08474137634038925, -0.6291096806526184, -0.3166365325450897, -0.39518630504608154, -0.46842771768569946, 0.2397950440645218, -0.2651980221271515, -0.5069089531898499, 0.03822541981935501, -0.15650473535060883, 0.24240267276763916, 0.2818434536457062, 0.008510289713740349, 0.06320042163133621, 0.29177772998809814, 1.004010796546936, -0.20323793590068817, 0.9988116025924683, -0.28751564025878906, 0.010861532762646675, -0.7335594892501831, 0.01785522699356079, -0.6765400171279907, -0.6373063325881958, -0.5820823311805725, -0.1748291254043579, 0.405750036239624, 0.017027830705046654, -0.12725764513015747, 0.9477761387825012, -0.5720653533935547, 0.5556345582008362, 0.722204864025116, 0.21602582931518555, 0.2516945004463196, 0.12190669029951096, 0.3213372528553009, -0.07795107364654541, -0.47119051218032837, -0.4188268780708313, 1.139616847038269, -0.1345914602279663, 0.9682946801185608, 0.29700514674186707, 0.8893402218818665, 0.4796680808067322, 0.015137013047933578, -0.7213467955589294, 0.5573288202285767, -0.5682101249694824, -0.2393251657485962, -0.7569470405578613, -0.42461201548576355, -0.7886114716529846, 0.09074307233095169, -0.5151191353797913, -0.8153647184371948, 0.5270932912826538, 0.24434097111225128, -0.058922555297613144, 0.2773016095161438, -0.6023523807525635, 0.9286492466926575, -0.0404258668422699, -0.6683034300804138, -0.03243798390030861, -0.7270796298980713, 0.27410954236984253, -0.14842942357063293, 0.14631526172161102, -0.06699388474225998, -0.1641836166381836, 0.9073549509048462, -0.39838290214538574, 0.6678852438926697, -0.11292418837547302, -0.1575690656900406, 0.1514802724123001, 0.29837289452552795, 1.0070818662643433, -0.3355691134929657, -0.2496928721666336, -0.24559734761714935, -0.013673592358827591, -0.49001452326774597, -0.5863420367240906, 0.39453861117362976, -0.6502599120140076, -0.12012019008398056, -0.032709937542676926, -0.4886939823627472, -0.3049205243587494, 0.306162029504776, 0.5871527194976807, 0.3758808672428131, -0.0736483633518219, 0.5348597168922424, 0.4760884940624237, 0.0416056290268898, 0.4241345226764679, 0.3817531168460846, 0.4328540861606598, -0.17094357311725616, 0.9284700155258179, 0.10744594037532806, 0.6190976500511169, 0.5920836329460144, 0.4455879032611847, -0.20917381346225739, -0.4241480529308319, -0.4634372591972351, 0.19393649697303772, -0.4458884596824646, 0.07643081247806549, -0.18738514184951782, 0.15213708579540253, -0.5879319906234741, -0.8760077357292175, -0.42556050419807434, -0.3600241243839264, -0.3173452913761139, 0.45279189944267273, 0.5813692212104797, 0.277940571308136, 0.1331266611814499, 0.6648809313774109, -0.2369799017906189, 0.4036540389060974, 0.3159743845462799, 0.1461285650730133, -0.3392011523246765, -0.8824206590652466, -0.06400496512651443, -0.42895880341529846, -0.19315198063850403, -0.8789079189300537, 0.10464698821306229, 0.660297691822052, 0.40336546301841736, 0.3948304355144501, 0.5941847562789917, 0.36582738161087036, -0.34511905908584595, 0.31521695852279663, 0.09889336675405502, -0.9490858316421509, 0.7355538606643677, -0.4463863968849182, 0.06037326529622078, 1.2073125839233398, 0.22200576961040497, -0.3636380136013031, -0.040896154940128326, -0.3279797434806824, -0.6384941935539246, 0.9191721081733704, 0.280364066362381, 0.2310044765472412, 0.5364512205123901, 0.5851907730102539, 0.2617894411087036, 0.25440648198127747, -0.4328170716762543, 0.03917645663022995, 0.07775585353374481, 0.003479935461655259, -0.109023317694664, -0.0009390974882990122, -0.060879867523908615, -0.06267665326595306, 0.6625685095787048, -0.46106046438217163, 0.14795872569084167, 0.1810045689344406, -0.10329051315784454, -0.08738098293542862, 0.4717416763305664, 0.6336289644241333, 0.6834893822669983, -0.2515571117401123, -0.19164787232875824, 0.008521727286279202, -0.5018048882484436, 0.20724086463451385, -0.011778275482356548, -0.4381330907344818, -0.11898716539144516, 0.6008273363113403, 0.8504369258880615, 0.4021005630493164, -0.15503448247909546, 0.7099881768226624, 0.417156845331192, -0.45339423418045044, -0.06315319240093231, 0.06994994729757309, -0.3141319751739502, -0.09880082309246063, 0.12200488895177841, 0.23462608456611633, 0.2565031349658966, -0.6482621431350708, 0.05846509337425232, 0.39659833908081055, -0.18704526126384735, -0.26927679777145386, 0.7434751391410828, 0.2485255002975464, -0.21781094372272491, 0.2770041227340698, -0.2737807333469391, -0.06530105322599411, 0.5303208231925964, 0.5472520589828491, 0.9026937484741211, -0.06466545909643173, 0.3655696511268616, 0.33702191710472107, 0.5279421210289001, -0.38753601908683777, 0.22929738461971283, -0.18799421191215515, -0.45910823345184326, -0.6842172145843506, -0.6641225218772888, -0.5923491716384888, -0.10917415469884872, -1.0480070114135742, 0.5856009721755981, -0.6658023595809937, 0.05188342183828354, -0.007703959010541439, 0.04239119216799736, -0.5945214629173279, -0.24926133453845978, -0.149680495262146, 0.5146207809448242, -1.1401575803756714, 0.5877479314804077, 0.6837666630744934, -0.283120334148407, -0.7670269012451172, -0.0506371334195137, 0.21058136224746704, -0.8702731728553772, 0.32190051674842834, -0.23319277167320251, -0.37095633149147034, 0.18101619184017181, -0.6660133600234985, -0.9112111926078796, 0.9287640452384949, 0.7317204475402832, -0.4828428030014038, -0.05656177178025246, -0.3866399824619293, 0.3213215172290802, -0.19578352570533752, -0.494935542345047, 0.5509309768676758, 0.5589151382446289, 0.28136390447616577, -1.1201388835906982, 0.3514224886894226, 0.030269034206867218, 0.06012287363409996, 0.3128719627857208, -0.6483954191207886, 0.9173571467399597, -0.19787365198135376, 0.033695634454488754, 0.24929659068584442, 0.5211020708084106, -0.09747422486543655, 0.2116818130016327, 0.5340399146080017, 0.25952669978141785, 0.5016540884971619, 0.130838081240654, 1.131456971168518, -0.115519680082798, 0.31173956394195557, 0.9503248333930969, -0.33568108081817627, 0.769780695438385, 0.5552771687507629, -0.2568269670009613, 0.6185487508773804, 0.09164419025182724, -0.13925689458847046, 0.6397929787635803, 0.21380271017551422, 0.02595170959830284, -0.09839634597301483, -0.37359511852264404, -0.16019240021705627, 0.7071384191513062, -0.35620853304862976, -0.3079884946346283, 0.10955417156219482, 0.04975559189915657, 0.6422555446624756, 0.3395368754863739, -0.4028662145137787, 0.9603039026260376, -0.11269212514162064, -0.8612098097801208, 0.3845230042934418, -0.03705906122922897, 0.7387187480926514, -0.7272858619689941, -0.19006183743476868, -0.216853529214859, -0.02847561426460743, -0.16306167840957642, -0.4408957064151764, 0.10935766994953156, -0.23469416797161102, -0.032656606286764145, -0.9458269476890564, 0.784845232963562, -0.5197280645370483, -0.5501524209976196, -0.11268901824951172, 0.3919506072998047, 0.19353033602237701, 0.008542071096599102, -0.3964219391345978, -0.32313916087150574, -0.16947472095489502, -0.21270982921123505, 0.5740808248519897, 0.4632519781589508, -0.18301260471343994, 0.2852100431919098, 0.7493683099746704, 0.6089797616004944, -0.3993588089942932, -0.21963335573673248, 0.32117390632629395, -0.3381490707397461, -0.8540906310081482, -0.5909085273742676, 0.1305118054151535, -0.12209513038396835, -0.5776507258415222, 0.49623286724090576, 0.2294931262731552, 0.6661292314529419, -0.22094778716564178, 0.6777761578559875, -0.29386964440345764, 0.22859738767147064, -0.8996437191963196, 0.9146994948387146, -0.8419169783592224, -0.1493920236825943, -0.8646935224533081, -1.0894979238510132, 0.12081649899482727, 0.61075758934021, -0.3064539432525635, 0.13035190105438232, 0.7153435945510864, 0.5947787165641785, -0.06381316483020782, -0.26029592752456665, 0.1612403690814972, -0.5226998329162598, -0.13600575923919678, 0.5432314276695251, 0.22356975078582764, -0.0818224772810936, 0.7517136335372925, -0.6827420592308044, -0.3487887680530548, -0.4287518262863159, -1.2546179294586182, -0.47452327609062195, -0.5741683840751648, -0.5333823561668396, -0.12257811427116394, 0.1095651313662529, 0.8838838934898376, 1.0540632009506226, -0.4568639099597931, -0.3133074641227722, 0.08080937713384628, 0.028928598389029503, -0.7636878490447998, -0.28792884945869446, 0.6166898608207703, -0.35335609316825867, -0.8057911992073059, 0.3615010976791382, 0.04313010722398758, -0.18946054577827454, 0.05039257928729057, 0.038672059774398804, -0.03662408888339996, -0.004883888643234968, 0.5551081299781799, 0.3243867754936218, -0.44110214710235596, -0.3005705177783966, -0.08392219990491867, -0.20784297585487366, -0.24106743931770325, 1.1671674251556396, -0.2555772066116333, 0.4063384532928467, 0.569905161857605, 0.7929708361625671, 0.352014422416687, 0.3384312391281128, 0.49497467279434204, -0.9759364128112793, -0.0035004313103854656, 0.16863034665584564, 0.24599935114383698, 0.12324138730764389, -0.6426083445549011, 0.5831198692321777, 0.3676307499408722, -0.402361124753952, -0.5933897495269775, 0.12165509909391403, -1.292215347290039, -0.42592936754226685, 1.228075385093689, -0.01702261157333851, -0.1149943470954895, 0.13541656732559204, -0.3648391366004944, -0.026027394458651543, -0.6210309863090515, 0.4036889672279358, 0.4348822236061096, -0.2926598787307739, -0.23037229478359222, -0.6427857875823975, 0.7922263145446777, 0.4786284565925598, -0.7919295430183411, 0.02230210416018963, 0.2606702148914337, 0.18103912472724915, 0.14096179604530334, 0.8413000106811523, 0.1277281492948532, 0.34494292736053467, -0.021261747926473618, 0.05622568726539612, -0.16314703226089478, -0.5518359541893005, -0.011833610944449902, 0.1219300851225853, -0.010708720423281193, -0.22670035064220428 ]
http://arxiv.org/abs/2403.08035v1
http://arxiv.org/pdf/2403.08035v1
Harnessing Artificial Intelligence to Combat Online Hate: Exploring the Challenges and Opportunities of Large Language Models in Hate Speech Detection
2024-03-12T19:12:28
2024-03-12T19:12:28
Tharindu Kumarage, Amrita Bhattacharjee, Joshua Garland
cs.CL
cs.CL, cs.AI
Large language models (LLMs) excel in many diverse applications beyond language generation, e.g., translation, summarization, and sentiment analysis. One intriguing application is in text classification. This becomes pertinent in the realm of identifying hateful or toxic speech -- a domain fraught with challenges and ethical dilemmas. In our study, we have two objectives: firstly, to offer a literature review revolving around LLMs as classifiers, emphasizing their role in detecting and classifying hateful or toxic content. Subsequently, we explore the efficacy of several LLMs in classifying hate speech: identifying which LLMs excel in this task as well as their underlying attributes and training. Providing insight into the factors that contribute to an LLM proficiency (or lack thereof) in discerning hateful content. By combining a comprehensive literature review with an empirical analysis, our paper strives to shed light on the capabilities and constraints of LLMs in the crucial domain of hate speech detection.
[ -0.3737671375274658, -0.826195478439331, 0.4292435348033905, -0.18979963660240173, -0.012008583173155785, 0.33169102668762207, -0.2890952527523041, -0.8412768244743347, -0.03348764032125473, 0.5333929061889648, -0.356120228767395, -0.4037476181983948, -0.9347973465919495, 0.14280298352241516, -0.7574473023414612, 1.1027576923370361, 0.3130945861339569, 0.24393899738788605, -0.12111826241016388, -0.12048932909965515, 0.02521429769694805, -0.8405173420906067, -0.8447443246841431, -0.3678029179573059, 1.0013833045959473, 0.18363448977470398, 0.52167147397995, 0.5136333703994751, 0.6308179497718811, 0.37368133664131165, -0.17296241223812103, 0.04548534005880356, -0.6437071561813354, 0.2846784293651581, -0.03827337175607681, -0.4499577283859253, -0.045235391706228256, 0.1340693086385727, 0.36469992995262146, 0.26503434777259827, -0.010474668815732002, 0.04578974470496178, -0.0824253186583519, 0.30309540033340454, -0.3963273763656616, -0.31166863441467285, -0.9836764931678772, 0.12130739539861679, -0.3874306082725525, -0.03492046892642975, -0.4184589684009552, -0.5023537278175354, 0.01459494698792696, -0.3233257234096527, -0.029446735978126526, 0.15359275043010712, 0.4433734118938446, 0.35736024379730225, -0.42388981580734253, -0.6963350176811218, -0.9313727021217346, 0.9973704814910889, -0.7597317099571228, 0.3146553635597229, 0.2671772241592407, 0.1718321591615677, 0.0675993338227272, -0.4244537651538849, -0.7179478406906128, -0.36137625575065613, 0.18483516573905945, -0.13703201711177826, -0.29087477922439575, 0.14063400030136108, 0.14377255737781525, 0.343286395072937, -0.4773249626159668, 0.8909414410591125, -0.369827002286911, -0.34407365322113037, 1.0090924501419067, 0.3319399356842041, 0.4975430965423584, -0.011635917238891125, -0.15435849130153656, 0.30561476945877075, -0.4141530394554138, -0.2640792429447174, 0.7022917866706848, 0.37868115305900574, 0.16635528206825256, 0.4365319013595581, 0.2502315640449524, 0.44646772742271423, -0.3069588243961334, -0.42111414670944214, 0.211869016289711, 0.3188367784023285, -0.08714204281568527, 0.21511197090148926, 0.8290913105010986, 0.3247717022895813, 0.5475948452949524, -0.0858687236905098, -0.23432907462120056, 0.4801442325115204, 0.6446420550346375, -0.8623838424682617, 0.10086275637149811, 0.13476336002349854, -0.49009475111961365, -0.6030940413475037, -0.3133574426174164, -0.8163979649543762, -0.9814466238021851, -0.26603421568870544, 0.22890684008598328, -0.12132824957370758, -0.22700141370296478, -0.3111221194267273, -0.22698459029197693, 0.13671265542507172, 0.46070152521133423, -0.6775951385498047, 0.4030243158340454, 0.7686582803726196, 0.7375146150588989, -0.5483302474021912, -0.0623481459915638, -0.3969723880290985, -0.0981762483716011, -0.14251288771629333, 0.4717787206172943, -0.7160768508911133, -0.11222901195287704, 0.38546091318130493, -0.3404729962348938, 0.24141743779182434, -0.7885671257972717, 0.7986950278282166, -0.8372940421104431, -0.024397941306233406, 0.2077651023864746, -0.7140969038009644, -0.34702545404434204, 0.40369880199432373, -0.4468063414096832, 0.7290216684341431, 0.012303035706281662, -0.6882468461990356, 0.011407981626689434, -0.568760097026825, -0.5359790325164795, 0.2652399241924286, -0.0582270585000515, -0.6062932014465332, 0.10188354551792145, -0.3221448063850403, 0.523901641368866, -0.36313000321388245, 0.02062157914042473, -0.5781543254852295, -0.1268002688884735, 0.5213140845298767, -0.28434693813323975, 0.839871883392334, 0.549056887626648, -0.43431416153907776, 0.3502175509929657, -0.6063507199287415, -0.3307217061519623, 0.46662384271621704, -0.23226821422576904, -0.5641894340515137, 0.31609341502189636, 0.4453585147857666, 0.22767728567123413, -0.06635012477636337, -0.7213346362113953, -0.3580704629421234, -0.29821836948394775, 0.4787411093711853, 1.0194984674453735, -0.33928897976875305, 0.05903679504990578, -0.46975797414779663, 0.6972963213920593, -0.10103805363178253, 0.13088572025299072, 0.39171120524406433, -0.5000713467597961, -0.6439566016197205, -0.19622525572776794, -0.06047803908586502, 0.7081473469734192, -0.3434325158596039, 0.30025994777679443, 0.1773618757724762, -0.6865866780281067, -0.31601932644844055, 0.23315969109535217, 0.2817317545413971, 0.3635008931159973, 0.24543321132659912, 0.034064196050167084, -0.8670648336410522, -0.8091512322425842, -0.4032922387123108, -0.24134217202663422, 0.053884610533714294, 0.43097415566444397, 0.42896297574043274, -0.42814645171165466, 0.7045829892158508, -0.18158754706382751, -0.3034352660179138, -0.4076981246471405, 0.09740129858255386, -0.20426513254642487, -0.008376111276447773, 0.6066193580627441, -1.0640066862106323, -0.656893789768219, -0.09295745193958282, -0.6577144265174866, -0.44177940487861633, 0.2047557383775711, 0.15027348697185516, 0.043996211141347885, 0.5444314479827881, -0.12192080169916153, 0.23165954649448395, 0.42803752422332764, -0.16470161080360413, 0.5700453519821167, 0.44140470027923584, 0.21054503321647644, -0.7411919832229614, -0.18019801378250122, 0.23099036514759064, -0.21909375488758087, -1.0438454151153564, 0.15168678760528564, -0.35727769136428833, 0.06926148384809494, -0.6777005791664124, 0.32259729504585266, 0.06070234254002571, 0.1973094493150711, -0.557838499546051, 0.23697267472743988, -0.5722196698188782, 0.06954943388700485, -0.08017731457948685, 0.3875871002674103, 0.19090351462364197, -0.6604713201522827, 0.6029049754142761, 0.14964056015014648, -0.3496554493904114, 0.6934471130371094, -0.2357870191335678, 0.0576789490878582, -0.12454050779342651, -0.0554315447807312, -0.7188795804977417, -0.20018498599529266, 0.35309121012687683, -0.4334513545036316, 0.06680913269519806, -0.01946803741157055, -0.5863154530525208, -0.5136381387710571, -0.30799996852874756, 0.5574605464935303, 0.5177560448646545, -0.2979591190814972, 0.6055569648742676, 1.0157102346420288, -0.32234957814216614, -0.3762514889240265, -0.6868449449539185, 0.13400952517986298, -0.7314061522483826, -0.24440406262874603, 0.3070242702960968, -0.2791208326816559, -0.7719020843505859, -0.31951838731765747, 0.21943630278110504, -0.17999783158302307, 0.3444397449493408, 0.43627241253852844, 0.1278819888830185, 0.01704542338848114, 0.1474071890115738, -0.31665709614753723, 0.251754492521286, 0.45722147822380066, -0.09100750833749771, 0.5753865838050842, 0.22119911015033722, -0.11469073593616486, -0.4487535357475281, 0.2606813311576843, 0.7910362482070923, 0.07044099271297455, 0.6403078436851501, 0.5738277435302734, -0.4120303988456726, -0.4601205587387085, -0.7426416277885437, 0.17922049760818481, -0.449772447347641, 0.5285176038742065, 0.30761611461639404, -1.2938705682754517, 0.42487674951553345, 0.22284933924674988, 0.04822701960802078, 0.5347927808761597, 0.8213810920715332, 0.017143717035651207, 1.064601182937622, 0.580657422542572, -0.48844465613365173, 0.5899158120155334, 0.19945400953292847, 0.33269330859184265, -0.505050539970398, -0.2702828347682953, -0.7656052708625793, -0.16866716742515564, -0.5382624864578247, -0.2059045135974884, 0.44438034296035767, -0.416420042514801, -0.48364803194999695, -0.12758591771125793, -0.5630050301551819, 0.4736991822719574, 0.19110094010829926, -0.0874636173248291, 0.24373802542686462, 0.21908040344715118, 0.28492018580436707, -0.15799561142921448, -0.41438528895378113, -0.529224157333374, 0.9902524352073669, 0.7144789695739746, 0.6124379634857178, 0.13986444473266602, 0.36564481258392334, 0.7165960073471069, 0.6129863262176514, -1.0861616134643555, 0.6439253687858582, -0.23776517808437347, -0.8365315794944763, -0.14816507697105408, -0.5349804759025574, -0.7045465707778931, 0.14267301559448242, -0.14606671035289764, -0.7469142079353333, -0.45998212695121765, -0.006023831199854612, -0.2564516067504883, 0.7005431652069092, -0.2952219247817993, 0.5657373666763306, -0.6097960472106934, -0.21658731997013092, -0.5710201263427734, -0.31191688776016235, 0.39708173274993896, -0.40978509187698364, 0.7314579486846924, -0.1309337317943573, -0.2164754718542099, 1.0293850898742676, -0.17081741988658905, 0.9076442718505859, -0.04023468866944313, -0.31950774788856506, 0.28438180685043335, 0.03794107213616371, 0.1799369752407074, -0.6095678806304932, -0.3304949402809143, 0.3975219130516052, -0.4085746705532074, -0.0428258441388607, -0.17325259745121002, 0.6013256907463074, -0.8252864480018616, -0.6274287700653076, -0.4678065776824951, -0.6245852708816528, -0.16015857458114624, 0.20554324984550476, -0.054539285600185394, 0.060836758464574814, -0.3310930132865906, 0.044230107218027115, 0.7774839401245117, -0.5067234039306641, 0.22123418748378754, 0.4435904920101166, -0.525587797164917, -0.32076531648635864, 1.210245132446289, 0.13698475062847137, 0.2515822649002075, 0.2610012888908386, 0.33349382877349854, -0.3161265552043915, -1.0710099935531616, -0.3082541525363922, 0.18302179872989655, -0.7473345994949341, -0.21813495457172394, -0.8128700256347656, -0.4754912853240967, -0.4302619695663452, -0.1474284678697586, -0.043134599924087524, 0.04704103246331215, -0.40012457966804504, 0.08885625004768372, 0.4489138424396515, 1.3439332246780396, 0.005429691169410944, 0.3998590111732483, -0.5871877670288086, 0.26716214418411255, 0.3555944859981537, 0.25511911511421204, 0.2057276964187622, -0.9397225379943848, -0.16840292513370514, -0.11715222150087357, -0.3027268946170807, -0.9878412485122681, 0.5841295123100281, -0.13975898921489716, 0.5297157168388367, 0.5205234289169312, 0.11368080973625183, 0.3397262990474701, -0.5083417892456055, 0.6978064179420471, 0.08799097687005997, -0.6990068554878235, 0.3631976246833801, -0.27277877926826477, -0.3175380229949951, 0.24821731448173523, 1.0386651754379272, -0.6375569701194763, -0.7072131037712097, -0.47027358412742615, -0.6585106253623962, 0.8115596175193787, 0.15187060832977295, 0.18221411108970642, -0.023441124707460403, 0.07631678134202957, 0.05155900493264198, 0.3116941452026367, -0.9945049285888672, -0.46689578890800476, 0.038437239825725555, -0.2928778827190399, 0.010569790378212929, -0.4871867299079895, -0.1211157888174057, -0.21458008885383606, 0.8577843308448792, 0.2388797253370285, -0.06727218627929688, -0.27577659487724304, -0.28069862723350525, -0.1441226452589035, 0.25540193915367126, 0.5031726956367493, 0.31438878178596497, 0.14905734360218048, -0.016049809753894806, 0.31696924567222595, -0.4165298640727997, 0.1983845978975296, -0.09647995233535767, -0.2395705133676529, -0.161033496260643, 0.31336820125579834, 0.4805164039134979, -0.03175445646047592, -0.9931917786598206, 0.5872633457183838, 0.05807426571846008, -0.26726052165031433, -0.6138054728507996, 0.12736721336841583, -0.08917390555143356, 0.3067094385623932, 0.3625586926937103, -0.3439747095108032, 0.22782933712005615, -0.42381495237350464, 0.06932611763477325, 0.665214478969574, -0.1665516495704651, 0.006471873261034489, 0.48509588837623596, 0.21308575570583344, -0.6676670908927917, 0.4793921113014221, -0.2425556629896164, -1.1664531230926514, 0.6079591512680054, 0.5902724862098694, 0.6724777817726135, -0.4212469458580017, 0.1714426875114441, 0.15408727526664734, 0.23111705482006073, 0.42679363489151, -0.22711189091205597, 0.12715668976306915, -0.9562785625457764, -0.09644175320863724, -1.0170973539352417, -0.5200197100639343, 0.5587438344955444, -0.3191831111907959, 0.09271660447120667, -0.859019935131073, -0.00967084988951683, 0.35707446932792664, -0.10718820244073868, -0.3192535638809204, 0.10179854184389114, 0.8984856009483337, 0.6307222247123718, -0.780565083026886, 0.4137677252292633, 0.4781159460544586, -0.1819155365228653, -0.4529899060726166, -0.08947531878948212, 0.5312422513961792, -0.7392333149909973, 0.7398110032081604, 0.39629918336868286, -0.24242962896823883, 0.025472834706306458, -0.7212290167808533, -0.47454071044921875, 0.35654518008232117, 0.048542361706495285, -0.6114220023155212, 0.10727951675653458, 0.4076651632785797, 0.7401684522628784, -0.5408072471618652, 0.3277541697025299, 0.5855521559715271, 0.411081999540329, 0.031082212924957275, -0.8555680513381958, -0.13319019973278046, -0.20747274160385132, -0.07456708699464798, 0.18248063325881958, -0.6004304885864258, 0.6575821042060852, 0.05587371811270714, -0.15147915482521057, -0.07200364023447037, 0.4733143746852875, -0.07477649301290512, 0.3298231363296509, 0.6793264746665955, 0.5848442912101746, 0.6404032111167908, 0.17745326459407806, 0.7927770018577576, 0.10853096842765808, -0.014483192935585976, 0.7969741225242615, -0.3881717622280121, 0.7143663763999939, 0.009815921075642109, -0.2639840841293335, 0.6022300720214844, 0.5185965895652771, -0.2695216238498688, 0.02395789884030819, 0.6495698094367981, -0.5488967895507812, -0.3467027544975281, -0.549439549446106, -0.06225946173071861, 0.5119126439094543, 0.6524022817611694, -0.4479828476905823, -0.1245102658867836, 0.4090627133846283, 0.05312991887331009, 0.4525092542171478, -0.8124850392341614, 0.7776713967323303, 0.06654763966798782, -0.25810500979423523, 0.34047552943229675, 0.1710289716720581, 1.0622471570968628, -0.46584683656692505, 0.23329240083694458, 0.4088987112045288, 0.27066993713378906, -0.37520745396614075, -0.7201155424118042, 0.5216670036315918, 0.4955994188785553, -0.1706240326166153, -0.31189730763435364, 0.6823902130126953, -0.22996078431606293, -0.20117685198783875, 0.6050476431846619, 0.20267903804779053, 0.30798664689064026, -0.20848260819911957, -0.9261577725410461, 0.5629410147666931, 0.034349389374256134, -0.028150813654065132, 0.49724432826042175, 0.16379404067993164, 0.03836051747202873, 0.8737879991531372, 0.6426639556884766, 0.1903689205646515, 0.057503558695316315, 0.26132720708847046, 0.8190648555755615, -0.6640706658363342, -0.4162740409374237, -1.119566798210144, 0.12094245851039886, -0.12805145978927612, -0.2765113115310669, 0.7531960010528564, 0.5662240982055664, 1.1380150318145752, 0.21915306150913239, 0.9864391684532166, -0.1398172229528427, 0.919021487236023, -0.1736207753419876, 0.8356503844261169, -0.6147867441177368, 0.09488844126462936, -0.2943008244037628, -0.5630545020103455, -0.6221144199371338, 0.6093931794166565, -0.5451512932777405, 0.03873038664460182, 0.4431452751159668, 0.9068107008934021, 0.29678088426589966, 0.2179853767156601, 0.49270978569984436, 0.5477645397186279, 0.5013442635536194, 0.30013757944107056, 1.2625291347503662, -0.10949178785085678, 0.6729735136032104, -0.04858727380633354, -0.2006869912147522, -0.2818657159805298, -0.637434720993042, -1.147605299949646, -0.35488104820251465, -0.20677171647548676, -0.4184238314628601, 0.057620223611593246, 1.1360466480255127, 0.43822887539863586, -0.9497449994087219, -0.4275819957256317, 0.1912330985069275, 0.3147734999656677, 0.32392165064811707, -0.28341323137283325, -0.24548816680908203, -0.22438612580299377, -0.8698475360870361, 0.31994137167930603, 0.2315797507762909, -0.10997314006090164, -0.35800567269325256, -0.2249981313943863, -0.3095538914203644, 0.146662637591362, 0.9458901882171631, 0.2337968945503235, -0.9604528546333313, -0.17579105496406555, -0.5409815311431885, -0.26647159457206726, -0.17055457830429077, 0.8965329527854919, -0.5080010890960693, 0.010820697993040085, 0.24326656758785248, 1.1312670707702637, 0.009794446639716625, -0.24571597576141357, 0.1869664341211319, -0.20135542750358582, -0.0444195494055748, 0.7698521018028259, 0.17275111377239227, 0.33661630749702454, -0.34905609488487244, 0.2780291736125946, 0.4104902446269989, -0.8766409158706665, -1.1037094593048096, 0.3522190749645233, -0.7951405048370361, -0.3525318205356598, 1.2757880687713623, 0.21611416339874268, -0.11792545020580292, -0.42380088567733765, -0.2562304139137268, 0.22155967354774475, -0.3353368043899536, 0.8365853428840637, 0.6460482478141785, -0.01891196519136429, -0.06582843512296677, -0.5319938063621521, 0.6043335199356079, 0.3346607983112335, -0.8801392912864685, 0.210738867521286, 0.749894917011261, 0.17827872931957245, 0.17664581537246704, 0.4176591634750366, 0.02517341822385788, 0.07760049402713776, -0.3481307029724121, -0.023945335298776627, 0.100639708340168, -0.3787088394165039, -0.5238533616065979, 0.3259088099002838, 0.11057743430137634, 0.35964614152908325 ]
http://arxiv.org/abs/2403.08011v1
http://arxiv.org/pdf/2403.08011v1
Gujarati-English Code-Switching Speech Recognition using ensemble prediction of spoken language
2024-03-12T18:21:20
2024-03-12T18:21:20
Yash Sharma, Basil Abraham, Preethi Jyothi
cs.CL
cs.CL, cs.AI, cs.LG
An important and difficult task in code-switched speech recognition is to recognize the language, as lots of words in two languages can sound similar, especially in some accents. We focus on improving performance of end-to-end Automatic Speech Recognition models by conditioning transformer layers on language ID of words and character in the output in an per layer supervised manner. To this end, we propose two methods of introducing language specific parameters and explainability in the multi-head attention mechanism, and implement a Temporal Loss that helps maintain continuity in input alignment. Despite being unable to reduce WER significantly, our method shows promise in predicting the correct language from just spoken data. We introduce regularization in the language prediction by dropping LID in the sequence, which helps align long repeated output sequences.
[ -0.334834486246109, -0.4462284445762634, 0.13781903684139252, 0.17405717074871063, -0.2272193282842636, 0.2736985683441162, -0.4301016926765442, -0.4398420751094818, -0.09187980741262436, 0.47437044978141785, -0.4880940020084381, -0.08968830108642578, -0.5735847353935242, 0.09276677668094635, -0.4703218936920166, 0.9381743669509888, 0.055649302899837494, 0.22875425219535828, 0.06209762766957283, 0.08835993707180023, -0.5426658391952515, -0.409955233335495, -0.970044732093811, -0.5953011512756348, 0.3974577486515045, 0.4102095663547516, 0.43734022974967957, 0.5098534822463989, 0.3699692189693451, 0.29184359312057495, -0.04617103934288025, -0.22355683147907257, -0.37090861797332764, -0.06266114860773087, 0.052995726466178894, -0.6363827586174011, -0.02893802896142006, -0.28757408261299133, 0.7953372597694397, 0.6159717440605164, -0.2264866828918457, -0.09880146384239197, 0.013149507343769073, 0.4163379371166229, -0.4381510019302368, 0.41944634914398193, -0.7621607184410095, 0.1617814302444458, -0.38168343901634216, -0.3775399625301361, -0.6509379744529724, -0.09335682541131973, -0.0667707771062851, -0.20674575865268707, 0.1808941513299942, -0.03320905566215515, 0.7578396797180176, 0.4371693432331085, -0.23482908308506012, 0.06015237793326378, -0.9798892140388489, 0.9148802757263184, -0.43945562839508057, 0.6906483769416809, 0.5781117081642151, 0.616901695728302, 0.36686721444129944, -0.39992034435272217, -0.5652895569801331, -0.12518036365509033, -0.1500411331653595, 0.41964614391326904, -0.02392440475523472, 0.10815904289484024, -0.004846673924475908, 0.23025184869766235, -0.5131582617759705, -0.04473239183425903, -0.5152812004089355, -0.4668258726596832, 0.7044752240180969, -0.13564512133598328, 0.321460485458374, 0.3221922516822815, 0.010162326507270336, -0.11368345469236374, -0.41781893372535706, 0.23972520232200623, 0.3301882743835449, 0.41342422366142273, -0.0726161003112793, 0.2073448896408081, -0.05109770596027374, 0.5803695917129517, 0.5032508969306946, -0.27656450867652893, 0.36405518651008606, 0.00548340380191803, -0.26481643319129944, 0.3584274649620056, 0.41556090116500854, 0.19866633415222168, 0.2422671765089035, -0.383743017911911, -0.04298761487007141, 0.2537303566932678, 0.008837085217237473, -0.4625661075115204, -0.021555142477154732, 0.15441487729549408, -0.3430929481983185, -0.14312005043029785, -0.046303801238536835, -0.620090901851654, 0.0089182760566473, -0.25701066851615906, 0.2143128514289856, -0.5606883764266968, -0.2519446015357971, 0.04102066904306412, -0.12565232813358307, 0.4760388135910034, 0.07029121369123459, -0.8966121077537537, 0.4942868947982788, 0.30666980147361755, 0.6519194841384888, -0.36563676595687866, -0.3838389813899994, -0.6495234966278076, 0.39666905999183655, -0.23025068640708923, 0.6284714937210083, -0.8425509333610535, -0.3533267378807068, -0.06628097593784332, 0.09216782450675964, -0.33425986766815186, -0.32883238792419434, 0.38769352436065674, -0.4108339250087738, 0.37182286381721497, 0.30653515458106995, -0.2780356705188751, -0.2432217299938202, -0.04484901577234268, -0.5338596701622009, 0.7527613043785095, -0.1278674453496933, -0.5295796990394592, 0.2815389633178711, -0.37743982672691345, -0.6631600260734558, 0.17520779371261597, 0.015595298260450363, -0.632979154586792, -0.031741999089717865, 0.38079869747161865, 0.3836762309074402, -0.04764902591705322, 0.16632361710071564, 0.21971623599529266, -0.4275742173194885, 0.11597654968500137, -0.3262650966644287, 0.6711671948432922, 0.3486906588077545, -0.1584496796131134, -0.030811576172709465, -0.8933560252189636, 0.22355665266513824, -0.09507927298545837, -0.31494173407554626, -0.15854470431804657, 0.20996803045272827, 0.4365231692790985, 0.13489672541618347, 0.10617434233427048, -0.45284581184387207, 0.18718822300434113, -0.46209973096847534, 0.46033602952957153, 0.38902947306632996, -0.17211021482944489, 0.5462054014205933, -0.164899080991745, 0.8540130853652954, 0.1936717927455902, 0.027909111231565475, -0.02798190712928772, -0.5574732422828674, -0.698470950126648, -0.1440141499042511, 0.3950788974761963, 0.8927441835403442, -0.6940327286720276, 0.30478039383888245, -0.06508001685142517, -0.37015461921691895, -0.6221081018447876, -0.11683368682861328, 0.887465238571167, 0.25244659185409546, 0.24376319348812103, -0.5702046751976013, -0.8554849028587341, -0.8326800465583801, -0.33681556582450867, -0.26381632685661316, 0.007753561716526747, 0.31352749466896057, 0.06064370647072792, -0.3703634738922119, 0.7942189574241638, -0.33710843324661255, -0.16873611509799957, -0.48489734530448914, 0.253702312707901, 0.18062737584114075, 0.4809455871582031, 0.2485799938440323, -0.8349414467811584, -0.6332525610923767, 0.40704214572906494, -0.05573740974068642, -0.16047579050064087, -0.3266455829143524, 0.08363472670316696, 0.2697010636329651, 0.6487458348274231, -0.14673098921775818, 0.3235439658164978, 0.802923858165741, 0.07868403941392899, 0.3249792158603668, 0.16997939348220825, 0.28889673948287964, -1.0998839139938354, -0.22019147872924805, -0.14058713614940643, -0.18103928864002228, -0.8553454279899597, -0.2313353568315506, 0.07321658730506897, -0.2382929027080536, -0.44636112451553345, 0.41932255029678345, -0.5759527087211609, -0.13790997862815857, -0.14856547117233276, -0.3368104100227356, -0.24267131090164185, 0.7460346221923828, 0.4051109254360199, 0.9799095392227173, 0.9253754615783691, -0.6296663880348206, 0.17315168678760529, 0.19523371756076813, -0.1716141551733017, 0.3156096935272217, -0.4869123697280884, 0.3702394366264343, -0.16559751331806183, 0.21855852007865906, -1.107622504234314, -0.19329187273979187, -0.025950493291020393, -0.8435137867927551, 0.7669409513473511, -0.38182902336120605, 0.13601531088352203, -0.22563569247722626, -0.013306642882525921, 0.6103748083114624, 0.5985531806945801, -0.3611878454685211, 0.5766903758049011, 0.5160377025604248, -0.2512568533420563, -0.4304565489292145, -1.119882583618164, 0.20514625310897827, -0.248917818069458, -0.4852593243122101, 0.5634025931358337, 0.06510113924741745, -0.07933173328638077, -0.15973468124866486, -0.004910407122224569, -0.5826238989830017, -0.30923739075660706, 0.14150267839431763, -0.01445328164845705, -0.10036806017160416, 0.24821628630161285, 0.11993317306041718, -0.3098122179508209, -0.17409397661685944, -0.3843425214290619, 0.6308472752571106, -0.10628356784582138, -0.15492546558380127, -0.5260357856750488, 0.4485008716583252, 0.44524624943733215, -0.5449806451797485, 0.5246275663375854, 0.706112802028656, -0.43211880326271057, -0.02558232471346855, -0.41687315702438354, 0.05724463239312172, -0.401809960603714, 0.6158171892166138, -0.6149377822875977, -0.6520767211914062, 0.7029430270195007, 0.07716912031173706, -0.253773957490921, 0.40027061104774475, 0.7059797048568726, 0.038857802748680115, 1.1996185779571533, 0.7322604656219482, -0.4180688261985779, 0.607515811920166, -0.05145382508635521, 0.5754813551902771, -0.710716962814331, -0.07592932134866714, -0.6160130500793457, 0.030470123514533043, -0.6851126551628113, -0.2772480547428131, 0.2720164656639099, -0.09320779144763947, 0.173511803150177, 0.5450015664100647, -0.6367524862289429, 0.5353170037269592, 0.4387267231941223, 0.17332452535629272, 0.05461198091506958, -0.13286082446575165, 0.04948176071047783, 0.11220695078372955, -0.5138604640960693, -0.030847586691379547, 0.8609874844551086, 0.21343453228473663, 0.9985296130180359, -0.04889354109764099, 0.8973337411880493, 0.11987283080816269, -0.39194631576538086, -0.8195319771766663, 0.32003507018089294, -0.13678067922592163, -0.26176610589027405, -0.48139670491218567, -0.2295536994934082, -0.9208311438560486, -0.12729056179523468, 0.23049940168857574, -0.6011466383934021, 0.2321218103170395, 0.2812798321247101, -0.25302591919898987, -0.04395485296845436, -1.0214511156082153, 0.32002758979797363, -0.11498832702636719, -0.055699169635772705, -0.27484574913978577, -0.842975914478302, 0.28256118297576904, 0.03065703809261322, 0.16483427584171295, 0.3455873727798462, 0.07928638160228729, 0.6301507353782654, -0.2233625054359436, 0.7816332578659058, -0.011824526824057102, 0.15731698274612427, 0.15427513420581818, -0.20408585667610168, 0.3361613154411316, -0.110246442258358, 0.023210737854242325, 0.2707999348640442, -0.07910850644111633, -0.3280753791332245, -0.44191697239875793, 0.4737802743911743, -0.7960465550422668, -0.463381290435791, -0.3302975296974182, -0.6061611771583557, -0.45836496353149414, 0.02287234365940094, 0.5282962322235107, 0.452911376953125, -0.05325215309858322, 0.0666174441576004, 0.688676118850708, -0.06064356118440628, 0.5111274123191833, 0.2586428225040436, -0.17383532226085663, -0.29293811321258545, 0.9801992177963257, 0.15716125071048737, 0.3462284207344055, 0.7239925265312195, 0.2516273558139801, -0.20206749439239502, -0.5432358384132385, -0.32053080201148987, -0.10448428988456726, -0.45346683263778687, -0.018208296969532967, -0.5294264554977417, -0.5311546921730042, -0.6598925590515137, -0.2527465522289276, -0.22414420545101166, -0.5524060130119324, 0.12126878648996353, 0.1046275645494461, 0.27326342463493347, 0.37760117650032043, 0.10029661655426025, 0.3530692160129547, -0.7062488794326782, 0.2083674967288971, 0.5032540559768677, 0.4644070863723755, -0.41031691431999207, -0.8381292223930359, -0.5186440944671631, -0.13335995376110077, 0.0034846446942538023, -0.9844580292701721, 0.4706217050552368, 0.6134326457977295, 0.6209641098976135, 0.5000368356704712, -0.38956230878829956, 0.6247528195381165, -0.6326767206192017, 0.5813866257667542, 0.24226050078868866, -1.1371934413909912, 0.6383678913116455, -0.2373226135969162, 0.5974155068397522, 0.309682697057724, 0.07153329253196716, -0.731971025466919, -0.5127348303794861, -0.3814392685890198, -0.5942736268043518, 0.9073908925056458, 0.2291390597820282, -0.14887100458145142, 0.07247023284435272, -0.007459244225174189, 0.10020003467798233, 0.0299640242010355, -0.6005749702453613, -0.25216859579086304, -0.31610074639320374, -0.15194186568260193, -0.14533546566963196, -0.10877031087875366, 0.1539895385503769, -0.3827449083328247, 0.7461482286453247, -0.0644121766090393, 0.5873479247093201, -0.14976412057876587, -0.18361085653305054, -0.2562924325466156, 0.5403757095336914, 0.6460216045379639, 0.4453549087047577, -0.18171118199825287, -0.07632549852132797, 0.34292373061180115, -0.6171318292617798, 0.034297727048397064, -0.008684588596224785, -0.10760802030563354, 0.09458420425653458, 0.27602434158325195, 0.9871910810470581, 0.05867849290370941, -0.4835958480834961, 0.17446526885032654, 0.05256827175617218, -0.13486133515834808, -0.4601305425167084, 0.014457065612077713, 0.09519872069358826, -0.06319791823625565, 0.2831442654132843, 0.3258189558982849, 0.34160101413726807, -0.7601004838943481, 0.2528665363788605, 0.2398453950881958, -0.38690170645713806, -0.12545615434646606, 0.49675172567367554, 0.36955082416534424, -0.5187374353408813, 0.33529847860336304, -0.10970067232847214, -0.7622416019439697, 0.9422884583473206, 0.6983340382575989, 1.2268640995025635, -0.8583620190620422, -0.11553065478801727, 0.37395045161247253, 0.2185007482767105, 0.03389403969049454, 0.12421215325593948, -0.1437808722257614, -0.7460112571716309, -0.5084251165390015, -0.30424314737319946, -0.5428317189216614, -0.07658487558364868, -1.0072461366653442, 0.5067364573478699, -0.2882039248943329, 0.11818619817495346, -0.010844158940017223, -0.2531081438064575, -0.5481334924697876, 0.450050413608551, 0.3852517604827881, 0.42178457975387573, -0.9462214112281799, 1.2229634523391724, 0.528976321220398, -0.48309582471847534, -0.63185054063797, 0.23489749431610107, 0.021930383518338203, -1.063974380493164, 0.40803784132003784, 0.18615075945854187, -0.4467902183532715, -0.0362740084528923, -0.4875664710998535, -0.9906701445579529, 0.7948374152183533, 0.038025688380002975, -0.9417807459831238, 0.09770634770393372, -0.0001831159897847101, 0.43509387969970703, -0.3448169231414795, 0.3475395739078522, 0.7897878289222717, 0.36795076727867126, 0.14294491708278656, -1.1315118074417114, -0.45686623454093933, -0.36385637521743774, 0.23972982168197632, 0.43779870867729187, -0.755730152130127, 0.8298234939575195, -0.21322788298130035, -0.36183303594589233, -0.2746969163417816, 0.5335168242454529, -0.17615854740142822, 0.383735328912735, 0.5685378909111023, 0.3914400041103363, 0.5177696347236633, -0.01567758619785309, 0.8733410239219666, -0.49884772300720215, 0.2258201390504837, 1.0431467294692993, -0.2428618222475052, 0.8686708211898804, 0.5723051428794861, -0.4561695456504822, 0.34605905413627625, 0.5072106122970581, 0.058393657207489014, 0.8603971600532532, 0.010517711751163006, -0.05847511813044548, -0.12995773553848267, 0.0683392658829689, -0.46540653705596924, 0.7609203457832336, 0.3260018527507782, -0.16093230247497559, 0.1232556626200676, 0.211627796292305, -0.1097252145409584, 0.01829572394490242, -0.4126388132572174, 0.8407673835754395, -0.31676098704338074, -0.8532145619392395, 0.701561450958252, -0.02797066792845726, 0.833873450756073, -0.5493119359016418, -0.11181771010160446, -0.18344224989414215, 0.15330712497234344, -0.33022749423980713, -0.4952305555343628, 0.4851384460926056, -0.1667330265045166, -0.4354535639286041, -0.2700580954551697, 0.6565243601799011, -0.9186814427375793, -0.6953882575035095, 0.1925634741783142, 0.03714297339320183, 0.37457987666130066, 0.14358748495578766, -0.5070282220840454, 0.01143981609493494, 0.0919426828622818, 0.02664966508746147, 0.3222544193267822, 0.150903582572937, -0.1503000110387802, 0.5966811180114746, 0.3361613154411316, 0.1043497622013092, 0.32581374049186707, 0.44806042313575745, 0.5466374754905701, -0.5094871520996094, -0.6537749767303467, -0.4581011235713959, 0.24485260248184204, 0.019748253747820854, -0.29810091853141785, 0.3805651366710663, 0.5809087157249451, 0.9372376203536987, -0.2551719844341278, 1.1196335554122925, -0.03584467992186546, 0.721817135810852, -0.602441132068634, 0.6007476449012756, -0.34505271911621094, 0.11720342189073563, -0.21095901727676392, -0.7061370611190796, -0.28147223591804504, 0.5376551151275635, -0.10152443498373032, 0.2108663022518158, 0.9583258032798767, 0.9721108675003052, 0.04933115467429161, -0.27916422486305237, 0.6258111596107483, 0.16626204550266266, 0.1015455573797226, 0.8992903828620911, 0.3820703327655792, -0.542671799659729, 0.8041402697563171, -0.20674258470535278, -0.32058069109916687, -0.22587794065475464, -0.5709825158119202, -0.7331740856170654, -0.8503313064575195, -0.47855234146118164, -0.09963399171829224, 0.42228299379348755, 0.509385883808136, 0.7146837711334229, -1.1845237016677856, -0.40284526348114014, -0.18896706402301788, -0.027976229786872864, -0.6642293930053711, -0.23020775616168976, 0.14200712740421295, -0.40770411491394043, -0.9656251072883606, 0.33004897832870483, 0.44924378395080566, -0.26909032464027405, -0.19916650652885437, -0.2600202262401581, -0.2778073847293854, 0.1462259441614151, 0.3733977675437927, 0.5016387701034546, -0.8875864148139954, -0.2923988103866577, -0.16172006726264954, -0.11282020807266235, 0.12552718818187714, 0.8651009798049927, -0.7155965566635132, 0.5263040661811829, 0.6038904786109924, 0.7824827432632446, 0.5794627666473389, -0.13507215678691864, 0.7450072169303894, -0.7573061585426331, 0.31317952275276184, 0.364031583070755, 0.4507189989089966, 0.250331848859787, -0.47430598735809326, 0.4567285478115082, 0.039617788046598434, -0.5883661508560181, -0.5924894213676453, 0.33511433005332947, -1.2078609466552734, 0.036487143486738205, 1.1347345113754272, 0.02925451286137104, -0.20424409210681915, -0.3939894735813141, -0.4840543866157532, 0.4654969274997711, -0.45871832966804504, 0.7571424841880798, 0.7609995007514954, -0.24021397531032562, -0.7618800401687622, -0.03585254028439522, 0.5262717008590698, 0.568085253238678, -0.6897268891334534, -0.18342076241970062, 0.19419018924236298, 0.08021312952041626, 0.1676163673400879, 0.5605173707008362, -0.01422787830233574, 0.5459632277488708, 0.04172423109412193, 0.4204084873199463, 0.09964433312416077, -0.33942991495132446, -0.6363412141799927, -0.21776524186134338, -0.013644099235534668, -0.7729132175445557 ]